WO2020140938A1 - 基于容器的虚拟资源管理方法、装置及系统 - Google Patents
基于容器的虚拟资源管理方法、装置及系统 Download PDFInfo
- Publication number
- WO2020140938A1 WO2020140938A1 PCT/CN2020/070093 CN2020070093W WO2020140938A1 WO 2020140938 A1 WO2020140938 A1 WO 2020140938A1 CN 2020070093 W CN2020070093 W CN 2020070093W WO 2020140938 A1 WO2020140938 A1 WO 2020140938A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- container
- manager
- creation
- container manager
- virtual resource
- 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.)
- Ceased
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements 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/44—Arrangements for executing specific programs
- G06F9/455—Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
- G06F9/45533—Hypervisors; Virtual machine monitors
- G06F9/45558—Hypervisor-specific management and integration aspects
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements 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/44—Arrangements for executing specific programs
- G06F9/455—Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements 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/44—Arrangements for executing specific programs
- G06F9/455—Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
- G06F9/45533—Hypervisors; Virtual machine monitors
- G06F9/45558—Hypervisor-specific management and integration aspects
- G06F2009/45562—Creating, deleting, cloning virtual machine instances
Definitions
- the present disclosure relates to the field of wireless communication technology, and in particular, to a container-based virtual resource management method, device, and system.
- Network function virtualization provides a new way of designing, deploying, and managing network services. It implements the realization and deployment of network functions based on virtualization, making network function deployment on a general-purpose server dynamic. Adjustment capabilities and life cycle management capabilities.
- FIG. 1 it is a structural schematic diagram of a system architecture for implementing NFV based on Virtual Machine (VM) technology defined by the European Telecommunications Standards Institute (ETSI).
- the system architecture includes three main functional blocks: Network Function Virtualization Orchestration (NFVO), Virtualized Network Function Manager (Virtualised Network Function Management, VNFM), and Virtualized Infrastructure Management (Virtualised Infrastructure Manager, VIM).
- NFVO initiates the creation of a virtualized network function (VNF) request message to VNFM and verifies and authorizes the virtual resources required to create VNF;
- VNFM can manage the life cycle of VNF;
- VIM can create a place for VNF The required VM.
- VNF virtualized network function
- the instantiation time of the VNF includes the VM startup time and the container startup time. Compared with the process shown in FIG. 1, the container "faster" feature cannot be reflected.
- Embodiments of the present disclosure provide a container-based virtual resource management method, device, and system for decoupling between a virtual resource application authorization process and a container-based VNF creation process based on a container manager under an NFV architecture.
- a container-based virtual resource management method including: a container manager detecting the number 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 it is detected that the number of available virtual resources is lower than or equal to a set threshold, perform the following steps: the container manager sends a first notification message to the virtualized network function manager VNFM, the first notification message It is used to notify the container manager that the status is unavailable and send a virtual resource application request message to the network function virtualization orchestrator NFVO; the container manager receives the virtual resource application response message sent by the NFVO, the virtual resource The application response message carries the indication information of the virtual resource authorized by the NFVO to the container manager; the container manager sends a virtual machine VM creation request message to the virtual infrastructure manager VIM, and the virtual machine creation request message carries the Indication information of the virtual resource authorized to the container manager, the VM creation request message is used to request to create a VM based on the
- the container-based virtual resource management method further includes: the container manager receives a container creation request message sent by the VNFM, and the container creation request message is for the VNFM to receive the create VNF request sent by the NFVO Message, and sent when it is detected that the status of the container manager is available; the container manager creates a container for the VNF based on the available virtual resources of the container managed by the container manager according to the container creation request message The container manager sends a container creation confirmation message to the VNFM, and the container creation confirmation message carries the indication information of the container created for the VNF.
- the container creation confirmation message is further used to trigger the VNFM to send a VNF creation confirmation message to the NFVO.
- the set threshold is an absolute value or a relative value of the number of virtual resources.
- a container manager including: a detection unit for detecting the number of available virtual resources allocated by the container manager to a managed container, the container being used to carry a virtualized network function VNF; notification A unit, configured to send a first notification message to the 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, and the first notification message is used to notify The state of the container manager is unavailable; a virtual resource application unit is used to send a virtual to the network function virtualization orchestrator NFVO when the detection unit detects that the number of available virtual resources is lower than or equal to a set threshold A resource application request message, receiving a virtual resource application response message sent by the NFVO, the virtual resource application response message carrying indication information of the virtual resource authorized by the NFVO to the container manager; a virtual machine VM creation request unit, used After the resource application unit receives the virtual resource application response message, it sends a VM creation request message to the virtual infrastructure manager VIM, where
- the VM creation request message is used to request the creation of a VM based on the virtual resource authorized to the container manager, and to receive a VM creation confirmation message sent by the VIM; the notification unit is also used to After receiving the VM creation confirmation message, the VM creation request unit sends a second notification message to the VNFM, where the second notification message is used to notify the container manager that the status is available.
- the container manager further includes: a container creation unit, configured to receive a container creation request message sent by the VNFM, where the container creation request message is the VNFM receiving the VNF creation message sent by the NFVO And send when it is detected that the status of the container manager is available; create a container for the VNF based on the available virtual resources of the container managed by the container manager according to the create container request message; send to the VNFM A container creation confirmation message, the container creation confirmation message carrying instruction information of the container created for the VNF.
- a container creation unit configured to receive a container creation request message sent by the VNFM, where the container creation request message is the VNFM receiving the VNF creation message sent by the NFVO And send when it is detected that the status of the container manager is available; create a container for the VNF based on the available virtual resources of the container managed by the container manager according to the create container request message; send to the VNFM A container creation confirmation message, the container creation confirmation message carrying instruction information of the container created for the VNF.
- the container creation confirmation message is further used to trigger the VNFM to send a VNF creation confirmation message to the NFVO.
- a container-based virtual resource management system including: a container manager for detecting the number of available virtual resources allocated by the container manager to a managed container, and when the available virtual resource is detected When the number of resources is lower than or equal to the set threshold, a first notification message is sent to the virtualized network function manager VNFM, the first notification message is used to notify the container manager that the status is unavailable, and to the network function virtual
- the orchestrator NFVO sends a virtual resource application request message, where the container is used to carry a virtualized network function VNF; the NFVO is used to receive a virtual resource application request message sent by the container manager, and send the request to the container
- the manager sends a virtual resource application response message, and the virtual resource application response message carries the indication information of the virtual resource authorized by the NFVO to the container manager; the container manager is also used to receive the virtual resource sent by the NFVO A resource application response message and send a virtual machine manager VIM creation message to the virtual infrastructure manager VIM, the VM creation request message
- a communication device including: a processor and a memory; the processor is configured to read a program in the memory and execute the method according to any one of the first aspects.
- a computer-readable storage medium stores computer-executable instructions, and the computer-executable instructions are used to cause the computer to execute any one of the above-mentioned first aspects. The method described.
- the container manager detects the number of available virtual resources allocated by the container manager to the managed container, and when it is detected that the number of available virtual resources is lower than or equal to the set threshold, the VNFM sends a first notification message to notify the container manager that the status is unavailable, and sends a virtual resource application request message to NFVO, and sends a VM creation message to VIM according to the instructions of the authorized virtual resource returned by NFVO.
- the container manager Use the VM created by VIM as an available virtual resource in the container manager that can be assigned to the managed container, and send a second notification message to the VNFM informing the container manager that the state is available, thereby completing the virtual resource application and authorization process.
- the container manager may actively apply for authorized resources based on detection technology when there are few available virtual resources, so that when the VNF is created, there is no need for resource application and authorization to ensure that there are sufficient available resources, and then It can reduce the delay of the VNF creation process.
- FIG. 1 is a schematic structural diagram of a system architecture for implementing NFV based on VMs in an embodiment of the present disclosure
- FIG. 2 is a schematic structural diagram of a container-based virtual resource management system provided by an embodiment of the present disclosure
- FIG. 3 is a schematic diagram of message interaction of container-based virtual resource authorization provided by an embodiment of the present disclosure
- FIG. 4 is a schematic diagram of message interaction created by a container-based VNF provided by an embodiment of the present disclosure
- FIG. 5 is a schematic structural diagram of a container manager provided by an embodiment of the present disclosure.
- FIG. 6 is a schematic structural diagram of a communication device according to an embodiment of the present disclosure.
- first and second in the present disclosure are used to distinguish similar objects, and need not be used to describe a specific order or sequential order.
- FIG. 2 it is a schematic structural diagram of a container-based virtual resource management system provided by an embodiment of the present disclosure.
- the container-based virtual resource management system 200 (only the parts related to the embodiments of the present disclosure are shown in the figure) is composed of a network function virtualization orchestrator (NFVO), a virtualized network function manager (VNFM), The container manager (container) and the virtualized infrastructure manager (VIM) are combined to provide the overall management and orchestration of container-based NFV, and upward access to the business/operation and maintenance support system (Operation Support System/Business Support System, OSS /BSS).
- NFVO network function virtualization orchestrator
- VNFM virtualized network function manager
- the container manager (container) and the virtualized infrastructure manager (VIM) are combined to provide the overall management and orchestration of container-based NFV, and upward access to the business/operation and maintenance support system (Operation Support System/Business Support System, OSS /BSS).
- OSS Business Support System
- NFVO is used to coordinate the management of VNF lifecycle (need to be supported by VNFM), coordinate the management of various resources of Network Function Virtualization Infrastructure (NFVI) (need to be supported by VIM), and according to the virtual resource pool
- VNFM VNF lifecycle
- NFVI Network Function Virtualization Infrastructure
- VIM Virtual Resource Management Infrastructure
- the use of virtual resources in the middle is the VNF's coordinated allocation of virtual resources and authorizations, so that each VNF and virtual resources are properly arranged to ensure the optimal configuration of various resources and connections.
- NFVM is used to manage the life cycle of VNF and container-based VNF, such as going online, going offline, and performing status monitoring.
- NFVM can determine whether the requested VNF is to create a traditional VNF or a container-based VNF based on the NFVO-created VFN request. For example, if the number of available virtual resources of the container managed by the container manager is less than the number of virtual resources required to create the VNF, that is, the state of the container manager is unavailable, then NFVM determines that the request to create a VFN initiated by NFVO is to create a traditional VNF. When the status of the container manager is available, NFVM determines that the request to create a VFN initiated by NFVO is to create a container-based VNF.
- the container manager is used to manage the VM created by VIM according to the instructions of the virtual resource authorized by NFVO as a node through information interaction with NFVO and VIM, create the required containers for the VNF applied for creation, detect the number of available nodes, and determine container management The status of the server and notify the VNFM of the status, where the nodes are used to deploy containers that carry VNF services.
- VIM is used to manage NFVI and control the virtual resource allocation of VNF, such as virtual computing, virtual storage and virtual network.
- VIM can interact with the container manager to create the VM required for the VNF application.
- an embodiment of the present disclosure provides a container-based virtual resource management method, which is used to implement virtual resource application and authorization.
- FIG. 3 is a schematic diagram of message interaction of container-based virtual resource authorization provided by an embodiment of the present disclosure. This process is used to describe the process of applying and authorizing virtual resources when the number of available virtual resources allocated by the container manager to the managed container is lower than or equal to the set threshold.
- the process includes:
- S301 The container manager detects the number of available virtual resources that can be allocated to the management.
- the container manager detects in real time the overall load of available nodes in the resource pool of the nodes it manages and the number of remaining nodes that can be allocated; where the node is the container manager that can be allocated to the managed
- the available virtual resources of the container are used to deploy containers that carry VNF services.
- One node corresponds to one VM, and one node can be configured with multiple containers; virtual resources are created by VIM to provide infrastructure services for VNF, such as virtual CPU, virtual memory, etc. .
- S302 The container manager sends a first notification message to the VNFM to notify the container manager that the status is unavailable.
- the container manager when the container manager detects that the number of remaining allocable nodes is lower than or equal to the set threshold, the container manager sends a first notification message to the VNFM to notify the container manager that the status is unavailable, and sets itself The status is unavailable, that is, a container-based VNF cannot be created.
- the above setting threshold may be preset according to the overall load upper limit in the node resource pool managed by the container manager.
- the set threshold may be an absolute value of the number of virtual resources, for example, the number of virtual CPUs is less than 20, and/or virtual memory is less than 500G, etc.; it may be a relative value of virtual resources, for example, the number of virtual CPUs is small For 10% of the total number of virtual resource pools, and/or virtual memory is less than 10% of the total number of resource pools, etc.; it can also be a combination of multiple thresholds, for example, the number of virtual CPUs is less than 10% of the total number of virtual resource pools , And the virtual memory is less than 500G.
- S303 The container manager sends a virtual resource application request message to NFVO.
- the container manager detects that the number of nodes it manages is less than or equal to the set threshold, it sends a virtual resource request message to NFVO to apply for virtual resources to ensure that the nodes managed by the container manager can Configure a container that carries VNF.
- NFVO carries the indication information of the virtual resource authorized to the container manager in the virtual resource application confirmation message and sends it 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.
- the indication information of the virtual resource includes the number of VMs, the size information of each VM, and the authorization included in each VM Identification information and quantity information of the virtual CPU for the container manager, identification information and size information of the virtual memory authorized to the container manager, etc.
- the container manager receives the virtual resource application confirmation message, and carries the indication information of the authorized virtual resource in the VM creation request message and sends it to the VIM.
- the VIM receives a VM creation request message, and creates a VM for the container manager according to the instruction information of the authorized virtual resource carried in the VM creation request message, and sends a VM creation confirmation message to the container manager.
- the VM creation confirmation message carries Instructions for the VM created for the container manager.
- the indication information of the VM includes the identification information of the VM and the configuration information of the VM.
- the VIM creates VM1 and VM2 for the container manager according to the indication information of the authorized virtual resource, and integrates the identification information of the VM1 and VM2 and the VM1 and VM2 based information.
- Configuration information such as the number of separately configurable containers is carried in the VM creation confirmation message and sent to the container manager.
- the container manager receives the VM creation confirmation message, and manages the created VM as a node.
- the container manager sends a second notification message to the VNFM to notify the container manager that the status is available.
- the container manager When the container manager detects that the number of remaining allocable nodes is higher than the set threshold, it sends a second notification message to VNFM to notify the container that the status of the container is available, and sets its own status to available, that is, the container manager can Receive the create container request message sent by VNFM, and then complete the creation of VNF based on the container.
- FIG. 4 is a schematic diagram of message interaction created by a container-based VNF provided by an embodiment of the present disclosure.
- the process includes:
- NFVO sends a VNF creation request message to VNFM.
- the VNF creation request message carries the instruction information of the virtual resource required to create the VNF.
- the description information of the virtual resource includes the number of VMs required to create the VNF, the size information of each VM, and the information included in each VM. Identification information and quantity information of the virtual CPU authorized to the container manager, identification information and size information of the virtual memory authorized to the container manager, etc.
- the VNFM detects the state of the container manager according to the received VNF creation request message.
- the state of the container manager includes the container management state is available and the container management state is not available. If the number of remaining nodes managed by the container manager is higher than the set threshold, the container management status is available, you can create a container-based VNF; otherwise, the container management status is unavailable, that is, you cannot create a container-based VNF VNF.
- the VNFM sends a container creation request message to the container manager, and the container creation request message carries the instruction information of the virtual resource required to create the VNF.
- the container manager creates a container for the VNF based on the available node resources managed according to the received container creation request message, and sends a container creation confirmation message to the VNFM.
- the VNFM receives the container creation confirmation message sent by the container manager, and sends a VNF creation confirmation message to the NFVO.
- the VNFM detects that the status of the container manager is unavailable, the VNFM sends a VNF creation failure message to the NFVO; the VNFM can determine whether to create a traditional VNF or wait for the container to be detected according to the specific function implemented by the VNF After the status of the manager is available, a container-based VNF is created.
- the container manager detects the number of available virtual resources allocated by the container manager to the managed container, and when it is detected that the number of available virtual resources is lower than or equal to the set threshold, the VNFM sends a first notification message to notify the container manager that the status is unavailable, and sends a virtual resource application request message to NFVO, and sends a VM creation message to VIM according to the instructions of the authorized virtual resource returned by NFVO.
- the container manager Use the VM created by VIM as an available virtual resource in the container manager that can be assigned to the managed container, and send a second notification message to the VNFM informing the container manager that the state is available, thereby completing the virtual resource application and authorization process.
- the container manager detects the number of available virtual resources allocated to the managed container in real time. Once it detects that the number of available virtual resources is lower than or equal to the set threshold, it sends a status notification message to VNFM and passes the NFVO and VIM. Completes the application and authorization of virtual resources through information interaction, that is, expands the number of available virtual resources that can be allocated to the managed container. The status of the container manager is available, so that the VNF created by the NFVO application can be created for the VNF. container. Since the instantiation time of container-based VNF includes the application authorization time of the virtual resource and the startup time of the container, in this way, the process of creating the VNF is decoupled from the application authorization process of the virtual resource. For allocation and authorization of virtual resources, only the creation of container-based VNF can shorten the instantiation time of container-based VNF and realize the creation of container-based VNF.
- an embodiment of the present disclosure also provides a container manager, which can implement the process executed in FIG. 3 in the foregoing embodiment.
- FIG. 5 it is a schematic structural diagram of a container manager provided by an embodiment of the present disclosure.
- 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.
- the detecting unit 501 is configured to detect the number of available virtual resources allocated by the container manager to the managed container, and the container is used to carry the virtualized network function VNF.
- the notification unit 502 is configured to send a first notification message to the 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, the first notification message is used To notify the container manager that the status is unavailable.
- the virtual resource application unit 503 is configured to send a virtual resource application request message to the network function virtualization orchestrator NFVO and receive the NFVO when the detection unit detects that the number of available virtual resources is lower than or equal to a set threshold A virtual resource application response message sent, the virtual resource application response message carrying indication information of the virtual resource authorized by the NFVO to the container manager.
- the virtual machine VM creation request unit 504 is configured to, when the resource application unit receives the virtual resource application response message, send a VM creation request message to the virtual infrastructure manager VIM, the VM creation request message carrying the authorization to Indication information of the virtual resource of the container manager, the VM creation request message is used to request a VM creation based on the virtual resource authorized to the container manager, and receive a VM creation confirmation message sent by the VIM.
- the notification unit 502 is further configured to, when the VM creation request unit receives the VM creation confirmation message, send a second notification message to the VNFM, the second notification message is used to notify the container manager of Status is available.
- the container manager 500 further includes: a container creation unit 505, configured to receive a container creation request message sent by the VNFM, where the container creation request message is the VNFM receiving the VNF creation request message sent by the NFVO And send when it is detected that the status of the container manager is available; create a container for the VNF based on the available virtual resources of the container managed by the container manager according to the create container request message; send to the VNFM A container creation confirmation message, the container creation confirmation message carrying instruction information of the container created for the VNF.
- a container creation unit 505 configured to receive a container creation request message sent by the VNFM, where the container creation request message is the VNFM receiving the VNF creation request message sent by the NFVO And send when it is detected that the status of the container manager is available; create a container for the VNF based on the available virtual resources of the container managed by the container manager according to the create container request message; send to the VNFM A container creation confirmation message, the container creation confirmation message carrying instruction information of the container created for the VNF
- the container creation confirmation message is further used to trigger the VNFM to send a VNF creation confirmation message to the NFVO.
- an embodiment of the present disclosure also provides a communication device that can implement the process executed in FIG. 5 in the foregoing embodiment.
- FIG. 6 shows a schematic structural diagram of a communication device 600 provided by an embodiment of the present disclosure, that is, another structural schematic diagram of the container manager 500.
- 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 support the terminal to perform the functions involved in the foregoing process.
- the memory 602 is used for coupling with the processor 601, which stores necessary program instructions and data of the terminal.
- the processor 601 is connected to a memory 602, where the memory 602 is used to store instructions, and the processor 601 is used to execute the instructions stored in the memory 602, so as to complete the steps of the client device performing corresponding functions in the above method.
- the container manager 500 and the communication device 600 refer to the foregoing methods or other embodiments regarding these contents for explanations, detailed descriptions, and other steps. Description, not repeated here.
- processors in the embodiments of the present disclosure may be a central processing unit (CPU), a general-purpose processor, a digital signal processor (DSP), or an application-specific integrated circuit (application-specific integrated circuit (ASIC), field programmable gate array (field programmable gate array, FPGA) or other programmable logic devices, transistor logic devices, hardware components, or any combination thereof. It can implement or execute various exemplary logical blocks, modules, and circuits described in connection with the present disclosure.
- the processor may also be a combination of computing functions, for example, including one or more microprocessor combinations, a combination of DSP and microprocessor, and so on.
- the memory may be integrated in the processor, or may be provided separately from the processor.
- embodiments of the present disclosure also provide a computer-readable storage medium.
- the computer-readable storage medium stores computer-executable instructions, and the computer-executable instructions are used to cause the computer to execute the process executed in FIG. 3.
- modules, units, sub-modules, and sub-units can be implemented in one or more application specific integrated circuits (Application Specific Integrated Circuits, ASIC), digital signal processors (Digital Signal Processing, DSP), and digital signal processing equipment (DSP Device, DSPD), Programmable Logic Device (PLD), Field Programmable Gate Array (Field-Programmable Gate Array, FPGA), general-purpose processor, controller, microcontroller, microprocessor, for execution Other electronic units or combinations of the functions described in this disclosure.
- the technology described in the embodiments of the present disclosure may be implemented through modules (e.g., procedures, functions, etc.) that perform the functions described in the embodiments of the present disclosure.
- the software codes can be stored in the memory and executed by the processor.
- the memory may be implemented in the processor or external to the processor.
- the present disclosure is described with reference to flowcharts and/or block diagrams of methods, devices (systems), and computer program products according to embodiments of the present disclosure. It should be understood that each flow and/or block in the flowchart and/or block diagram and a combination of the flow and/or block in the flowchart and/or block diagram may be implemented by computer program instructions.
- These computer program instructions can be provided to the processor of a general-purpose computer, special-purpose computer, embedded processing machine, or other programmable data processing device to produce a machine that enables the generation of instructions executed by the processor of the computer or other programmable data processing device A device for realizing the functions specified in one block or multiple blocks of one flow or multiple blocks of a flowchart.
- These computer program instructions may also be stored in a computer readable memory that can guide a computer or other programmable data processing device to work in a specific manner, so that the instructions stored in the computer readable memory produce an article of manufacture including an instruction device, the instructions
- the device implements the functions specified in one block or multiple blocks of the flowchart one flow or multiple flows and/or block diagrams.
- These computer program instructions can also be loaded onto a computer or other programmable data processing device, so that a series of operating steps are performed on the computer or other programmable device to generate computer-implemented processing, which is executed on the computer or other programmable device
- the instructions provide steps for implementing the functions specified in one block or multiple blocks of the flowchart one flow or multiple flows and/or block diagrams.
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
公开了一种基于容器的虚拟资源管理方法、装置及系统。该方法包括:容器管理器检测分配给所管理的容器的可用虚拟资源的数量,当检测到可用虚拟资源的数量低于或等于设定阈值时:容器管理器向VNFM发送用于通知容器管理器的状态不可用的第一通知消息,向NFVO发送虚拟资源申请请求消息;容器管理器接收NFVO发送的虚拟资源申请响应消息,向VIM发送用于请求基于授权给容器管理器的虚拟资源创建VM的创建VM请求消息;容器管理器接收VIM发送的VM创建确认消息,向VNFM发送用于通知容器管理器状态可用的第二通知消息。
Description
相关申请的交叉引用
本申请主张在2019年1月2日在中国提交的中国专利申请号No.201910001044.9的优先权,其全部内容通过引用包含于此。
本公开涉及无线通信技术领域,尤其涉及一种基于容器的虚拟资源管理方法、装置及系统。
网络功能虚拟化(Network Functions Virtualization,NFV)提供了一种设计、部署和管理网络服务的全新方式,实现了网络功能基于虚拟化方式的实现和部署,使得网络功能部署在通用服务器上具备动态的调整能力和生命周期管理能力。
如图1所示,为欧洲电信标准协会(ETSI)定义的基于虚拟机(Virtual Machine,VM)技术实现NFV的系统架构的结构示意图。如图所示,该系统架构包括三个主要功能块:网络功能虚拟化编排器(Network Function Virtualization Orchestration,NFVO)、虚拟化网络功能管理器(Virtualised Network Function Management,VNFM)以及虚拟化基础设施管理器(Virtualised Infrastructure Manager,VIM)。其中,NFVO根据需求向VNFM发起创建虚拟化网络功能(Virtualised Network Function,VNF)请求消息并对创建VNF所需的虚拟资源进行验证和授权;VNFM能够管理VNF的生命周期;VIM能够为VNF创建所需的VM。
随着NFV技术的不断发展,在面向云原生技术的改进过程中,容器作为一种“更轻、更快、更敏捷”的虚拟化技术,被逐步采用。但根据ETSI实例化流程,VNF的实例化时间包括VM启动时间和容器启动时间,相比于图1 所示的流程则无法体现容器“更快”的特点。
发明内容
本公开实施例提供一种基于容器的虚拟资源管理方法、装置及系统,用以在NFV架构下基于容器管理器实现虚拟资源申请授权过程和基于容器的VNF创建过程之间进行解耦。
第一方面,提供一种基于容器的虚拟资源管理方法,包括:容器管理器检测所述容器管理器分配给所管理的容器的可用虚拟资源的数量,所述容器用于承载虚拟化网络功能VNF,并当检测到所述可用虚拟资源的数量低于或等于设定阈值时,执行以下步骤:所述容器管理器向虚拟化网络功能管理器VNFM发送第一通知消息,所述第一通知消息用于通知所述容器管理器的状态不可用,并向网络功能虚拟化编排器NFVO发送虚拟资源申请请求消息;所述容器管理器接收所述NFVO发送的虚拟资源申请响应消息,所述虚拟资源申请响应消息携带所述NFVO授权给所述容器管理器的虚拟资源的指示信息;所述容器管理器向虚拟基础设施管理器VIM发送创建虚拟机VM请求消息,所述创建VM请求消息携带所述授权给所述容器管理器的虚拟资源的指示信息,所述创建VM请求消息用于请求基于所述授权给所述容器管理器的虚拟资源创建VM;所述容器管理器接收所述VIM发送的VM创建确认消息,并向所述VNFM发送第二通知消息,所述第二通知消息用于通知所述容器管理器的状态可用。
可选地,基于容器的虚拟资源管理方法,还包括:所述容器管理器接收所述VNFM发送的创建容器请求消息,所述创建容器请求消息为所述VNFM接收所述NFVO发送的创建VNF请求消息,并检测到所述容器管理器的状态为可用时发送的;所述容器管理器根据所述创建容器请求消息基于所述容器管理器所管理的容器的可用虚拟资源为所述VNF创建容器;所述容器管理器向所述VNFM发送容器创建确认消息,所述容器创建确认消息携带为所述 VNF创建的容器的指示信息。
可选地,所述容器创建确认消息进一步用于触发所述VNFM向所述NFVO发送VNF创建确认消息。
可选地,所述设定阈值为虚拟资源数量的绝对值或相对值。
第二方面,提供一种容器管理器,包括:检测单元,用于检测所述容器管理器分配给所管理的容器的可用虚拟资源的数量,所述容器用于承载虚拟化网络功能VNF;通知单元,用于当所述检测单元检测到所述可用虚拟资源的数量低于或等于设定阈值时,向虚拟化网络功能管理器VNFM发送第一通知消息,所述第一通知消息用于通知所述容器管理器的状态不可用;虚拟资源申请单元,用于当所述检测单元检测到所述可用虚拟资源的数量低于或等于设定阈值时,向网络功能虚拟化编排器NFVO发送虚拟资源申请请求消息,接收所述NFVO发送的虚拟资源申请响应消息,所述虚拟资源申请响应消息携带所述NFVO授权给所述容器管理器的虚拟资源的指示信息;虚拟机VM创建请求单元,用于当所述资源申请单元接收所述虚拟资源申请响应消息后,向虚拟基础设施管理器VIM发送创建VM请求消息,所述创建VM请求消息携带所述授权给所述容器管理器的虚拟资源的指示信息,所述创建VM请求消息用于请求基于所述授权给所述容器管理器的虚拟资源创建VM,以及接收所述VIM发送的VM创建确认消息;所述通知单元,还用于当所述VM创建请求单元接收所述VM创建确认消息后,向所述VNFM发送第二通知消息,所述第二通知消息用于通知所述容器管理器的状态可用。
可选地,所述容器管理器,还包括:容器创建单元,用于接收所述VNFM发送的创建容器请求消息,所述创建容器请求消息为所述VNFM接收所述NFVO发送的创建VNF请求消息,并检测到所述容器管理器的状态为可用时发送的;根据所述创建容器请求消息基于所述容器管理器所管理的容器的可用虚拟资源为所述VNF创建容器;向所述VNFM发送容器创建确认消息,所述容器创建确认消息携带为所述VNF创建的容器的指示信息。
可选地,所述容器创建确认消息进一步用于触发所述VNFM向所述NFVO发送VNF创建确认消息。
第三方面,提供一种基于容器的虚拟资源管理系统,包括:容器管理器,用于检测所述容器管理器分配给所管理的容器的可用虚拟资源的数量,并当检测到所述可用虚拟资源的数量低于或等于设定阈值时,向虚拟化网络功能管理器VNFM发送第一通知消息,所述第一通知消息用于通知所述容器管理器的状态不可用,并向网络功能虚拟化编排器NFVO发送虚拟资源申请请求消息,其中,所述容器用于承载虚拟化网络功能VNF;所述NFVO,用于接收所述容器管理器发送的虚拟资源申请请求消息,并向所述容器管理器发送虚拟资源申请响应消息,所述虚拟资源申请响应消息携带所述NFVO授权给所述容器管理器的虚拟资源的指示信息;所述容器管理器,还用于接收所述NFVO发送的虚拟资源申请响应消息,并向虚拟基础设施管理器VIM发送创建虚拟机VM请求消息,所述创建VM请求消息携带所述授权给所述容器管理器的虚拟资源的指示信息;所述VIM,用于接收所述容器管理器发送的创建虚拟机VM请求消息,所述VIM基于所述授权给所述容器管理器的虚拟资源创建VM,并向所述容器管理器发送VM创建确认消息;所述容器管理器,还用于接收所述VIM发送的VM创建确认消息,并向所述VNFM发送第二通知消息,所述第二通知消息用于通知所述容器管理器的状态可用。
第四方面,提供一种通信装置,包括:处理器,存储器;所述处理器,用于读取存储器中的程序,执行如上述第一方面中任一项所述的方法。
第五方面,提供一种计算机可读存储介质,所述计算机可读存储介质存储有计算机可执行指令,所述计算机可执行指令用于使所述计算机执行如上述第一方面中任一项所述的方法。
本公开的上述实施例中,首先容器管理器检测容器管理器分配给所管理的容器的可用虚拟资源的数量,并当检测到所述可用虚拟资源的数量低于或等于设定阈值时,向VNFM发送用于通知容器管理器的状态不可用的第一通 知消息,并向NFVO发送虚拟资源申请请求消息,根据NFVO返回的授权的虚拟资源的指示信息向VIM发送创建VM请求消息,容器管理器将VIM创建的VM作为容器管理器中可分配给所管理的容器的可用虚拟资源,并向VNFM发送通知容器管理器的状态可用的第二通知消息,从而完成虚拟资源的申请和授权过程。上述实施例中,容器管理器可基于检测技术,在可用虚拟资源较少的情况下,主动申请授权资源,以便当创建VNF时无需进行资源申请和授权,就能保证有足够的可用资源,进而可以减少VNF创建过程的时延。
图1为本公开实施例中基于VM实现NFV的系统架构的结构示意图;
图2为本公开实施例提供的一种基于容器的虚拟资源管理系统的架构示意图;
图3为本公开实施例提供的一种基于容器的虚拟资源授权的消息交互示意图;
图4为本公开实施例提供的一种基于容器的VNF创建的消息交互示意图;
图5为本公开实施例提供的一种容器管理器的结构示意图;
图6为本公开实施例提供的一种通信装置的结构示意图。
以下结合附图对本公开的具体实施方式进行详细的说明。应当理解的是,此处所描述的具体实施方式仅用于说明和解释本公开,并不用于限制本公开。
需要说明的是本公开中的术语“第一”、“第二”是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。
参见图2,为本公开实施例提供的一种基于容器的虚拟资源管理系统的架构示意图。
如图所示,基于容器的虚拟资源管理系统200(图中仅画出了与本公开 实施例相关的部分)由网络功能虚拟化编排器(NFVO)、虚拟化网络功能管理器(VNFM)、容器管理器(container controller)以及虚拟化基础设施管理器(VIM)共同组成,提供基于容器的NFV的整体管理和编排,向上接入业务/运维支撑系统(Operation Support System/Business Support System,OSS/BSS)。
NFVO用以协调VNF生命周期的管理(需要得到VNFM的支持),协调网络功能虚拟化基础设施(Network Functions Virtualization Infrastructure,NFVI)各类资源的管理(需要得到VIM的支持),并根据虚拟资源池中虚拟资源的使用情况为VNF协调分配虚拟资源以及授权,以使各个VNF以及虚拟资源在合理的编排下,确保各类资源与连接的优化配置。
NFVM用以管理VNF和基于容器的VNF的生命周期,比如上线、下线、进行状态监控等,NFVM可根据NFVO发起的创建VFN请求确定所请求创建的VNF为创建传统的VNF还是基于容器的VNF,比如容器管理器所管理的容器的可用虚拟资源的数量小于创建该VNF所需的虚拟资源的数量即容器管理器的状态不可用,则NFVM确定NFVO发起的创建VFN请求为创建传统VNF,若容器管理器的状态可用,则NFVM确定NFVO发起的创建VFN请求为创建基于容器的VNF。
容器管理器用以通过与NFVO和VIM进行信息交互将VIM根据NFVO授权的虚拟资源的指示信息创建的VM作为节点纳管,为申请创建的VNF创建所需的容器,检测可用节点的数量确定容器管理器的状态并将该状态通知给VNFM,其中,节点用于部署承载VNF业务的容器。
VIM用以管理NFVI以及控制VNF的虚拟资源分配,比如虚拟计算,虚拟存储以及虚拟网络等。VIM可通过与容器管理器进行信息交互为申请创建该VNF所需的VM。
基于图2所示的系统架构,本公开实施例提供一种基于容器的虚拟资源管理方法,该方法用于实现虚拟资源的申请和授权。
如图3所示为本公开实施例提供的基于容器的虚拟资源授权的消息交互示意图。该流程用于描述容器管理器分配给所管理的容器的可用虚拟资源的数量低于或等于设定阈值时,实现虚拟资源的申请和授权的过程。
如图所示,该流程包括:
S301:容器管理器检测可分配给所管理的可用虚拟资源的数量。
具体地,容器管理器实时检测其所纳管的节点(node)资源池中可用节点的总体负载情况以及剩余可分配的节点的数量;其中,该节点为容器管理器中可分配给所管理的容器的可用虚拟资源,用于部署承载VNF业务的容器,一个节点对应一个VM,一个节点可配置多个容器;虚拟资源由VIM所创建,为VNF提供基础设施服务,比如虚拟CPU、虚拟内存等。
S302:容器管理器向VNFM发送第一通知消息,用于通知容器管理器的状态为不可用。
在S302中,容器管理器检测到剩余可分配的节点的数量低于或等于设定阈值时,容器管理器向VNFM发送用于通知容器管理器的状态为不可用的第一通知消息,设置自身状态为不可用,即不能创建基于容器的VNF。
上述设定阈值可根据容器管理器所纳管的节点资源池中总体的负载上限预先设定。具体地,该设定阈值可以是虚拟资源数量的绝对值,比如虚拟CPU的数量少于20个,和/或虚拟内存少于500G等;可以是虚拟资源的相对值,比如虚拟CPU的数量少于虚拟资源池总数量的10%,和/或虚拟内存少于资源池总数量的10%等;也可以是多个阈值的组合,比如虚拟CPU的数量少于虚拟资源池总数量的10%,且虚拟内存少于500G等。
S303:容器管理器向NFVO发送虚拟资源申请请求消息。
一旦容器管理器检测到自身所纳管的节点的数量低于或等于设定阈值时,则向NFVO发送用于申请虚拟资源的虚拟资源申请请求消息,以保证容器管理器所纳管的节点能够配置承载VNF的容器。
S304:NFVO接收到虚拟资源申请请求消息之后,根据虚拟资源池中虚 拟资源的使用情况为容器管理器分配虚拟资源。
S305:NFVO将授权给容器管理器的虚拟资源的指示信息携带在虚拟资源申请确认消息中,发送给容器管理器。
其中,虚拟资源的指示信息用于具体描述NFVO授权给该容器管理器的虚拟资源,比如,该虚拟资源的指示信息包括VM的数量信息,每个VM的大小信息以及每个VM所包括的授权给该容器管理器的虚拟CPU的标识信息和数量信息、授权给该容器管理器的虚拟内存的标识信息和大小信息等。
S306:容器管理器接收虚拟资源申请确认消息,并将授权的虚拟资源的指示信息携带在创建VM请求消息中发送给VIM。
S307:VIM接收创建VM请求消息,并根据创建VM请求消息中携带的授权的虚拟资源的指示信息为容器管理器创建VM,并向容器管理器发送VM创建确认消息,该VM创建确认消息中携带为容器管理器创建的VM的指示信息。
其中,VM的指示信息包括VM的标识信息和VM的配置信息,比如,VIM根据授权的虚拟资源的指示信息为容器管理器创建VM1、VM2,并将VM1、VM2的标识信息以及基于VM1、VM2可分别配置的容器的个数等配置信息携带在VM创建确认消息中发送给容器管理器。
S308:容器管理器接收VM创建确认消息,并将创建的VM作为节点进行纳管。
S309:容器管理器向VNFM发送第二通知消息,用于通知容器管理器的状态为可用。
容器管理器检测到剩余可分配的节点的数量高于设定阈值,则向VNFM发送用于通知容器官气的状态为可用的第二通知消息,并设置自身状态为可用,即容器管理器可接收VNFM发送的创建容器请求消息,进而基于容器完成VNF的创建。
基于图3所示的流程,如图4所示为本公开实施例提供的基于容器的VNF 创建的消息交互示意图。
如图所示,该流程包括:
S401:NFVO向VNFM发送创建VNF请求消息。
其中,创建VNF请求消息携带有创建该VNF所需的虚拟资源的指示信息,虚拟资源的描述信息包括创建该VNF所需的VM的数量信息,每个VM的大小信息以及每个VM所包括的授权给该容器管理器的虚拟CPU的标识信息和数量信息、授权给该容器管理器的虚拟内存的标识信息和大小信息等。
S402:VNFM根据接收到的创建VNF请求消息,检测容器管理器的状态。
其中,容器管理器的状态包括容器管理状态可用和容器管理状态不可用。若容器管理器所纳管的剩余节点的数量高于设定阈值,则容器管理的状态为可用,即可创建基于容器的VNF;反之,则容器管理的状态为不可用,即不能创建基于容器的VNF。
S403:VNFM向容器管理器发送创建容器请求消息,创建容器请求消息中携带有创建该VNF所需的虚拟资源的指示信息。
S404:容器管理器根据接收到的创建容器请求消息基于所纳管的可用的节点资源为该VNF创建容器,并向VNFM发送容器创建确认消息。
S405:VNFM接收容器管理器发送的容器创建确认消息,并向NFVO发送VNF创建确认消息。
可选地,若在S402中VNFM检测到容器管理器的状态为不可用,则VNFM向NFVO发送VNF创建失败消息;VNFM可根据该VNF所实现的具体功能确定创建传统VNF,还是等待检测到容器管理器的状态可用后进而创建基于容器的VNF。
本公开的上述实施例中,首先容器管理器检测容器管理器分配给所管理的容器的可用虚拟资源的数量,并当检测到所述可用虚拟资源的数量低于或等于设定阈值时,向VNFM发送用于通知容器管理器的状态不可用的第一通知消息,并向NFVO发送虚拟资源申请请求消息,根据NFVO返回的授权的 虚拟资源的指示信息向VIM发送创建VM请求消息,容器管理器将VIM创建的VM作为容器管理器中可分配给所管理的容器的可用虚拟资源,并向VNFM发送通知容器管理器的状态可用的第二通知消息,从而完成虚拟资源的申请和授权过程。
容器管理器实时检测其分配给所管理的容器的可用虚拟资源的数量,一旦检测到可用虚拟资源的数量低于或等于设定阈值时,则向VNFM发送状态通知下消息并通过与NFVO和VIM的信息交互完成虚拟资源的申请和授权,即扩大了其可分配给所管理的容器的可用虚拟资源数量,容器管理器的状态为可用,从而可为NFVO申请创建的VNF创建该VNF所需的容器。由于基于容器的VNF的实例化时间包括虚拟资源的申请授权时间和容器的启动时间,这样,将VNF的创建过程与虚拟资源的申请授权过程解耦,在VNF创建过程中不需要进行虚拟资源的分配和虚拟资源的授权,仅进行基于容器的VNF的创建,可缩短基于容器VNF的实例化时间,实现基于容器的VNF的创建。
基于相同的技术构思,本公开实施例还提供了一种容器管理器,该容器管理器可实现前述实施例中图3所执行的流程。
如图5所示,为本公开实施例提供的一种容器管理器的结构示意图。如图所示,该容器管理器包括:检测单元501、通知单元502、虚拟资源申请单元503、虚拟机VM创建请求单元504以及容器创建单元505。
检测单元501,用于检测所述容器管理器分配给所管理的容器的可用虚拟资源的数量,所述容器用于承载虚拟化网络功能VNF。
通知单元502,用于当所述检测单元检测到所述可用虚拟资源的数量低于或等于设定阈值时,向虚拟化网络功能管理器VNFM发送第一通知消息,所述第一通知消息用于通知所述容器管理器的状态不可用。
虚拟资源申请单元503,用于当所述检测单元检测到所述可用虚拟资源的数量低于或等于设定阈值时,向网络功能虚拟化编排器NFVO发送虚拟资 源申请请求消息,接收所述NFVO发送的虚拟资源申请响应消息,所述虚拟资源申请响应消息携带所述NFVO授权给所述容器管理器的虚拟资源的指示信息。
虚拟机VM创建请求单元504,用于当所述资源申请单元接收所述虚拟资源申请响应消息后,向虚拟基础设施管理器VIM发送创建VM请求消息,所述创建VM请求消息携带所述授权给所述容器管理器的虚拟资源的指示信息,所述创建VM请求消息用于请求基于所述授权给所述容器管理器的虚拟资源创建VM,以及接收所述VIM发送的VM创建确认消息。
所述通知单元502,还用于当所述VM创建请求单元接收所述VM创建确认消息后,向所述VNFM发送第二通知消息,所述第二通知消息用于通知所述容器管理器的状态可用。
可选地,该容器管理器500还包括:容器创建单元505,用于接收所述VNFM发送的创建容器请求消息,所述创建容器请求消息为所述VNFM接收所述NFVO发送的创建VNF请求消息,并检测到所述容器管理器的状态为可用时发送的;根据所述创建容器请求消息基于所述容器管理器所管理的容器的可用虚拟资源为所述VNF创建容器;向所述VNFM发送容器创建确认消息,所述容器创建确认消息携带为所述VNF创建的容器的指示信息。
可选地,所述容器创建确认消息进一步用于触发所述VNFM向所述NFVO发送VNF创建确认消息。
基于相同的技术构思,本公开实施例还提供了一种通信装置,该通信装置可实现前述实施例中图5所执行的流程。
图6示出了本公开实施例提供的通信装置600的结构示意图,即示出了容器管理器500的另一结构示意图。参阅图6所示,该通信装置600包括处理器601、存储器602。其中,处理器601也可以为控制器。所述处理器601被配置为支持终端执行前述流程涉及的功能。存储器602用于与处理器601耦合,其保存终端必要的程序指令和数据。其中,处理器601、和存储器602 相连,该存储器602用于存储指令,该处理器601用于执行该存储器602存储的指令,以完成上述方法中客户端设备执行相应功能的步骤。
本公开实施例中,容器管理器500和通信装置600所涉及的与本公开实施例提供的技术方案相关的概念,解释和详细说明及其它步骤请参见前述方法或其它实施例中关于这些内容的描述,此处不做赘述。
需要说明的是,本公开实施例上述涉及的处理器可以是中央处理器(central processing unit,CPU),通用处理器,数字信号处理器(digital signal processor,DSP),专用集成电路(application-specific integrated circuit,ASIC),现场可编程门阵列(field programmable gate array,FPGA)或者其它可编程逻辑器件、晶体管逻辑器件、硬件部件或者其任意组合。其可以实现或执行结合本公开内容所描述的各种示例性的逻辑方框,模块和电路。处理器也可以是实现计算功能的组合,例如包含一个或多个微处理器组合,DSP和微处理器的组合等等。其中,所述存储器可以集成在所述处理器中,也可以与所述处理器分开设置。
基于相同的技术构思,本公开实施例还提供了一种计算机可读存储介质。计算机可读存储介质存储有计算机可执行指令,计算机可执行指令用于使计算机执行图3中所执行的流程。
可以理解的是,本公开实施例描述的这些实施例可以用硬件、软件、固件、中间件、微码或其组合来实现。对于硬件实现,模块、单元、子模块、子单元可以实现在一个或多个专用集成电路(Application Specific Integrated Circuits,ASIC)、数字信号处理器(Digital Signal Processing,DSP)、数字信号处理设备(DSP Device,DSPD)、可编程逻辑设备(Programmable Logic Device,PLD)、现场可编程门阵列(Field-Programmable Gate Array,FPGA)、通用处理器、控制器、微控制器、微处理器、用于执行本公开所述功能的其它电子单元或其组合中。
对于软件实现,可通过执行本公开实施例所述功能的模块(例如过程、函 数等)来实现本公开实施例所述的技术。软件代码可存储在存储器中并通过处理器执行。存储器可以在处理器中或在处理器外部实现。本公开是参照根据本公开实施例的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。
尽管已描述了本公开的可选实施例,但本领域内的技术人员一旦得知了基本创造性概念,则可对这些实施例作出另外的变更和修改。所以,所附权利要求意欲解释为包括可选实施例以及落入本公开范围的所有变更和修改。
显然,本领域的技术人员可以对本公开进行各种改动和变型而不脱离本公开的精神和范围。这样,倘若本公开的这些修改和变型属于本公开权利要求及其等同技术的范围之内,则本公开也意图包含这些改动和变型在内。
Claims (10)
- 一种基于容器的虚拟资源管理方法,其中,容器管理器检测所述容器管理器分配给所管理的容器的可用虚拟资源的数量,所述容器用于承载虚拟化网络功能VNF,并当检测到所述可用虚拟资源的数量低于或等于设定阈值时,执行以下步骤:所述容器管理器向虚拟化网络功能管理器VNFM发送第一通知消息,所述第一通知消息用于通知所述容器管理器的状态不可用,并向网络功能虚拟化编排器NFVO发送虚拟资源申请请求消息;所述容器管理器接收所述NFVO发送的虚拟资源申请响应消息,所述虚拟资源申请响应消息携带所述NFVO授权给所述容器管理器的虚拟资源的指示信息;所述容器管理器向虚拟基础设施管理器VIM发送创建虚拟机VM请求消息,所述创建VM请求消息携带所述授权给所述容器管理器的虚拟资源的指示信息,所述创建VM请求消息用于请求基于所述授权给所述容器管理器的虚拟资源创建VM;所述容器管理器接收所述VIM发送的VM创建确认消息,并向所述VNFM发送第二通知消息,所述第二通知消息用于通知所述容器管理器的状态可用。
- 如权利要求1所述的方法,还包括:所述容器管理器接收所述VNFM发送的创建容器请求消息,所述创建容器请求消息为所述VNFM接收所述NFVO发送的创建VNF请求消息,并检测到所述容器管理器的状态为可用时发送的;所述容器管理器根据所述创建容器请求消息基于所述容器管理器所管理的容器的可用虚拟资源为所述VNF创建容器;所述容器管理器向所述VNFM发送容器创建确认消息,所述容器创建确 认消息携带为所述VNF创建的容器的指示信息。
- 如权利要求2所述的方法,其中,所述容器创建确认消息进一步用于触发所述VNFM向所述NFVO发送VNF创建确认消息。
- 如权利要求1至3中任一项所述的方法,其中,所述设定阈值为虚拟资源数量的绝对值或相对值。
- 一种容器管理器,包括:检测单元,用于检测所述容器管理器分配给所管理的容器的可用虚拟资源的数量,所述容器用于承载虚拟化网络功能VNF;通知单元,用于当所述检测单元检测到所述可用虚拟资源的数量低于或等于设定阈值时,向虚拟化网络功能管理器VNFM发送第一通知消息,所述第一通知消息用于通知所述容器管理器的状态不可用;虚拟资源申请单元,用于当所述检测单元检测到所述可用虚拟资源的数量低于或等于设定阈值时,向网络功能虚拟化编排器NFVO发送虚拟资源申请请求消息,接收所述NFVO发送的虚拟资源申请响应消息,所述虚拟资源申请响应消息携带所述NFVO授权给所述容器管理器的虚拟资源的指示信息;虚拟机VM创建请求单元,用于当所述资源申请单元接收所述虚拟资源申请响应消息后,向虚拟基础设施管理器VIM发送创建VM请求消息,所述创建VM请求消息携带所述授权给所述容器管理器的虚拟资源的指示信息,所述创建VM请求消息用于请求基于所述授权给所述容器管理器的虚拟资源创建VM,以及接收所述VIM发送的VM创建确认消息;所述通知单元,还用于当所述VM创建请求单元接收所述VM创建确认消息后,向所述VNFM发送第二通知消息,所述第二通知消息用于通知所述容器管理器的状态可用。
- 如权利要求5所述的容器管理器,还包括:容器创建单元,用于接收所述VNFM发送的创建容器请求消息,所述创建容器请求消息为所述VNFM接收所述NFVO发送的创建VNF请求消息, 并检测到所述容器管理器的状态为可用时发送的;根据所述创建容器请求消息基于所述容器管理器所管理的容器的可用虚拟资源为所述VNF创建容器;向所述VNFM发送容器创建确认消息,所述容器创建确认消息携带为所述VNF创建的容器的指示信息。
- 如权利要求5所述的容器管理器,其中,所述容器创建确认消息进一步用于触发所述VNFM向所述NFVO发送VNF创建确认消息。
- 一种基于容器的虚拟资源管理系统,包括:容器管理器,用于检测所述容器管理器分配给所管理的容器的可用虚拟资源的数量,并当检测到所述可用虚拟资源的数量低于或等于设定阈值时,向虚拟化网络功能管理器VNFM发送第一通知消息,所述第一通知消息用于通知所述容器管理器的状态不可用,并向网络功能虚拟化编排器NFVO发送虚拟资源申请请求消息,其中,所述容器用于承载虚拟化网络功能VNF;所述NFVO,用于接收所述容器管理器发送的虚拟资源申请请求消息,并向所述容器管理器发送虚拟资源申请响应消息,所述虚拟资源申请响应消息携带所述NFVO授权给所述容器管理器的虚拟资源的指示信息;所述容器管理器,还用于接收所述NFVO发送的虚拟资源申请响应消息,并向虚拟基础设施管理器VIM发送创建虚拟机VM请求消息,所述创建VM请求消息携带所述授权给所述容器管理器的虚拟资源的指示信息;所述VIM,用于接收所述容器管理器发送的创建虚拟机VM请求消息,所述VIM基于所述授权给所述容器管理器的虚拟资源创建VM,并向所述容器管理器发送VM创建确认消息;所述容器管理器,还用于接收所述VIM发送的VM创建确认消息,并向所述VNFM发送第二通知消息,所述第二通知消息用于通知所述容器管理器的状态可用。
- 一种通信装置,包括:处理器、存储器;所述存储器,用于存储计算机指令;所述处理器,用于运行所述计算机指令以实现如权利要求1至4中任一项所述的方法。
- 一种计算机可读存储介质,其中,所述存储介质存储有计算机指令,所述计算机指令被处理器执行时实现权利要求1至4中任一项所述的方法。
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201910001044.9A CN111399967B (zh) | 2019-01-02 | 2019-01-02 | 一种基于容器的虚拟资源管理方法、装置及系统 |
| CN201910001044.9 | 2019-01-02 |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2020140938A1 true WO2020140938A1 (zh) | 2020-07-09 |
Family
ID=71407284
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2020/070093 Ceased WO2020140938A1 (zh) | 2019-01-02 | 2020-01-02 | 基于容器的虚拟资源管理方法、装置及系统 |
Country Status (2)
| Country | Link |
|---|---|
| CN (1) | CN111399967B (zh) |
| WO (1) | WO2020140938A1 (zh) |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN115145714A (zh) * | 2021-03-30 | 2022-10-04 | 中国电信股份有限公司 | 容器实例的调度方法、装置和系统 |
| WO2025069100A1 (en) * | 2023-09-28 | 2025-04-03 | Jio Platforms Limited | Method and system for managing environment variables for container network function components in network environment |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN120256158B (zh) * | 2025-02-20 | 2026-03-17 | 西安华为技术有限公司 | 通信方法和通信装置 |
Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN105955824A (zh) * | 2016-04-21 | 2016-09-21 | 华为技术有限公司 | 一种虚拟资源配置方法以及装置 |
| CN106797323A (zh) * | 2014-09-25 | 2017-05-31 | 英特尔Ip公司 | 网络功能虚拟化 |
| CN108234158A (zh) * | 2016-12-14 | 2018-06-29 | 中国电信股份有限公司 | Vnf的建立方法、nfvo以及网络系统 |
| WO2018148135A1 (en) * | 2017-02-10 | 2018-08-16 | Intel IP Corporation | Systems, methods and devices for virtual resource metric management |
Family Cites Families (4)
| 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 |
| US10931525B2 (en) * | 2016-02-24 | 2021-02-23 | Telefonaktiebolaget Lm Ericsson (Publ) | Managing planned adjustment of allocation of resources in a virtualised network |
| CN108345490B (zh) * | 2017-01-24 | 2021-04-09 | 华为技术有限公司 | 一种nfv中部署虚拟机的方法和系统 |
| CN108628660B (zh) * | 2017-03-24 | 2021-05-18 | 华为技术有限公司 | 一种虚拟机扩缩容方法及虚拟管理设备 |
-
2019
- 2019-01-02 CN CN201910001044.9A patent/CN111399967B/zh active Active
-
2020
- 2020-01-02 WO PCT/CN2020/070093 patent/WO2020140938A1/zh not_active Ceased
Patent Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN106797323A (zh) * | 2014-09-25 | 2017-05-31 | 英特尔Ip公司 | 网络功能虚拟化 |
| CN105955824A (zh) * | 2016-04-21 | 2016-09-21 | 华为技术有限公司 | 一种虚拟资源配置方法以及装置 |
| CN108234158A (zh) * | 2016-12-14 | 2018-06-29 | 中国电信股份有限公司 | Vnf的建立方法、nfvo以及网络系统 |
| WO2018148135A1 (en) * | 2017-02-10 | 2018-08-16 | Intel IP Corporation | Systems, methods and devices for virtual resource metric management |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN115145714A (zh) * | 2021-03-30 | 2022-10-04 | 中国电信股份有限公司 | 容器实例的调度方法、装置和系统 |
| WO2025069100A1 (en) * | 2023-09-28 | 2025-04-03 | Jio Platforms Limited | Method and system for managing environment variables for container network function components in network environment |
Also Published As
| Publication number | Publication date |
|---|---|
| CN111399967A (zh) | 2020-07-10 |
| CN111399967B (zh) | 2023-03-31 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US10701139B2 (en) | Life cycle management method and apparatus | |
| US11003553B2 (en) | Method and apparatus for failover processing | |
| US20220210019A1 (en) | Management Method and Apparatus | |
| CN111399968B (zh) | 一种基于容器的虚拟资源管理方法、装置及系统 | |
| WO2020135799A1 (zh) | Vnf服务实例化方法及装置 | |
| US11175955B2 (en) | Network function virtualization system and network service instantiation method | |
| CN107967140B (zh) | 软件修改的发起方法、发布元数据的方法及装置 | |
| JP6568238B2 (ja) | ハードウェアアクセラレーション方法及び関連デバイス | |
| CN109428764B (zh) | 虚拟网络功能的实例化方法 | |
| CN108141378B (zh) | Vnfd中的休眠vdu | |
| WO2020177564A1 (zh) | Vnf的生命周期管理方法及装置 | |
| WO2016037479A1 (zh) | 虚拟化网络功能vnf优化方法、装置及系统 | |
| US11301284B2 (en) | Method for managing VNF instantiation and device | |
| US10228963B2 (en) | Efficient hypervisor reporting | |
| WO2020140938A1 (zh) | 基于容器的虚拟资源管理方法、装置及系统 | |
| EP4345615A1 (en) | Storage resource management method, apparatus, and system for container cluster | |
| US12141609B2 (en) | Method and system for performing data management services for composed information handling systems | |
| CN115576681A (zh) | 利用硬件拓扑提示在容器编排系统中进行调度 | |
| CN107005429B (zh) | 资源预留的方法及vnfm、vim、nfvo | |
| CN110868310A (zh) | Cdn边缘节点的上下线方法、装置、系统 | |
| WO2025167482A1 (zh) | 一种计算资源的管理方法、系统及装置 | |
| US20240036935A1 (en) | Lcs sdxi resource ownership system | |
| CN111045778B (zh) | 一种虚拟机的创建方法、装置、服务器及存储介质 | |
| US12498975B2 (en) | Logically composed system (LCS) smart data accelerator interface (SDXI) data plane configuration system | |
| US11704159B2 (en) | System and method for unified infrastructure architecture |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| 121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 20736157 Country of ref document: EP Kind code of ref document: A1 |
|
| NENP | Non-entry into the national phase |
Ref country code: DE |
|
| 32PN | Ep: public notification in the ep bulletin as address of the adressee cannot be established |
Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 15/10/2021) |
|
| 122 | Ep: pct application non-entry in european phase |
Ref document number: 20736157 Country of ref document: EP Kind code of ref document: A1 |