CN111399967A - Container-based virtual resource management method, device and system - Google Patents

Container-based virtual resource management method, device and system Download PDF

Info

Publication number
CN111399967A
CN111399967A CN201910001044.9A CN201910001044A CN111399967A CN 111399967 A CN111399967 A CN 111399967A CN 201910001044 A CN201910001044 A CN 201910001044A CN 111399967 A CN111399967 A CN 111399967A
Authority
CN
China
Prior art keywords
container
manager
container manager
virtual
creation
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201910001044.9A
Other languages
Chinese (zh)
Other versions
CN111399967B (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 CN201910001044.9A priority Critical patent/CN111399967B/en
Priority to PCT/CN2020/070093 priority patent/WO2020140938A1/en
Publication of CN111399967A publication Critical patent/CN111399967A/en
Application granted granted Critical
Publication of CN111399967B publication Critical patent/CN111399967B/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/44Arrangements for executing specific programs
    • G06F9/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • 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/45562Creating, deleting, cloning virtual machine instances

Abstract

The application discloses a virtual resource management method, a device and a system based on a container, which comprises the following steps: the container manager detects an amount of available virtual resources allocated to the managed container, and when detecting that the amount of available virtual resources is below or equal to a set threshold: the method comprises the steps that a container manager sends a first notification message used for notifying that the state of the container manager is unavailable to a VNFM, and sends a virtual resource application request message to an NFVO; the container manager receives a virtual resource application response message sent by the NFVO, and sends a VM creation request message for requesting the virtual resource creation VM authorized to the container manager to the VIM; the container manager receives a VM creation confirmation message sent by the VIM, and sends a second notification message for notifying the availability of the container manager state to the VNFM; by the method and the device, the virtual resource application authorization process and the VNF creation process based on the container can be decoupled based on the container manager.

Description

Container-based virtual resource management method, device and system
Technical Field
The present application relates to the field of wireless communications technologies, and in particular, to a container-based virtual resource management method, apparatus, and system.
Background
Network Function Virtualization (NFV) provides a new way to design, deploy, and manage Network services, and implements realization and deployment of Network Functions based on a Virtualization way, so that Network function deployment has dynamic adjustment capability and life cycle management capability on a general-purpose server.
As shown in fig. 1, a schematic structural diagram of a system architecture for implementing NFV based on Virtual Machine (VM) technology defined by the European Telecommunications Standards Institute (ETSI). As shown, the system architecture includes three main functional blocks: network Function Virtualization Orchestrators (NFVO), Virtualized Network Function Managers (VNFM), and Virtualized Infrastructure Managers (VIM). The NFVO initiates a request message for creating a Virtualized Network Function (VNF) to the VNFM according to requirements and verifies and authorizes virtual resources required for creating the VNF; the VNFM can manage the lifecycle of the VNF; the VIM can create the required VMs for the VNF.
With the continuous development of NFV technology, in the process of improving cloud-native technology, containers are adopted gradually as a "lighter, faster, and more agile" virtualization technology. However, according to the ETSI instantiation process, the instantiation time of the VNF includes VM start time and container start time, and the container "faster" feature cannot be embodied compared to the process shown in fig. 1.
Disclosure of Invention
The embodiment of the application provides a virtual resource management method, a virtual resource management device and a virtual resource management system based on a container, which are used for realizing decoupling between a virtual resource application authorization process and a VNF creation process based on the container under an NFV architecture.
In a first aspect, a container-based virtual resource management method is provided, including: the container manager detects an amount of available virtual resources allocated by the container manager to a managed container, the container being used to carry a virtualized network function, VNF, and performs the following steps when detecting that the amount of available virtual resources is below or equal to a set threshold: the container manager sends a first notification message to a Virtualized Network Function Manager (VNFM), wherein the first notification message is used for notifying that the state of the container manager is unavailable and sending a virtual resource application request message to a Network Function Virtualization Orchestrator (NFVO); the container manager receives a virtual resource application response message sent by the NFVO, where the virtual resource application response message carries indication information of virtual resources authorized by the NFVO to the container manager; the container manager sends a Virtual Machine (VM) creation request message to a Virtual Infrastructure Manager (VIM), wherein the VM creation request message carries indication information of virtual resources authorized to the container manager, and the VM creation request message is used for requesting the virtual resources authorized to the container manager to create a VM; the container manager receives a VM creation confirmation message sent by the VIM, and sends a second notification message to the VNFM, wherein the second notification message is used for notifying that the state of the container manager is available.
Optionally, the method for virtual resource management based on a container further includes: the container manager receives a container creation request message sent by the VNFM, where the container creation request message is sent when the VNFM receives a VNF creation request message sent by the NFVO and detects that the container manager is available; the container manager creating a container for the VNF based on available virtual resources of the container managed by the container manager according to the create container request message; the container manager sends a container creation acknowledgement message to the VNFM, the container creation acknowledgement message carrying indication information of a container created for the VNF.
Optionally, the container creation confirmation message is further used to trigger the VNFM to send a VNF creation confirmation message to the NFVO.
Optionally, the set threshold is an absolute value or a relative value of the number of virtual resources.
In a second aspect, there is provided a container manager comprising: a detecting unit, configured to detect an amount of available virtual resources allocated by the container manager to a managed container, the container being used to carry a virtualized network function VNF; a notification unit, configured to send a first notification message to a virtualized network function manager VNFM when the detection unit detects that the number of available virtual resources is lower than or equal to a set threshold, where the first notification message is used to notify that the status of the container manager is unavailable; a virtual resource application unit, configured to send a virtual resource application request message to a network function virtualization orchestrator NFVO and receive a virtual resource application response message sent by the NFVO when the detection unit detects that the number of the available virtual resources is lower than or equal to a set threshold, where the virtual resource application response message carries indication information of virtual resources authorized by the NFVO to the container manager; a VM creation request unit, configured to send a VM creation request message to a virtual infrastructure manager VIM after the resource application unit receives the virtual resource application response message, where the VM creation request message carries indication information of the virtual resource authorized to the container manager, and the VM creation request message is used to request a VM to be created based on the virtual resource authorized to the container manager, and receive a VM creation confirmation message sent by the VIM; the notification unit is further configured to send a second notification message to the VNFM after the VM creation request unit receives the VM creation confirmation message, where the second notification message is used to notify that the state of the container manager is available.
Optionally, the container manager further comprises: a container creation unit, configured to receive a container creation request message sent by the VNFM, where the container creation request message is sent when the VNFM receives a VNF creation request message sent by the NFVO and detects that the container manager is available; creating a container for the VNF based on available virtual resources of the container managed by the container manager according to the create container request message; sending a container creation confirmation message to the VNFM, wherein the container creation confirmation message carries indication information of a container created for the VNF.
Optionally, the container creation confirmation message is further used to trigger the VNFM to send a VNF creation confirmation message to the NFVO.
In a third aspect, a container-based virtual resource management system is provided, including: a container manager, configured to detect a number of available virtual resources allocated to a managed container by the container manager, and when detecting that the number of available virtual resources is lower than or equal to a set threshold, send a first notification message to a virtualized network function manager VNFM, where the first notification message is used to notify that a status of the container manager is unavailable, and send a virtual resource application request message to a network function virtualization orchestrator NFVO, where the container is used to carry a virtualized network function VNF; the NFVO is configured to receive a virtual resource application request message sent by the container manager, and send a virtual resource application response message to the container manager, where the virtual resource application response message carries indication information of a virtual resource authorized by the NFVO to the container manager; the container manager is further configured to receive a virtual resource application response message sent by the NFVO, and send a virtual machine VM creation request message to a virtual infrastructure manager VIM, where the VM creation request message carries indication information of the virtual resource authorized to the container manager; the VIM is used for receiving a virtual machine VM (virtual machine) creation request message sent by the container manager, creating a VM based on the virtual resource authorized to the container manager and sending a VM creation confirmation message to the container manager; the container manager is further configured to receive a VM creation confirmation message sent by the VIM, and send a second notification message to the VNFM, where the second notification message is used to notify the container manager that the state is available.
In a fourth aspect, a communication apparatus is provided, including: a processor, a memory; the processor is configured to read a program in the memory and execute the method according to any one of the first aspect.
In a fifth aspect, there is provided a computer-readable storage medium having stored thereon computer-executable instructions for causing the computer to perform the method of any of the first aspects above.
In the above embodiment of the present application, first, the container manager detects the number of available virtual resources allocated to the managed container by the container manager, and when detecting that the number of available virtual resources is lower than or equal to a set threshold, sends a first notification message for notifying that the state of the container manager is unavailable to the VNFM, and sends a virtual resource application request message to the NFVO, and sends a create VM request message to the VIM according to indication information of authorized virtual resources returned by the NFVO, and the container manager uses a VM created by the VIM as an available virtual resource that can be allocated to the managed container in the container manager, and sends a second notification message for notifying that the state of the container manager is available to the VNFM, thereby completing the process of applying for and authorizing virtual resources. In the above embodiment, the container manager may actively apply for the authorized resource based on the detection technology under the condition that the available virtual resource is less, so that sufficient available resource is ensured without resource application and authorization when the VNF is created, and further, the time delay of the VNF creation process may be reduced.
Drawings
Fig. 1 is a schematic structural diagram of a system architecture for implementing NFV based on VM in an embodiment of the present application;
fig. 2 is a schematic diagram of an architecture of a container-based virtual resource management system according to an embodiment of the present application;
fig. 3 is a schematic message interaction diagram of container-based virtual resource authorization according to an embodiment of the present disclosure;
fig. 4 is a schematic diagram of message interaction created by a container-based VNF according to an embodiment of the present application;
fig. 5 is a schematic structural diagram of a container manager according to an embodiment of the present application;
fig. 6 is a schematic structural diagram of a communication device provided in this application.
Detailed Description
The following detailed description of embodiments of the present application will be made with reference to the accompanying drawings. It should be understood that the detailed description and specific examples, while indicating the present application, are given by way of illustration and explanation only, and are not intended to limit the present application.
It should be noted that the terms "first" and "second" in this application are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order.
Referring to fig. 2, a schematic diagram of an architecture of a container-based virtual resource management system according to an embodiment of the present application is provided.
As shown, the container-based virtual resource management System 200 (only the portion related to the embodiment of the present application is shown in the figure) is composed of a Network Function Virtualization Orchestrator (NFVO), a Virtualized Network Function Manager (VNFM), a container manager (container controller), and a Virtualized Infrastructure Manager (VIM), and provides overall management and orchestration of the container-based NFV, and accesses an Operation Support System (OSS/BSS) upwards.
The NFVO is used to coordinate management of a VNF lifecycle (which needs to be supported by a VNFM), coordinate management of various resources (which needs to be supported by a VIM) of a Network Function Virtualization Infrastructure (NFVI), and coordinate allocation and authorization of virtual resources for the VNF according to a usage of the virtual resources in the virtual resource pool, so that optimized configuration of various resources and connections is ensured under reasonable arrangement of each VNF and the virtual resources.
The NFVM is configured to manage life cycles of VNFs and container-based VNFs, such as online, offline, and performing status monitoring, and the NFVM may determine, according to a create VFN request initiated by the NFVO, whether the VNF requested to be created is a traditional VNF or a container-based VNF, for example, if the number of available virtual resources of a container managed by the container manager is smaller than the number of virtual resources required to create the VNF, that is, the status of the container manager is unavailable, the NFVM determines that the create VFN request initiated by the NFVO is to create the traditional VNF, and if the status of the container manager is available, the NFVM determines that the create VFN request initiated by the NFVO is to create the container-based VNF.
The container manager is used for managing a VM created by the VIM according to indication information of virtual resources authorized by the NFVO as a node through information interaction with the NFVO and the VIM, creating a required container for a VNF applying for creation, detecting the number of available nodes, determining the state of the container manager, and notifying the VNFM of the state, wherein the node is used for deploying a container for bearing VNF services.
The VIM is used to manage NFVI and control virtual resource allocation of VNFs, such as virtual computing, virtual storage, and virtual networking. The VIM may request for the VM needed to create the VNF through information interaction with the container manager.
Based on the system architecture shown in fig. 2, an embodiment of the present application provides a virtual resource management method based on a container, where the method is used to implement application and authorization of virtual resources.
Fig. 3 is a schematic message interaction diagram of container-based virtual resource authorization according to an embodiment of the present application. The process is used for describing the process of realizing the application and authorization of the virtual resources when the number of the available virtual resources allocated to the managed container by the container manager is lower than or equal to a set threshold value.
As shown, the process includes:
s301: the container manager detects the amount of available virtual resources that can be allocated for management.
Specifically, the container manager detects the total load condition of available nodes in a node (node) resource pool managed by the container manager in real time and the number of remaining allocable nodes; the node is an available virtual resource which can be allocated to a managed container in a container manager and is used for deploying a container for bearing VNF service, one node corresponds to one VM, and a plurality of containers can be configured in one node; virtual resources are created by the VIM that provide infrastructure services for the VNF, such as virtual CPUs, virtual memory, etc.
S302: the container manager sends a first notification message to the VNFM for notifying the container manager that the status is unavailable.
In S302, when the container manager detects that the number of remaining allocatable nodes is lower than or equal to the set threshold, the container manager sends a first notification message for notifying that the state of the container manager is unavailable to the VNFM, and sets the state of the container manager as unavailable, that is, the container-based VNF cannot be created.
The set threshold may be preset based on an upper limit of the total load in the node resource pool managed by the container manager. Specifically, the set threshold may be an absolute value of the number of virtual resources, such as the number of virtual CPUs is less than 20, and/or the number of virtual memories is less than 500G; may be a relative value of the virtual resources, such as the number of virtual CPUs is less than 10% of the total number of the virtual resource pool, and/or the virtual memory is less than 10% of the total number of the resource pool, etc.; or a combination of a plurality of thresholds, for example, the number of virtual CPUs is less than 10% of the total number of the virtual resource pools, and the virtual memory is less than 500G.
S303: the container manager sends a virtual resource application request message to the NFVO.
Once the container manager detects that the number of nodes managed by the container manager is lower than or equal to a set threshold, a virtual resource application request message for applying for a virtual resource is sent to the NFVO, so as to ensure that the nodes managed by the container manager can configure a container carrying the VNF.
S304: and after receiving the virtual resource application request message, the NFVO allocates the virtual resources to the container manager according to the use condition of the virtual resources in the virtual resource pool.
S305: and the NFVO carries the indication information of the virtual resources authorized to the container manager in a virtual resource application confirmation message and sends the indication information to the container manager.
The indication information of the virtual resource is used to specifically describe the virtual resource authorized by the NFVO to the container manager, for example, the indication information of the virtual resource includes information about the number of VMs, information about the size of each VM, and identification information and number information of a virtual CPU authorized to the container manager and identification information and size information of a virtual memory authorized to the container manager, which are included in each VM.
S306: and the container manager receives the virtual resource application confirmation message, carries the indication information of the authorized virtual resources in the VM creation request message and sends the VM creation request message to the VIM.
S307: the VIM receives the VM creating request message, creates a VM for the container manager according to the indication information of the authorized virtual resources carried in the VM creating request message, and sends a VM creating confirmation message to the container manager, wherein the VM creating confirmation message carries the indication information of the VM created for the container manager.
The VM indication information includes VM identification information and VM configuration information, for example, the VIM creates the VM1 and the VM2 for the container manager according to the authorized virtual resource indication information, and sends the VM creation confirmation message to the container manager by carrying the VM1 and the VM2 identification information and the configuration information such as the number of containers that can be configured respectively based on the VM1 and the VM 2.
S308: the container manager receives the VM creation confirmation message and manages the created VM as a node.
S309: the container manager sends a second notification message to the VNFM for notifying the container manager that the status is available.
And the container manager detects that the number of the remaining allocatable nodes is higher than a set threshold, sends a second notification message for notifying that the state of the container official gas is available to the VNFM, and sets the state of the container manager as available, namely the container manager can receive a container creation request message sent by the VNFM, and further complete the creation of the VNF based on the container.
Based on the flow shown in fig. 3, fig. 4 is a schematic diagram of message interaction created by the container-based VNF according to the embodiment of the present application.
As shown, the process includes:
s401: the NFVO sends a create VNF request message to the VNFM.
The VNF creation request message carries indication information of virtual resources required for creating the VNF, and the description information of the virtual resources includes information on the number of VMs required for creating the VNF, size information of each VM, identification information and number information of a virtual CPU and a virtual memory authorized to the container manager, which are included in each VM, and identification information and size information of a virtual memory authorized to the container manager.
S402: the VNFM detects a status of the container manager according to the received create VNF request message.
Wherein the state of the container manager includes a container management state available and a container management state unavailable. If the number of the remaining nodes managed by the container manager is higher than the set threshold, the container management state is available, and the VNF based on the container can be created; otherwise, the state of container management is not available, i.e. no container-based VNF can be created.
S403: and the VNFM sends a container creating request message to the container manager, wherein the container creating request message carries indication information of the virtual resources required by the VNF.
S404: the container manager creates a container for the VNF based on the hosted available node resources according to the received create container request message, and sends a container create confirm message to the VNFM.
S405: the VNFM receives the container creation acknowledgement message sent by the container manager and sends the VNF creation acknowledgement message to the NFVO.
Optionally, if the VNFM detects that the status of the container manager is unavailable in S402, the VNFM sends a VNF creation failure message to the NFVO; the VNFM may determine whether to create a legacy VNF or to create a container-based VNF waiting for detection of the container manager's state to be available, depending on the specific functionality implemented by the VNF.
In the above embodiment of the present application, first, the container manager detects the number of available virtual resources allocated to the managed container by the container manager, and when detecting that the number of available virtual resources is lower than or equal to a set threshold, sends a first notification message for notifying that the state of the container manager is unavailable to the VNFM, and sends a virtual resource application request message to the NFVO, and sends a create VM request message to the VIM according to indication information of authorized virtual resources returned by the NFVO, and the container manager uses a VM created by the VIM as an available virtual resource that can be allocated to the managed container in the container manager, and sends a second notification message for notifying that the state of the container manager is available to the VNFM, thereby completing the process of applying for and authorizing virtual resources.
The container manager detects the number of available virtual resources allocated to the managed container in real time, and once the number of available virtual resources is detected to be lower than or equal to a set threshold, sends a status notification message to the VNFM and completes application and authorization of the virtual resources through information interaction with the NFVO and the VIM, that is, the number of available virtual resources allocated to the managed container is increased, and the container manager is available in status, so that a container required by the VNF can be created for a VNF applied for creation by the NFVO. Since the instantiation time of the container-based VNF includes the application authorization time of the virtual resource and the starting time of the container, the VNF creation process is decoupled from the application authorization process of the virtual resource, the virtual resource allocation and the virtual resource authorization are not required in the VNF creation process, and only the container-based VNF is created, thereby shortening the instantiation time of the container-based VNF and realizing the creation of the container-based VNF.
Based on the same technical concept, the embodiment of the present application further provides a container manager, where the container manager can implement the process performed in fig. 3 in the foregoing embodiment.
Fig. 5 is a schematic structural diagram of a container manager according to an embodiment of the present application. As shown, the container manager includes: a detection unit 501, a notification unit 502, a virtual resource application unit 503, a virtual machine VM creation request unit 504, and a container creation unit 505.
A detecting unit 501, configured to detect an amount of available virtual resources allocated by the container manager to a managed container, where the container is used to carry a virtualized network function VNF.
A notification unit 502, configured to send a first notification message to a virtualized network function manager VNFM when the detection unit detects that the number of available virtual resources is lower than or equal to a set threshold, where the first notification message is used to notify that the status of the container manager is unavailable.
A virtual resource application unit 503, configured to send a virtual resource application request message to a network function virtualization orchestrator NFVO and receive a virtual resource application response message sent by the NFVO when the detection unit detects that the number of the available virtual resources is lower than or equal to a set threshold, where the virtual resource application response message carries indication information of virtual resources authorized by the NFVO to the container manager.
A VM creation request unit 504, configured to send a VM creation request message to a virtual infrastructure manager VIM after the resource application unit receives the virtual resource application response message, where the VM creation request message carries indication information of the virtual resource authorized to the container manager, and the VM creation request message is used to request that a VM is created based on the virtual resource authorized to the container manager, and receive a VM creation confirmation message sent by the VIM.
The notifying unit 502 is further configured to send a second notification message to the VNFM after the VM creation requesting unit receives the VM creation confirmation message, where the second notification message is used to notify that the state of the container manager is available.
Optionally, the container manager 500 further comprises: a container creation unit 505, configured to receive a container creation request message sent by the VNFM, where the container creation request message is sent by the VNFM receiving a VNF creation request message sent by the NFVO, and is sent when detecting that the status of the container manager is available; creating a container for the VNF based on available virtual resources of the container managed by the container manager according to the create container request message; sending a container creation confirmation message to the VNFM, wherein the container creation confirmation message carries indication information of a container created for the VNF.
Optionally, the container creation confirmation message is further used to trigger the VNFM to send a VNF creation confirmation message to the NFVO.
Based on the same technical concept, the embodiment of the present application further provides a communication device, which can implement the flow executed in fig. 5 in the foregoing embodiment.
Fig. 6 shows a schematic structural diagram of a communication apparatus 600 provided in an embodiment of the present application, that is, shows another schematic structural diagram of the container manager 500. Referring to fig. 6, the communication device 600 includes a processor 601 and a memory 602. The processor 601 may also be a controller. The processor 601 is configured to enable the terminal to perform the functions involved in the aforementioned procedures. The memory 602 is used for coupling with the processor 601 and holds the necessary program instructions and data for the terminal. The processor 601 is connected to the memory 602, the memory 602 is used for storing instructions, and the processor 601 is used for executing the instructions stored in the memory 602 to perform the steps of the method in which the client device executes corresponding functions.
In the embodiment of the present application, the concepts, explanations, and details related to the technical solutions provided in the embodiment of the present application, and other steps related to the container manager 500 and the communication apparatus 600, please refer to the descriptions of the foregoing methods or other embodiments, and are not described herein again.
It should be noted that the processor referred to in the embodiments of the present application may be a Central Processing Unit (CPU), a general purpose processor, a Digital Signal Processor (DSP), an application-specific integrated circuit (ASIC), a Field Programmable Gate Array (FPGA) or other programmable logic devices, a transistor logic device, a hardware component, or any combination thereof. Which may implement or perform the various illustrative logical blocks, modules, and circuits described in connection with the disclosure. A processor may also be a combination of computing functions, e.g., comprising one or more microprocessors, a DSP and a microprocessor, or the like. Wherein the memory may be integrated in the processor or may be provided separately from the processor.
Based on the same technical concept, the embodiment of the application also provides a computer readable storage medium. The computer-readable storage medium stores computer-executable instructions for causing a computer to perform the process performed in fig. 3.
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.
While the preferred embodiments of the present application have been described, additional variations and modifications in those embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including preferred embodiments and all alterations and modifications as fall within the scope of the application.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present application without departing from the spirit and scope of the application. Thus, if such modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is intended to include such modifications and variations as well.

Claims (10)

1. A container-based virtual resource management method, characterized in that a container manager detects the amount of available virtual resources allocated by the container manager to a managed container, the container being used to carry a virtualized network function VNF, and when detecting that the amount of available virtual resources is lower than or equal to a set threshold, performs the following steps:
the container manager sends a first notification message to a Virtualized Network Function Manager (VNFM), wherein the first notification message is used for notifying that the state of the container manager is unavailable and sending a virtual resource application request message to a Network Function Virtualization Orchestrator (NFVO);
the container manager receives a virtual resource application response message sent by the NFVO, where the virtual resource application response message carries indication information of virtual resources authorized by the NFVO to the container manager;
the container manager sends a Virtual Machine (VM) creation request message to a Virtual Infrastructure Manager (VIM), wherein the VM creation request message carries indication information of virtual resources authorized to the container manager, and the VM creation request message is used for requesting the virtual resources authorized to the container manager to create a VM;
the container manager receives a VM creation confirmation message sent by the VIM, and sends a second notification message to the VNFM, wherein the second notification message is used for notifying that the state of the container manager is available.
2. The method of claim 1, further comprising:
the container manager receives a container creation request message sent by the VNFM, where the container creation request message is sent when the VNFM receives a VNF creation request message sent by the NFVO and detects that the container manager is available;
the container manager creating a container for the VNF based on available virtual resources of the container managed by the container manager according to the create container request message;
the container manager sends a container creation acknowledgement message to the VNFM, the container creation acknowledgement message carrying indication information of a container created for the VNF.
3. The method of claim 2, wherein the container creation confirmation message is further to trigger the VNFM to send a VNF creation confirmation message to the NFVO.
4. The method according to any one of claims 1 to 3, wherein the set threshold is an absolute value or a relative value of the number of virtual resources.
5. A container manager, comprising:
a detecting unit, configured to detect an amount of available virtual resources allocated by the container manager to a managed container, the container being used to carry a virtualized network function VNF;
a notification unit, configured to send a first notification message to a virtualized network function manager VNFM when the detection unit detects that the number of available virtual resources is lower than or equal to a set threshold, where the first notification message is used to notify that the status of the container manager is unavailable;
a virtual resource application unit, configured to send a virtual resource application request message to a network function virtualization orchestrator NFVO and receive a virtual resource application response message sent by the NFVO when the detection unit detects that the number of the available virtual resources is lower than or equal to a set threshold, where the virtual resource application response message carries indication information of virtual resources authorized by the NFVO to the container manager;
a VM creation request unit, configured to send a VM creation request message to a virtual infrastructure manager VIM after the resource application unit receives the virtual resource application response message, where the VM creation request message carries indication information of the virtual resource authorized to the container manager, and the VM creation request message is used to request a VM to be created based on the virtual resource authorized to the container manager, and receive a VM creation confirmation message sent by the VIM;
the notification unit is further configured to send a second notification message to the VNFM after the VM creation request unit receives the VM creation confirmation message, where the second notification message is used to notify that the state of the container manager is available.
6. The container manager according to claim 5, further comprising:
a container creation unit, configured to receive a container creation request message sent by the VNFM, where the container creation request message is sent when the VNFM receives a VNF creation request message sent by the NFVO and detects that the container manager is available;
creating a container for the VNF based on available virtual resources of the container managed by the container manager according to the create container request message;
sending a container creation confirmation message to the VNFM, wherein the container creation confirmation message carries indication information of a container created for the VNF.
7. The container manager of claim 5, wherein the container creation confirmation message is further to trigger the VNFM to send a VNF creation confirmation message to the NFVO.
8. A container-based virtual resource management system, comprising:
a container manager, configured to detect a number of available virtual resources allocated to a managed container by the container manager, and when detecting that the number of available virtual resources is lower than or equal to a set threshold, send a first notification message to a virtualized network function manager VNFM, where the first notification message is used to notify that a status of the container manager is unavailable, and send a virtual resource application request message to a network function virtualization orchestrator NFVO, where the container is used to carry a virtualized network function VNF;
the NFVO is configured to receive a virtual resource application request message sent by the container manager, and send a virtual resource application response message to the container manager, where the virtual resource application response message carries indication information of a virtual resource authorized by the NFVO to the container manager;
the container manager is further configured to receive a virtual resource application response message sent by the NFVO, and send a virtual machine VM creation request message to a virtual infrastructure manager VIM, where the VM creation request message carries indication information of the virtual resource authorized to the container manager;
the VIM is used for receiving a virtual machine VM (virtual machine) creation request message sent by the container manager, creating a VM based on the virtual resource authorized to the container manager and sending a VM creation confirmation message to the container manager;
the container manager is further configured to receive a VM creation confirmation message sent by the VIM, and send a second notification message to the VNFM, where the second notification message is used to notify the container manager that the state is available.
9. A communications apparatus, comprising: a processor, a memory;
the memory to store computer instructions;
the processor for executing the computer instructions to implement the method of any one of claims 1 to 4.
10. A computer-readable storage medium, characterized in that the storage medium stores computer instructions which, when executed by a processor, implement the method of any of claims 1 to 4.
CN201910001044.9A 2019-01-02 2019-01-02 Container-based virtual resource management method, device and system Active CN111399967B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201910001044.9A CN111399967B (en) 2019-01-02 2019-01-02 Container-based virtual resource management method, device and system
PCT/CN2020/070093 WO2020140938A1 (en) 2019-01-02 2020-01-02 Container-based virtual resource management method, device and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910001044.9A CN111399967B (en) 2019-01-02 2019-01-02 Container-based virtual resource management method, device and system

Publications (2)

Publication Number Publication Date
CN111399967A true CN111399967A (en) 2020-07-10
CN111399967B CN111399967B (en) 2023-03-31

Family

ID=71407284

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910001044.9A Active CN111399967B (en) 2019-01-02 2019-01-02 Container-based virtual resource management method, device and system

Country Status (2)

Country Link
CN (1) CN111399967B (en)
WO (1) WO2020140938A1 (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105955824A (en) * 2016-04-21 2016-09-21 华为技术有限公司 Method and device for configuring virtual resource
WO2017008839A1 (en) * 2015-07-13 2017-01-19 Telefonaktiebolaget Lm Ericsson (Publ) Managing resource allocation in a network functions virtualisation infrastructure
WO2017144094A1 (en) * 2016-02-24 2017-08-31 Telefonaktiebolaget Lm Ericsson (Publ) Managing planned adjustment of allocation of resources in a virtualised network
CN108345490A (en) * 2017-01-24 2018-07-31 华为技术有限公司 The method and system of virtual machine is disposed in a kind of NFV
WO2018171392A1 (en) * 2017-03-24 2018-09-27 华为技术有限公司 Method for virtual machine capacity expansion and reduction and virtual management device

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016048430A1 (en) * 2014-09-25 2016-03-31 Intel IP Corporation Network functions virtualization
CN108234158B (en) * 2016-12-14 2021-04-20 中国电信股份有限公司 VNF establishment method, NFVO and network system
EP3580894A1 (en) * 2017-02-10 2019-12-18 Intel IP Corporation Systems, methods and devices for virtual resource metric management

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017008839A1 (en) * 2015-07-13 2017-01-19 Telefonaktiebolaget Lm Ericsson (Publ) Managing resource allocation in a network functions virtualisation infrastructure
WO2017144094A1 (en) * 2016-02-24 2017-08-31 Telefonaktiebolaget Lm Ericsson (Publ) Managing planned adjustment of allocation of resources in a virtualised network
CN105955824A (en) * 2016-04-21 2016-09-21 华为技术有限公司 Method and device for configuring virtual resource
CN108345490A (en) * 2017-01-24 2018-07-31 华为技术有限公司 The method and system of virtual machine is disposed in a kind of NFV
WO2018171392A1 (en) * 2017-03-24 2018-09-27 华为技术有限公司 Method for virtual machine capacity expansion and reduction and virtual management device

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
刘化东;王纯;: "异构虚拟化系统中抽象层的设计方案" *

Also Published As

Publication number Publication date
WO2020140938A1 (en) 2020-07-09
CN111399967B (en) 2023-03-31

Similar Documents

Publication Publication Date Title
US10701139B2 (en) Life cycle management method and apparatus
EP3761170B1 (en) Virtual machine creation method and apparatus
CN107526659B (en) Method and apparatus for failover
US11294698B2 (en) Waiting a host determined specific amount of time before performing virtual network function migration
KR102439559B1 (en) Alarm method and device
CN115328663B (en) Method, device, equipment and storage medium for scheduling resources based on PaaS platform
WO2016037479A1 (en) Method, device and system for optimizing virtualized network function (vnf)
WO2020177564A1 (en) Vnf life cycle management method and apparatus
EP3584998B1 (en) Method for virtual machine capacity expansion and reduction and virtual management device
RU2690198C1 (en) Method of processing network functions virtualization resources and virtualised network function manager
CN111399968B (en) Virtual resource management method, device and system based on container
EP3629160B1 (en) Method and device for managing vnf instantiation
CN110659104B (en) Service monitoring method and related equipment
WO2021013185A1 (en) Virtual machine migration processing and strategy generation method, apparatus and device, and storage medium
CN111399967B (en) Container-based virtual resource management method, device and system
WO2021002961A1 (en) Harvest virtual machine for utilizing cloud-computing resources
CN110351104A (en) A kind of VIM selection method and device
CN109343935A (en) The instantiation method and device of consumer VNF
CN107562510B (en) Management method and management equipment for application instances
CN111045778B (en) Virtual machine creation method, device, server and storage medium
US11797342B2 (en) Method and supporting node for supporting process scheduling in a cloud system
CN112015515A (en) Virtual network function instantiation method and device
CN116089020B (en) Virtual machine operation method, capacity expansion method and capacity expansion system
CN115484231B (en) Pod IP distribution method and related device
EP4345615A1 (en) Storage resource management method, apparatus, and system for container cluster

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