CN112436952B - Information acquisition method, NFV-MANO system and computer storage medium - Google Patents

Information acquisition method, NFV-MANO system and computer storage medium Download PDF

Info

Publication number
CN112436952B
CN112436952B CN201910792180.4A CN201910792180A CN112436952B CN 112436952 B CN112436952 B CN 112436952B CN 201910792180 A CN201910792180 A CN 201910792180A CN 112436952 B CN112436952 B CN 112436952B
Authority
CN
China
Prior art keywords
virtual resource
identifier
vnfi
state
vim
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
CN201910792180.4A
Other languages
Chinese (zh)
Other versions
CN112436952A (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 Suzhou Software Technology Co Ltd
Original Assignee
China Mobile Communications Group Co Ltd
China Mobile Suzhou Software Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China Mobile Communications Group Co Ltd, China Mobile Suzhou Software Technology Co Ltd filed Critical China Mobile Communications Group Co Ltd
Priority to CN201910792180.4A priority Critical patent/CN112436952B/en
Publication of CN112436952A publication Critical patent/CN112436952A/en
Application granted granted Critical
Publication of CN112436952B publication Critical patent/CN112436952B/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
    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0893Assignment of logical groups to network elements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/50Address allocation
    • 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
    • G06F2009/45595Network integration; Enabling network access in virtual machine instances

Abstract

The embodiment of the invention discloses an information acquisition method, which is applied to a network function virtualization management arrangement NFV-MANO system and comprises the following steps: if the current state of a VNFI of a virtual network function instance of the NFV-MANO system is an instantiation state, acquiring a virtual resource acquisition state identifier of a virtual resource currently allocated by a VIM (virtual infrastructure manager); and determining the address of the virtual resource which fails to be acquired in the virtual resources currently allocated by the VIM based on the virtual resource acquisition state identifier and a preset virtual resource state identifier. The embodiment of the invention also discloses an NFV-MANO system and a computer storage medium. The invention can accurately position the address of the virtual resource which is failed to be allocated under the condition that the virtual resource is failed to be allocated, thereby avoiding the condition that all the virtual resources are deleted and reapplied in the relative technology, reducing the time cost and avoiding the waste of the resources.

Description

Information acquisition method, NFV-MANO system and computer storage medium
Technical Field
The present invention relates to Network Function Virtualization (NFV) technology in the field of communication networks, and in particular, to an information acquisition method, an NFV-MANO system, and a computer storage medium.
Background
In the work process of NFV Management and organization (NFV-MANO), the situation of failure of obtaining virtual resources often occurs. However, for some reasons (such as network transmission problems), the NFV-MANO system cannot know the specific location of the virtual resource that failed to acquire, so in the relative art, the processing scheme for the virtual resource acquisition failure is to delete all the acquired virtual resources, then roll back, and then reapply all the required virtual resources. However, this results in repeated allocation and application of resources, resulting in wasted time and resources.
Disclosure of Invention
In order to solve the above problems, embodiments of the present invention desirably provide an information acquisition method, an NFV-MANO system, and a computer storage medium, which can accurately locate an address of a virtual resource that fails to be allocated in a case where the virtual resource fails to be allocated, thereby avoiding a case where all virtual resources are deleted and reapplied in a related art, reducing time cost, and avoiding waste of resources.
The technical scheme of the invention is realized as follows:
an information acquisition method applied to a network function virtualization management orchestration (NFV-MANO) system, the method comprising:
if the current state of a VNFI of a virtual network function instance of the NFV-MANO system is an instantiation state, acquiring a virtual resource acquisition state identifier of a virtual resource currently allocated by a VIM (virtual infrastructure manager); the virtual resource acquisition state identifier is used for representing the acquisition state of the virtual resource currently allocated by the VIM;
determining the address of the virtual resource which fails to be acquired in the virtual resources currently allocated by the VIM based on the virtual resource acquisition state identifier and a preset virtual resource state identifier; and the preset virtual resource state identifier represents that the virtual resource is successfully acquired.
Optionally, the determining, based on the virtual resource obtaining status identifier and a preset virtual resource obtaining status identifier, a virtual resource address of the virtual resource currently allocated by the VIM includes:
determining the acquisition state of the virtual resource currently allocated by the VIM based on the matching relationship between the virtual resource acquisition state identifier and the preset virtual resource acquisition state identifier;
and if the acquisition state of the virtual resource currently allocated by the VIM is determined to be the acquisition failure state, determining the address of the virtual resource currently allocated by the VIM.
Optionally, if it is determined that the acquisition state of the virtual resource currently allocated by the VIM is an acquisition failure state, determining an address of the virtual resource currently allocated by the VIM includes:
if the virtual resource acquiring state currently allocated by the VIM is determined to be the state of failure in acquisition, determining a virtual resource identifier based on the virtual resource acquiring state identifier; wherein the virtual resource identifier is used to represent a virtual resource currently allocated by the VIM;
acquiring a virtual resource address identifier based on the virtual resource identifier;
determining an address of the virtual resource currently allocated by the VIM based on the virtual resource address identification.
Optionally, obtaining a VNFI lifecycle task identifier; the VNFI lifecycle task identifier is used for representing a VNFI lifecycle task corresponding to the VNFI;
based on the VNFI lifecycle task identifier and the virtual resource identifier, deleting the virtual resource corresponding to the VNFI lifecycle task identifier and the virtual resource identifier.
Optionally, the obtaining the VNFI lifecycle task identifier includes:
obtaining a VNFI identifier; wherein the VNFI identification is used to represent the VNFI;
acquiring a VNFI life cycle task identifier based on the VNFI identifier and a first incidence relation; the first incidence relation is used for representing the incidence relation between the VNFI identification and the VNFI lifecycle task identification.
Optionally, before acquiring the virtual resource acquisition status identifier of the virtual resource currently allocated by the virtualized infrastructure manager VIM if the current status of the virtualized network function instance VNFI of the NFV-MANO system is the instantiated status, the method further includes:
and setting the first association relation based on the VNFI identification and the VNFI lifecycle task identification.
Optionally, the acquiring, if the current state of the virtualized network function instance VNFI of the NFV-MANO system is an instantiated state, a virtual resource acquisition state identifier of a virtual resource currently allocated by a virtualized infrastructure manager VIM, includes:
acquiring the virtual resource identifier of the virtual resource currently allocated by the VIM based on the VNFI identifier, the VNFI lifecycle task identifier and a second association relation; wherein the second association is used for representing an association between the VNFI identifier, the VNFI lifecycle task identifier, and the virtual resource identifier;
and acquiring the virtual resource acquisition state identifier based on the virtual resource identifier.
Optionally, setting the preset virtual resource acquisition state identifier;
and setting the second association relation based on the VNFI identification, the VNFI lifecycle task identification and the virtual resource identification.
Optionally, before deleting the virtual resource corresponding to the VNFI lifecycle task identifier and the virtual resource identifier based on the VNFI lifecycle task identifier and the virtual resource identifier, the method further includes:
setting the VNFI lifecycle task state identifier to be a temporary failure state based on the virtual resource acquisition state identifier; wherein the VNFI lifecycle task state identification is used to represent a state of the VNFI lifecycle task.
Optionally, after deleting the virtual resource corresponding to the VNFI lifecycle task identifier and the virtual resource identifier based on the VNFI lifecycle task identifier and the virtual resource identifier, the method further includes:
reapplication for the virtual resources corresponding to the VNFI lifecycle task identifier and the virtual resource identifier based on the temporary failure state of the VNFI lifecycle task.
An NFV-MANO system, the system comprising: a processor, a memory, and a communication bus;
the communication bus is used for realizing communication connection between the processor and the memory;
the processor is used for executing the program of the information acquisition method in the memory to realize the following steps:
if the current state of a VNFI of a virtual network function instance of the NFV-MANO system is an instantiation state, acquiring a virtual resource acquisition state identifier of a virtual resource currently allocated by a VIM (virtual infrastructure manager); the virtual resource acquisition state identifier is used for representing the acquisition state of the virtual resource currently allocated by the VIM;
determining the address of the virtual resource which fails to be acquired in the virtual resources currently allocated by the VIM based on the virtual resource acquisition state identifier and a preset virtual resource state identifier; and the preset virtual resource state identifier represents that the virtual resource is successfully acquired.
A computer storage medium storing one or more programs executable by one or more processors to implement the steps of the above-described information acquisition method.
In the information acquisition method, the NFV-MANO system, and the computer storage medium according to the embodiments of the present invention, if the current state of VNFI, which is a virtualized network function instance of the NFV-MANO system, is an instantiated state, the virtual resource acquisition state identifier of the virtual resource currently allocated by the virtualized infrastructure manager VIM is acquired, and then the address of the virtual resource that failed to acquire in the virtual resource currently allocated by the VIM is determined based on the virtual resource acquisition state identifier and the preset virtual resource state identifier, so that the virtual resource acquisition state can be quickly and accurately acquired in the NFV-MANO system according to the matching relationship between the acquired virtual resource acquisition state identifier and the preset virtual resource state identifier, and the address of the virtual resource that failed to acquire is determined when the virtual resource acquisition state is an acquisition failure, so as to accurately position the address of the virtual resource that failed to allocate in the case of a virtual resource failure, and then the condition that all virtual resources are deleted and reapplied in the relative technology is avoided, the time cost is reduced, and the waste of resources is avoided.
Drawings
FIG. 1 is a diagram of the NFV-MANO system architecture;
FIG. 2 is a VNFI lifecycle state switching diagram for the NFV-MANO system architecture;
fig. 3 is a schematic flowchart of an information obtaining method according to an embodiment of the present invention;
fig. 4 is a schematic flowchart of an information obtaining method according to another embodiment of the present invention;
fig. 5 is a schematic flowchart of another information obtaining method according to another embodiment of the present invention;
fig. 6 is a schematic flowchart of an information obtaining method according to another embodiment of the present invention;
FIG. 7 is a schematic diagram of an NFV-MANO system according to the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention.
The invention provides an information acquisition method, and relates to the NFV technology in the field of communication networks. NFV is intended to replace private dedicated network element devices used for a long time in a communication network with a virtualization Technology of standard Information Technology (IT) using mass servers, storage devices and switching devices of the industry standard; therefore, the method helps operators to reduce the cost of deploying, managing and maintaining the network, and simultaneously provides better elasticity and agility to adapt to the requirement of service demand change, thereby supporting the quick innovation of the service and shortening the online period of the service.
The information acquisition method provided by the invention is applied to an NFV-MANO system based on NFV technology, and the system provides a manageable, controllable and operable Service environment on the basis of NFV, so that basic resources can be flexibly and conveniently provided for upper-layer application, and the essence of the method is to realize the automatic deployment, elastic scheduling and efficient operation and maintenance management of VNF and Network Service (NS). NFV-MANO focuses on all specific Virtual Management tasks in the NFV architecture, and its functional implementation requires support of NFV orchestrator (NFVO), VNF manager (VNFM), and Virtual Infrastructure Management (VIM).
An operator establishes a network function virtualization standard working Group (NFV ISG) in the European Telecommunications Standardization Institute (ETSI), and the research objective of the operator is mainly to realize flexible deployment and configuration at various positions such as a data center, a network node, a user terminal and the like by widely adopting a standardized IT virtualization technology; therefore, the speed of network deployment and adjustment is increased, the complexity of service deployment is reduced, the unification, generalization and adaptability of network equipment are improved, and finally the fixed asset investment and operation cost of the network are reduced.
The NFV-MANO system applied by the information acquisition method of the present invention is constructed according to the specification requirements of ETSI NFV ISG, and its system architecture is shown in fig. 1, which covers the orchestration and lifecycle management of physical/software resources supporting infrastructure virtualization and the lifecycle management of VNF. The System is upwards accessed to an Operation Support System/Business Support System (OSS/BSS) and consists of an NFVO module, a VNFM module and a VIM module.
An NFVO module: orchestration and management of network services responsible for NFV Infrastructure, software resources, and NFV Infrastructure level (NFV Infrastructure, NFVI); the method and the system are also used for managing the NS lifecycle, coordinating management of the VNFI lifecycle (which needs to be supported by the VNFM), and coordinating management of various NFVI resources (which needs to be supported by the VIM) so as to ensure optimal configuration of various required resources and connections. The NFVO module accesses the OSS/BSS upwards through the Os-Ma-NFVO (main node between the OSS/BSS and the NVFO), is connected with the VNFM downwards through the Or-Vnfm (other associated node between the NFVO and the VNFM), is connected with the VIM downwards through a main node (Or-Vi) between the NFVO and the VIM, and manages and coordinates Network Service summary (NS catalog), Network virtualization function summary (VNF catalog), Network function virtualization Instance (NFV Instance), and NFVI resource (NFVI Resources).
A VNFM module: for managing VNFI lifecycles, such as typically including instantiation, updating, querying, expanding/contracting, terminating, self-healing, and the like. The VNFM module is connected with Element Management (EM) through a main node (Ve-Vnfm-EM) between the EM and the VNFM, connected with the VNF through a main node (Ve-Vnfm-VNF) between the VNF and the VNFM, and connected with the VIM downwards through a main node (Vi-Vnfm) between the VNMF and the VIM.
A VIM module: virtual resources, such as virtual storage and virtual networks, for allocating VNFI lifecycle tasks. For example, openstack (an open source cloud computing management platform project) has become a typical representative of VIM products. And also connected to NFVI via the primary node (Nf-Vi) between NFVI and VIM.
The nodes in fig. 1 include three types of execution related nodes (accumulation references), NFV Main related nodes (Main NFV references), and Other related nodes (Other references).
The above modules and various resources can only perform correct things at correct time under reasonable arrangement, the whole system can play due role, and Life-Cycle Management (LCM) of Virtual Network Function (VNF) is a key link for NFV-MANO to realize automatic operation and maintenance, so the Life Cycle of VNFI is very important.
The VNFI lifecycle management is a core requirement that the NFV-MANO needs to support, and is also a key link for realizing automated operation and maintenance under the NFV architecture, including instantiation, termination, scaling and the like of the VNFI, relating to resource arrangement, automated deployment, flexible scaling and decision making and the like related to the VNFI lifecycle management, and having a close relationship with an allocation application of virtual resources. In the embodiment of the present invention, the VNFI lifecycle management task also has an important role of connecting virtual resources allocated by the VNFI and the VIM, and the state of the VNFI lifecycle task has a close relationship with the VNFI state and the allocation state of the virtual resources.
VNFI lifecycle state switching is shown in fig. 2. The lifecycle state of the VNFI mainly includes seven types, i.e., a start state (Starting), a PROCESSING state (PROCESSING), a temporary failure state (FAILED _ TEMP), a rollback state (ROLLING _ BACK), a failure state (FAILED), a COMPLETED state (COMPLETED), and a rollback COMPLETED state (ROLLED _ BACK). The switching conditions between the above states include: transition types (Transition types), conditions (conditions), and operations (operations). The detailed state switching process is as follows:
the method comprises the steps that after LCM starts (Start), the Starting state is entered, at the moment, VNFI obtains needed virtual resources through VIM, any other LCM operation is forbidden, if the virtual resource authorization is successful (Granted), the PROCESSING state is entered, the state indicates that the LCM operation is being carried out, if the LCM operation is successful (Success), the COMPLETED state is entered, otherwise, if an LCM operation Error (Error) or a Cancel operation (Cancel) occurs, the FAILED _ TEMP state is entered, if an unrecoverable Error (unrecoverable Error) occurs, the FAILED state is entered, the ROLLING _ BACK state can be entered through automatic rollback (autoroll Back), and if the Cancel operation or the operation Error occurs, the ROLLED _ BACK state is entered; in the FAILED _ TEMP state, PROCESSING can be re-entered through manual Retry (Retry), and the FAILED state is switched to the FAILED state when the FAILED state is finally detected (Fail); in addition, in the FAILED _ TEMP state, the ROLLING _ BACK state may be entered by a Rollback operation (Rollback), and in the ROLLING _ BACK state, the FAILED _ TEMP state is entered again when an Error (Error) or a Cancel operation (Cancel) occurs, or otherwise, the ROLLED _ BACK state is entered if the Rollback operation Success occurs.
The result of virtual resource allocation by the VIM has close relation with the VNFI lifecycle task state switching, and the VNFI lifecycle task state switching affects the VNFI state accordingly.
However, in the process of VNFI applying for acquiring virtual resources through VNFI lifecycle task, it is inevitable that a process error of applying for virtual resources occurs, and a process error and a processing scheme thereof that have been defined in ETSI 003 solution (ETSI SOL003) are as follows:
in the first case: if the VNF LCM operation fails immediately and no resources (e.g., virtual resources such as virtual machines, ports, networks, volumes, etc.) are allocated and/or acquired, SOL003 does not provide a special handling method in this case, and only needs to re-invoke the same API for retry.
In the second case: VNF LCM operation failed immediately; in this case, according to the specification of SOL003, the process rolls back, deletes all allocated virtual resources corresponding to the failed VNFI lifecycle task, and reenters the process to apply for acquiring virtual resources. Which would result in a time cost.
In the third case: after a resource management failure in LCM operation, the VNFM itself may automatically invoke retries, but these invocations are not visible outside the VNFM, and since the VNF LCM remains in the PROCESSING state during the automatic retries, external processes cannot access, resulting in occurrence of situations such as resource lock. That is, when a problem occurs in allocating virtual resources during VNFI creation, NFVO does not perform rollback, but performs retry. In this case, the NFVO does not know the acquisition status of the virtual resource allocated by the VIM, and may erroneously reapply to allocate the virtual resource again, and actually, the virtual resource is already allocated or occupied, and in the case that the virtual resource is not deleted, repeated attempts to allocate the virtual resource may result in a new failure, thereby causing the resource and the process to be locked in a period of time and entering a dead loop.
For the situation that the NFVO applies for acquiring the virtual resource through the VNFM, if the virtual resource acquisition fails, but the NFVO cannot know the specific failure reason due to some reasons (such as a network transmission problem), the failure processing scheme defined by the existing SOL003 (Solution 003) deletes all created resources, rolls back, and re-applies for the acquisition process of the required virtual resource. This results in repeated allocation and application of resources, resulting in a double waste of time and resources.
More seriously, because the resource states in the prior art are all reported to the upper system by the lower system, in some extreme cases, such as network interruption, reporting failure may cause inconsistency of state information between the NFVO and the VNFM and VIM, and thus the virtual resource is not deleted after rollback, thereby causing a failure to retry to acquire the virtual resource.
However, a solution to the above problem is not provided in the SOL003 at present, and based on this, the present invention provides a method for solving the virtual resource acquisition failure, which can accurately locate the address of the virtual resource that is failed to be allocated in the case that the virtual resource allocation fails, thereby avoiding the occurrence of the situation that all virtual resources are deleted and reapplied in the relative technology, reducing the time cost, and avoiding the waste of resources.
It should be appreciated that reference throughout this specification to "embodiments of the invention" or "embodiments described previously" means that a particular feature, structure or characteristic described in connection with the embodiments is included in at least one embodiment of the present invention. Thus, the appearances of the phrase "in an embodiment of the present invention" or "in the foregoing embodiments" in various places throughout the specification are not necessarily all referring to the same embodiment. Furthermore, the particular features, structures, or characteristics may be combined in any suitable manner in one or more embodiments. In various embodiments of the present invention, 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 on the implementation process of the embodiments of the present invention. The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
An embodiment of the present invention provides an information obtaining method, which may be applied to an NFV-MANO system, and is shown in fig. 3, where the method includes the following steps:
step 101, if the current state of the VNFI of the virtualized network function instance of the NFV-MANO system is an instantiated state, acquiring a virtual resource acquisition state identifier of a virtual resource currently allocated by the VIM of the virtualized infrastructure manager.
The virtual resource state identifier is used for representing the acquisition state of the virtual resource currently allocated by the VIM.
In the embodiment of the present invention, the obtaining of the current state of the VNFI as the instantiation state is implemented by the NFVO in the NFV-MANO system, and the obtaining of the virtual resource obtaining state identifier of the virtual resource currently allocated by the VIM is implemented by the VNFM of the NFV-MANO system. The state of the NVFI comprises instantiation, termination, scaling and the like; the virtual resource acquisition state includes two states of failure of virtual resource acquisition and success of virtual resource acquisition.
And 102, determining the address of the virtual resource which fails to be acquired in the virtual resources currently allocated by the VIM based on the virtual resource acquisition state identifier and the preset virtual resource state identifier.
The preset virtual resource state identifier is used for indicating that the virtual resource is successfully acquired.
In the embodiment of the present invention, determining the address of the virtual resource that fails to acquire in the currently allocated virtual resource is implemented by the VNFM.
In the embodiment of the present invention, based on the obtained virtual resource obtaining state currently allocated by the VIM and the preset virtual resource state identifier, an address of a virtual resource that fails to be obtained in the virtual resources of the virtual resources currently allocated by the VIM is further obtained.
According to the information acquisition method provided by the embodiment of the invention, the virtual resource acquisition state can be rapidly and accurately acquired in the NFV-MANO system according to the matching relationship between the acquired virtual resource acquisition state identifier and the preset virtual resource state identifier, and the address of the virtual resource which fails to be acquired is determined under the condition that the virtual resource acquisition state is in acquisition failure, so that the address of the virtual resource which fails to be allocated can be accurately positioned under the condition that the virtual resource is unsuccessfully allocated, the condition that all virtual resources are deleted and reapplied in the relative technology is avoided, the time cost is reduced, and the waste of resources is avoided.
Based on the foregoing embodiments, an embodiment of the present invention provides an information acquisition method, which may be applied in an NFV-MANO system, as shown in fig. 4, and includes the following steps:
step 201, if the current state of the VNFI of the virtualized network function instance of the NFV-MANO system is an instantiated state, obtaining a virtual resource obtaining state identifier of a virtual resource currently allocated by the VIM of the virtualized infrastructure manager.
In this embodiment, the obtaining of the current state of the VNFI as the instantiation state is implemented by the NFVO in the NFV-MANO system, and the obtaining of the virtual resource obtaining state identifier of the virtual resource currently allocated by the VIM is implemented by the VNFM of the NFV-MANO system. The state of the NVFI comprises instantiation, termination, scaling and the like; the virtual resource status identifier is used for indicating the acquisition status of the virtual resource currently allocated by the VIM, and the virtual resource acquisition status includes two statuses, namely a virtual resource acquisition failure and a virtual resource acquisition success.
In an embodiment, when a preset condition is met, the NFVO first obtains a VNFI lifecycle task identifier according to the VNFI identifier and a first association relationship, then, the NFVO actively sends a request for querying a VNFI lifecycle task state including the NVFI lifecycle task identifier to a VNFM according to the VNFI lifecycle task identifier, and after the VNFM receives the request for querying the VNFI lifecycle task state, the VNFM obtains a virtual resource identifier of a virtual resource currently allocated by the VIM based on the VNFI lifecycle task identifier and a second association relationship, and further obtains a virtual resource obtaining state identifier from the virtual resource identifier.
In one embodiment, the virtual resource identifier includes a virtual resource acquisition status identifier and a virtual resource address identifier, and the virtual resource acquisition status identifier is used to indicate an acquisition status of a virtual resource currently being allocated by the VIM.
In one embodiment, the preset condition includes a timeout or expiration of a periodic query timer, and the timeout or expiration of the periodic query timer may be performed when the NFVO in the NFV-MANO system performs periodic active query using a heartbeat-like algorithm or the like.
In one embodiment, the preset condition may also be a life cycle task failure, for example, the NFVO receives an error indication successfully, or the network reason waits for a feedback time to timeout, and the like may be considered as a task failure reason.
Step 202, determining the obtaining state of the virtual resource currently allocated by the VIM based on the matching relationship between the virtual resource obtaining state identifier and the preset virtual resource obtaining state identifier.
Wherein the above steps are implemented by a VNFM of the NFV-MANO system.
In one embodiment, whether the acquired virtual resource acquisition state and the preset virtual resource state identifier are matched is judged based on the acquired virtual resource acquisition state currently allocated by the VIM and the preset virtual resource state identifier, if the acquired virtual resource acquisition state and the preset virtual resource state identifier are successfully matched, the virtual resource currently allocated by the VIM is successfully acquired, and the virtual resource does not need to be interfered and processed; if the matching fails, it indicates that the acquisition of the currently allocated virtual resource by the VIM fails, and the intervention and processing of the virtual resource are required.
Step 203, if it is determined that the acquisition status of the virtual resource currently allocated by the VIM is the acquisition failure status, determining the address of the virtual resource currently allocated by the VIM.
If the acquisition state of the virtual resource currently allocated by the VIM is determined to be an acquisition failure state, the NFV-MANO is required to process abnormal conditions in time, and in order to accurately and quickly process the virtual resource which fails to be acquired, the address of the virtual resource which fails to be currently allocated by the VIM is required to be determined.
In one embodiment, the determination of the address of the virtual resource currently allocated by the VIM in the above step may be performed by a VNFM in the NFV-MANO system.
In one embodiment, step 203 may be implemented by steps 203a to 203 c:
step 203a, if it is determined that the acquisition state of the virtual resource currently allocated by the VIM is the acquisition failure state, determining a virtual resource identifier based on the virtual resource acquisition state identifier.
If the acquisition state of the virtual resource currently allocated by the VIM is the acquisition failure state, determining the virtual resource identifier according to the acquired virtual resource acquisition state identifier.
In this embodiment, the virtual resource identifier is used to represent the virtual resource currently allocated by the VIM, and the virtual resource identifier is a unique identifier allocated to the virtual resource by the VNFM in the NFV-MANO system.
The virtual resource identifier includes a virtual resource state identifier and a virtual resource address identifier.
In an embodiment, if the obtaining state of the virtual resource currently allocated by the VIM is a successful obtaining state, the VIM may continue to apply for the required virtual resource according to the requirement of the VNFI lifecycle task without obtaining the address of the virtual resource currently allocated by the VIM.
Step 203b, based on the virtual resource identifier, obtaining a virtual resource address identifier.
Step 203c, based on the virtual resource address identifier, determining the address of the virtual resource currently allocated by the VIM.
Wherein the virtual resource address identifies a physical address used to represent the virtual resource.
Based on the foregoing embodiment, in another embodiment of the present invention, as shown in fig. 5, the information obtaining method further includes the following steps:
step 204: and acquiring a VNFI life cycle task identifier.
In the embodiment of the present invention, the VNFI lifecycle task identifier is used to represent a corresponding VNFI lifecycle task, and the VNFI lifecycle task identifier is a unique identifier set by a VNFM in the NFV-MANO system for a lifecycle task of a VNFI.
In one embodiment, obtaining the VNFI lifecycle task identification may be implemented by a VNFM in the NFV-MANO system. And the NVFM acquires the VNFI life cycle task identifier according to the acquired VNFI identifier and a first incidence relation, wherein the first incidence relation is used for representing the incidence relation between the VNFI identifier and the VNFI life cycle task identifier.
Step 205: and deleting the virtual resources corresponding to the VNFI lifecycle task identification and the virtual resource identification based on the VNFI lifecycle task identification and the virtual resource identification.
In the NFV-MANO system, each VNFI has its corresponding VNFI lifecycle task, and each VNFI lifecycle task has its corresponding virtual resource, i.e., in the NFV-MANO system, the VNFI lifecycle task, and the virtual resource are in a one-to-one correspondence relationship.
In the embodiment of the present invention, in a case where the VNFI lifecycle task identifier is used to represent the VNFI lifecycle task, and the virtual resource identifier is used to represent the corresponding virtual resource, deleting the virtual resource, which is failed to be allocated, corresponding to the VNFI lifecycle task identifier and the virtual resource identifier is implemented by the VNFM in the NFV-MANO.
It should be noted that, for descriptions of the same steps and the same contents in the embodiment of the present invention and other embodiments, reference may be made to the descriptions in other embodiments, which are not repeated herein.
According to the information acquisition method provided by the embodiment of the invention, the virtual resource acquisition state can be quickly and accurately acquired in the NFV-MANO system according to the matching relationship between the acquired virtual resource acquisition state identifier and the preset virtual resource state identifier, and the address of the virtual resource which fails to be acquired is determined under the condition that the virtual resource acquisition state is in acquisition failure, so that the address of the virtual resource which fails to be allocated can be accurately positioned under the condition that the virtual resource is unsuccessfully allocated, the condition that all virtual resources are deleted and reapplied in the relative technology is avoided, the time cost is reduced, and the waste of resources is avoided.
Based on the foregoing embodiments, an embodiment of the present invention provides an information acquisition method, which may be applied in an NFV-MANO system, as shown in fig. 6:
step 301, setting a first association relation based on the VNFI identifier and the VNFI lifecycle task identifier.
In the embodiment of the invention, the VNFI identifier is used for identifying the VNFI, the VNFI identifier is a unique identifier set by the NFVO in the NFV-MANO system for each NVFI, and the NFVO represents the NVFI in a uniform coding manner for any NVFI, so that the NFVO can perform uniform management on all VNFI.
In addition, a first incidence relation representing the incidence relation between the VNFI identification and the VNFI life cycle task identification is set by the NFVO in the NFV-MANO system, and based on the first incidence relation, the VNFI in the NFV-MANO system and the VNFI life cycle task thereof are associated together. Therefore, the NFVO may obtain the corresponding VNFI lifecycle task identifier through the VNFI identifier and the first association relationship.
Step 302, setting a preset virtual resource acquisition state identifier.
In the embodiment of the present invention, the preset virtual resource obtaining status identifier is used to indicate a successful virtual resource obtaining status. The preset virtual resource obtaining state identifier is used for matching with the virtual resource obtaining state identifier currently allocated by the VIM, and further determining whether the virtual resource currently allocated by the VIM is successfully obtained.
Step 303, setting a second association relationship based on the VNFI identifier, the VNFI lifecycle task identifier, and the virtual resource identifier.
In the embodiment of the present invention, the VNFI identifier is a unique identifier set by the NFVO for the VNFI, the VNFI lifecycle task state identifier is a unique identifier set by the VNFM for the VNFI lifecycle task identifier, and the virtual resource identifier is a unique identifier set by the VNFM for the virtual resource.
In the NFV-MANO system, each VNFI has its corresponding VNFI lifecycle task, and each VNFI lifecycle task has its corresponding virtual resource, i.e., in the NFV-MANO system, the VNFI lifecycle task, and the virtual resource are in a one-to-one correspondence relationship.
And setting a second incidence relation based on the VNFI identification, the VNFI life cycle task identification and the virtual resource identification, wherein the second incidence relation is realized by a VNFM in the NFV-MANO system.
And the VNFM further sends the second association relationship to the NFVO. Therefore, the NFVO may obtain the corresponding VNFI lifecycle task identifier and the corresponding virtual resource identifier through the VNFI identifier and the second association relationship.
And step 304, if the VNFI current state in the NFV-MANO system is an instantiation state, acquiring a virtual resource identifier of a virtual resource currently allocated by the VIM based on the VNFI identifier, the VNFI lifecycle task identifier and the second association relation.
In an embodiment of the present invention, determining whether the VNFI current state in the NFV-MANO system is an instantiated state is performed by the NFVO in the NFV-MANO system. The VNFO acquires a VNFI state identifier based on the VNFI identifier, wherein the VNFI identifier comprises a VNFI state identifier and a VNFI address identifier, and the VNFI state identifier is used for representing the state of the VNFI and comprises instantiation, updating, query, capacity expansion/contraction, termination, self-healing and other states in the NVFI state; and the VNFI address identification is used for representing the physical address of the VNFI.
In the embodiment of the invention, the virtual resource identifier of the virtual resource currently allocated by the VIM is acquired based on the NVFI identifier, the VNFI lifecycle task identifier and the second incidence relation, and is realized by a VNFM in the NFV-MANO system.
The VNFM is a main body of lifecycle task management, and for lifecycle tasks sent by the NFVO, the VNFM uniformly performs identifier allocation on VNFI lifecycle tasks, that is, the VNFI uses a unique VNFI lifecycle task identifier to represent the lifecycle tasks.
And 305, acquiring a virtual resource acquisition state identifier based on the virtual resource identifier.
In the embodiment of the present invention, the virtual resource identifier includes a virtual resource acquisition status identifier and a virtual resource address identifier.
The virtual resource acquisition state identifier is acquired based on the virtual resource identifier, and is realized by a VNFM in the NFV-MANO system. After receiving a query task for querying a VNFI lifecycle task state sent by the NFVO, the VNFM starts a query operation based on the VNFI lifecycle task identifier, acquires a virtual resource identifier based on the VNFI lifecycle task and the second association relationship, and then acquires a virtual resource acquisition state identifier based on the acquired virtual resource identifier.
Step 306, determining the obtaining state of the virtual resource currently allocated by the VIM based on the matching relationship between the virtual resource obtaining state identifier and the preset virtual resource obtaining state identifier.
And 307, if the acquisition state of the virtual resource currently allocated by the VIM is determined to be the acquisition failure state, determining the virtual resource identifier based on the virtual resource acquisition state identifier.
Step 308, acquiring virtual resource address identification based on the virtual resource identification.
Step 309, based on the virtual resource address identifier, determining the address of the virtual resource currently allocated by the VIM.
And 310, acquiring a VNFI identifier, and acquiring a VNFI life cycle task identifier based on the VNFI identifier and the first incidence relation.
In the embodiment of the invention, the VNFI identification is acquired, and the VNFI life cycle task identification is acquired based on the VNFI identification and the first incidence relation and is executed by a VNFM in the NFV-MANO system.
Step 311, setting the VNFI lifecycle task state identifier as a temporary failure state based on the virtual resource acquisition state identifier.
And step 312, deleting the virtual resources corresponding to the VNFI lifecycle task identification and the virtual resource identification based on the VNFI lifecycle task identification and the virtual resource identification.
In the embodiment of the present invention, based on the VNFI lifecycle task identifier and the virtual resource identifier, the operation of deleting the virtual resource corresponding to the VNFI lifecycle task identifier and the virtual resource identifier is performed by the VNFM in the NFV-MANO system.
And the VNFM determines the physical address of the virtual resource failed to acquire based on the VNFI lifecycle task identifier and the locked virtual resource identifier, and sends a request for deleting the virtual resource failed to acquire to the VIM based on the physical address.
In this embodiment, the NFV-MANO system sets the VNFI identifier, the VNFI lifecycle identifier, and the virtual resource identifier, and sets a first association relationship representing the VNFI identifier and the VNFI lifecycle identifier and a second association relationship representing the VNFI identifier, the VNFI lifecycle task identifier, and the virtual resource identifier based on the three identifiers. The NFV-MANO system can uniformly acquire the state information among the NFVO, the VNFM and the VIM in real time through the VNFI identification, the first incidence relation and the second incidence relation, so that when the acquisition failure of the virtual resources occurs in the VNFI instantiation process, the position of the virtual resources with the acquisition failure can be accurately acquired.
In one embodiment, after step 312, the following operations may also be performed:
and acquiring virtual resources corresponding to the VNFI lifecycle task identifier and the virtual resource identifier based on the temporary failure state of the VNFI lifecycle task.
In the embodiment of the invention, the virtual resource corresponding to the VNFI lifecycle task identifier and the virtual resource identifier is acquired based on the temporary failure state of the VNFI lifecycle task, and is realized by a VNFM in the NFV-MANO system.
The VNFM acquires a virtual resource address identifier based on the virtual resource identifier, further acquires a virtual resource physical address based on the virtual resource address identifier, and sends a request for re-acquiring the virtual resource corresponding to the virtual resource physical address to the VIM based on the virtual resource physical address.
And after receiving the request for re-acquiring the virtual resources corresponding to the physical address, the VIM re-allocates the virtual resources to the corresponding VNFI lifecycle tasks based on the physical address.
Optionally, after sending the virtual resource request requesting to reallocate the physical address, the VNFM sets the VNFI lifecycle task to Retry the Retry state.
The information acquisition method provided by the embodiment of the invention can quickly and accurately acquire the virtual resource acquisition state in the NFV-MANO system according to the matching relationship between the acquired virtual resource acquisition state identifier and the preset virtual resource state identifier, and determines the address of the virtual resource which fails to be acquired under the condition that the virtual resource acquisition state is failed, so that the address of the virtual resource which fails to be allocated can be accurately positioned under the condition that the virtual resource fails to be allocated, the condition that all virtual resources are deleted and reapplied in the relative technology is avoided, the time cost is reduced, and the waste of resources is avoided.
Based on the foregoing embodiments, an embodiment of the present invention provides an NFV-MANO system 4, where the NFV-MANO system 4 may be applied in the method for acquiring information provided in the embodiments corresponding to fig. 3 to 6, and as shown in fig. 7, the NFV-MANO system 4 may include: a processor 41, a memory 42, and a communication bus 43, wherein:
the communication bus 43 is used to realize a communication connection between the processor 41 and the memory 42.
The processor 41 is configured to execute a program of the information acquisition method stored in the memory 42 to implement the steps of:
if the current state of a VNFI of a virtual network function instance of the NFV-MANO system is an instantiation state, acquiring a virtual resource acquisition state identifier of a virtual resource currently allocated by a VIM (virtual infrastructure manager); the virtual resource acquisition state identifier is used for representing the acquisition state of the virtual resource currently allocated by the VIM;
determining the address of the virtual resource which fails to acquire in the virtual resources currently allocated by the VIM based on the virtual resource acquisition state identifier and a preset virtual resource state identifier; and the preset virtual resource state identifier represents that the virtual resource is successfully acquired.
In other embodiments of the present invention, the processor 41 is configured to execute the virtual resource address of the virtual resource currently allocated by the VIM, which is determined based on the virtual resource acquiring status identifier and the preset virtual resource acquiring status identifier and stored in the memory 42, so as to implement the following steps:
determining the acquisition state of the virtual resource currently allocated by the VIM based on the matching relation between the virtual resource acquisition state identifier and a preset virtual resource acquisition state identifier;
and if the acquisition state of the virtual resource currently allocated by the VIM is determined to be the acquisition failure state, determining the address of the virtual resource currently allocated by the VIM.
Accordingly, the processor 41 is configured to execute the following steps if the obtaining status of the virtual resource currently allocated by the VIM is determined to be a status of failed obtaining, and the address of the virtual resource currently allocated by the VIM is determined, stored in the memory 42:
if the acquisition state of the virtual resources currently allocated by the VIM is determined to be the acquisition failure state, determining virtual resource identification based on the virtual resource acquisition state identification; the virtual resource identifier is used for representing the virtual resource currently allocated by the VIM;
acquiring a virtual resource address identifier based on the virtual resource identifier;
and determining the address of the virtual resource currently allocated by the VIM based on the virtual resource address identification.
In other embodiments of the present invention, the processor 41 is configured to execute the program of the information obtaining method stored in the memory 42, and may further execute the following steps:
obtaining a VNFI life cycle task identifier; the VNFI lifecycle task identifier is used for representing a VNFI lifecycle task corresponding to the VNFI;
and deleting the virtual resources corresponding to the VNFI lifecycle task identifier and the virtual resource identifier based on the VNFI lifecycle task identifier and the virtual resource identifier.
In other embodiments of the present invention, the processor 41 is configured to execute the obtaining VNFI lifecycle task identification stored in the memory 42 to perform the following steps:
obtaining a VNFI identifier; wherein the VNFI identification is used to represent a VNFI;
obtaining a VNFI life cycle task identifier based on the VNFI identifier and the first incidence relation; the first incidence relation is used for representing the incidence relation between the VNFI identification and the VNFI life cycle task identification.
In other embodiments of the present invention, the processor 41 is configured to execute the program of the information obtaining method stored in the memory 42, and may further execute the following steps:
and setting a first association relation based on the VNFI identification and the VNFI life cycle task identification.
In other embodiments of the present invention, processor 41 is configured to execute the virtual resource acquisition status identifier stored in memory 42 for acquiring the virtual resource currently allocated by virtualization infrastructure manager VIM, to perform the following steps:
acquiring a virtual resource identifier of a virtual resource currently allocated by the VIM based on the VNFI identifier, the VNFI lifecycle task identifier and the second association relation; the second incidence relation is used for representing the incidence relation among the VNFI identification, the VNFI life cycle task identification and the virtual resource identification;
and acquiring a virtual resource acquisition state identifier based on the virtual resource identifier.
In other embodiments of the present invention, the processor 41 is configured to execute the program of the information obtaining method stored in the memory 42, and may further execute the following steps:
setting a preset virtual resource acquisition state identifier;
and setting a second association relation based on the VNFI identification, the VNFI life cycle task identification and the virtual resource identification.
In other embodiments of the present invention, the processor 41 is configured to execute the program of the information obtaining method stored in the memory 42, and may further execute the following steps:
setting the VNFI life cycle task state identification as a temporary failure state based on the virtual resource acquisition state identification; the VNFI lifecycle task state identifier is used for representing the state of the VNFI lifecycle task.
In other embodiments of the present invention, the processor 41 is configured to execute the program of the information obtaining method stored in the memory 42, and may further execute the following steps:
and reapplicating the virtual resources corresponding to the VNFI life cycle task identifier and the virtual resource identifier based on the temporary failure state of the VNFI life cycle task.
In other embodiments of the present invention, the processor 41 is configured to execute the following steps, if the current state of the virtualized network function instance VNFI of the NFV-MANO system is the instantiation state, to obtain the virtual resource obtaining state identifier of the virtual resource currently allocated by the virtualized infrastructure manager VIM, stored in the memory 42:
and if the current state of the VNFI of the NFV-MANO system is an instantiation state, acquiring a virtual resource acquisition state identifier of the virtual resource currently allocated by the VIM when a preset condition is met.
It should be noted that, for a specific implementation process of the steps executed by the processor in this embodiment, reference may be made to an implementation process in the information obtaining method provided in the embodiment corresponding to fig. 3 to 5, and details are not described here again.
The NFV-MANO system provided by the embodiment of the invention can rapidly and accurately acquire the virtual resource acquisition state according to the matching relationship between the acquired virtual resource acquisition state identifier and the preset virtual resource state identifier, and determines the address of the virtual resource which fails to be acquired under the condition that the virtual resource acquisition state is in acquisition failure, so that the address of the virtual resource which fails to be allocated can be accurately positioned under the condition that the virtual resource is unsuccessfully allocated, the condition that all virtual resources are deleted and reapplied in the relative technology is avoided, the time cost is reduced, and the waste of resources is avoided.
Based on the foregoing embodiments, embodiments of the present invention provide a computer storage medium storing one or more programs, which are executable by one or more processors to implement the steps of the information acquisition method provided by the corresponding embodiments of fig. 3-6.
The Processor may be at least one of an Application Specific Integrated Circuit (ASIC), a Digital Signal Processor (DSP), a Digital Signal Processing Device (DSPD), a Programmable Logic Device (PLD), a Field Programmable Gate Array (FPGA), a Central Processing Unit (CPU), a controller, a microcontroller, and a microprocessor. It is understood that the electronic device implementing the above-mentioned processor function may be other electronic devices, and the embodiments of the present application are not particularly limited.
The computer storage medium/Memory may be a Read Only Memory (ROM), a Programmable Read Only Memory (PROM), an Erasable Programmable Read Only Memory (EPROM), an Electrically Erasable Programmable Read Only Memory (EEPROM), a magnetic Random Access Memory (FRAM), a Flash Memory (Flash Memory), a magnetic surface Memory, an optical Disc, or a Compact Disc Read-Only Memory (CD-ROM); but may also be various terminals such as mobile phones, computers, tablet devices, personal digital assistants, etc., that include one or any combination of the above-mentioned memories.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, recitation of an element by the phrase "comprising an … …" does not exclude the presence of other like elements in the process, method, article, or apparatus that comprises the element.
The above-mentioned serial numbers of the embodiments of the present application are merely for description and do not represent the merits of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solution of the present application may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal device (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method described in the embodiments of the present application.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
The above are only preferred embodiments of the present application, and not intended to limit the scope of the present application, and all equivalent structures or equivalent processes performed by the present application, as well as those directly or indirectly applied to other related technical fields, are also included in the scope of the present application.

Claims (12)

1. An information acquisition method applied to a network function virtualization management orchestration (NFV-MANO) system, the method comprising:
if the current state of a virtual network function instance VNFI of the NFV-MANO system is an instantiation state, acquiring a virtual resource acquisition state identifier of a virtual resource currently allocated by a virtual infrastructure manager VIM; the virtual resource acquisition state identifier is used for representing the acquisition state of the virtual resource currently allocated by the VIM;
determining the address of the virtual resource which fails to be acquired in the virtual resources currently allocated by the VIM based on the virtual resource acquisition state identifier and a preset virtual resource state identifier; and the preset virtual resource state identification represents that the virtual resource is successfully acquired.
2. The method of claim 1, wherein the determining the virtual resource address of the virtual resource currently allocated by the VIM based on the virtual resource acquisition status indicator and a preset virtual resource acquisition status indicator comprises:
determining the acquisition state of the virtual resource currently allocated by the VIM based on the matching relationship between the virtual resource acquisition state identifier and the preset virtual resource acquisition state identifier;
and if the acquisition state of the virtual resource currently allocated by the VIM is determined to be the acquisition failure state, determining the address of the virtual resource currently allocated by the VIM.
3. The method of claim 2, wherein determining the address of the virtual resource currently allocated by the VIM if it is determined that the acquisition status of the virtual resource currently allocated by the VIM is an acquisition failure status comprises:
if the virtual resource acquiring state currently allocated by the VIM is determined to be the state of failure in acquisition, determining a virtual resource identifier based on the virtual resource acquiring state identifier; wherein the virtual resource identifier is used to represent a virtual resource currently allocated by the VIM;
acquiring a virtual resource address identifier based on the virtual resource identifier;
determining an address of the virtual resource currently allocated by the VIM based on the virtual resource address identification.
4. The method of claim 3, wherein after determining the address of the virtual resource currently allocated by the VIM based on the virtual resource address identification, the method further comprises:
obtaining a VNFI life cycle task identifier; the VNFI lifecycle task identifier is used for representing a VNFI lifecycle task corresponding to the VNFI;
based on the VNFI lifecycle task identifier and the virtual resource identifier, deleting the virtual resource corresponding to the VNFI lifecycle task identifier and the virtual resource identifier.
5. The method of claim 4, wherein the obtaining the VNFI lifecycle task identification comprises:
obtaining a VNFI identifier; wherein the VNFI identification is used to represent the VNFI;
acquiring a VNFI life cycle task identifier based on the VNFI identifier and a first incidence relation; the first incidence relation is used for representing the incidence relation between the VNFI identification and the VNFI lifecycle task identification.
6. The method of claim 5, wherein before acquiring the virtual resource acquisition status identifier of the virtual resource currently allocated by the Virtualization Infrastructure Manager (VIM) if the current status of the Virtualized Network Function Instance (VNFI) of the NFV-MANO system is an instantiated status, the method further comprises:
and setting the first association relation based on the VNFI identification and the VNFI lifecycle task identification.
7. The method according to claim 4 or 5, wherein the obtaining the virtual resource obtaining status identifier of the virtual resource currently allocated by the Virtualization Infrastructure Manager (VIM) if the current status of the VNFI of the NFV-MANO system is an instantiated status comprises:
acquiring the virtual resource identifier of the virtual resource currently allocated by the VIM based on the VNFI identifier, the VNFI lifecycle task identifier and a second association relation; wherein the second association is used for representing an association between the VNFI identifier, the VNFI lifecycle task identifier, and the virtual resource identifier;
and acquiring the virtual resource acquisition state identifier based on the virtual resource identifier.
8. The method of claim 7, wherein before acquiring the virtual resource acquisition status identifier of the virtual resource currently allocated by the Virtualization Infrastructure Manager (VIM) if the current status of the Virtualized Network Function Instance (VNFI) of the NFV-MANO system is an instantiated status, the method further comprises:
setting the preset virtual resource acquisition state identifier;
and setting the second association relation based on the VNFI identification, the VNFI lifecycle task identification and the virtual resource identification.
9. The method of claim 4, wherein prior to deleting the virtual resource corresponding to the VNFI lifecycle task identity and the virtual resource identity based on the VNFI lifecycle task identity and the virtual resource identity, the method further comprises:
setting the VNFI lifecycle task state identifier to be a temporary failure state based on the virtual resource acquisition state identifier; wherein the VNFI lifecycle task state identification is used to represent a state of the VNFI lifecycle task.
10. The method of claim 9, wherein after deleting the virtual resource corresponding to the VNFI lifecycle task identity and the virtual resource identity based on the VNFI lifecycle task identity and the virtual resource identity, the method further comprises:
based on the temporary failure state of the VNFI lifecycle task, virtual resources corresponding to the VNFI lifecycle task identifier and the virtual resource identifier are reacquired.
11. An NFV-MANO system, the system comprising: a processor, a memory, and a communication bus;
the communication bus is used for realizing communication connection between the processor and the memory;
the processor is configured to execute the stored information retrieval program in the memory to implement the steps of:
if the current state of a VNFI of a virtual network function instance of the NFV-MANO system is an instantiation state, acquiring a virtual resource acquisition state identifier of a virtual resource currently allocated by a VIM (virtual infrastructure manager); the virtual resource acquisition state identifier is used for representing the acquisition state of the virtual resource currently allocated by the VIM;
determining the address of the virtual resource which fails to be acquired in the virtual resources currently allocated by the VIM based on the virtual resource acquisition state identifier and a preset virtual resource state identifier; and the preset virtual resource state identifier represents that the virtual resource is successfully acquired.
12. A computer storage medium, characterized in that the computer storage medium stores one or more programs executable by one or more processors to implement the steps of the information acquisition method according to any one of claims 1 to 10.
CN201910792180.4A 2019-08-26 2019-08-26 Information acquisition method, NFV-MANO system and computer storage medium Active CN112436952B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910792180.4A CN112436952B (en) 2019-08-26 2019-08-26 Information acquisition method, NFV-MANO system and computer storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910792180.4A CN112436952B (en) 2019-08-26 2019-08-26 Information acquisition method, NFV-MANO system and computer storage medium

Publications (2)

Publication Number Publication Date
CN112436952A CN112436952A (en) 2021-03-02
CN112436952B true CN112436952B (en) 2022-05-13

Family

ID=74690240

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910792180.4A Active CN112436952B (en) 2019-08-26 2019-08-26 Information acquisition method, NFV-MANO system and computer storage medium

Country Status (1)

Country Link
CN (1) CN112436952B (en)

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017188387A1 (en) * 2016-04-28 2017-11-02 日本電気株式会社 Network function virtualization management orchestration device, method, and program

Also Published As

Publication number Publication date
CN112436952A (en) 2021-03-02

Similar Documents

Publication Publication Date Title
US11809900B2 (en) Method and system for migration of containers in a container orchestration platform between compute nodes
US10917294B2 (en) Network function instance management method and related device
CN107005426B (en) Method and device for managing life cycle of virtual network function
RU2683630C2 (en) Method for update of nsd network service descriptor and device
EP3839726B1 (en) Software modification initiation method and apparatus
CN108322490B (en) Method, device and server for configuring and deploying distributed cloud service system by virtual machine
US20190034219A1 (en) Application management method and apparatus in network functions virtualization environment
CN111651178A (en) Container configuration updating method and device, computer equipment and storage medium
CN111722906A (en) Method and device for deploying virtual machine and container
CN111221618B (en) Deployment method and device for containerized virtual network function
CN112395140B (en) A decentralized task scheduling method apparatus, device and medium
CN110716788B (en) Method and device for managing virtualized resources
CN108319492B (en) Method, device and system for resetting physical machine
CN108874549B (en) Resource multiplexing method, device, terminal and computer readable storage medium
CN107534577B (en) Method and equipment for instantiating network service
WO2020093976A1 (en) Resource change method and device, apparatus, and storage medium
CN112672420B (en) Method, system, device and storage medium for positioning terminal in communication network
CN111857951A (en) Containerized deployment platform and deployment method
CN110933192A (en) Local area network IP address allocation method, device, system and computer equipment
CN112436952B (en) Information acquisition method, NFV-MANO system and computer storage medium
US20220206836A1 (en) Method and Apparatus for Processing Virtual Machine Migration, Method and Apparatus for Generating Virtual Machine Migration Strategy, Device and Storage Medium
CN112995349B (en) Address management method, server, and computer-readable storage medium
CN109933959B (en) License control method and related equipment
CN109936462B (en) Disaster recovery method and device
US20230246911A1 (en) Control device, control method, control program and control system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant