CN110365508B - Method for instantiating virtual network function and network function virtualization orchestrator - Google Patents

Method for instantiating virtual network function and network function virtualization orchestrator Download PDF

Info

Publication number
CN110365508B
CN110365508B CN201810316636.5A CN201810316636A CN110365508B CN 110365508 B CN110365508 B CN 110365508B CN 201810316636 A CN201810316636 A CN 201810316636A CN 110365508 B CN110365508 B CN 110365508B
Authority
CN
China
Prior art keywords
network function
resource manager
image file
virtual machine
machine image
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
CN201810316636.5A
Other languages
Chinese (zh)
Other versions
CN110365508A (en
Inventor
范亚梅
吴才富
李军芬
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Mobile Communications Group Co Ltd
China Mobile Communications Ltd Research Institute
Original Assignee
China Mobile Communications Group Co Ltd
China Mobile Communications Ltd Research Institute
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China Mobile Communications Group Co Ltd, China Mobile Communications Ltd Research Institute filed Critical China Mobile Communications Group Co Ltd
Priority to CN201810316636.5A priority Critical patent/CN110365508B/en
Publication of CN110365508A publication Critical patent/CN110365508A/en
Application granted granted Critical
Publication of CN110365508B publication Critical patent/CN110365508B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • G06F9/45533Hypervisors; Virtual machine monitors
    • G06F9/45558Hypervisor-specific management and integration aspects
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/50Allocation of resources, e.g. of the central processing unit [CPU]
    • G06F9/5005Allocation of resources, e.g. of the central processing unit [CPU] to service a request
    • G06F9/5027Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resource being a machine, e.g. CPUs, Servers, Terminals
    • 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/0893Assignment of logical groups to network elements

Abstract

The invention provides a method for instantiating a virtual network function and a network function virtualization orchestrator, and relates to the technical field of communication. The method comprises the following steps: receiving a resource authorization request; determining a candidate virtualized resource manager according to the resource authorization request, wherein the candidate virtualized resource manager is used for allocating virtual resources to a virtual network function when the virtual network function is deployed; inquiring whether a target virtualization resource manager exists in a data center to which the candidate virtualization resource manager belongs, wherein the target virtualization resource manager is loaded with a virtual machine image file; and sending corresponding file information to the candidate virtualized resource manager according to the inquired result. The scheme of the invention solves the problem that the sharing requirement of a plurality of virtualized resource managers belonging to the same data center on the mirror image file cannot be supported.

Description

Method for instantiating virtual network function and network function virtualization orchestrator
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a method for instantiating a virtual network function and a network function virtualization orchestrator.
Background
The network element of the existing traditional basic communication network adopts a software/hardware vertical integration architecture, and the requirements of cloud computing on flexibly and dynamically configuring network resources, efficiently utilizing the resources, fairly distributing the resources and the like are restricted. Therefore, a Network Function Virtualization (NFV) technology capable of significantly reducing Network construction costs and operation costs of an infrastructure telecommunication Network operator has been proposed. The core idea of the NFV technology is to decouple the logical network function from the physical hardware device, which is mainly composed of 3 parts: VNF (Virtualized Network Function), NFVI (Network Function virtualization Infrastructure), and MANO (Management and organization, NFV Management and organization).
However, in the prior art, the image files of the VNF are all loaded into the selected VIM (virtualized resource Manager) by NFVO (Network Functions virtualization editor), and cannot support the sharing requirement of multiple VIMs belonging to the same DC (Data Center) on the image files.
Disclosure of Invention
The invention aims to provide a method for instantiating a virtual network function and a network function virtualization orchestrator, which solve the problem that the existing method cannot support the sharing requirement of a plurality of VIMs (video files) belonging to the same DC (Data Center) on a mirror file.
To achieve the above object, an embodiment of the present invention provides a method for instantiating a virtual network function, including:
receiving a resource authorization request;
determining a candidate virtualized resource manager according to the resource authorization request, wherein the candidate virtualized resource manager is used for allocating virtual resources to a virtual network function when the virtual network function is deployed;
inquiring whether a target virtualization resource manager exists in a data center to which the candidate virtualization resource manager belongs, wherein the target virtualization resource manager is loaded with a virtual machine image file;
and sending corresponding file information to the candidate virtualized resource manager according to the inquired result.
Wherein the file information includes: a virtual machine image file or a resource address of the virtual machine image file;
the step of sending the corresponding file information to the candidate virtualized resource manager according to the queried result includes:
when the target virtualization resource manager exists in the data center, sending the resource address of the virtual machine image file in the target virtualization resource manager to the candidate virtualization resource manager, and informing the candidate virtualization resource manager to download the virtual machine image file by using the resource address;
and when the target virtualized resource manager does not exist in the data center, sending the virtual machine image file to the candidate virtualized resource manager.
Wherein, the step of inquiring whether the data center to which the candidate virtualized resource manager belongs has a target virtualized resource manager includes:
determining second identity identifiers of the remaining virtualized resource managers in the data center to which the candidate virtualized resource manager belongs according to the first identity identifier of the candidate virtualized resource manager;
and inquiring whether the target virtualized resource manager exists in the transmission record information of the virtual machine image file according to the second identity mark.
The transmission record information stores the identity of the virtualized resource manager which successfully loads the virtual machine image file and the identity of the virtualized resource manager which has a problem in the process of loading the virtual machine image file.
Wherein, prior to the step of receiving a resource authorization request, the method further comprises:
checking the integrity and the validity of the virtual network function description file uploaded by the administrator;
after the checking is passed, notifying the target virtualized network function manager to acquire virtual network function description information in the virtual network function description file based on the subscription relationship of the virtual network function description file;
after the virtual network function description information is sent to the target virtualization network function manager, the state of the virtual network function description file is set to be enabled, and the administrator is informed that the uploading is successful.
To achieve the above object, an embodiment of the present invention provides a method for instantiating a virtual network function, including:
receiving file information sent by a network function virtualization orchestrator;
and acquiring the mirror image file of the virtual machine according to the file information.
Wherein the file information includes: a virtual machine image file or a resource address of the virtual machine image file;
the step of obtaining the virtual machine image file according to the file information comprises the following steps:
extracting a virtual machine image file in the file information; or
And downloading the virtual machine image file in the target virtual resource manager indicated by the resource address according to the resource address.
After the step of obtaining the virtual machine image file according to the file information, the method further includes:
verifying the availability of the virtual machine image file;
and after the verification is passed, storing the virtual machine image file, and informing the network function virtualization orchestrator that the virtual machine image file is successfully loaded.
To achieve the above object, an embodiment of the present invention provides a network function virtualization orchestrator, including: a processor and a transceiver, wherein,
the transceiver is used for receiving a resource authorization request;
the processor is configured to determine a candidate virtualized resource manager according to the resource authorization request, where the candidate virtualized resource manager is configured to allocate virtual resources to a virtual network function when the virtual network function is deployed; inquiring whether a target virtualization resource manager exists in a data center to which the candidate virtualization resource manager belongs, wherein the target virtualization resource manager is loaded with a virtual machine image file;
and the transceiver is also used for sending corresponding file information to the candidate virtualized resource manager according to the inquired result.
Wherein the file information includes: a virtual machine image file or a resource address of the virtual machine image file;
the processor is further configured to send a resource address of the virtual machine image file in the target virtualized resource manager to the candidate virtualized resource manager and notify the candidate virtualized resource manager to download the virtual machine image file using the resource address when the target virtualized resource manager exists in the data center; and when the target virtualized resource manager does not exist in the data center, sending the virtual machine image file to the candidate virtualized resource manager.
The processor is further configured to determine, according to the first identity of the candidate virtualized resource manager, second identities of remaining virtualized resource managers in a data center to which the candidate virtualized resource manager belongs; and inquiring whether the target virtualized resource manager exists in the transmission record information of the virtual machine image file according to the second identity mark.
The transmission record information stores the identity of the virtualized resource manager which successfully loads the virtual machine image file and the identity of the virtualized resource manager which has a problem in the process of loading the virtual machine image file.
The processor is further used for carrying out integrity and validity check on the virtual network function description file uploaded by the administrator;
the transceiver is further configured to notify the target virtualized network function manager to acquire virtual network function description information in the virtual network function description file based on the subscription relationship of the virtual network function description file after the check is passed;
the processor is further configured to set the state of the virtual network function description file to enable after sending the virtual network function description information to the target virtualized network function manager, and notify the administrator of successful upload.
To achieve the above object, an embodiment of the present invention provides a virtualized resource manager, including: a processor and a transceiver, wherein,
the transceiver is used for receiving file information sent by the network function virtualization orchestrator;
and the processor is used for acquiring the mirror image file of the virtual machine according to the file information.
Wherein the file information includes: a virtual machine image file or a resource address of the virtual machine image file;
the processor is also used for extracting a virtual machine image file in the file information; or
And downloading the virtual machine image file in the target virtual resource manager indicated by the resource address according to the resource address.
Wherein the processor is further configured to verify availability of the virtual machine image file; and after the verification is passed, storing the virtual machine image file, and informing the network function virtualization orchestrator that the virtual machine image file is successfully loaded.
To achieve the above object, an embodiment of the present invention provides a network function virtualization orchestrator, including a transceiver, a memory, a processor, and a computer program stored on the memory and executable on the processor; the processor, when executing the computer program, implements the method of virtual network function instantiation described above.
To achieve the above object, an embodiment of the present invention provides a virtualized resource manager, including a transceiver, a memory, a processor, and a computer program stored in the memory and operable on the processor; the processor, when executing the computer program, implements the method of virtual network function instantiation described above.
To achieve the above object, an embodiment of the present invention provides a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements the steps in the method of virtual network function instantiation as applied to a network function virtualization orchestrator, as described above.
To achieve the above object, an embodiment of the present invention provides a computer-readable storage medium on which a computer program is stored, which, when executed by a processor, implements the steps in the method as applied to the instantiation of a virtual network function of a virtualized resource manager.
The technical scheme of the invention has the following beneficial effects:
the method for instantiating the virtual network function determines candidate VIMs for distributing virtual resources to the virtual network function when the virtual network function is deployed based on system requirements after receiving a resource authorization request, and then queries whether a DC to which the determined candidate VIMs belong has a target VIM loaded with a virtual machine image file, and further sends file information of the candidate VIM loaded with the virtual machine image file to the candidate VIM according to whether the target VIM exists, so that the purpose of sharing the image file by a plurality of VIMs belonging to the same DC is achieved.
Drawings
FIG. 1 is a flowchart of a method for instantiating a virtual network function according to a first embodiment of the present invention;
FIG. 2 is a second flowchart of a method for instantiating a virtual network function according to the first embodiment of the present invention;
FIG. 3 is a scenario illustrating a remote deployment of multiple virtualized resource managers;
FIG. 4 is a flowchart illustrating an application of a method for instantiating a virtual network function according to a first embodiment of the present invention;
FIG. 5 is a second flowchart illustrating an application of the method for instantiating a virtual network function according to the first embodiment of the present invention;
FIG. 6 is a flowchart of a method for instantiating a virtual network function according to a second embodiment of the present invention;
FIG. 7 is a block diagram of a network function virtualization orchestrator in accordance with an embodiment of the present invention;
FIG. 8 is a block diagram of a virtualized resource manager in accordance with an embodiment of the invention;
FIG. 9 is a block diagram of a network function virtualization orchestrator in accordance with another embodiment of the present invention;
FIG. 10 is a block diagram of a virtualized resource manager in accordance with another embodiment of the invention.
Detailed Description
In order to make the technical problems, technical solutions and advantages of the present invention more apparent, the following detailed description is given with reference to the accompanying drawings and specific embodiments.
The invention provides a virtual network function instantiation method aiming at the problem that in the existing virtual network function instantiation process, the image files of VNF all need to be loaded to the selected VIM by NFVO and the sharing requirement of a plurality of VIMs belonging to the same DC on the image files cannot be supported, so as to realize the purpose of supporting the image sharing among various data centers in the scene of one DC with a plurality of VIMs.
As shown in fig. 1, a method for instantiating a virtual network function according to an embodiment of the present invention includes:
step 101, receiving a resource authorization request;
step 102, determining a candidate virtualized resource manager according to the resource authorization request, wherein the candidate virtualized resource manager is used for allocating virtual resources to a virtual network function when the virtual network function is deployed;
103, inquiring whether a target virtualized resource manager exists in a data center to which the candidate virtualized resource manager belongs, wherein the target virtualized resource manager is loaded with a virtual machine image file;
and 104, sending corresponding file information to the candidate virtualized resource manager according to the inquired result.
Through the above steps 101 to 104, in the method for instantiating a virtual network function according to the embodiment of the present invention, after receiving the resource authorization request, the NFVO determines, based on the system requirements, the candidate VIM for allocating virtual resources to the virtual network function when deploying the virtual network function, and then queries whether the DC to which the determined candidate VIM belongs has the target VIM loaded with the image file of the virtual machine, and further sends the file information of the candidate VIM loaded with the image file of the virtual machine to the candidate VIM according to whether the target VIM exists, so as to achieve the purpose of sharing the image file by multiple VIMs belonging to the same DC.
Wherein the resource authorization request may be sent by a virtualized network function manager VNFM or other component.
Specifically, the file information includes: a virtual machine image file or a resource address of the virtual machine image file;
as shown in fig. 2, step 104 includes:
step 1041, when the target virtualized resource manager exists in the data center, sending a resource address of the virtual machine image file in the target virtualized resource manager to the candidate virtualized resource manager, and notifying the candidate virtualized resource manager to download the virtual machine image file by using the resource address;
step 1042, when the target virtualized resource manager does not exist in the data center, sending the virtual machine image file to the candidate virtualized resource manager.
Here, as for the queried result, if the target VIM exists in the DC to which the candidate VIM belongs, it can be known that the target VIM has loaded the virtual machine image file, so the NFVO can notify the candidate VIM of the resource address of the virtual machine image file as file information, and the candidate VIM can load the required virtual machine image file based on the resource address, thereby implementing sharing of the virtual machine image file with the VIMs in the DC. Certainly, if the target VIM does not exist in the DC to which the candidate VIM belongs, the NFVO may directly send the virtual machine image file to the candidate VIM as file information, so that the candidate VIM completes the loading of the required virtual machine image file.
It should be noted that the file information sent by the NFVO to the candidate VIM is specifically the virtual machine image file or the resource address of the virtual machine image file, and mainly depends on whether the image resource required by the candidate VIM exists in the DC. In this embodiment of the present invention, to implement query of target VIM, optionally, step 103 includes:
determining second identity identifiers of the remaining virtualized resource managers in the data center to which the candidate virtualized resource manager belongs according to the first identity identifier of the candidate virtualized resource manager;
and inquiring whether the target virtualized resource manager exists in the transmission record information of the virtual machine image file according to the second identity mark.
Here, the VIM's identity is used to uniquely identify the VIM in the system, and may be identified using a virtualized resource manager identification VIMID. The NFVO determines second identity identifiers of other VIMs in the DC to which the candidate VIM belongs according to the first identity identifier of the candidate VIM, and then further queries whether the virtual machine image file was loaded in the transmission record information of the locally stored virtual machine image file according to the determined second identity identifiers, that is, whether the target VIM exists in the DC to which the candidate VIM belongs, so that whether the target VIM exists can be determined, and then when step 104 is executed, it is determined whether to send the resource address of the virtual machine image file or the virtual machine image file to the candidate VIM.
In the query process, the transmission record information is within a preset time length before the current time in consideration of the timeliness of the virtual machine image file, and the preset time length is preset based on the timeliness time of the virtual machine image file.
Preferably, the transmission record information stores an identity of a virtualized resource manager that successfully loads the virtual machine image file and an identity of a virtualized resource manager that has a problem in the process of loading the virtual machine image file.
Generally, when a problem occurs in a virtual machine image file of a VIM or the VIM itself, the NFVO is notified through interfaces of the VIM and the NFVO, and the damaged virtual machine image file or the abnormal VIM state is reported to the NFVO. Therefore, in the transmission record information stored in the NFVO, not only the identity of the VIM that loads the virtual machine image file is recorded, but also whether the loading is successful (including whether the virtual machine image file is damaged) is recorded according to the feedback information loaded by the virtual machine image file of the VIM, so as to ensure that the resource address of the virtual machine image file is valid when the target VIM is queried, that is, the target VIM is the VIM that has successfully loaded the virtual machine image file, has no damage to the virtual machine image file, and has a normal state.
Optionally, the transmission record information may be information in a list form, and the identity of the VIM that loads the virtual machine image file is mapped one by one with whether the loading is successful, and of course, other relevant information of the VIM that loads the virtual machine image file, such as loading time, whether the VIM state is normal, and the like, may also be recorded in the list correspondingly, and are not listed one by one here.
For example, in the NFV architecture in the zoom-out scenario shown in fig. 3, a plurality of VIMs may correspond to one NFVO, and when a plurality of VIMs exist at the same time, the plurality of VIMs belong to the same DC. Assume that the VIMs shown at this time belong to two DCs, DC1 and DC2, where two VIMs exist in DC1, the VIM numbers are identified by VIMID as VIM1 and VIM2, respectively, and one VIM exists in DC2 as VIM 3. After the NFVO determines that the candidate VIM is VIM1 according to the resource authorization request sent by the VNFM, the NFVO determines whether the VIM2 successfully loads the virtual machine image file in the stored transmission record information based on the VIM2 in the DC1 to which the VIM1 belongs, so as to determine whether to send the virtual machine image file directly to the VIM1 or send the resource address of the virtual machine image file. If the transmission record information indicates that the VIM2 successfully loaded the virtual machine image file, the NFVO sends the resource address (e.g., uniform resource locator URL) of the virtual machine image file in the VIM2 to the VIM1, and notifies the VIM1 to download the virtual machine image file at the resource address; if the transmission record information indicates that the VIM2 did not load or successfully load the virtual machine image file, the NFVO will send the virtual machine image file directly to the VIM1, so that the VIM1 completes the loading of the virtual machine image file. Of course, if the NFVO selects VIM3 in DC2, the virtual machine image file is sent to VIM3 directly through the NFVO-VIM interface. And finally, the candidate VIM after downloading the virtual machine image file verifies and stores the virtual machine image file, ensures the availability of the virtual machine image file, and informs the NFVO that the virtual machine image file already exists in the VIM.
In addition, in this embodiment of the present invention, before step 101, the method further includes:
checking the integrity and the validity of the virtual network function description file uploaded by the administrator;
after the checking is passed, notifying the target virtualized network function manager to acquire virtual network function description information in the virtual network function description file based on the subscription relationship of the virtual network function description file;
after the virtual network function description information is sent to the target virtualization network function manager, the state of the virtual network function description file is set to be enabled, and the administrator is informed that the uploading is successful.
Therefore, according to the requirement of an administrator, firstly, the uploaded virtual network function description file (VNF package) is checked for completeness and validity, then the target VNFM is informed of new VNF package uploading based on the corresponding subscription relation after the checking is passed, after the virtual network function description information (including a virtual network function descriptor VNFD, files of additional matters and the like) is sent to the target VNFM, the state of the VNF package is set to be enabled, and the administrator is informed of successful uploading. Here, in the VNF package uploading, the virtual machine image file is not uploaded to the target VNFM but is directly loaded to the VIM later, which simplifies the process of instantiating the virtual network function.
The uploading of VNF packages will be explained in detail below with reference to fig. 4:
s401, uploading a VNF package by an administrator;
s402, the NFVO checks the integrity and the validity of the VNF packet;
s403, determining a target VNFM based on the subscription relation;
s404, the NFVO informs the target VNFM that a new VNF package is uploaded;
s405, responding to NFVO uploading by a target VNFM;
s406, the target VNFM requests the NFVO to obtain the virtual network function description information (including the VNFD, archive of additional items, etc.) of the latest VNF package;
s407, the NFVO returns the virtual network function description information of the new VNF packet of the target VNFM;
s408, the target VNFM informs the NFVO of enabling the VNF packet;
s409, NFVO notifies the administrator that the upload was successful.
The VNF instantiation process will be explained below with reference to fig. 5:
s501, an administrator initiates an instantiation VNF instruction;
s502, selecting a VNF packet and a target VNFM;
s503, inquiring VNFD information from the NFVO to the target VNFM;
s504, the target VNFM returns VNFD information and adjustable input parameters;
s505, the NFVO issues information such as the adjusted VNF name and VNFDID to a target VNFM according to the adjustable input parameters;
s506, the target VNFM returns VNF ID, task identification JobID and the like;
s507, the target VNFM analyzes the VNFD, and needed resource information is analyzed;
s508, sending a resource authorization request (including a virtual machine list VMlist) to the NFVO, and requesting resource authorization;
s509, the NFVO selects a candidate VIM according to the strategy, and returns the VIM and tenant information to the target VNFM through a resource authorization response;
s510, the resource address of the virtual machine image file or the virtual machine image file is sent to the candidate VIM (if the image exists in the VIM, the step S512 is skipped)
S511, checking and storing the mirror image file of the virtual machine;
s512, the NFVO confirms that the virtual machine image file is successfully issued;
s513, creating resources;
s514, the VIM informs the NFVO that the resources are updated newly;
s515, NFVO replying;
s516, informing the VNF of the included virtual resources;
s517, the NFVO returns a response to the target VNFM;
s518, the instantiation result is sent to the administrator.
In summary, in the method for instantiating a virtual network function according to the embodiment of the present invention, after receiving the resource authorization request, the NFVO determines, based on the requirement of the target VNFM, a candidate VIM for allocating virtual resources to the virtual network function when deploying the virtual network function, and then queries whether a target VIM loaded with a virtual machine image file exists in a DC to which the determined candidate VIM belongs, and further sends file information of loading the virtual machine image file by the candidate VIM to the candidate VIM according to whether the target VIM exists, so as to achieve the purpose of sharing the image file by multiple VIMs belonging to the same DC.
As shown in fig. 6, an embodiment of the present invention further provides a method for instantiating a virtual network function, including:
601, receiving file information sent by a network function virtualization orchestrator;
step 602, acquiring a virtual machine image file according to the file information.
In the method for instantiating a virtual network function in this embodiment, the loading of the virtual machine image file is completed by acquiring the virtual machine image file by receiving the file information sent by the NFVO.
Wherein the file information includes: a virtual machine image file or a resource address of the virtual machine image file;
the step of obtaining the virtual machine image file according to the file information comprises the following steps:
extracting a virtual machine image file in the file information; or
And downloading the mirror image file of the virtual machine in the target virtualization resource manager indicated by the resource address according to the resource address.
After the step of obtaining the virtual machine image file according to the file information, the method further includes:
verifying the availability of the virtual machine image file;
and after the verification is passed, storing the virtual machine image file, and informing the network function virtualization orchestrator that the virtual machine image file is successfully loaded.
In this way, the specific content of the file information sent by the NFVO is that whether a DC to which the candidate VIM belongs has a target VIM loaded with the virtual machine image file is queried, and then according to whether the target VIM exists, the file information corresponding to the candidate VIM loaded with the virtual machine image file is sent to the candidate VIM, and if the target VIM exists in the DC to which the candidate VIM belongs, the file information is the resource address of the virtual machine image file; if the target VIM does not exist in the DC to which the candidate VIM belongs, the file information is a virtual machine image file, and the purpose of sharing the image file by a plurality of VIMs belonging to the same DC is achieved.
It should be noted that the method applied to the virtual network function instantiation applied to NFVO in the first embodiment is used to implement the purpose of sharing the image files by multiple VIMs belonging to the same DC, and the implementation manner of the method embodiment is applicable to the method and can achieve the same technical effect.
As shown in fig. 7, a network function virtualization orchestrator 700 according to embodiments of the present invention comprises a processor 710 and a transceiver 720, wherein,
the transceiver 720 is configured to receive a resource authorization request;
the processor 710 is configured to determine, according to the resource authorization request, a candidate virtualized resource manager, where the candidate virtualized resource manager is configured to allocate virtual resources to a virtual network function when the virtual network function is deployed; inquiring whether a target virtualization resource manager exists in a data center to which the candidate virtualization resource manager belongs, wherein the target virtualization resource manager is loaded with a virtual machine image file;
the transceiver 720 is further configured to send corresponding file information to the candidate virtualized resource manager according to the queried result.
Wherein the file information includes: a virtual machine image file or a resource address of the virtual machine image file;
the processor 710 is further configured to, when the target virtualized resource manager exists in the data center, send a resource address of the virtual machine image file in the target virtualized resource manager to the candidate virtualized resource manager, and notify the candidate virtualized resource manager to download the virtual machine image file using the resource address; and when the target virtualized resource manager does not exist in the data center, sending the virtual machine image file to the candidate virtualized resource manager.
Wherein the processor 710 is further configured to determine, according to the first identity of the candidate virtualized resource manager, second identities of remaining virtualized resource managers in a data center to which the candidate virtualized resource manager belongs; and inquiring whether the target virtualized resource manager exists in the transmission record information of the virtual machine image file according to the second identity mark.
The transmission record information stores the identity of the virtualized resource manager which successfully loads the virtual machine image file and the identity of the virtualized resource manager which has a problem in the process of loading the virtual machine image file.
Wherein, the processor 710 is further configured to perform integrity and validity check on the virtual network function description file uploaded by the administrator;
the transceiver 720 is further configured to notify the target virtualized network function manager to acquire virtual network function description information in the virtual network function description file based on the subscription relationship of the virtual network function description file after the check is passed;
the processor 710 is further configured to set the state of the virtual network function description file to enable after sending the virtual network function description information to the target virtualized network function manager, and notify the administrator of successful upload.
After receiving the resource authorization request, the network function virtualization orchestrator of the embodiment of the present invention determines, based on the requirement of the target VNFM, a candidate VIM for allocating virtual resources to the virtual network function when deploying the virtual network function, and then queries whether a DC to which the determined candidate VIM belongs has a target VIM to which a virtual machine image file has been loaded, and further sends file information of the virtual machine image file loaded by the candidate VIM to the candidate VIM according to whether the target VIM exists, thereby achieving a purpose of sharing the image file by multiple VIMs belonging to the same DC.
It should be noted that the network function virtualization orchestrator is a network function virtualization orchestrator to which the method for instantiating a virtual network function in the first embodiment is applied, and the implementation manner of the method for instantiating a virtual network function in the first embodiment is applicable to the network function virtualization orchestrator and can achieve the same technical effect.
As shown in fig. 8, an embodiment of the present invention further provides a virtualized resource manager, including: a processor 810 and a transceiver 820, wherein,
the transceiver is used for receiving file information sent by the network function virtualization orchestrator;
the processor 810 is configured to obtain a virtual machine image file according to the file information.
Wherein the file information includes: a virtual machine image file or a resource address of a virtual machine image file;
the processor 810 is further configured to extract a virtual machine image file in the file information; or
And downloading the mirror image file of the virtual machine in the target virtualization resource manager indicated by the resource address according to the resource address.
Wherein the processor 810 is further configured to verify availability of the virtual machine image file; and after the verification is passed, storing the virtual machine image file, and informing the network function virtualization orchestrator that the virtual machine image file is successfully loaded.
The virtualized resource manager of the embodiment of the present invention completes loading of a virtual machine image file by acquiring the virtual machine image file by receiving file information sent by the NFVO, and since the specific content of the file information sent by the NFVO is to send corresponding file information to a candidate VIM by querying whether a DC to which the candidate VIM belongs has a target VIM to which the virtual machine image file has been loaded: if the target VIM exists in the DC to which the candidate VIM belongs, the file information is the resource address of the virtual machine image file; and if the target VIM does not exist in the DC to which the candidate VIM belongs, the file information is the virtual machine image file. The purpose of sharing the mirror image files by a plurality of VIMs belonging to the same DC is realized.
It should be noted that the virtualized resource manager is a virtualized resource manager to which the method for instantiating the virtual network function in the second embodiment is applied, and an implementation manner of the method for instantiating the virtual network function in the second embodiment is applicable to the virtualized resource manager and can achieve the same technical effect.
A network function virtualization orchestrator according to another embodiment of the present invention, as shown in fig. 9, includes a transceiver 910, a memory 920, a processor 900, and a computer program stored in the memory 920 and executable on the processor 900; the processor 900, when executing the computer program, implements the above-described method of virtual network function instantiation as applied to a network function virtualization orchestrator.
The transceiver 910 is used for receiving and transmitting data under the control of the processor 900.
In fig. 9, among other things, the bus architecture may include any number of interconnected buses and bridges, with one or more processors, represented by processor 900, and various circuits, represented by memory 920, being linked together. The bus architecture may also link together various other circuits such as peripherals, voltage regulators, power management circuits, and the like, which are well known in the art, and therefore, will not be described any further herein. The bus interface provides an interface. The transceiver 910 may be a number of elements including a transmitter and a receiver that provide a means for communicating with various other apparatus over a transmission medium.
The processor 900 is responsible for managing the bus architecture and general processing, and the memory 920 may store data used by the processor 900 in performing operations.
The virtualized resource manager according to another embodiment of the present invention, as shown in fig. 10, includes a transceiver 1010, a memory 1020, a processor 1000, and a computer program stored in the memory 1020 and operable on the processor 1000; the processor 1000 implements the above-described method for instantiating a virtual network function for a virtualized resource manager when executing the computer program.
The transceiver 1010 is used for receiving and transmitting data under the control of the processor 1000.
In fig. 10, a bus architecture (represented by bus 1030), the bus 1030 being able to include any number of interconnected buses and bridges, the bus 1030 linking together various circuits including one or more processors, represented by the processor 1000, and memory, represented by the memory 1020. The bus 1030 may also link various other circuits such as peripherals, voltage regulators, power management circuits, and the like, which are well known in the art, and therefore, will not be described any further herein. A bus interface 1050 provides an interface between the bus 1030 and the transceiver 1010. The transceiver 1010 may be one element or may be multiple elements, such as multiple receivers and transmitters, providing a means for communicating with various other apparatus over a transmission medium. Data processed by processor 1000 is transmitted over a wireless medium via antenna 1040, and further, antenna 1040 receives data and transmits data to processor 1000.
Processor 1000 is responsible for managing bus 1030 and general processing, and may also provide various functions including timing, peripheral interfaces, voltage regulation, power management, and other control functions. And memory 1020 may be used to store data used by processor 1000 in performing operations.
Alternatively, the processor 1000 may be a CPU, ASIC, FPGA or CPLD.
The computer readable storage medium of the embodiment of the present invention stores thereon a computer program, and when executed by a processor, the computer program implements the steps of the method for instantiating a virtual network function applied to a network function virtualization orchestrator as described above, and can achieve the same technical effects, and is not described herein again to avoid repetition.
The computer readable storage medium of the embodiment of the present invention stores thereon a computer program, and when the computer program is executed by a processor, the computer program implements the steps in the method for instantiating a virtual network function applied to a virtualized resource manager, and can achieve the same technical effect, and is not described herein again to avoid repetition.
The computer-readable storage medium may be a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk.
It is further noted that many of the functional units described in this specification have been labeled as modules, in order to more particularly emphasize their implementation independence.
In embodiments of the present invention, modules may be implemented in software for execution by various types of processors. An identified module of executable code may, for instance, comprise one or more physical or logical blocks of computer instructions which may, for instance, be constructed as an object, procedure, or function. Nevertheless, the executables of an identified module need not be physically located together, but may comprise disparate instructions stored in different bits which, when joined logically together, comprise the module and achieve the stated purpose for the module.
Indeed, a module of executable code may be a single instruction, or many instructions, and may even be distributed over several different code segments, among different programs, and across several memory devices. Likewise, operational data may be identified within the modules and may be embodied in any suitable form and organized within any suitable type of data structure. The operational data may be collected as a single data set, or may be distributed over different locations including over different storage devices, and may exist, at least partially, merely as electronic signals on a system or network.
When a module can be implemented by software, considering the level of existing hardware technology, a module implemented by software may build a corresponding hardware circuit to implement a corresponding function, without considering cost, and the hardware circuit may include a conventional Very Large Scale Integration (VLSI) circuit or a gate array and an existing semiconductor such as a logic chip, a transistor, or other discrete components. A module may also be implemented in programmable hardware devices such as field programmable gate arrays, programmable array logic, programmable logic devices or the like.
The exemplary embodiments described above are described with reference to the drawings, and many different forms and embodiments of the invention may be made without departing from the spirit and teaching of the invention, therefore, the invention is not to be construed as limited to the exemplary embodiments set forth herein. Rather, these exemplary embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the invention to those skilled in the art. In the drawings, the size and relative sizes of elements may be exaggerated for clarity. The terminology used herein is for the purpose of describing particular example embodiments only and is not intended to be limiting. As used herein, the singular forms "a", "an" and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It will be further understood that the terms "comprises" and/or "comprising," when used in this specification, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof. Unless otherwise indicated, a range of values, when stated, includes the upper and lower limits of the range and any subranges therebetween.
While the foregoing is directed to the preferred embodiment of the present invention, it will be understood by those skilled in the art that various changes and modifications may be made without departing from the spirit and scope of the invention as defined in the appended claims.

Claims (18)

1. A method of virtual network function instantiation, comprising:
receiving a resource authorization request;
determining a candidate virtualized resource manager according to the resource authorization request, wherein the candidate virtualized resource manager is used for allocating virtual resources to a virtual network function when the virtual network function is deployed;
inquiring whether a target virtualization resource manager exists in a data center to which the candidate virtualization resource manager belongs, wherein the target virtualization resource manager is loaded with a virtual machine image file;
according to the inquired result, sending corresponding file information to the candidate virtualized resource manager;
wherein the file information includes: a virtual machine image file or a resource address of the virtual machine image file;
the step of sending the corresponding file information to the candidate virtualized resource manager according to the queried result includes:
when the target virtualization resource manager exists in the data center, sending the resource address of the virtual machine image file in the target virtualization resource manager to the candidate virtualization resource manager, and informing the candidate virtualization resource manager to download the virtual machine image file by using the resource address;
and when the target virtualized resource manager does not exist in the data center, sending the virtual machine image file to the candidate virtualized resource manager.
2. The method of instantiating a virtual network function according to claim 1 wherein the step of querying whether the data center to which the candidate virtualized resource manager belongs has a target virtualized resource manager comprises:
determining second identity identifiers of the remaining virtualized resource managers in the data center to which the candidate virtualized resource manager belongs according to the first identity identifier of the candidate virtualized resource manager;
and inquiring whether the target virtualized resource manager exists in the transmission record information of the virtual machine image file according to the second identity mark.
3. The method of claim 2, wherein the transmission log information stores an identifier of a virtualized resource manager that successfully loads the virtual machine image file and an identifier of a virtualized resource manager that has a problem during loading the virtual machine image file.
4. The method of virtual network function instantiation according to claim 1, wherein prior to said step of receiving a resource authorization request, said method further comprises:
checking the integrity and the validity of the virtual network function description file uploaded by the administrator;
after the checking is passed, notifying a target virtualization network function manager to acquire virtual network function description information in the virtual network function description file based on the subscription relationship of the virtual network function description file;
after the virtual network function description information is sent to the target virtualization network function manager, the state of the virtual network function description file is set to be enabled, and the administrator is informed that the uploading is successful.
5. A method of virtual network function instantiation, comprising:
receiving file information sent by a network function virtualization orchestrator;
acquiring a virtual machine image file according to the file information;
the method comprises the steps that a network function virtualization orchestrator inquires a data center to which a candidate virtualization resource manager belongs, and the file information is the resource address of a virtual machine image file under the condition that a target virtualization resource manager exists;
querying a data center to which a candidate virtualized resource manager belongs by the network function virtualization orchestrator, and determining that the file information is a virtual machine image file under the condition that a target virtualized resource manager does not exist;
the candidate virtualized resource manager is a virtualized resource manager determined based on the resource authorization request for allocating virtual resources to the virtual network function when the virtual network function is deployed;
the target virtualized resource manager has been loaded with a virtual machine image file.
6. The method of virtual network function instantiation according to claim 5,
the step of obtaining the virtual machine image file according to the file information comprises the following steps:
extracting a virtual machine image file in the file information; or
And downloading the mirror image file of the virtual machine in the target virtualization resource manager indicated by the resource address according to the resource address.
7. The method of instantiating a virtual network function according to claim 5 wherein after the step of obtaining a virtual machine image file according to the file information, the method further comprises:
verifying the availability of the virtual machine image file;
and after the verification is passed, storing the virtual machine image file, and informing the network function virtualization orchestrator that the virtual machine image file is successfully loaded.
8. A network function virtualization orchestrator, comprising: a processor and a transceiver, wherein,
the transceiver is used for receiving a resource authorization request;
the processor is configured to determine a candidate virtualized resource manager according to the resource authorization request, where the candidate virtualized resource manager is configured to allocate virtual resources to a virtual network function when the virtual network function is deployed; inquiring whether a target virtualization resource manager exists in a data center to which the candidate virtualization resource manager belongs, wherein the target virtualization resource manager is loaded with a virtual machine image file;
the transceiver is also used for sending corresponding file information to the candidate virtualized resource manager according to the inquired result;
wherein the file information includes: a virtual machine image file or a resource address of the virtual machine image file;
the processor is further configured to send a resource address of the virtual machine image file in the target virtualized resource manager to the candidate virtualized resource manager and notify the candidate virtualized resource manager to download the virtual machine image file using the resource address when the target virtualized resource manager exists in the data center; and when the target virtualized resource manager does not exist in the data center, sending the virtual machine image file to the candidate virtualized resource manager.
9. The network function virtualization orchestrator of claim 8, wherein the processor is further configured to determine second identities of remaining virtualized resource managers in a data center to which the candidate virtualized resource manager belongs, based on the first identity of the candidate virtualized resource manager; and inquiring whether the target virtualized resource manager exists in the transmission record information of the virtual machine image file according to the second identity mark.
10. The network function virtualization orchestrator of claim 9, wherein the transmission record information stores an identifier of a virtualized resource manager that successfully loads the virtual machine image file and an identifier of a virtualized resource manager that has a problem during loading the virtual machine image file.
11. The network function virtualization orchestrator of claim 8, wherein the processor is further configured to perform integrity and legitimacy checks on the virtual network function description file uploaded by the administrator;
the transceiver is further used for informing a target virtual network function manager to acquire virtual network function description information in the virtual network function description file based on the subscription relationship of the virtual network function description file after the check is passed;
the processor is further configured to set the state of the virtual network function description file to enable after sending the virtual network function description information to the target virtualized network function manager, and notify the administrator of successful upload.
12. A virtualized resource manager, comprising: a processor and a transceiver, wherein,
the transceiver is used for receiving file information sent by the network function virtualization orchestrator;
the processor is used for acquiring a virtual machine image file according to the file information;
the network function virtualization orchestrator queries a data center to which a candidate virtualization resource manager belongs, and determines that the file information is a resource address of a virtual machine image file under the condition that a target virtualization resource manager exists;
querying a data center to which a candidate virtualized resource manager belongs by the network function virtualization orchestrator, and determining that the file information is a virtual machine image file under the condition that a target virtualized resource manager does not exist;
the candidate virtualized resource manager is a virtualized resource manager determined based on the resource authorization request for allocating virtual resources to the virtual network function when the virtual network function is deployed;
the target virtualized resource manager has been loaded with a virtual machine image file.
13. The virtualized resource manager of claim 12 wherein the file information comprises: a virtual machine image file or a resource address of the virtual machine image file;
the processor is also used for extracting a virtual machine image file in the file information; or alternatively
And downloading the virtual machine image file in the target virtual resource manager indicated by the resource address according to the resource address.
14. The virtualized resource manager of claim 12 wherein the processor is further configured to verify availability of the virtual machine image file; and after the verification is passed, storing the virtual machine image file, and informing the network function virtualization orchestrator that the virtual machine image file is successfully loaded.
15. A network function virtualization orchestrator comprising a transceiver, a memory, a processor, and a computer program stored on the memory and executable on the processor; characterized in that the processor, when executing the computer program, implements a method of virtual network function instantiation as claimed in any one of claims 1 to 4.
16. A virtualized resource manager comprising a transceiver, a memory, a processor, and a computer program stored on the memory and executable on the processor; characterized in that the processor, when executing the computer program, implements a method of virtual network function instantiation as claimed in any one of claims 5 to 7.
17. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method of instantiating a virtual network function according to any one of claims 1 to 4.
18. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method of instantiating a virtual network function according to any one of claims 5 to 7.
CN201810316636.5A 2018-04-10 2018-04-10 Method for instantiating virtual network function and network function virtualization orchestrator Active CN110365508B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810316636.5A CN110365508B (en) 2018-04-10 2018-04-10 Method for instantiating virtual network function and network function virtualization orchestrator

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810316636.5A CN110365508B (en) 2018-04-10 2018-04-10 Method for instantiating virtual network function and network function virtualization orchestrator

Publications (2)

Publication Number Publication Date
CN110365508A CN110365508A (en) 2019-10-22
CN110365508B true CN110365508B (en) 2022-05-31

Family

ID=68214031

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810316636.5A Active CN110365508B (en) 2018-04-10 2018-04-10 Method for instantiating virtual network function and network function virtualization orchestrator

Country Status (1)

Country Link
CN (1) CN110365508B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112748981B (en) * 2019-10-29 2024-03-26 华为技术有限公司 Processing method and device for software mirror image of virtual network function
CN112887118A (en) * 2019-11-29 2021-06-01 中兴通讯股份有限公司 VNF information acquisition and control method and device, NFVO, VNFM and storage medium
CN114765579A (en) * 2021-01-11 2022-07-19 中国移动通信有限公司研究院 Data transmission method, device, related equipment and storage medium
CN117369734B (en) * 2023-12-08 2024-03-08 浪潮电子信息产业股份有限公司 Storage resource management system, method and storage virtualization system

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105808316A (en) * 2014-12-31 2016-07-27 杭州华为数字技术有限公司 Virtual network loading method and device
CN107291525A (en) * 2016-04-01 2017-10-24 华为技术有限公司 A kind of method, host and system for disposing virtual machine
CN107357603A (en) * 2016-05-10 2017-11-17 华为技术有限公司 A kind of method for loading software, equipment and system

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2940582A1 (en) * 2014-04-30 2015-11-04 DoCoMo Communications Laboratories Europe GmbH Automated configuration of virtual infrastructure manager access for the virtual network function manager
CN105955824B (en) * 2016-04-21 2019-07-19 华为技术有限公司 A kind of virtual resource configuration method and device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105808316A (en) * 2014-12-31 2016-07-27 杭州华为数字技术有限公司 Virtual network loading method and device
CN107291525A (en) * 2016-04-01 2017-10-24 华为技术有限公司 A kind of method, host and system for disposing virtual machine
CN107357603A (en) * 2016-05-10 2017-11-17 华为技术有限公司 A kind of method for loading software, equipment and system

Also Published As

Publication number Publication date
CN110365508A (en) 2019-10-22

Similar Documents

Publication Publication Date Title
CN110365508B (en) Method for instantiating virtual network function and network function virtualization orchestrator
RU2683630C2 (en) Method for update of nsd network service descriptor and device
CN107967140B (en) Software modification initiating method, metadata publishing method and device
CN103475682B (en) File transfer method and file transfer equipment
EP2940582A1 (en) Automated configuration of virtual infrastructure manager access for the virtual network function manager
CN111324363A (en) Equipment upgrading method, upgrading terminal, equipment and storage medium
CN112673350B (en) Method and apparatus for enabling coordinated execution of actions in a distributed computing system having non-trusted entities
CN113778463B (en) Business service deployment method and device
CN105049502A (en) Method of upgrading equipment software in cloud network management system and device
JP2018525948A (en) Method and apparatus for onboarding network service descriptors
CN112202879B (en) Middleware management method and device, electronic equipment and storage medium
CN105101040A (en) Resource creating method and device
US11399077B2 (en) Systems and methods for acknowledgement in media processing
EP4087206A1 (en) Internet-of-things device registration method and apparatus, device and storage medium
US20160156722A1 (en) Resource migration method and apparatus
US10152490B2 (en) Sequential replication with limited number of objects
CN113691520B (en) Method and device for acquiring streaming media information, storage medium and electronic device
CN110830540A (en) Method for accessing smart television to cloud server, storage medium and application server
CN111309467A (en) Task distribution method and device, electronic equipment and storage medium
CN110431804B (en) Content deployment method and distribution controller
CN111259376A (en) Authority configuration method, device, server and storage medium
KR102054144B1 (en) Method and Apparatus for Control Terminals in IoT Service
CN111506846A (en) Web page generation method and device, electronic equipment and storage medium
CN112748981B (en) Processing method and device for software mirror image of virtual network function
CN112533178B (en) Method, platform, server and storage medium for realizing network capability opening

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