WO2021175105A1 - Connection method and apparatus, device, and storage medium - Google Patents

Connection method and apparatus, device, and storage medium Download PDF

Info

Publication number
WO2021175105A1
WO2021175105A1 PCT/CN2021/075908 CN2021075908W WO2021175105A1 WO 2021175105 A1 WO2021175105 A1 WO 2021175105A1 CN 2021075908 W CN2021075908 W CN 2021075908W WO 2021175105 A1 WO2021175105 A1 WO 2021175105A1
Authority
WO
WIPO (PCT)
Prior art keywords
network
container object
container
network plane
information
Prior art date
Application number
PCT/CN2021/075908
Other languages
French (fr)
Chinese (zh)
Inventor
谢宝国
朱进磊
巨满昌
Original Assignee
中兴通讯股份有限公司
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 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2021175105A1 publication Critical patent/WO2021175105A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/12Discovery or management of network topologies
    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/40Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks using virtualisation of network functions or resources, e.g. SDN or NFV entities
    • 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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • G06F9/45533Hypervisors; Virtual machine monitors
    • G06F9/45558Hypervisor-specific management and integration aspects
    • G06F2009/45595Network integration; Enabling network access in virtual machine instances

Definitions

  • This application relates to communications, for example, to a connection method, device, device, and storage medium.
  • a telecommunication physical device or logical functional entity is connected to multiple networks at the same time.
  • multiple physical network interfaces or multiple virtual network interfaces on a host or logical functional entity are connected to different networks.
  • These networks are generally independent of each other, such as management network and information. Make network, data network, billing network, etc. Since the telecommunications system has very high requirements for reliability, the system will configure multiple network planes to avoid the mutual influence of different network traffic and improve the robustness of the system.
  • the NFV system supports the multi-network plane connection of virtual machines, but does not support the multi-network plane connection of containers.
  • a virtual network function (Virtualized Network Function, VNF) constructed by virtual machine instantiation, the virtual machine in the VNF can be assigned multiple Internet Protocol (IP) addresses to access multiple network planes.
  • IP Internet Protocol
  • connection method for example, a connection method, device, device, and storage medium, which effectively realizes that each container object in the container VNF is supported to be connected to multiple network planes.
  • connection method applied to a first communication node including:
  • the life cycle management of the multi-network plane information template of each container object in the container virtual network function VNF; the life-cycle management of the multi-network plane information template includes at least one of the following operations: the multi-network plane information of the container object Template creation, update, and delete operations.
  • connection method applied to a second communication node including:
  • the life cycle management operation instruction includes one of the following: a creation operation instruction, an update operation instruction, and a deletion operation instruction of the container object;
  • connection device which is applied to a first communication node, and includes:
  • the first management module is configured to perform life cycle management on the multi-network plane information template of each container object in the container virtual network function VNF; the life-cycle management of the multi-network plane information template includes at least one of the following operations: Create, update, and delete the multi-network plane information template of the container object.
  • connection device which is applied to a second communication node, and includes:
  • the first receiving module is configured to receive the life cycle management operation instruction of the container object sent by the first communication node.
  • the life cycle management operation instruction includes one of the following: a container object creation operation instruction, an update operation instruction, and a delete operation instruction ;
  • the second receiving module is configured to receive the multi-network plane information template and multi-network plane routing information of the container object sent by the first communication node;
  • the second management module is configured to create, update or release the network topology connection between the container object instance and the multi-network plane according to the multi-network plane information template of the container object and the multi-network plane routing information.
  • An embodiment of the present application provides a device, including: a memory, and one or more processors;
  • the memory is configured to store one or more programs
  • the one or more processors When the one or more programs are executed by the one or more processors, the one or more processors implement the method described in any one of the foregoing embodiments.
  • An embodiment of the present application provides a storage medium that stores a computer program, and when the computer program is executed by a processor, the method described in any of the foregoing embodiments is implemented.
  • Figure 1 is an architecture diagram of an NFV system provided in related technologies
  • Figure 2 is an architecture diagram of another NFV system provided in related technologies
  • FIG. 3 is a flowchart of a connection method provided by an embodiment of the present application.
  • FIG. 4 is a flowchart of another connection method provided by an embodiment of the present application.
  • FIG. 5 is a schematic diagram of a network topology of a container object provided by an embodiment of the present application.
  • FIG. 6 is a flowchart of creating a multi-network plane information template provided by an embodiment of the present application.
  • FIG. 7 is a flowchart of a network topology for creating a container object instance provided by an embodiment of the present application.
  • FIG. 8 is a flowchart of a network connection for updating container objects according to an embodiment of the present application.
  • FIG. 9 is a flowchart of releasing multiple network planes according to an embodiment of the present application.
  • FIG. 10 is a structural block diagram of a connection device provided by an embodiment of the present application.
  • FIG. 11 is a structural block diagram of another connection device provided by an embodiment of the present application.
  • Fig. 12 is a schematic structural diagram of a device provided by an embodiment of the present application.
  • an enhanced NFV system is needed to enable it in container VNF lifecycle management operations, such as VNF instantiation construction and update operations, newly define and support a unified multi-network plane data template, and support each container object in the container VNF.
  • VNF lifecycle management operations such as VNF instantiation construction and update operations
  • NFV is a software processing technology that uses general-purpose hardware and virtualization technology to carry other functions, and aims to reduce the cost of expensive network equipment.
  • software and hardware decoupling and functional abstraction NFV makes network equipment functions no longer depend on dedicated hardware, resources can be fully and flexibly shared, rapid development and deployment of new services, and automatic deployment, elastic scaling, and fault isolation based on actual business needs And self-healing etc.
  • FIG 1 is an architecture diagram of an NFV system provided in related technologies.
  • the NFV system architecture defined by the European Telecommunications Standards Institute includes: business operation support system and management support platform (Operation-Support System/Business Support System, OSS/BSS), VNF, Network Function Virtualization Infrastructure (NFVI) and Network Function Virtualization Management and Orchestration System (NFV-Management and Orchestration, NFV-MANO).
  • NFVI is responsible for comprehensively virtualizing hardware resources such as computing, storage, and networking, and mapping them into virtual resources;
  • VNF uses software to implement various traditional physical network functions.
  • VNF runs on NFVI and uses virtualized virtual resources after NFVI virtualization. resource.
  • NFV-MANO is responsible for managing and orchestrating the relationship between VNF and NFVI and the connection relationship between VNF and/or between VNF and other physical network functions (Physical Network Functions, PNF).
  • PNF Physical Network Functions
  • NFV-MANO includes: Virtualized Infrastructure Manager (VIM), Virtualized Network Function Manager (VNFM), and Network Virtualization Function Orchestrator (NFVO).
  • VIM is responsible for controlling and managing virtualized resources.
  • VIM can also include physical infrastructure management (Physical Infrastructure Manager, PIM) functions, responsible for the management of bare metal resources, such as physical servers;
  • PIM Physical Infrastructure Manager
  • VNFM is responsible for VNF life cycle management;
  • NFVO is responsible for the orchestration and management of virtual infrastructure, and Network service (Network Service, NS) life cycle management.
  • PIM Physical Infrastructure Manager
  • FIG. 1 The NFV system architecture diagram shown in Figure 1 only supports the virtual machine (Virtual Machine, VM) method to construct the network function virtualization technology of VNF. For the development of how to construct the VNF network function virtualization technology in the container method, it is necessary to compare the diagram 1
  • FIG 2 is an architecture diagram of another NFV system provided in related technologies.
  • Container Infrastructure Service Management CISM
  • CISE Container Infrastructure Service Environment
  • CNI Container Network Interface
  • the basic function of the NFV system is to perform lifecycle management operations on NS, VNF, and Virtualized Network Function Component (VNFC), such as creation, shrinking, self-healing, and release.
  • BSS/OSS will issue Network Service Descriptor (NSD) and Virtual Network Function Descriptor (VNF Descriptor) to NFVO , VNFD) template
  • NSD Network Service Descriptor
  • VNF Descriptor Virtual Network Function Descriptor
  • NFVO instantiates NS according to NSD
  • NSD Network Service Instance
  • NSI Network Service Instance
  • VL Virtual Link
  • the VNFM instantiates the VNF to generate a virtual network function instance (Virtualized Network Function Instance, VNFI)/Virtualized Network Function Component Instance (VNFCI), and network connections between VNFCIs.
  • VNFCI Virtualized Network Function Component Instance
  • the present application provides a connection method to newly define and support a unified multi-network plane information template in the life cycle management operation of a container VNF to support multiple connections for each container object in the container VNF. Network plane.
  • FIG. 3 is a flowchart of a connection method provided by an embodiment of the present application. This embodiment is applied to the first communication node.
  • the first communication node may be CISM. As shown in Figure 3, this embodiment includes S110.
  • S110 Perform life cycle management on the multi-network plane information template of each container object in the container VNF.
  • the life cycle management of the multi-network plane information template includes at least one of the following operations: creation operation, update operation, and deletion operation of the multi-network plane information template of the container object.
  • the CISM after the CISM receives the multi-network plane attribute information of each container object in the container VNF, it constructs the multi-network plane information template according to the multi-network plane attribute information, and creates the multi-network information template according to different operation instructions. Update or delete operations.
  • the container objects in the container VNF are connected to multiple network planes, and each container object can perform data communication with multiple network planes at the same time.
  • the VNFD serving the container VNF includes: multi-network plane attribute information of the container object, and multi-network plane routing information of the container object.
  • the VNFD of the container VNF refers to the VNFD template of the container VNF, that is, the VNFD template includes: the multi-network plane attribute information of the container object and the multi-network plane routing information of the container object.
  • the multi-network plane attribute information of the container object includes at least one of the following: network names, identifiers (IDentifier, ID), network attributes of at least two logical network planes, network node attributes of the container object, and container objects Connection relationship with multiple logical network objects.
  • the multi-network plane routing information of the container object includes at least one of the following: virtual network interface card (virtual NIC, vNIC)/network interface card (Network Interface Card, NIC) network node attributes of the physical network, container The network routing connection relationship between the multiple logical network objects connected by the object and the physical network object.
  • virtual network interface card virtual NIC, vNIC
  • network interface card Network Interface Card, NIC
  • the method before the life cycle management of the multi-network plane information template of each container object in the container VNF, the method further includes: receiving the multi-network plane attribute information of the container object sent by the third communication node, and the container object Multi-network plane routing information; receiving the life cycle management operation request of each container object in the container VNF sent by the third communication node.
  • the third communication node may be a VNFM.
  • performing life cycle management on the multi-network plane information template of each container object in the container VNF includes: creating or updating the multi-network plane information template of the container object according to the multi-network plane attribute information of the container object;
  • the second communication node creates, updates, or deletes the container object instance; and sends the multi-network plane information template and the multi-network plane routing information of the container object to the second communication node.
  • Fig. 4 is a flowchart of another connection method provided by an embodiment of the present application.
  • This embodiment is applied to the second communication node.
  • the second communication node may be a container infrastructure service (Container Infrastructure Service, CIS).
  • CIS Container Infrastructure Service
  • this embodiment includes: S210-S230.
  • S210 Receive a life cycle management operation instruction of the container object sent by the first communication node.
  • the life cycle management operation instruction includes one of the following: a creation operation instruction, an update operation instruction, and a deletion operation instruction of the container object.
  • S220 Receive the multi-network plane information template of the container object and the multi-network plane routing information of the container object sent by the first communication node.
  • S230 Create, update or release the container object instance and the network topology connection of the multi-network plane according to the multi-network plane information template of the container object and the multi-network plane routing information of the container object.
  • the creation, update or release of the container object instance and the network topology connection of the multi-network plane according to the multi-network plane information template of the container object and the multi-network plane routing information of the container object includes: management according to the life cycle of the container object Operation instructions create, update or delete a container object instance; create, update or release the network topology connection of the container object instance and the multi-network plane according to the multi-network plane information template of the container object and the multi-network plane routing information of the container object.
  • the method further includes: connecting the container object instance The configuration information of the multi-network plane network topology is sent to the container object instance to which it belongs; the container object instance is used to report the configuration information of the multi-network plane topology to the target application.
  • connection method applied to the second communication node further includes: sending feedback information of successful creation, update, or deletion to the first communication node.
  • feedback information of successful creation, update, or deletion can be sent to CISM through CIS, and feedback to VNFM through CISM, and then Feed back to NFVO through VNFM until it is fed back to OSS/BSS.
  • the container-supported NFV enhancement system is adopted.
  • life cycle management operations such as VNF instantiation, VNF instance update, etc.
  • the VNFD is enhanced and extended, and the multi-network plane attribute information of the container object (that is, the definition of multiple logical network objects, and the definition of how the container object and multiple logical network objects are connected), and the multi-network plane routing of the container object are added to the VNFD Information (the multi-network plane routing information of a container object refers to the information describing the network routing connection relationship between multiple logical network objects connecting the container object and one or more physical network objects), and then CISM constructs a multi-layer service for the container object Network plane information template.
  • the CISM sends the constructed multi-network plane information template of the container object and the multi-network plane routing information of the container object to the CIS through the CNI interface protocol.
  • CIS constructs the multi-network plane network topology of the container object instance (container object and multiple logical networks) according to the multi-network plane information template of the container object and the multi-network plane routing information of the container object.
  • the CIS After the container object is instantiated, the CIS sends the multi-network plane network topology configuration information of each container object to the corresponding container object instance, and the container object instance passes it to the upper application.
  • the VNFD serving the container object needs to be expanded to support the multi-network plane access of the container object: the multi-network plane attribute information of the container object needs to be added in the VNFD, including but not limited to multiple logical network objects
  • the network name, ID, network attributes for example, Internet Protocol Version 4 (Internet Protocol Version 4, IPv4)/Internet Protocol Version 6 (Internet Protocol Version 6, IPv6) address and port, etc.
  • the attributes of the network node that the container object is connected to (For example, IPv4/IPv6 address and port, etc.)
  • the connection relationship between the container object and multiple logical network objects for example, the eth0 of the container object is connected to the Msc management network, and eth1 is connected to the sig signaling network
  • the container object is connected Logical network plug-in information (for example, Flannel plug-in, calico plug-in, canel plug-in, kube-router, etc.) and so on.
  • FIG. 5 is a schematic diagram of a network topology of a container object provided by an embodiment of the present application.
  • the container cluster node cluster node
  • the container cluster node can be regarded as an example of CIS.
  • the VNFM needs to parse the VNFD, extract the multi-network plane attribute information of each container object described in the VNFD, and send the multi-network plane attribute information of the container object to the CISM.
  • the VNFM also takes out the multi-network plane routing information of the container object in the VNFD, that is, the information describing the network connection relationship between the multi-network plane and the physical network, and sends it to the CISM at the same time.
  • CISM constructs the multi-network plane information template of the container object according to the multi-network plane attribute information of the container object, which contains the information of the multiple logical networks connected by the container object, the information of the network node of the container object, and the multiple logic The network connection relationship between the network and the container object, the plug-in information supporting multiple network planes, etc.
  • the CISM uses the CNI interface protocol to combine the multi-network plane information template and the multi-network plane routing information of the container object (that is, information describing the network connection relationship between multiple logical network objects and one or more physical network objects) , Sent to CIS.
  • CIS When CIS creates a container object instance, it creates the network node, node, and multiple network nodes of the container object instance according to the multi-network plane information template of the container object and the network connection relationship between the multiple logical network objects of the container object and the physical network object.
  • the network topology of the logical network object, the network topology of the logical network object and the physical network object finally generates a multi-network plane network topology structure of the container object instance, and realizes that each container object instance in the VNF is connected to the multi-network plane.
  • the CIS sends the multi-network plane network topology configuration information of each container object instance in the VNF instance to the corresponding container object instance, including the IPv4/IPv6 address of the container object node And ports, the network routing information from the container object to the multi-network plane, the IP address of the multi-network plane node, the NIC/vNIC IPv4/IPv6 address and port of the physical network, the network routing information from the multi-network plane to the physical network plane, etc.
  • the container object reports the network topology configuration information of the multi-network plane to the upper-layer application, and the upper-layer application realizes the data transmission monitoring of the container object instance according to the network topology configuration of the container object.
  • FIG. 6 is a flowchart of creating a multi-network plane information template provided by an embodiment of the present application.
  • the VNFD template contains the multi-network plane attribute information of the container object and the multi-network plane routing information of the container object.
  • CISM creates a multi-network plane information template of the VNF container object according to the multi-network plane attribute information of the container object in the VNFD, and sends it to the CIS through the CNI interface protocol.
  • this embodiment includes: S310-S380.
  • the multi-network plane attribute information of the container object is added to the VNFD template.
  • the multi-network plane routing information of the container object needs to be added to the VNFD template.
  • Add the multi-network plane attribute information of the container object to the VNFD template including but not limited to the network name, ID, network node attributes of multiple logical network objects (for example, IPv4/IPv6 address and port, etc.), and the network node attributes of the container object (For example, IPv4/v6 address and port, etc.), the connection relationship between the container object and multiple logical network objects (for example, eth0 of the container object is connected to the Msc management network, and eth1 is connected to the signaling (sig) network), and the container object Connected logical network plug-in information (such as flannel plug-in, calico plug-in, canel plug-in, kube-router%), etc.
  • the connection relationship between the container object and multiple logical network objects for example, eth0 of the container object is connected to the Msc management network, and eth1 is connected to the signaling (sig) network
  • the container object Connected logical network plug-in information such as
  • Add the multi-network plane routing information of the container object to the VNFD template including but not limited to the connection relationship between multiple logical network objects connected to the container object and the physical network object (for example, the sig network of container object 1 is connected to the NIC of the physical network) vNIC1, the Msc network is connected to the physical network's NIC/vNIC2), the physical network's vNIC/NIC network node attributes (IPv4/IPv6 address and port, etc.), etc.
  • a container object in a certain VNF and multiple logical network objects such as signaling (sig) plane, management (management) plane, data (data) plane, charging (charge) network plane
  • logical network objects such as signaling (sig) plane, management (management) plane, data (data) plane, charging (charge) network plane
  • the attributes of the multiple logical network objects in the VNFD it is necessary to arrange the attributes of the multiple logical network objects in the VNFD, the network node attributes of the container object, the network connection relationship between the container object and multiple logical network objects, the physical network node attributes, and the network routing connection between the logical network and the physical network relation.
  • the container object is instantiated, the connection of the container object to multiple logical network objects and the connection of multiple logical network objects to the physical network object can be created.
  • the NFVO delivers each VNFD template associated with the container VNF to the VNFM.
  • the NSD ID is carried in the NS instantiation request.
  • the NFVO notifies the VNFM to initiate the instantiation request of all container VNFs that make up the NS (taking the instantiation request as an example, it can be the life cycle management operation of other VNFs, such as VNF instantiation) , Resurgence, Self-healing, Termination, etc.).
  • the OSS may also independently initiate a container VNF instantiation request to the NFVO, carrying the ID of the VNFD template.
  • the NFVO sends a VNF instantiation request to the VNFM.
  • NFVO notifies the VNFM to initiate a VNF instantiation request (taking an instantiation request as an example, which can be other VNF lifecycle management operations, such as VNF instantiation, resizing, self-healing, termination, etc.);
  • the VNFM in the life cycle management operation of the container VNF, such as instantiating the container VNF, the VNFM needs to instantiate all the container objects contained therein.
  • the CISM is responsible for the instantiation of the container object. Therefore, the VNFM needs to parse the VNFD template serving the container object, and retrieve the network attribute information of the container object in the VNFD template, including multi-network plane attributes. Information, multi-network plane routing information.
  • the network attribute information of each container object in the container VNF is sent to the CISM.
  • the CISM in the container VNF life cycle management process, is responsible for the life cycle management operations of the container objects, such as instantiation operations.
  • the container object When the container object is instantiated, when the CISM receives the network attribute information of the container object sent by the VNFM, it creates a container object multi-network plane information template according to the relevant NFV rules or policies and according to the container object’s multi-network plane attribute information. save.
  • the content in the multi-network plane information template is not limited to the following parameters and information: the attributes of the container object, including the name and ID of the container object, the network attributes of the external node (IPv4/IPv6 address attribute), and the VNF to which the container object belongs Name and ID, etc.; the attribute information of multiple logical network objects connected by the container object: not limited to the number, name, ID, type of multiple logical networks, and the network attributes of the connected nodes (IPv4/IPv6 address attributes); container objects and multiple The connection relationship of each logical network object (network performance constraint); the network performance constraint of the associated logical network object; the input parameters of the associated logical network object, including quality of service (Qos), plug-in information (input and output requirements) , Including injection file format and parameters)
  • CISM can construct a multi-network plane information template according to the multi-network plane attribute information of the container object, which is used for the network of the container object in the subsequent container object instantiation process. Topology creation.
  • FIG. 7 is a flowchart of a network topology for creating a container object instance provided by an embodiment of the present application.
  • the process of constructing the network topology of the container object instance is described.
  • the CIS receives the container object instantiation request sent by the CISM, and creates the container object of the VNF in the container operating environment of the node according to the multi-network plane information template of the container object of the VNF.
  • the container object instance allocates computing resources and storage resources for the container object instance, and constructs a network topology for the container object instance.
  • CIS After the container object is instantiated and its network topology is constructed, CIS sends the network configuration information of each container object to the corresponding container object, and the application (APP) running on the container object can pass the specific network address And routing to monitor the data transmission path.
  • APP application
  • this embodiment includes: S410-S470.
  • S410 Send an instantiation request of the container object to the CISM.
  • the VNFM informs the CISM to instantiate each container object in the VNF.
  • the CISM sends the computing resources and storage resource requirements required to create the container object instance inside the VNF to the CIS, and requests the CIS to create each container object instance that composes the VNF.
  • CISM passes the multi-network plane information template of the container object and the multi-network plane routing information of the container object to the CIS through the CNI interface protocol, requesting the CIS to construct a network connection for the container object instance.
  • the CIS creates each container object instance in the container VNF instance in the container operating environment, and allocates required computing resources and storage resources.
  • CIS assigns an IP address and port to the externally connected network node of each container object instance according to the multi-network plane information template sent by CISM and the multi-network plane routing information of the container object, and assigns an IP address and port to each container object instance Construct a network topology, that is, a network connection topology of container object instances, multiple logical network objects, and multiple virtual/physical network objects.
  • CIS saves the network topology configuration information of each container object instance in the container VNF instance, including the external IP address and port assigned by the external connection node of the container object instance, the IP address and port of multiple logical network object nodes, and virtual/physical networks The IP address and port of the object, as well as the network connection routing information of the three.
  • the CIS after the computing resources and storage resources of each container object instance in the VNF are successfully allocated, and the network topology is successfully created, the CIS notifies the CISM of the completion of the instantiation of the VNF content container object. In the notification message, CIS notifies CISM that the network topology of each container object in the VNF has been constructed.
  • the VNFM continues the subsequent operations of VNF instantiation, and configures the service parameters of the created VNF instance to complete the instantiation operation of the container VNF. Later, the element management (EM) performs the operation on the container VNF instance. Business configuration and management.
  • the CIS sends the network topology configuration information of each container object instance to the relevant container object instance.
  • the container object instance can further report the configuration to the application for monitoring the transmission path.
  • the CISM notifies the CIS to instantiate each container object in the VNF.
  • CIS creates each container object instance in the container operating environment, and constructs the network topology of each container object instance according to the container object's multi-network plane information template and the container object's multi-network plane routing information, and completes the instantiation of the container object.
  • CISM notifies the VNFM, and the VNFM completes the final VNF instantiation operation.
  • FIG. 8 is a flowchart for updating a network connection of a container object provided by an embodiment of the present application. This embodiment describes the update process of updating the container object multi-network plane information template.
  • OSS/NFVO initiates a VNF instance change request to update the network topology of the container object instance.
  • CISM updates the multi-network plane information template of the container object according to the changed multi-network plane attribute information of the container object.
  • CISM notifies CIS to update the network topology of the container object instance.
  • CIS rebuilds the network topology of the container object instance in the VNF instance according to the updated container object multi-network plane information template or the updated container object multi-network plane routing information to complete the container.
  • the object's network connection update operation is used to update the container object instance.
  • this embodiment includes: S510-S5120.
  • updating the network attribute information of the container object in the VNFD template may be updating the multi-network plane attribute information of the container object, or updating the multi-network plane routing information of the container object, or both.
  • updating the multi-network plane attribute information can be to change the connection relationship between the logical network object and the container object, or to increase or decrease the logical network object; for example, to update the multi-network plane routing information of the container object, the logical network object can be changed.
  • the OSS/BSS initiates a VNF instance update operation, notifies that the network attribute information of the container object in the VNFD template has changed, and uploads the updated VNFD template serving the container VNF to the NFVO.
  • the NFVO initiates a VNF instance update to the VNFM, and at the same time, the NFVO delivers the updated VNFD template to the VNFM.
  • S540 Send an update request of the container object instance.
  • the VNFM after the VNFM receives the VNF instance update request, it initiates an update request of the container object instance to the CISM, and requests to update the network topology of the container object during the VNF instance update process.
  • the VNFM parses the changed VNFD template, extracts the updated network attribute information of the container object in the VNF, including the multi-network plane attribute information of the container object, and the multi-network plane routing information of the container object, and updates the container object of the VNF
  • the network attribute information is sent to the CISM, and the CISM is notified to update the container object instance of the container object.
  • the CISM updates the container object multi-network plane information template based on the updated container object multi-network plane information template and saves the updated container object multi-network plane information template.
  • the content update in the multi-network plane information template is not limited to some or all of the following parameters and information: the attributes of the container object, including the container object name, ID, network attributes of external nodes (IPv4/IPv6 address attributes), and the name of the VNF to which the container object belongs And ID, etc.; the attribute information of multiple logical network objects connected by the container object: not limited to the number, name, ID, type of multiple logical networks, and the network attributes of the connected node (IPv4/IPv6 address attribute); the container object and multiple The connection relationship of logical network objects (network performance constraints); the network performance constraints of the associated logical network objects; the input parameters of the associated logical network objects, including Qos, plug-in information (input and output requirements, including injection file format and parameters).
  • the CISM transmits the updated multi-network plane information template of the container object or the updated multi-network plane routing information of the container object to the CIS through the CNI interface protocol.
  • CIS updates the network topology of the container object instance according to the updated container object multi-network plane information template sent by CISM, or/and the updated container object multi-network plane routing information, which is not limited to container objects and logical network objects. , The IP address and port of the virtual/physical network object, and the network connection route of the three.
  • the CIS For the newly added network plane, the CIS needs to construct the network topology connection relationship between the relevant container object node and the newly added logical network object according to the description of the information model.
  • the CIS needs to delete the network topology connection relationship between the relevant container object node and the existing logical network object according to the description of the information model.
  • CIS re-saves the updated network topology configuration information of the container object, including the external IP address assigned by the external connection node of the container object instance, the IP address of the logical network object connection node, the IP address of the virtual/physical network object connection node, and the three Network routing information.
  • the CIS notifies the CISM that the network topology of the container object instance has been updated.
  • the CISM notifies the VNFM that the update of the container object instance is complete.
  • the CISM after the network topology update of the container object instance is completed, notifies the VNFM that the container object has completed the instance update.
  • the VNFM notifies the NFVO of the completion of the update of the VNF instance.
  • the VNFM after all the container objects that need to be updated in the container VNF complete the update of the container object instance, the VNFM notifies NFVO that the update of its VNF instance is complete, and the network topology of all the container object instances that need to be updated in the VNF instance is updated.
  • the NFVO notifies the OSS/BSS of the completion of the update of the VNF instance.
  • the NFVO after the NFVO receives the container VNF instance update completion message notified by the VNFM, the NFVO notifies the OSS/BSS that the network topology of the relevant VNF instance has been changed.
  • the CIS sends the updated configuration information of the multi-network plane network topology to the container object instance.
  • the CIS resends the updated multi-network plane network topology configuration information of each container object instance to the relevant container object instance.
  • the container object instance can report the configuration to the application for monitoring the transmission path.
  • the network attribute information of the container object in the VNFD needs to be updated, and the VNFM informs the CISM to update the container object instance that needs to be updated.
  • the CISM updates the multi-network plane information template of the container object, and sends the updated multi-network plane information template of the container object to the CIS through the CNI interface protocol, requesting to update the network topology of the container object.
  • CIS updates the network topology of the container object according to the updated container object multi-network plane information template and the updated container object multi-network plane routing information, and completes the update operation of the network topology of the container object.
  • FIG. 9 is a flowchart of releasing multiple network planes according to an embodiment of the present application. This embodiment describes that in the VNF instance release operation, the multi-network plane network resources occupied by the container VNF are released at the same time.
  • this embodiment includes: S610-S690.
  • S610 Initiate a release request of the VNF instance.
  • the OSS/BSS initiates a release request of the VNF instance to the NFVO, and releases the multi-network plane resources occupied by each container object instance in the VNF instance.
  • the NFVO notifies the VNFM of the release of the VNF instance.
  • the VNFM notifies the CISM to release the resources of the container object instance.
  • the VNFM notifies the CISM to release the network resources of each container object instance in the container VNF instance, as well as the computing resources and storage resources allocated to each container object.
  • the CISM notifies the CIS to release the resources of the container object instance.
  • the CISM notifies the CIS to release the resources allocated by each container object instance in the VNF instance.
  • the CISM initiates the release of the multi-network plane network resources of each container object instance of the VNF to the CIS through the CNI interface protocol, and at the same time notifies the CIS through other interfaces to release the computing resources and storage resources of each container object instance.
  • CIS releases the network resources, computing resources, and storage resources of the container object instance.
  • CIS releases the IP address allocated by each container object in the VNF instance, releases the network resources of each logical network object, deletes the network connection between the container object instance and each logical network object, and the logical network object and virtual /The network connection of the physical network object, and finally delete the network topology of each container object instance of the VNF.
  • CIS deletes the network topology configuration information of each container object instance stored in the local VNF instance; CIS releases the computing resources and storage resources allocated by each container object in the VNF instance.
  • the CIS notifies the CISM that the resources of the VNF instance have been released.
  • CIS informs CISM that the computing and storage resources of each container object instance of the VNF instance have been released, and informs CISM through the CNI interface that the network resources of each container object instance in the VNF instance have been released, and CISM receives CIS After knowing that the computing resources, storage resources, and network resources of the container object instance inside the VNF have been released, CISM deletes the created container object. CISM deletes the locally stored multi-network plane information template of each container object of the VNF.
  • the CISM notifies the VNFM that the resources of each container object instance have been released.
  • the CISM notifies the VNFM that the computing resources, storage resources, and network resources of each container object of the VNF have been released.
  • the VNFM notifies the NFVO that the resources of the VNF instance have been released and deletes the VF instance.
  • the VNFM when all the container object instance resources of the VNF instance are released, the VNFM deletes the container VNF instance and informs the NFVO that the VNF instance has been released.
  • the NFVO notifies the OSS/BSS that the VNF instance has been deleted and the multi-network plane resources have been released.
  • the NFVO notifies the OSS/BSS that the VNF instance has been deleted, and the multi-network plane resources of each container object in the VNF instance have been released.
  • the CISM needs to notify the CIS to release the resources of each container object instance in the VNF instance, including computing resources, storage resources, and network resources. After CIS releases the resource of the container object, it notifies the CISM, and the CISM notifies the VNFM. After the VNFM confirms that all the container object instances in the VNF instance have been released, the VNFM completes the deletion of the VNF instance.
  • FIG. 10 is a structural block diagram of a connection device provided by an embodiment of the present application.
  • the first communication node may be CISM.
  • this embodiment includes: a first management module 710.
  • the first management module 710 is configured to perform life cycle management on the multi-network plane information template of each container object in the container virtual network function VNF; the life-cycle management of the multi-network plane information template includes at least one of the following operations: Create, update, and delete multiple network plane information templates.
  • connection device provided in this embodiment is configured to implement the connection method applied to the first communication node in the embodiment shown in FIG. 4, and the implementation principle of the connection device provided in this embodiment is similar to the embodiment shown in FIG. .
  • the virtual network function descriptor VNFD serving the container VNF includes: multi-network plane attribute information of the container object and multi-network plane routing information of the container object.
  • the multi-network plane attribute information of the container object includes at least one of the following: network names, identification IDs, and network attributes of at least two logical network planes, the network node attributes of the container object, and the container object is connected to multiple The connection relationship of logical network objects.
  • the multi-network plane routing information of the container object includes at least one of the following: virtual network interface card vNIC/network interface card NIC network node attributes of the physical network, multiple logical network objects connected by the container object to the physical network The network routing connection relationship of the object.
  • connection device applied to the first communication node further includes: a third receiving module configured to receive the third receiving module before performing life cycle management on the multi-network plane information template of each container object in the container VNF The multi-network plane attribute information of the container object and the multi-network plane routing information of the container object sent by the communication node; the fourth receiving module is configured to receive the life cycle management operation request of each container object in the container VNF sent by the third communication node .
  • the first management module includes: a first management unit configured to create or update a multi-network plane information template of the container object according to the multi-network plane attribute information of the container object; the second management unit is configured to notify The second communication node creates, updates or deletes the container object instance; the sending unit is configured to send the multi-network plane information template and the multi-network plane routing information of the container object to the second communication node.
  • Fig. 11 is a structural block diagram of another connection device provided by an embodiment of the present application. This embodiment is applied to the second communication node.
  • the second communication node may be a CIS.
  • this embodiment includes: a first receiving module 810, a second receiving module 820, and a second management module 830.
  • the first receiving module 810 is configured to receive the life cycle management operation instruction of the container object sent by the first communication node.
  • the life cycle management operation instruction includes one of the following: a creation operation instruction, an update operation instruction, and a deletion operation instruction of the container object.
  • the second receiving module 820 is configured to receive the multi-network plane information template and the multi-network plane routing information of the container object sent by the first communication node.
  • the second management module 830 is configured to create, update or release the network topology connection of the container object instance and the multi-network plane according to the multi-network plane information template and the multi-network plane routing information of the container object.
  • connection device provided in this embodiment is configured to implement the connection method applied to the second communication node in the embodiment shown in FIG. 5.
  • the implementation principle of the connection device provided in this embodiment is similar to the embodiment shown in FIG. .
  • the second management module 830 includes: a third management unit configured to create, update, or delete container object instances according to the life cycle management operation instructions of the container object; the fourth management unit is configured to The multi-network plane information template and the multi-network plane routing information create, update or release the container object instance and the network topology connection of the multi-network plane.
  • connection device applied to the second communication node further includes: a first sending module configured to create, update, or release a container object instance according to the multi-network plane information template and multi-network plane routing information of the container object After connecting with the network topology of the multi-network plane, the configuration information of the multi-network plane network topology of the container object instance is sent to the container object instance to which it belongs; the container object instance is used to report the configuration information of the multi-network plane topology to the target application.
  • a first sending module configured to create, update, or release a container object instance according to the multi-network plane information template and multi-network plane routing information of the container object After connecting with the network topology of the multi-network plane, the configuration information of the multi-network plane network topology of the container object instance is sent to the container object instance to which it belongs; the container object instance is used to report the configuration information of the multi-network plane topology to the target application.
  • connection device applied to the second communication node further includes: a second sending module configured to send feedback information of successful creation, update, or deletion to the first communication node.
  • Fig. 12 is a schematic structural diagram of a device provided by an embodiment of the present application.
  • the device provided by the present application includes: a processor 910, a memory 920, and a communication module 930.
  • the number of processors 910 in the device may be one or more, and one processor 910 is taken as an example in FIG. 12.
  • the number of memories 920 in the device may be one or more, and one memory 920 is taken as an example in FIG. 12.
  • the processor 910, the memory 920, and the communication module 930 of the device may be connected through a bus or in other ways. In FIG. 12, the connection through a bus is taken as an example.
  • the device is the first communication node.
  • the memory 920 can be configured to store software programs, computer-executable programs, and modules, such as program instructions/modules corresponding to the device of any embodiment of the present application (for example, the first management module in the connecting device). ).
  • the memory 920 may include a program storage area and a data storage area, where the program storage area may store an operating system and an application program required by at least one function; the data storage area may store data created according to the use of the device, and the like.
  • the memory 920 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk storage device, a flash memory device, or other non-volatile solid-state storage devices.
  • the memory 920 may further include a memory remotely provided with respect to the processor 910, and these remote memories may be connected to the device through a network.
  • networks include, but are not limited to, the Internet, corporate intranets, local area networks, mobile communication networks, and combinations thereof.
  • the communication module 930 is configured to perform a communication connection between the first communication node and the second communication node for data communication and signal communication.
  • the above-provided device can be configured to execute the connection method applied to the first communication node provided by any of the above-mentioned embodiments, and has corresponding functions.
  • the device is the second communication node
  • the device provided above can be configured to execute the connection method applied to the second communication node provided by any of the foregoing embodiments, and have corresponding functions.
  • An embodiment of the present application also provides a storage medium containing computer-executable instructions.
  • the computer-executable instructions are executed by a computer processor, they are used to execute a connection method applied to a first communication node.
  • the method includes: virtualizing a container
  • the multi-network plane information template of each container object in the network function VNF performs life cycle management; the life-cycle management of the multi-network plane information template includes at least one of the following operations: creation of the multi-network plane information template of the container object Operation, update operation, delete operation.
  • An embodiment of the present application also provides a storage medium containing computer-executable instructions.
  • the computer-executable instructions are executed by a computer processor, they are used to execute a connection method applied to a second communication node.
  • the method includes: receiving a first communication node.
  • the life cycle management operation instruction of the container object sent by the communication node, the life cycle management operation instruction includes one of the following: a creation operation instruction, an update operation instruction, and a deletion operation instruction of the container object;
  • the multi-network plane information template and multi-network plane routing information of the container object create, update or release the network topology connection of the container object instance and the multi-network plane according to the multi-network plane information template of the container object and the multi-network plane routing information .
  • user equipment encompasses any suitable type of wireless user equipment, such as a mobile phone, a portable data processing device, a portable web browser, or a vehicle-mounted mobile station.
  • the various embodiments of the present application can be implemented in hardware or dedicated circuits, software, logic or any combination thereof.
  • some aspects may be implemented in hardware, while other aspects may be implemented in firmware or software that may be executed by a controller, microprocessor, or other computing device, although the present application is not limited thereto.
  • Computer program instructions can be assembly instructions, Instruction Set Architecture (ISA) instructions, machine instructions, machine-related instructions, microcode, firmware instructions, state setting data, or written in any combination of one or more programming languages Source code or object code.
  • ISA Instruction Set Architecture
  • the block diagram of any logic flow in the drawings of the present application may represent program steps, or may represent interconnected logic circuits, modules, and functions, or may represent a combination of program steps and logic circuits, modules, and functions.
  • the computer program can be stored on the memory.
  • the memory can be of any type suitable for the local technical environment and can be implemented using any suitable data storage technology, such as but not limited to read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), optical Memory devices and systems (Digital Video Disc (DVD) or Compact Disk (CD)), etc.
  • Computer-readable media may include non-transitory storage media.
  • the data processor can be any type suitable for the local technical environment, such as but not limited to general-purpose computers, special-purpose computers, microprocessors, digital signal processors (Digital Signal Processing, DSP), application specific integrated circuits (ASICs) ), programmable logic devices (Field-Programmable Gate Array, FPGA), and processors based on multi-core processor architecture.
  • DSP Digital Signal Processing
  • ASICs application specific integrated circuits
  • FPGA Field-Programmable Gate Array
  • FPGA Field-Programmable Gate Array

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

A connection method and apparatus, a device, and a storage medium. Said method comprises: performing life cycle management on a multi-network plane information template of each container object in a container virtualized network function (VNF) (S110); the life cycle management of the multi-network plane information template comprises at least one of the following operations: a creation operation, an update operation, and a deletion operation of the multi-network plane information template of the container object.

Description

连接方法、装置、设备和存储介质Connection method, device, equipment and storage medium
本申请要求在2020年03月02日提交中国专利局、申请号为202010136184.X的中国专利申请的优先权,该申请的全部内容通过引用结合在本申请中。This application claims the priority of a Chinese patent application filed with the Chinese Patent Office with an application number of 202010136184.X on March 2, 2020. The entire content of this application is incorporated into this application by reference.
技术领域Technical field
本申请涉及通信,例如涉及一种连接方法、装置、设备和存储介质。This application relates to communications, for example, to a connection method, device, device, and storage medium.
背景技术Background technique
在无线网络系统中,需要支持多网络平面技术,即将一个电信物理设备或逻辑功能实体同时连接到多个网络上。简而言之,就是一个主机或逻辑功能实体上有多个物理网络接口或者多个虚拟的网络接口,这些接口分别连接不同的网络,这些网络之间一般是相互独立的,如管理网络、信令网络、数据网络、计费网络等。由于电信系统对可靠性的要求非常高,因此系统会通过配置多网络平面来避免不同网络流量的相互影响,提高系统的健壮性。In the wireless network system, it is necessary to support multi-network plane technology, that is, a telecommunication physical device or logical functional entity is connected to multiple networks at the same time. In short, there are multiple physical network interfaces or multiple virtual network interfaces on a host or logical functional entity. These interfaces are connected to different networks. These networks are generally independent of each other, such as management network and information. Make network, data network, billing network, etc. Since the telecommunications system has very high requirements for reliability, the system will configure multiple network planes to avoid the mutual influence of different network traffic and improve the robustness of the system.
在网络功能虚拟化(Network Functions Virtualization,NFV)系统中,NFV系统支持虚机的多网络平面连接,但不支持容器的多网络平面连接。一个采用虚机实例化构建的虚拟网络功能(Virtualized Network Function,VNF),其VNF内的虚机可以分配多个网际互连协议(Internet Protocol,IP)地址,接入多个网络平面。但一个采用容器实例化构建的VNF,其VNF内的容器对象如何接入多网络平面是亟待解决的问题。In the Network Functions Virtualization (NFV) system, the NFV system supports the multi-network plane connection of virtual machines, but does not support the multi-network plane connection of containers. A virtual network function (Virtualized Network Function, VNF) constructed by virtual machine instantiation, the virtual machine in the VNF can be assigned multiple Internet Protocol (IP) addresses to access multiple network planes. However, for a VNF constructed using container instantiation, how the container objects in the VNF can access multiple network planes is an urgent problem to be solved.
发明内容Summary of the invention
本申请实施例提供一种连接方法、装置、设备和存储介质,有效实现了支持容器VNF中每个容器对象连接到多网络平面。The embodiments of the present application provide a connection method, device, device, and storage medium, which effectively realizes that each container object in the container VNF is supported to be connected to multiple network planes.
本申请实施例提供一种连接方法,应用于第一通信节点,包括:The embodiment of the present application provides a connection method applied to a first communication node, including:
对容器虚拟网络功能VNF中每个容器对象的多网络平面信息模板进行生命周期管理;所述多网络平面信息模板的生命周期管理至少包括下述一项操作:所述容器对象的多网络平面信息模板的创建操作、更新操作、删除操作。The life cycle management of the multi-network plane information template of each container object in the container virtual network function VNF; the life-cycle management of the multi-network plane information template includes at least one of the following operations: the multi-network plane information of the container object Template creation, update, and delete operations.
本申请实施例提供一种连接方法,应用于第二通信节点,包括:The embodiment of the present application provides a connection method applied to a second communication node, including:
接收第一通信节点发送的容器对象的生命周期管理操作指令,所述生命周期管理操作指令包括下述一项:容器对象的创建操作指令、更新操作指令、删除操作指令;Receiving a life cycle management operation instruction of the container object sent by the first communication node, where the life cycle management operation instruction includes one of the following: a creation operation instruction, an update operation instruction, and a deletion operation instruction of the container object;
接收第一通信节点发送的所述容器对象的多网络平面信息模板和多网络平面路由信息;Receiving the multi-network plane information template and multi-network plane routing information of the container object sent by the first communication node;
根据所述容器对象的多网络平面信息模板和所述多网络平面路由信息创建、更新或释放容器对象实例与多网络平面的网络拓扑连接。Create, update or release a network topology connection between the container object instance and the multi-network plane according to the multi-network plane information template of the container object and the multi-network plane routing information.
本申请实施例提供一种连接装置,应用于第一通信节点,包括:The embodiment of the present application provides a connection device, which is applied to a first communication node, and includes:
第一管理模块,配置为对容器虚拟网络功能VNF中每个容器对象的多网络平面信息模板进行生命周期管理;所述多网络平面信息模板的生命周期管理至少包括下述一项操作:所述容器对象的多网络平面信息模板的创建操作、更新操作、删除操作。The first management module is configured to perform life cycle management on the multi-network plane information template of each container object in the container virtual network function VNF; the life-cycle management of the multi-network plane information template includes at least one of the following operations: Create, update, and delete the multi-network plane information template of the container object.
本申请实施例提供一种连接装置,应用于第二通信节点,包括:The embodiment of the present application provides a connection device, which is applied to a second communication node, and includes:
第一接收模块,配置为接收第一通信节点发送的容器对象的生命周期管理操作指令,所述生命周期管理操作指令包括下述一项:容器对象的创建操作指令、更新操作指令、删除操作指令;The first receiving module is configured to receive the life cycle management operation instruction of the container object sent by the first communication node. The life cycle management operation instruction includes one of the following: a container object creation operation instruction, an update operation instruction, and a delete operation instruction ;
第二接收模块,配置为接收第一通信节点发送的所述容器对象的多网络平面信息模板和多网络平面路由信息;The second receiving module is configured to receive the multi-network plane information template and multi-network plane routing information of the container object sent by the first communication node;
第二管理模块,配置为根据所述容器对象的多网络平面信息模板和所述多网络平面路由信息创建、更新或释放所述容器对象实例与多网络平面的网络拓扑连接。The second management module is configured to create, update or release the network topology connection between the container object instance and the multi-network plane according to the multi-network plane information template of the container object and the multi-network plane routing information.
本申请实施例提供一种设备,包括:存储器,以及一个或多个处理器;An embodiment of the present application provides a device, including: a memory, and one or more processors;
所述存储器,配置为存储一个或多个程序;The memory is configured to store one or more programs;
当所述一个或多个程序被所述一个或多个处理器执行,使得所述一个或多个处理器实现上述任一实施例所述的方法。When the one or more programs are executed by the one or more processors, the one or more processors implement the method described in any one of the foregoing embodiments.
本申请实施例提供了一种存储介质,所述存储介质存储有计算机程序,所述计算机程序被处理器执行时实现上述任一实施例所述的方法。An embodiment of the present application provides a storage medium that stores a computer program, and when the computer program is executed by a processor, the method described in any of the foregoing embodiments is implemented.
附图说明Description of the drawings
图1是相关技术中提供的一种NFV系统的架构图;Figure 1 is an architecture diagram of an NFV system provided in related technologies;
图2是相关技术中提供的另一种NFV系统的架构图;Figure 2 is an architecture diagram of another NFV system provided in related technologies;
图3是本申请实施例提供的一种连接方法的流程图;FIG. 3 is a flowchart of a connection method provided by an embodiment of the present application;
图4是本申请实施例提供的另一种连接方法的流程图;FIG. 4 is a flowchart of another connection method provided by an embodiment of the present application;
图5是本申请实施例提供的一种容器对象的网络拓扑示意图;FIG. 5 is a schematic diagram of a network topology of a container object provided by an embodiment of the present application;
图6是本申请实施例提供的一种创建多网络平面信息模板的流程图;FIG. 6 is a flowchart of creating a multi-network plane information template provided by an embodiment of the present application;
图7是本申请实施例提供的一种创建容器对象实例的网络拓扑的流程图;FIG. 7 is a flowchart of a network topology for creating a container object instance provided by an embodiment of the present application;
图8是本申请实施例提供的一种更新容器对象的网络连接的流程图;FIG. 8 is a flowchart of a network connection for updating container objects according to an embodiment of the present application;
图9是本申请实施例提供的一种释放多网络平面的流程图;FIG. 9 is a flowchart of releasing multiple network planes according to an embodiment of the present application;
图10是本申请实施例提供的一种连接装置的结构框图;FIG. 10 is a structural block diagram of a connection device provided by an embodiment of the present application;
图11是本申请实施例提供的另一种连接装置的结构框图;FIG. 11 is a structural block diagram of another connection device provided by an embodiment of the present application;
图12是本申请实施例提供的一种设备的结构示意图。Fig. 12 is a schematic structural diagram of a device provided by an embodiment of the present application.
具体实施方式Detailed ways
下文中将结合附图对本申请的实施例进行说明。Hereinafter, the embodiments of the present application will be described with reference to the drawings.
在开源技术中,比如,Kubernetes,其容器对象(如POD),只能分配单个IP地址连接单网络平面,无法直接支持多网络平面接入。多个厂家提供了基于插件的多网络平面接入解决方案,但因多网络平面没有标准化的统一数据模型,导致每个厂家的NFV产品无法互相兼容及互联互通,NFV产品无法真正大规模商用。In open source technologies, such as Kubernetes, its container objects (such as POD) can only allocate a single IP address to connect to a single network plane, and cannot directly support multi-network plane access. Many manufacturers have provided plug-in-based multi-network plane access solutions, but because the multi-network plane does not have a standardized unified data model, the NFV products of each manufacturer cannot be compatible and interconnected, and NFV products cannot be truly commercialized on a large scale.
因此,需要增强的NFV系统,使其在容器VNF的生命周期管理操作中,如VNF实例化构建及更新操作,新增定义并支持统一的多网络平面数据模板,支持容器VNF中的各个容器对象连接多网络平面的技术方案,使得在NFV系统中能增强支持VNF内的容器对象连接多网络平面。Therefore, an enhanced NFV system is needed to enable it in container VNF lifecycle management operations, such as VNF instantiation construction and update operations, newly define and support a unified multi-network plane data template, and support each container object in the container VNF The technical solution of connecting multiple network planes makes it possible to enhance the support of container objects in the VNF to connect to multiple network planes in the NFV system.
NFV是一种通过使用通用硬件以及虚拟化技术来承载其他功能的软件处理技术,旨在降低网络昂贵的设备成本。NFV通过软硬件解耦及功能抽象,使网络设备功能不再依赖于专用硬件,资源可以充分灵活共享,实现新业务的快速开发和部署,并基于实际业务需求进行自动部署、弹性伸缩、故障隔离和自愈等。NFV is a software processing technology that uses general-purpose hardware and virtualization technology to carry other functions, and aims to reduce the cost of expensive network equipment. Through software and hardware decoupling and functional abstraction, NFV makes network equipment functions no longer depend on dedicated hardware, resources can be fully and flexibly shared, rapid development and deployment of new services, and automatic deployment, elastic scaling, and fault isolation based on actual business needs And self-healing etc.
图1是相关技术中提供的一种NFV系统的架构图。如图1所示,欧洲电信标准协会(European Telecommunications Standards Institute,ETSI)定义的NFV系统架构包含:业务运营支撑系统和管理支撑平台(Operation-Support System/Business Support System,OSS/BSS)、VNF、网络功能虚拟化基础设施(Network Functions Virtualization Infrastructure,NFVI)和网络功能虚拟化管理和编排系统(NFV-Management and Orchestration,NFV-MANO)。NFVI负责将计算、存储以及网络等硬件资源全面虚拟化,并映射成虚拟资源;VNF利用软件实现各种传统的物理网络功能,VNF运行在NFVI之上,使用的是经过NFVI 虚拟化后的虚拟资源。NFV-MANO负责管理和编排VNF和NFVI之间的关系以及VNF之间和\或VNF与其他物理网络功能(Physical Network Functions,PNF)之间的连接关系。Figure 1 is an architecture diagram of an NFV system provided in related technologies. As shown in Figure 1, the NFV system architecture defined by the European Telecommunications Standards Institute (ETSI) includes: business operation support system and management support platform (Operation-Support System/Business Support System, OSS/BSS), VNF, Network Function Virtualization Infrastructure (NFVI) and Network Function Virtualization Management and Orchestration System (NFV-Management and Orchestration, NFV-MANO). NFVI is responsible for comprehensively virtualizing hardware resources such as computing, storage, and networking, and mapping them into virtual resources; VNF uses software to implement various traditional physical network functions. VNF runs on NFVI and uses virtualized virtual resources after NFVI virtualization. resource. NFV-MANO is responsible for managing and orchestrating the relationship between VNF and NFVI and the connection relationship between VNF and/or between VNF and other physical network functions (Physical Network Functions, PNF).
NFV-MANO包含:虚拟化基础设施管理器(Virtualized Infrastructure Manager,VIM)、虚拟网络功能管理器(Virtualized Network Function Manager,VNFM)和网络虚拟化功能编排器(Network Function Virtualization Orchestrator,NFVO)。VIM负责控制和管理虚拟化资源。另外VIM还可包含物理基础设施管理(Physical Infrastructure Manager,PIM)功能,负责对裸机资源进行管理,例如物理服务器;VNFM负责VNF的生命周期管理;NFVO负责对虚拟基础设施的编排和管理,以及对网络服务(Network Service,NS)的生命周期管理。NFV-MANO includes: Virtualized Infrastructure Manager (VIM), Virtualized Network Function Manager (VNFM), and Network Virtualization Function Orchestrator (NFVO). VIM is responsible for controlling and managing virtualized resources. In addition, VIM can also include physical infrastructure management (Physical Infrastructure Manager, PIM) functions, responsible for the management of bare metal resources, such as physical servers; VNFM is responsible for VNF life cycle management; NFVO is responsible for the orchestration and management of virtual infrastructure, and Network service (Network Service, NS) life cycle management.
图1所示的NFV系统架构图仅支持以虚机(Virtual Machine,VM)方式构建VNF的网络功能虚拟化技术,对于发展中的如何以容器方式构建VNF的网络功能虚拟化技术,需要对图1的NFV系统架构图进行增强。图2是相关技术中提供的另一种NFV系统的架构图。如图2所示,在MANO侧增加容器基础设施服务管理(Container Infrastructure Service Management,CISM)用于容器服务管理与编排,在NFVI侧增加容器服务环境(Container Infrastructure Service Environment,CISE)用于提供容器运行环境,及提供创建容器所需的计算、网络、存储资源。CISM与CISE采用容器网络接口(Container Network Interface,CNI)接口协议进行连接及数据交互。The NFV system architecture diagram shown in Figure 1 only supports the virtual machine (Virtual Machine, VM) method to construct the network function virtualization technology of VNF. For the development of how to construct the VNF network function virtualization technology in the container method, it is necessary to compare the diagram 1 The NFV system architecture diagram is enhanced. Figure 2 is an architecture diagram of another NFV system provided in related technologies. As shown in Figure 2, Container Infrastructure Service Management (CISM) is added on the MANO side for container service management and orchestration, and Container Infrastructure Service Environment (CISE) is added on the NFVI side to provide containers. Operating environment, and provide computing, network, and storage resources needed to create containers. CISM and CISE adopt the Container Network Interface (CNI) interface protocol for connection and data exchange.
NFV系统的基本功能是:对NS及VNF及虚拟网络功能组件(Virtualized Network Function Component,VNFC)进行生命周期管理操作,如创建、弹缩、自愈、释放等操作。在采用虚机方式对NS及VNF进行生命周期管理的情况下,如实例化操作:BSS/OSS会给NFVO下发网络服务描述符(Network Service Descriptor,NSD)及虚拟网络功能描述符(VNF Descriptor,VNFD)模板,NFVO根据NSD进行NS的实例化,生成网络服务实例(Network Service Instance,NSI)及创建VNF之间网络链路虚拟链路(Virtual Link,VL)。VNFM对VNF进行实例化操作,生成虚拟网络功能实例(Virtualized Network Function Instance,VNFI)/虚拟网络功能组件实例(Virtualized Network Function Component Instance,VNFCI),及VNFCI之间的网络连接。The basic function of the NFV system is to perform lifecycle management operations on NS, VNF, and Virtualized Network Function Component (VNFC), such as creation, shrinking, self-healing, and release. In the case of using virtual machines to manage the life cycle of NS and VNF, such as instantiation operation: BSS/OSS will issue Network Service Descriptor (NSD) and Virtual Network Function Descriptor (VNF Descriptor) to NFVO , VNFD) template, NFVO instantiates NS according to NSD, generates network service instance (Network Service Instance, NSI) and creates network link virtual link (Virtual Link, VL) between VNFs. The VNFM instantiates the VNF to generate a virtual network function instance (Virtualized Network Function Instance, VNFI)/Virtualized Network Function Component Instance (VNFCI), and network connections between VNFCIs.
在一实施例中,本申请提供一种连接方法,使其在容器VNF的生命周期管理操作中,新增定义并支持统一的多网络平面信息模板,以支持容器VNF中每个容器对象连接多网络平面。In one embodiment, the present application provides a connection method to newly define and support a unified multi-network plane information template in the life cycle management operation of a container VNF to support multiple connections for each container object in the container VNF. Network plane.
在一实现方式中,图3是本申请实施例提供的一种连接方法的流程图。本实施例应用于第一通信节点。示例性地,第一通信节点可以为CISM。如图3所 示,本实施例包括S110。In an implementation manner, FIG. 3 is a flowchart of a connection method provided by an embodiment of the present application. This embodiment is applied to the first communication node. Exemplarily, the first communication node may be CISM. As shown in Figure 3, this embodiment includes S110.
S110、对容器VNF中每个容器对象的多网络平面信息模板进行生命周期管理。S110. Perform life cycle management on the multi-network plane information template of each container object in the container VNF.
在实施例中,多网络平面信息模板的生命周期管理至少包括下述一项操作:容器对象的多网络平面信息模板的创建操作、更新操作、删除操作。In the embodiment, the life cycle management of the multi-network plane information template includes at least one of the following operations: creation operation, update operation, and deletion operation of the multi-network plane information template of the container object.
在实施例中,CISM接收到容器VNF中每个容器对象的多网络平面属性信息之后,根据多网络平面属性信息构建多网络平面信息模板,并根据不同的操作指令对多网络信息模板进行创建、更新或删除等操作。在实施例中,容器VNF中的容器对象连接到多网络平面,每个容器对象可以同时与多个网络平面进行数据通信。In the embodiment, after the CISM receives the multi-network plane attribute information of each container object in the container VNF, it constructs the multi-network plane information template according to the multi-network plane attribute information, and creates the multi-network information template according to different operation instructions. Update or delete operations. In the embodiment, the container objects in the container VNF are connected to multiple network planes, and each container object can perform data communication with multiple network planes at the same time.
在一实施例中,服务于容器VNF的VNFD包括:容器对象的多网络平面属性信息,以及容器对象的多网络平面路由信息。在实施例中,容器VNF的VNFD指的是容器VNF的VNFD模板,即在VNFD模板中包括:容器对象的多网络平面属性信息,以及容器对象的多网络平面路由信息。In an embodiment, the VNFD serving the container VNF includes: multi-network plane attribute information of the container object, and multi-network plane routing information of the container object. In the embodiment, the VNFD of the container VNF refers to the VNFD template of the container VNF, that is, the VNFD template includes: the multi-network plane attribute information of the container object and the multi-network plane routing information of the container object.
在一实施例中,容器对象的多网络平面属性信息至少包括下述之一:至少两个逻辑网络平面的网络名称、标识(IDentifier,ID)、网络属性,容器对象的网络节点属性,容器对象与多个逻辑网络对象的连接关系。In an embodiment, the multi-network plane attribute information of the container object includes at least one of the following: network names, identifiers (IDentifier, ID), network attributes of at least two logical network planes, network node attributes of the container object, and container objects Connection relationship with multiple logical network objects.
在一实施例中,容器对象的多网络平面路由信息至少包括下述之一:物理网络的虚拟网络接口卡(virtual NIC,vNIC)/网络接口卡(Network Interface Card,NIC)网络节点属性,容器对象连接的多个逻辑网络对象与物理网络对象的网络路由连接关系。In an embodiment, the multi-network plane routing information of the container object includes at least one of the following: virtual network interface card (virtual NIC, vNIC)/network interface card (Network Interface Card, NIC) network node attributes of the physical network, container The network routing connection relationship between the multiple logical network objects connected by the object and the physical network object.
在一实施例中,在对容器VNF中每个容器对象的多网络平面信息模板进行生命周期管理之前,还包括:接收第三通信节点发送的容器对象的多网络平面属性信息,以及容器对象的多网络平面路由信息;接收第三通信节点发送的容器VNF中每个容器对象的生命周期管理操作请求。In an embodiment, before the life cycle management of the multi-network plane information template of each container object in the container VNF, the method further includes: receiving the multi-network plane attribute information of the container object sent by the third communication node, and the container object Multi-network plane routing information; receiving the life cycle management operation request of each container object in the container VNF sent by the third communication node.
在实施例中,第三通信节点可以为VNFM。In an embodiment, the third communication node may be a VNFM.
在一实施例中,对容器VNF中每个容器对象的多网络平面信息模板进行生命周期管理,包括:根据容器对象的多网络平面属性信息,创建或更新容器对象的多网络平面信息模板;通知第二通信节点创建、更新或删除容器对象实例;向第二通信节点发送多网络平面信息模板和容器对象的多网络平面路由信息。In an embodiment, performing life cycle management on the multi-network plane information template of each container object in the container VNF includes: creating or updating the multi-network plane information template of the container object according to the multi-network plane attribute information of the container object; The second communication node creates, updates, or deletes the container object instance; and sends the multi-network plane information template and the multi-network plane routing information of the container object to the second communication node.
图4是本申请实施例提供的另一种连接方法的流程图。本实施例应用于第二通信节点。示例性地,第二通信节点可以为容器基础设施服务(Container Infrastructure Service,CIS)。如图4所示,本实施例包括:S210-S230。Fig. 4 is a flowchart of another connection method provided by an embodiment of the present application. This embodiment is applied to the second communication node. Exemplarily, the second communication node may be a container infrastructure service (Container Infrastructure Service, CIS). As shown in Figure 4, this embodiment includes: S210-S230.
S210、接收第一通信节点发送的容器对象的生命周期管理操作指令。S210: Receive a life cycle management operation instruction of the container object sent by the first communication node.
在实施例中,生命周期管理操作指令包括下述一项:容器对象的创建操作指令、更新操作指令、删除操作指令。In the embodiment, the life cycle management operation instruction includes one of the following: a creation operation instruction, an update operation instruction, and a deletion operation instruction of the container object.
S220、接收第一通信节点发送的容器对象的多网络平面信息模板和容器对象的多网络平面路由信息。S220: Receive the multi-network plane information template of the container object and the multi-network plane routing information of the container object sent by the first communication node.
S230、根据容器对象的多网络平面信息模板和容器对象的多网络平面路由信息创建、更新或释放容器对象实例与多网络平面的网络拓扑连接。S230: Create, update or release the container object instance and the network topology connection of the multi-network plane according to the multi-network plane information template of the container object and the multi-network plane routing information of the container object.
在一实施例中,根据容器对象的多网络平面信息模板和容器对象的多网络平面路由信息创建、更新或释放容器对象实例与多网络平面的网络拓扑连接,包括:根据容器对象的生命周期管理操作指令创建、更新或删除容器对象实例;根据容器对象的多网络平面信息模板和容器对象的多网络平面路由信息创建、更新或释放容器对象实例与多网络平面的网络拓扑连接。In an embodiment, the creation, update or release of the container object instance and the network topology connection of the multi-network plane according to the multi-network plane information template of the container object and the multi-network plane routing information of the container object includes: management according to the life cycle of the container object Operation instructions create, update or delete a container object instance; create, update or release the network topology connection of the container object instance and the multi-network plane according to the multi-network plane information template of the container object and the multi-network plane routing information of the container object.
在一实施例中,在根据容器对象的多网络平面信息模板和容器对象的多网络平面路由信息创建、更新或释放容器对象实例与多网络平面的网络拓扑连接之后,还包括:将容器对象实例的多网络平面网络拓扑结构的配置信息发送至所属的容器对象实例;容器对象实例用于向目标应用上报多网络平面拓扑结构的配置信息。In an embodiment, after creating, updating or releasing the container object instance and the network topology of the multi-network plane according to the multi-network plane information template of the container object and the multi-network plane routing information of the container object, the method further includes: connecting the container object instance The configuration information of the multi-network plane network topology is sent to the container object instance to which it belongs; the container object instance is used to report the configuration information of the multi-network plane topology to the target application.
在一实施例中,应用于第二通信节点的连接方法,还包括:向第一通信节点发送创建、更新、或删除成功的反馈信息。在实施例中,在容器对象实例的多网络平面网络拓扑结构成功创建、更新或删除之后,可通过CIS向CISM发送创建、更新、或删除成功的反馈信息,并通过CISM向VNFM反馈,然后再通过VNFM向NFVO反馈,直至反馈至OSS/BSS为止。In an embodiment, the connection method applied to the second communication node further includes: sending feedback information of successful creation, update, or deletion to the first communication node. In an embodiment, after the multi-network plane network topology of the container object instance is successfully created, updated, or deleted, feedback information of successful creation, update, or deletion can be sent to CISM through CIS, and feedback to VNFM through CISM, and then Feed back to NFVO through VNFM until it is fed back to OSS/BSS.
在实施例中,采用支持容器的NFV增强系统,在通过操作容器对象方式对容器VNF进行生命周期管理操作的情况下,如VNF实例化、VNF实例更新等操作,首先需要对服务于容器VNF的VNFD进行增强扩展,在VNFD中增加容器对象的多网络平面属性信息(即多个逻辑网络对象的定义,以及容器对象与多个逻辑网络对象如何连接的定义),以及容器对象的多网络平面路由信息(容器对象的多网络平面路由信息是指描述连接该容器对象的多个逻辑网络对象与一个或多个物理网络对象的网络路由连接关系的信息),然后由CISM构建服务于容器对象的多网络平面信息模板。In the embodiment, the container-supported NFV enhancement system is adopted. When the container VNF is operated by operating the container object to perform life cycle management operations, such as VNF instantiation, VNF instance update, etc., it is first necessary to perform operations on the container VNF that serves the container. The VNFD is enhanced and extended, and the multi-network plane attribute information of the container object (that is, the definition of multiple logical network objects, and the definition of how the container object and multiple logical network objects are connected), and the multi-network plane routing of the container object are added to the VNFD Information (the multi-network plane routing information of a container object refers to the information describing the network routing connection relationship between multiple logical network objects connecting the container object and one or more physical network objects), and then CISM constructs a multi-layer service for the container object Network plane information template.
CISM将已构建的该容器对象的多网络平面信息模板,以及该容器对象的多网络平面路由信息,通过CNI接口协议发送给CIS。The CISM sends the constructed multi-network plane information template of the container object and the multi-network plane routing information of the container object to the CIS through the CNI interface protocol.
在容器对象实例化过程中,CIS根据容器对象的多网络平面信息模板,及容 器对象的多网络平面路由信息,由CIS构建容器对象实例的多网络平面网络拓扑结构(容器对象与多个逻辑网络对象的虚拟或物理网络连接,逻辑网络对象与物理网络对象的虚拟或物理网络连接)。In the process of instantiating the container object, CIS constructs the multi-network plane network topology of the container object instance (container object and multiple logical networks) according to the multi-network plane information template of the container object and the multi-network plane routing information of the container object. The virtual or physical network connection of the object, the virtual or physical network connection of the logical network object and the physical network object).
在容器对象实例化完成后,CIS将各个容器对象的多网络平面网络拓扑配置信息发送给相应的容器对象实例,由容器对象实例传递给上层应用。After the container object is instantiated, the CIS sends the multi-network plane network topology configuration information of each container object to the corresponding container object instance, and the container object instance passes it to the upper application.
在实施例中,需要对服务于容器对象的VNFD进行拓展,以支持容器对象的多网络平面接入:在VNFD中需要增加容器对象的多网络平面属性信息,包括但不限于多个逻辑网络对象的网络名称、ID、网络属性(比如,互联网协议版本4(Internet Protocol Version 4,IPv4)/互联网协议版本6(Internet Protocol Version 6,IPv6)地址及端口等),容器对象对外连接的网络节点属性(比如,IPv4/IPv6地址及端口等),容器对象与多个逻辑网络对象的连接关系(比如,容器对象的eth0接入到Msc管理网络,eth1接入到sig信令网络),容器对象连接的逻辑网络插件信息(比如,Flannel插件,calico插件,canel插件,kube-router等)等。另外,在VNFD中需要扩展容器对象的多网络平面路由信息,包括但不限于物理网络的vNIC/NIC网络节点属性(比如,IPv4/IPv6地址及端口等),逻辑网络对象与物理网络对象的网络路由连接关系等(比如,容器对象1的sig网络通过网络路由连接物理网络的NIC/vNIC1,Msc网络通过网络路由连接物理网络的NIC/vNIC2)。图5是本申请实施例提供的一种容器对象的网络拓扑示意图。如图5所示,容器集群节点(cluster node),可以看作是CIS的一个实例。In the embodiment, the VNFD serving the container object needs to be expanded to support the multi-network plane access of the container object: the multi-network plane attribute information of the container object needs to be added in the VNFD, including but not limited to multiple logical network objects The network name, ID, network attributes (for example, Internet Protocol Version 4 (Internet Protocol Version 4, IPv4)/Internet Protocol Version 6 (Internet Protocol Version 6, IPv6) address and port, etc.), the attributes of the network node that the container object is connected to (For example, IPv4/IPv6 address and port, etc.), the connection relationship between the container object and multiple logical network objects (for example, the eth0 of the container object is connected to the Msc management network, and eth1 is connected to the sig signaling network), and the container object is connected Logical network plug-in information (for example, Flannel plug-in, calico plug-in, canel plug-in, kube-router, etc.) and so on. In addition, the multi-network plane routing information of the container object needs to be expanded in the VNFD, including but not limited to the vNIC/NIC network node attributes of the physical network (for example, IPv4/IPv6 address and port, etc.), the network of logical network objects and physical network objects Routing connection relationship, etc. (for example, the sig network of container object 1 is connected to NIC/vNIC1 of the physical network through network routing, and the Msc network is connected to NIC/vNIC2 of the physical network through network routing). FIG. 5 is a schematic diagram of a network topology of a container object provided by an embodiment of the present application. As shown in Figure 5, the container cluster node (cluster node) can be regarded as an example of CIS.
在实施例中,VNFM需要对VNFD进行解析,取出VNFD中描述的每个容器对象的多网络平面属性信息,将该容器对象的多网络平面属性信息发送给CISM。同时,VNFM还取出VNFD中的容器对象的多网络平面路由信息,即描述多网络平面与物理网络的网络连接关系的信息,同时发给CISM。In the embodiment, the VNFM needs to parse the VNFD, extract the multi-network plane attribute information of each container object described in the VNFD, and send the multi-network plane attribute information of the container object to the CISM. At the same time, the VNFM also takes out the multi-network plane routing information of the container object in the VNFD, that is, the information describing the network connection relationship between the multi-network plane and the physical network, and sends it to the CISM at the same time.
在实施例中,CISM根据容器对象的多网络平面属性信息,构建该容器对象的多网络平面信息模板,其中包含容器对象连接的多个逻辑网络的信息,容器对象网络节点的信息,多个逻辑网络与容器对象之间的网络连接关系,支持多网络平面的插件信息等。In the embodiment, CISM constructs the multi-network plane information template of the container object according to the multi-network plane attribute information of the container object, which contains the information of the multiple logical networks connected by the container object, the information of the network node of the container object, and the multiple logic The network connection relationship between the network and the container object, the plug-in information supporting multiple network planes, etc.
在实施例中,CISM通过CNI接口协议将多网络平面信息模板,以及该容器对象的多网络平面路由信息(即描述多个逻辑网络对象与一个或多个物理网络对象的网络连接关系的信息),发送给CIS。In the embodiment, the CISM uses the CNI interface protocol to combine the multi-network plane information template and the multi-network plane routing information of the container object (that is, information describing the network connection relationship between multiple logical network objects and one or more physical network objects) , Sent to CIS.
CIS在创建容器对象实例时,根据该容器对象的多网络平面信息模板,以及该容器对象的多个逻辑网络对象与物理网络对象的网络连接关系,创建容器对象实例的网络节点、节点与多个逻辑网络对象的网络拓扑,逻辑网络对象与物 理网络对象的网络拓扑,最终生成容器对象实例的多网络平面网络拓扑结构,实现该VNF内的各个容器对象实例连接到多网络平面。When CIS creates a container object instance, it creates the network node, node, and multiple network nodes of the container object instance according to the multi-network plane information template of the container object and the network connection relationship between the multiple logical network objects of the container object and the physical network object. The network topology of the logical network object, the network topology of the logical network object and the physical network object, finally generates a multi-network plane network topology structure of the container object instance, and realizes that each container object instance in the VNF is connected to the multi-network plane.
在实施例中,当VNF实例化完成后,CIS将该VNF实例内的各个容器对象实例的多网络平面网络拓扑配置信息,发送给相应的容器对象实例,包括该容器对象节点的IPv4/IPv6地址及端口,容器对象到多网络平面的网络路由信息,多网络平面节点的IP地址,物理网络的NIC/vNIC IPv4/IPv6地址及端口,多网络平面到物理网络平面的网络路由信息等。容器对象将多网络平面网络拓扑配置信息上报给上层应用,上层应用根据容器对象的网络拓扑配置,实现对容器对象实例的数据传输监控。In the embodiment, after the instantiation of the VNF is completed, the CIS sends the multi-network plane network topology configuration information of each container object instance in the VNF instance to the corresponding container object instance, including the IPv4/IPv6 address of the container object node And ports, the network routing information from the container object to the multi-network plane, the IP address of the multi-network plane node, the NIC/vNIC IPv4/IPv6 address and port of the physical network, the network routing information from the multi-network plane to the physical network plane, etc. The container object reports the network topology configuration information of the multi-network plane to the upper-layer application, and the upper-layer application realizes the data transmission monitoring of the container object instance according to the network topology configuration of the container object.
在一实现方式中,图6是本申请实施例提供的一种创建多网络平面信息模板的流程图。在实施例中,对VNF中每个容器对象的多网络平面信息模板的创建过程进行描述。在VNFD模板中包含容器对象的多网络平面属性信息及容器对象的多网络平面路由信息。在实例化容器VNF时,CISM根据VNFD中的容器对象的多网络平面属性信息创建VNF容器对象的多网络平面信息模板,并通过CNI接口协议发送给CIS。In an implementation manner, FIG. 6 is a flowchart of creating a multi-network plane information template provided by an embodiment of the present application. In the embodiment, the creation process of the multi-network plane information template of each container object in the VNF is described. The VNFD template contains the multi-network plane attribute information of the container object and the multi-network plane routing information of the container object. When instantiating the container VNF, CISM creates a multi-network plane information template of the VNF container object according to the multi-network plane attribute information of the container object in the VNFD, and sends it to the CIS through the CNI interface protocol.
如图6所示,本实施例包括:S310-S380。As shown in Figure 6, this embodiment includes: S310-S380.
S310、编排服务于容器对象的VNFD模板。S310. Arrange a VNFD template serving the container object.
在实施例中,容器VNF所需的VNFD模板,在VNFD模板中增加容器对象的多网络平面属性信息。另外,在VNFD模板中还需增加容器对象的多网络平面路由信息。In the embodiment, for the VNFD template required by the container VNF, the multi-network plane attribute information of the container object is added to the VNFD template. In addition, the multi-network plane routing information of the container object needs to be added to the VNFD template.
在VNFD模板中增加容器对象的多网络平面属性信息,包括但不限于多个逻辑网络对象的网络名称、ID、网络节点属性(比如,IPv4/IPv6地址及端口等),容器对象的网络节点属性(比如,IPv4/v6地址及端口等),容器对象与多个逻辑网络对象的连接关系(如容器对象的eth0接入到Msc管理网络,eth1接入到信令(sig)网络),容器对象连接的逻辑网络插件信息(如flannel插件,calico插件,canel插件,kube-router...)等。Add the multi-network plane attribute information of the container object to the VNFD template, including but not limited to the network name, ID, network node attributes of multiple logical network objects (for example, IPv4/IPv6 address and port, etc.), and the network node attributes of the container object (For example, IPv4/v6 address and port, etc.), the connection relationship between the container object and multiple logical network objects (for example, eth0 of the container object is connected to the Msc management network, and eth1 is connected to the signaling (sig) network), and the container object Connected logical network plug-in information (such as flannel plug-in, calico plug-in, canel plug-in, kube-router...), etc.
在VNFD模板中增加容器对象的多网络平面路由信息,包括但不限于容器对象连接的多个逻辑网络对象与物理网络对象的连接关系等(比如,容器对象1的sig网络连接物理网络的NIC/vNIC1,Msc网络连接物理网络的NIC/vNIC2),物理网络的vNIC/NIC网络节点属性(IPv4/IPv6地址及端口等)等。Add the multi-network plane routing information of the container object to the VNFD template, including but not limited to the connection relationship between multiple logical network objects connected to the container object and the physical network object (for example, the sig network of container object 1 is connected to the NIC of the physical network) vNIC1, the Msc network is connected to the physical network's NIC/vNIC2), the physical network's vNIC/NIC network node attributes (IPv4/IPv6 address and port, etc.), etc.
示例性地,在创建某个VNF内的容器对象与多个逻辑网络对象(如信令(sig)平面,管理(management)平面、数据(data)平面、计费(charge)网络平面)的拓扑,需在VNFD中编排所述多个逻辑网络对象的属性,容器对象的网络节 点属性,容器对象与多个逻辑网络对象的网络连接关系,物理网络节点属性,逻辑网络与物理网络的网络路由连接关系。这样可以在实例化容器对象时,创建容器对象到多个逻辑网络对象的连接,以及多个逻辑网络对象到物理网络对象的连接。Exemplarily, when creating a container object in a certain VNF and multiple logical network objects (such as signaling (sig) plane, management (management) plane, data (data) plane, charging (charge) network plane) topology , It is necessary to arrange the attributes of the multiple logical network objects in the VNFD, the network node attributes of the container object, the network connection relationship between the container object and multiple logical network objects, the physical network node attributes, and the network routing connection between the logical network and the physical network relation. In this way, when the container object is instantiated, the connection of the container object to multiple logical network objects and the connection of multiple logical network objects to the physical network object can be created.
S320、将编排的NSD及服务于容器VNF的VNFD模板上载至NFVO。S320. Upload the arranged NSD and the VNFD template serving the container VNF to the NFVO.
S330、NFVO将容器VNF关联的每个VNFD模板下发至VNFM。S330. The NFVO delivers each VNFD template associated with the container VNF to the VNFM.
S340、向NFVO发起NS/VNF实例化请求。S340. Initiate an NS/VNF instantiation request to the NFVO.
在实施例中,在NS实例化请求中携带NSD ID。NFVO根据该NSD中包含的不同类型的VNFD模板ID,向VNFM通知发起组成NS的所有容器VNF的实例化请求(以实例化请求为例,可以是其他VNF的生命周期管理操作,如VNF实例化、弹缩、自愈、终止等操作)。在一实施例中,OSS也可以单独向NFVO发起容器VNF的实例化请求,携带VNFD模板的ID。In the embodiment, the NSD ID is carried in the NS instantiation request. According to the different types of VNFD template IDs contained in the NSD, the NFVO notifies the VNFM to initiate the instantiation request of all container VNFs that make up the NS (taking the instantiation request as an example, it can be the life cycle management operation of other VNFs, such as VNF instantiation) , Resurgence, Self-healing, Termination, etc.). In an embodiment, the OSS may also independently initiate a container VNF instantiation request to the NFVO, carrying the ID of the VNFD template.
S350、NFVO向VNFM发送VNF实例化请求。S350. The NFVO sends a VNF instantiation request to the VNFM.
在实施例中,NFVO向VNFM通知发起VNF实例化请求(以实例化请求为例,可以是其他VNF的生命周期管理操作,如VNF实例化、弹缩、自愈、终止等操作);In an embodiment, NFVO notifies the VNFM to initiate a VNF instantiation request (taking an instantiation request as an example, which can be other VNF lifecycle management operations, such as VNF instantiation, resizing, self-healing, termination, etc.);
S360、解析VNFD模板,取出容器对象的网络属性信息。S360. Parse the VNFD template, and extract the network attribute information of the container object.
在实施例中,在容器VNF的生命周期管理操作中,如对容器VNF进行实例化操作,VNFM需要对其中包含的所有容器对象进行实例化。进行容器VNF的实例化操作时,容器对象的实例化操作由CISM负责,因此VNFM需要对服务于容器对象的VNFD模板进行解析,取出VNFD模板内容器对象的网络属性信息,其中包括多网络平面属性信息、多网络平面路由信息。In the embodiment, in the life cycle management operation of the container VNF, such as instantiating the container VNF, the VNFM needs to instantiate all the container objects contained therein. When the container VNF is instantiated, the CISM is responsible for the instantiation of the container object. Therefore, the VNFM needs to parse the VNFD template serving the container object, and retrieve the network attribute information of the container object in the VNFD template, including multi-network plane attributes. Information, multi-network plane routing information.
S370、将容器对象的网络属性信息发送至CISM。S370. Send the network attribute information of the container object to the CISM.
在实施例中,将容器VNF中每个容器对象的网络属性信息发送给CISM。In the embodiment, the network attribute information of each container object in the container VNF is sent to the CISM.
S380、构建容器对象的多网络平面信息模板。S380. Construct a multi-network plane information template of the container object.
在实施例中,在容器VNF生命周期管理进程中,由CISM负责容器对象的生命周期管理操作,如实例化操作。进行容器对象的实例化操作时,当CISM收到VNFM发送的容器对象的网络属性信息后,依据NFV相关规则或策略,根据容器对象的多网络平面属性信息创建容器对象多网络平面信息模板并进行保存。In the embodiment, in the container VNF life cycle management process, the CISM is responsible for the life cycle management operations of the container objects, such as instantiation operations. When the container object is instantiated, when the CISM receives the network attribute information of the container object sent by the VNFM, it creates a container object multi-network plane information template according to the relevant NFV rules or policies and according to the container object’s multi-network plane attribute information. save.
在实施例中,多网络平面信息模板中的内容不限于下列参数及信息:容器对象的属性,包括容器对象名称,ID,对外节点的网络属性(IPv4/IPv6地址属性),容器对象所属的VNF名称及ID等;容器对象连接的多个逻辑网络对象 的属性信息:不限于多个逻辑网络的数量、名称、ID、类型、连接节点的网络属性(IPv4/IPv6地址属性);容器对象与多个逻辑网络对象(网络性能的约束)的连接关系;关联的逻辑网络对象的网络性能约束;关联的逻辑网络对象输入参数,包括服务质量(Quality of Service,Qos),插件信息(输入及输出要求,包括注入文件格式及参数)In the embodiment, the content in the multi-network plane information template is not limited to the following parameters and information: the attributes of the container object, including the name and ID of the container object, the network attributes of the external node (IPv4/IPv6 address attribute), and the VNF to which the container object belongs Name and ID, etc.; the attribute information of multiple logical network objects connected by the container object: not limited to the number, name, ID, type of multiple logical networks, and the network attributes of the connected nodes (IPv4/IPv6 address attributes); container objects and multiple The connection relationship of each logical network object (network performance constraint); the network performance constraint of the associated logical network object; the input parameters of the associated logical network object, including quality of service (Qos), plug-in information (input and output requirements) , Including injection file format and parameters)
通过该实施例,在NS或VNF的实例化进程中,CISM可以根据容器对象的多网络平面属性信息,进行多网络平面信息模板的构建,用于后续容器对象实例化进程中的容器对象的网络拓扑创建。Through this embodiment, during the instantiation process of NS or VNF, CISM can construct a multi-network plane information template according to the multi-network plane attribute information of the container object, which is used for the network of the container object in the subsequent container object instantiation process. Topology creation.
在一实现方式中,图7是本申请实施例提供的一种创建容器对象实例的网络拓扑的流程图。在实施例中,对容器对象实例网络拓扑的构建过程进行描述。在实施例中,CIS收到CISM发送的容器对象实例化请求,根据该VNF的容器对象的多网络平面信息模板,在节点(node)的容器运行环境中创建该VNF的容器对象所需的各个容器对象实例,为容器对象实例分配计算资源、存储资源,并为容器对象实例构建网络拓扑。In an implementation manner, FIG. 7 is a flowchart of a network topology for creating a container object instance provided by an embodiment of the present application. In the embodiment, the process of constructing the network topology of the container object instance is described. In the embodiment, the CIS receives the container object instantiation request sent by the CISM, and creates the container object of the VNF in the container operating environment of the node according to the multi-network plane information template of the container object of the VNF. The container object instance allocates computing resources and storage resources for the container object instance, and constructs a network topology for the container object instance.
在容器对象实例化完成及其网络拓扑构建完成后,CIS将各个容器对象的网络配置信息发送给对应的各个容器对象,在容器对象上运行的应用程序(Application,APP)可以通过具体的网络地址及路由对数据传输路径进行监控。After the container object is instantiated and its network topology is constructed, CIS sends the network configuration information of each container object to the corresponding container object, and the application (APP) running on the container object can pass the specific network address And routing to monitor the data transmission path.
如图7所示,本实施例包括:S410-S470。As shown in Figure 7, this embodiment includes: S410-S470.
S410、向CISM发送容器对象的实例化请求。S410: Send an instantiation request of the container object to the CISM.
在容器VNF实例化过程中,VNFM通知CISM对VNF内每个容器对象进行实例化操作。During the instantiation of the container VNF, the VNFM informs the CISM to instantiate each container object in the VNF.
S420、向CIS请求创建容器对象实例。S420. Request the CIS to create a container object instance.
在实施例中,CISM将创建VNF内部的容器对象实例所需的计算资源、存储资源需求发送至CIS,请求CIS创建组成VNF的各个容器对象实例。同时,CISM将容器对象的多网络平面信息模板,以及容器对象的多网络平面路由信息,通过CNI接口协议传递给CIS,请求CIS为容器对象实例构建网络连接。In the embodiment, the CISM sends the computing resources and storage resource requirements required to create the container object instance inside the VNF to the CIS, and requests the CIS to create each container object instance that composes the VNF. At the same time, CISM passes the multi-network plane information template of the container object and the multi-network plane routing information of the container object to the CIS through the CNI interface protocol, requesting the CIS to construct a network connection for the container object instance.
S430、创建容器对象实例,并分配计算资源和存储资源。S430. Create a container object instance, and allocate computing resources and storage resources.
在实施例中,CIS在容器运行环境中,创建容器VNF实例中的每个容器对象实例,并分配所需的计算资源及存储资源。In the embodiment, the CIS creates each container object instance in the container VNF instance in the container operating environment, and allocates required computing resources and storage resources.
S440、构建每个容器对象的网络拓扑。S440. Construct a network topology of each container object.
在实施例中,CIS根据CISM发送的多网络平面信息模板,以及容器对象的多网络平面路由信息,为每个容器对象实例的对外连接网络节点分配IP地址及 端口,并为每个容器对象实例构建网络拓扑,即容器对象实例、多个逻辑网络对象、多个虚拟/物理网络对象的网络连接拓扑。In the embodiment, CIS assigns an IP address and port to the externally connected network node of each container object instance according to the multi-network plane information template sent by CISM and the multi-network plane routing information of the container object, and assigns an IP address and port to each container object instance Construct a network topology, that is, a network connection topology of container object instances, multiple logical network objects, and multiple virtual/physical network objects.
CIS保存容器VNF实例内的每个容器对象实例的网络拓扑配置信息,包含容器对象实例的对外连接节点分配的对外IP地址及端口,多个逻辑网络对象节点的IP地址及端口,虚拟/物理网络对象的IP地址及端口,以及三者的网络连接路由信息。CIS saves the network topology configuration information of each container object instance in the container VNF instance, including the external IP address and port assigned by the external connection node of the container object instance, the IP address and port of multiple logical network object nodes, and virtual/physical networks The IP address and port of the object, as well as the network connection routing information of the three.
S450、向CISM发送容器对象实例已创建,实例化完成。S450. Send to the CISM that the container object instance has been created, and the instantiation is complete.
在实施例中,VNF内每个容器对象实例的计算资源、存储资源分配成功,及其网络拓扑成功创建之后,CIS向CISM通知VNF内容器对象实例化完成。在通知消息中,CIS向CISM通知VNF内每个容器对象的网络拓扑已构建完成。In the embodiment, after the computing resources and storage resources of each container object instance in the VNF are successfully allocated, and the network topology is successfully created, the CIS notifies the CISM of the completion of the instantiation of the VNF content container object. In the notification message, CIS notifies CISM that the network topology of each container object in the VNF has been constructed.
S460、对VNF实例进行业务配置,完成VNF实例化。S460. Perform service configuration on the VNF instance, and complete the VNF instantiation.
在实施例中,VNFM继续VNF实例化的后续操作,并对已创建的VNF实例进行业务参数配置,完成容器VNF的实例化操作,后期由网元管理(Element Management,EM)对容器VNF实例进行业务配置及管理。In the embodiment, the VNFM continues the subsequent operations of VNF instantiation, and configures the service parameters of the created VNF instance to complete the instantiation operation of the container VNF. Later, the element management (EM) performs the operation on the container VNF instance. Business configuration and management.
S460、将每个容器对象实例的网络拓扑配置信息发送至容器对象实例。S460. Send the network topology configuration information of each container object instance to the container object instance.
在实施例中,容器VNF实例化完成后,CIS将每个容器对象实例的网络拓扑配置信息,发送给相关的容器对象实例。容器对象实例可进一步向应用上报该配置,用于监控该传输路径。In the embodiment, after the container VNF is instantiated, the CIS sends the network topology configuration information of each container object instance to the relevant container object instance. The container object instance can further report the configuration to the application for monitoring the transmission path.
通过该实施例,在容器VNF的实例化进程中,CISM通知CIS进行VNF内各个容器对象的实例化。CIS在容器运行环境中,创建各个容器对象实例,并根据容器对象的多网络平面信息模板,以及容器对象的多网络平面路由信息,构建各个容器对象实例的网络拓扑,完成容器对象的实例化。容器对象实例化完成后,CISM通知VNFM,由VNFM完成最后的VNF实例化操作。Through this embodiment, during the instantiation process of the container VNF, the CISM notifies the CIS to instantiate each container object in the VNF. CIS creates each container object instance in the container operating environment, and constructs the network topology of each container object instance according to the container object's multi-network plane information template and the container object's multi-network plane routing information, and completes the instantiation of the container object. After the container object is instantiated, CISM notifies the VNFM, and the VNFM completes the final VNF instantiation operation.
在一实现方式中,图8是本申请实施例提供的一种更新容器对象的网络连接的流程图。本实施例描述了更新容器对象多网络平面信息模板的更新过程。In an implementation manner, FIG. 8 is a flowchart for updating a network connection of a container object provided by an embodiment of the present application. This embodiment describes the update process of updating the container object multi-network plane information template.
在实施例中,在VNFD模板中的容器对象的多网络平面属性信息,或容器对象的网络路由属性信息发生变更的情况下,OSS/NFVO发起VNF实例变更请求,更新容器对象实例的网络拓扑。CISM根据变更的容器对象多网络平面属性信息,更新该容器对象的多网络平面信息模板。CISM通知CIS更新该容器对象实例的网络拓扑,CIS根据更新的容器对象多网络平面信息模板,或者更新的容器对象多网络平面路由信息,重新构建VNF实例中该容器对象实例的网络拓扑,完成容器对象的网络连接更新操作。In the embodiment, when the multi-network plane attribute information of the container object in the VNFD template, or the network routing attribute information of the container object is changed, OSS/NFVO initiates a VNF instance change request to update the network topology of the container object instance. CISM updates the multi-network plane information template of the container object according to the changed multi-network plane attribute information of the container object. CISM notifies CIS to update the network topology of the container object instance. CIS rebuilds the network topology of the container object instance in the VNF instance according to the updated container object multi-network plane information template or the updated container object multi-network plane routing information to complete the container. The object's network connection update operation.
如图8所示,本实施例包括:S510-S5120。As shown in Figure 8, this embodiment includes: S510-S5120.
S510、更新服务于容器对象的VNFD模板中的网络属性信息。S510. Update the network attribute information in the VNFD template serving the container object.
在实施例中,在VNFD模板中更新容器对象的网络属性信息,可以是更新容器对象的多网络平面属性信息,也可以是更新容器对象的多网络平面路由信息,也可以二者皆更新。In the embodiment, updating the network attribute information of the container object in the VNFD template may be updating the multi-network plane attribute information of the container object, or updating the multi-network plane routing information of the container object, or both.
示例性地,更新多网络平面属性信息,可以是变更逻辑网络对象与容器对象的连接关系,或增加、减少逻辑网络对象;再如更新容器对象的多网络平面路由信息,可以变更逻辑网络对象于虚拟/物理网络对象的网络连接关系。Exemplarily, updating the multi-network plane attribute information can be to change the connection relationship between the logical network object and the container object, or to increase or decrease the logical network object; for example, to update the multi-network plane routing information of the container object, the logical network object can be changed. The network connection relationship of virtual/physical network objects.
S520、将更新的VNFD模板上载至NFVO。S520. Upload the updated VNFD template to NFVO.
在实施例中,OSS/BSS发起VNF实例更新操作,通知VNFD模板中容器对象的网络属性信息发生了变更,将更新的服务于容器VNF的VNFD模板上载给NFVO。In the embodiment, the OSS/BSS initiates a VNF instance update operation, notifies that the network attribute information of the container object in the VNFD template has changed, and uploads the updated VNFD template serving the container VNF to the NFVO.
S530、发起VNF实例更新。S530. Initiate a VNF instance update.
在实施例中,NFVO向VNFM发起VNF实例更新,同时,NFVO将更新的VNFD模板下发给VNFM。In the embodiment, the NFVO initiates a VNF instance update to the VNFM, and at the same time, the NFVO delivers the updated VNFD template to the VNFM.
S540、发送容器对象实例的更新请求。S540: Send an update request of the container object instance.
在实施例中,在VNFM收到VNF实例更新请求之后,向CISM发起容器对象实例的更新请求,在VNF实例更新过程中请求对容器对象的网络拓扑进行更新。In the embodiment, after the VNFM receives the VNF instance update request, it initiates an update request of the container object instance to the CISM, and requests to update the network topology of the container object during the VNF instance update process.
VNFM对变更的VNFD模板进行解析,取出VNF内更新的容器对象网络属性信息,包括该容器对象的多网络平面属性信息,以及该容器对象的多网络平面路由信息,并将该VNF更新的容器对象网络属性信息发送给CISM,通知CISM对该容器对象进行容器对象实例更新操作。The VNFM parses the changed VNFD template, extracts the updated network attribute information of the container object in the VNF, including the multi-network plane attribute information of the container object, and the multi-network plane routing information of the container object, and updates the container object of the VNF The network attribute information is sent to the CISM, and the CISM is notified to update the container object instance of the container object.
S550、更新容器对象的多网络平面信息模板。S550. Update the multi-network plane information template of the container object.
在实施例中,CISM基于更新的容器对象多网络平面信息,更新容器对象多网络平面信息模板并保存更新的容器对象多网络平面信息模板。多网络平面信息模板中的内容更新不限于下列部分或全部参数及信息:容器对象的属性,包括容器对象名称,ID,对外节点的网络属性(IPv4/IPv6地址属性),容器对象所属的VNF名称及ID等;容器对象连接的多个逻辑网络对象的属性信息:不限于多个逻辑网络的数量、名称、ID、类型、连接节点的网络属性(IPv4/IPv6地址属性);容器对象与多个逻辑网络对象(网络性能的约束)的连接关系;关联逻辑网络对象的网络性能约束;关联的逻辑网络对象输入参数,包括Qos, 插件信息(输入及输出要求,包括注入文件格式及参数)。In the embodiment, the CISM updates the container object multi-network plane information template based on the updated container object multi-network plane information template and saves the updated container object multi-network plane information template. The content update in the multi-network plane information template is not limited to some or all of the following parameters and information: the attributes of the container object, including the container object name, ID, network attributes of external nodes (IPv4/IPv6 address attributes), and the name of the VNF to which the container object belongs And ID, etc.; the attribute information of multiple logical network objects connected by the container object: not limited to the number, name, ID, type of multiple logical networks, and the network attributes of the connected node (IPv4/IPv6 address attribute); the container object and multiple The connection relationship of logical network objects (network performance constraints); the network performance constraints of the associated logical network objects; the input parameters of the associated logical network objects, including Qos, plug-in information (input and output requirements, including injection file format and parameters).
S560、将更新的多网络平面信息模板发送至CIS。S560. Send the updated multi-network plane information template to the CIS.
在实施例中,CISM将更新的容器对象多网络平面信息模板,或更新的容器对象的多网络平面路由信息,通过CNI接口协议传递给CIS。In the embodiment, the CISM transmits the updated multi-network plane information template of the container object or the updated multi-network plane routing information of the container object to the CIS through the CNI interface protocol.
S570、更新容器对象实例的网络拓扑。S570. Update the network topology of the container object instance.
在实施例中,CIS根据CISM发送的更新的容器对象多网络平面信息模板,或/及更新的容器对象多网络平面路由信息,更新该容器对象实例的网络拓扑,不限于容器对象、逻辑网络对象、虚拟/物理网络对象的IP地址及端口,三者的网络连接路由。In the embodiment, CIS updates the network topology of the container object instance according to the updated container object multi-network plane information template sent by CISM, or/and the updated container object multi-network plane routing information, which is not limited to container objects and logical network objects. , The IP address and port of the virtual/physical network object, and the network connection route of the three.
对于新增的网络平面,CIS需要按信息模型的描述构建相关容器对象节点与该新增逻辑网络对象的网络拓扑连接关系。For the newly added network plane, the CIS needs to construct the network topology connection relationship between the relevant container object node and the newly added logical network object according to the description of the information model.
对于减少的网络平面,CIS需要按信息模型的描述删除相关容器对象节点与该已存在的逻辑网络对象的网络拓扑连接关系。For the reduced network plane, the CIS needs to delete the network topology connection relationship between the relevant container object node and the existing logical network object according to the description of the information model.
CIS重新保存该容器对象更新的网络拓扑配置信息,包含容器对象实例的对外连接节点分配的对外IP地址,逻辑网络对象连接节点的IP地址,虚拟/物理网络对象连接节点的IP地址,以及三者的网络路由信息。CIS re-saves the updated network topology configuration information of the container object, including the external IP address assigned by the external connection node of the container object instance, the IP address of the logical network object connection node, the IP address of the virtual/physical network object connection node, and the three Network routing information.
S580、CIS向CISM通知该容器对象实例的网络拓扑已更新完成。S580. The CIS notifies the CISM that the network topology of the container object instance has been updated.
S590、CISM向VNFM通知容器对象实例更新完成。S590. The CISM notifies the VNFM that the update of the container object instance is complete.
在实施例中,该容器对象实例的网络拓扑更新完成后,CISM通知VNFM该容器对象已完成实例更新。In the embodiment, after the network topology update of the container object instance is completed, the CISM notifies the VNFM that the container object has completed the instance update.
S5100、VNFM向NFVO通知VNF实例更新完成。S5100, the VNFM notifies the NFVO of the completion of the update of the VNF instance.
在实施例中,当容器VNF中所有的需要更新的容器对象完成容器对象实例更新后,VNFM通知NFVO其VNF实例更新完成,VNF实例中所有需更新的容器对象实例的网络拓扑都更新完成。In the embodiment, after all the container objects that need to be updated in the container VNF complete the update of the container object instance, the VNFM notifies NFVO that the update of its VNF instance is complete, and the network topology of all the container object instances that need to be updated in the VNF instance is updated.
S5110、NFVO向OSS/BSS通知VNF实例更新完成。S5110. The NFVO notifies the OSS/BSS of the completion of the update of the VNF instance.
在实施例中,NFVO收到VNFM通知的容器VNF实例更新完成消息后,NFVO通知OSS/BSS相关VNF实例的网络拓扑已变更完成。In the embodiment, after the NFVO receives the container VNF instance update completion message notified by the VNFM, the NFVO notifies the OSS/BSS that the network topology of the relevant VNF instance has been changed.
S5120、CIS将更新的多网络平面网络拓扑的配置信息发送至容器对象实例。S5120. The CIS sends the updated configuration information of the multi-network plane network topology to the container object instance.
在实施例中,CIS将每个容器对象实例的更新的多网络平面网络拓扑配置信息,重新发送给相关的容器对象实例。容器对象实例可向应用上报该配置,用于监控该传输路径。In the embodiment, the CIS resends the updated multi-network plane network topology configuration information of each container object instance to the relevant container object instance. The container object instance can report the configuration to the application for monitoring the transmission path.
通过该实施例,当容器对象的网络拓扑需要更新时,需要更新VNFD中容器对象的网络属性信息,并通过VNF实例更新的方式,由VNFM通知CISM进行需更新的容器对象实例的更新。CISM更新该容器对象的多网络平面信息模板,并通过CNI接口协议将更新的该容器对象的多网络平面信息模板下发给CIS,请求对该容器对象的网络拓扑进行更新。CIS在容器运行环境中,根据更新的容器对象多网络平面信息模板,以及更新的容器对象多网络平面路由信息,更新该容器对象的网络拓扑结构,完成容器对象的网络拓扑的更新操作。Through this embodiment, when the network topology of the container object needs to be updated, the network attribute information of the container object in the VNFD needs to be updated, and the VNFM informs the CISM to update the container object instance that needs to be updated. The CISM updates the multi-network plane information template of the container object, and sends the updated multi-network plane information template of the container object to the CIS through the CNI interface protocol, requesting to update the network topology of the container object. In the container operating environment, CIS updates the network topology of the container object according to the updated container object multi-network plane information template and the updated container object multi-network plane routing information, and completes the update operation of the network topology of the container object.
在一实现方式中,图9是本申请实施例提供的一种释放多网络平面的流程图。本实施例描述了在VNF实例释放操作中,同时释放该容器VNF占用的多网络平面网络资源。In an implementation manner, FIG. 9 is a flowchart of releasing multiple network planes according to an embodiment of the present application. This embodiment describes that in the VNF instance release operation, the multi-network plane network resources occupied by the container VNF are released at the same time.
如图9所示,本实施例包括:S610-S690。As shown in Figure 9, this embodiment includes: S610-S690.
S610、发起VNF实例的释放请求。S610: Initiate a release request of the VNF instance.
在实施例中,OSS/BSS发起VNF实例的释放请求至NFVO,并释放该VNF实例中各容器对象实例占用的多网络平面资源。In the embodiment, the OSS/BSS initiates a release request of the VNF instance to the NFVO, and releases the multi-network plane resources occupied by each container object instance in the VNF instance.
S620、NFVO向VNFM通知VNF实例的释放。S620. The NFVO notifies the VNFM of the release of the VNF instance.
S630、VNFM向CISM通知释放容器对象实例的资源。S630. The VNFM notifies the CISM to release the resources of the container object instance.
在实施例中,VNFM向CISM通知释放该容器VNF实例中每个容器对象实例的网络资源,以及为每个容器对象分配的计算资源及存储资源。In the embodiment, the VNFM notifies the CISM to release the network resources of each container object instance in the container VNF instance, as well as the computing resources and storage resources allocated to each container object.
S640、CISM通知CIS释放容器对象实例的资源。S640. The CISM notifies the CIS to release the resources of the container object instance.
在实施例中,CISM通知CIS释放VNF实例内的每个容器对象实例分配的资源。CISM通过CNI接口协议向CIS发起该VNF每个容器对象实例的多网络平面网络资源的释放,同时通过其他接口通知CIS释放各个容器对象实例的计算资源及存储资源。In the embodiment, the CISM notifies the CIS to release the resources allocated by each container object instance in the VNF instance. The CISM initiates the release of the multi-network plane network resources of each container object instance of the VNF to the CIS through the CNI interface protocol, and at the same time notifies the CIS through other interfaces to release the computing resources and storage resources of each container object instance.
S650、CIS释放容器对象实例的网络资源、计算资源及存储资源。S650, CIS releases the network resources, computing resources, and storage resources of the container object instance.
在实施例中,CIS释放该VNF实例内的各个容器对象分配的IP地址,释放每个逻辑网络对象的网络资源,删除容器对象实例与每个逻辑网络对象的网络连接,及逻辑网络对象与虚拟/物理网络对象的网络连接,最终删除该VNF的每个容器对象实例的网络拓扑。In the embodiment, CIS releases the IP address allocated by each container object in the VNF instance, releases the network resources of each logical network object, deletes the network connection between the container object instance and each logical network object, and the logical network object and virtual /The network connection of the physical network object, and finally delete the network topology of each container object instance of the VNF.
CIS删除保存在本地的VNF实例中每个容器对象实例的网络拓扑配置信息;CIS释放该VNF实例中每个容器对象分配的计算资源及存储资源。CIS deletes the network topology configuration information of each container object instance stored in the local VNF instance; CIS releases the computing resources and storage resources allocated by each container object in the VNF instance.
S660、CIS向CISM通知VNF实例的资源已释放。S660. The CIS notifies the CISM that the resources of the VNF instance have been released.
在实施例中,CIS通知CISM该VNF实例的每个容器对象实例的计算及存 储资源已释放,并通过CNI接口通知CISM该VNF实例中每个容器对象实例的网络资源已释放,CISM收到CIS的通知消息,获知其VNF内部的容器对象实例的计算资源、存储资源、网络资源均已释放,CISM删除已创建的容器对象。CISM删除本地保存的该VNF各个容器对象的多网络平面信息模板。In the embodiment, CIS informs CISM that the computing and storage resources of each container object instance of the VNF instance have been released, and informs CISM through the CNI interface that the network resources of each container object instance in the VNF instance have been released, and CISM receives CIS After knowing that the computing resources, storage resources, and network resources of the container object instance inside the VNF have been released, CISM deletes the created container object. CISM deletes the locally stored multi-network plane information template of each container object of the VNF.
S670、CISM向VNFM通知每个容器对象实例的资源已释放。S670. The CISM notifies the VNFM that the resources of each container object instance have been released.
在实施例中,CISM向VNFM通知VNF每个容器对象的计算资源、存储资源、网络资源已释放。In the embodiment, the CISM notifies the VNFM that the computing resources, storage resources, and network resources of each container object of the VNF have been released.
S680、VNFM向NFVO通知VNF实例资源已释放并删除VF实例。S680: The VNFM notifies the NFVO that the resources of the VNF instance have been released and deletes the VF instance.
在实施例中,当该VNF实例的所有容器对象实例资源释放完成,VNFM删除该容器VNF实例,并通知NFVO已释放该VNF实例。In the embodiment, when all the container object instance resources of the VNF instance are released, the VNFM deletes the container VNF instance and informs the NFVO that the VNF instance has been released.
S690、NFVO向OSS/BSS通知VNF实例已删除,以及多网络平面资源已释放。S690. The NFVO notifies the OSS/BSS that the VNF instance has been deleted and the multi-network plane resources have been released.
在实施例中,NFVO通知OSS/BSS该VNF实例已删除,该VNF实例中各个容器对象的多网络平面资源已释放。In the embodiment, the NFVO notifies the OSS/BSS that the VNF instance has been deleted, and the multi-network plane resources of each container object in the VNF instance have been released.
通过该实施例,针对删除VNF实例的情况,在VNF实例删除过程中,CISM需要通知CIS释放该VNF实例中各个容器对象实例的资源,包括计算资源、存储资源及网络资源。CIS释放容器对象的资源后通知CISM,CISM通知VNFM,VNFM确认该VNF实例中所有的容器对象实例都已释放后,VNFM完成该VNF实例的删除。Through this embodiment, in the case of deleting a VNF instance, during the VNF instance deletion process, the CISM needs to notify the CIS to release the resources of each container object instance in the VNF instance, including computing resources, storage resources, and network resources. After CIS releases the resource of the container object, it notifies the CISM, and the CISM notifies the VNFM. After the VNFM confirms that all the container object instances in the VNF instance have been released, the VNFM completes the deletion of the VNF instance.
在一实施例中,图10是本申请实施例提供的一种连接装置的结构框图。如图10所示,示例性地,第一通信节点可以为CISM。如图10所示,本实施例包括:第一管理模块710。In an embodiment, FIG. 10 is a structural block diagram of a connection device provided by an embodiment of the present application. As shown in FIG. 10, exemplarily, the first communication node may be CISM. As shown in FIG. 10, this embodiment includes: a first management module 710.
第一管理模块710,配置为对容器虚拟网络功能VNF中每个容器对象的多网络平面信息模板进行生命周期管理;多网络平面信息模板的生命周期管理至少包括下述一项操作:容器对象的多网络平面信息模板的创建操作、更新操作、删除操作。The first management module 710 is configured to perform life cycle management on the multi-network plane information template of each container object in the container virtual network function VNF; the life-cycle management of the multi-network plane information template includes at least one of the following operations: Create, update, and delete multiple network plane information templates.
本实施例提供的连接装置设置为实现图4所示实施例的应用于第一通信节点的连接方法,本实施例提供的连接装置实现原理与图4所示实施例类似,此处不再赘述。The connection device provided in this embodiment is configured to implement the connection method applied to the first communication node in the embodiment shown in FIG. 4, and the implementation principle of the connection device provided in this embodiment is similar to the embodiment shown in FIG. .
在一实施例中,服务于容器VNF的虚拟网络功能描述符VNFD包括:容器对象的多网络平面属性信息,以及容器对象的多网络平面路由信息。In an embodiment, the virtual network function descriptor VNFD serving the container VNF includes: multi-network plane attribute information of the container object and multi-network plane routing information of the container object.
在一实施例中,容器对象的多网络平面属性信息至少包括下述之一:至少 两个逻辑网络平面的网络名称、标识ID、网络属性,容器对象的网络节点属性,容器对象连接到多个逻辑网络对象的连接关系。In an embodiment, the multi-network plane attribute information of the container object includes at least one of the following: network names, identification IDs, and network attributes of at least two logical network planes, the network node attributes of the container object, and the container object is connected to multiple The connection relationship of logical network objects.
在一实施例中,容器对象的多网络平面路由信息至少包括下述之一:物理网络的虚拟网络接口卡vNIC/网络接口卡NIC网络节点属性,容器对象连接的多个逻辑网络对象到物理网络对象的网络路由连接关系。In an embodiment, the multi-network plane routing information of the container object includes at least one of the following: virtual network interface card vNIC/network interface card NIC network node attributes of the physical network, multiple logical network objects connected by the container object to the physical network The network routing connection relationship of the object.
在一实施例中,应用于第一通信节点的连接装置,还包括:第三接收模块,配置为在对容器VNF中每个容器对象的多网络平面信息模板进行生命周期管理之前,接收第三通信节点发送的容器对象的多网络平面属性信息,以及容器对象的多网络平面路由信息;第四接收模块,配置为接收第三通信节点发送的容器VNF中每个容器对象的生命周期管理操作请求。In an embodiment, the connection device applied to the first communication node further includes: a third receiving module configured to receive the third receiving module before performing life cycle management on the multi-network plane information template of each container object in the container VNF The multi-network plane attribute information of the container object and the multi-network plane routing information of the container object sent by the communication node; the fourth receiving module is configured to receive the life cycle management operation request of each container object in the container VNF sent by the third communication node .
在一实施例中,第一管理模块,包括:第一管理单元,配置为根据容器对象的多网络平面属性信息,创建或更新容器对象的多网络平面信息模板;第二管理单元,配置为通知第二通信节点创建、更新或删除容器对象实例;发送单元,配置为向第二通信节点发送多网络平面信息模板和容器对象的多网络平面路由信息。In an embodiment, the first management module includes: a first management unit configured to create or update a multi-network plane information template of the container object according to the multi-network plane attribute information of the container object; the second management unit is configured to notify The second communication node creates, updates or deletes the container object instance; the sending unit is configured to send the multi-network plane information template and the multi-network plane routing information of the container object to the second communication node.
图11是本申请实施例提供的另一种连接装置的结构框图。本实施例应用于第二通信节点。示例性地,第二通信节点可以为CIS。如图11所示,本实施例包括:第一接收模块810、第二接收模块820和第二管理模块830。Fig. 11 is a structural block diagram of another connection device provided by an embodiment of the present application. This embodiment is applied to the second communication node. Exemplarily, the second communication node may be a CIS. As shown in FIG. 11, this embodiment includes: a first receiving module 810, a second receiving module 820, and a second management module 830.
第一接收模块810,配置为接收第一通信节点发送的容器对象的生命周期管理操作指令,生命周期管理操作指令包括下述一项:容器对象的创建操作指令、更新操作指令、删除操作指令。The first receiving module 810 is configured to receive the life cycle management operation instruction of the container object sent by the first communication node. The life cycle management operation instruction includes one of the following: a creation operation instruction, an update operation instruction, and a deletion operation instruction of the container object.
第二接收模块820,配置为接收第一通信节点发送的容器对象的多网络平面信息模板和多网络平面路由信息。The second receiving module 820 is configured to receive the multi-network plane information template and the multi-network plane routing information of the container object sent by the first communication node.
第二管理模块830,配置为根据容器对象的多网络平面信息模板和多网络平面路由信息创建、更新或释放容器对象实例与多网络平面的网络拓扑连接。The second management module 830 is configured to create, update or release the network topology connection of the container object instance and the multi-network plane according to the multi-network plane information template and the multi-network plane routing information of the container object.
本实施例提供的连接装置设置为实现图5所示实施例的应用于第二通信节点的连接方法,本实施例提供的连接装置实现原理与图5所示实施例类似,此处不再赘述。The connection device provided in this embodiment is configured to implement the connection method applied to the second communication node in the embodiment shown in FIG. 5. The implementation principle of the connection device provided in this embodiment is similar to the embodiment shown in FIG. .
在一实施例中,第二管理模块830,包括:第三管理单元,配置为根据容器对象的生命周期管理操作指令创建、更新或删除容器对象实例;第四管理单元,配置为根据容器对象的多网络平面信息模板和多网络平面路由信息创建、更新或释放容器对象实例与多网络平面的网络拓扑连接。In one embodiment, the second management module 830 includes: a third management unit configured to create, update, or delete container object instances according to the life cycle management operation instructions of the container object; the fourth management unit is configured to The multi-network plane information template and the multi-network plane routing information create, update or release the container object instance and the network topology connection of the multi-network plane.
在一实施例中,应用于第二通信节点的连接装置,还包括:第一发送模块, 配置为在根据容器对象的多网络平面信息模板和多网络平面路由信息创建、更新或释放容器对象实例与多网络平面的网络拓扑连接之后,将容器对象实例的多网络平面网络拓扑结构的配置信息发送至所属的容器对象实例;容器对象实例用于向目标应用上报多网络平面拓扑结构的配置信息。In an embodiment, the connection device applied to the second communication node further includes: a first sending module configured to create, update, or release a container object instance according to the multi-network plane information template and multi-network plane routing information of the container object After connecting with the network topology of the multi-network plane, the configuration information of the multi-network plane network topology of the container object instance is sent to the container object instance to which it belongs; the container object instance is used to report the configuration information of the multi-network plane topology to the target application.
在一实施例中,应用于第二通信节点的连接装置,还包括:第二发送模块,配置为向第一通信节点发送创建、更新、或删除成功的反馈信息。In an embodiment, the connection device applied to the second communication node further includes: a second sending module configured to send feedback information of successful creation, update, or deletion to the first communication node.
图12是本申请实施例提供的一种设备的结构示意图。如图12所示,本申请提供的设备,包括:处理器910、存储器920和通信模块930。该设备中处理器910的数量可以是一个或者多个,图12中以一个处理器910为例。该设备中存储器920的数量可以是一个或者多个,图12中以一个存储器920为例。该设备的处理器910、存储器920和通信模块930可以通过总线或者其他方式连接,图12中以通过总线连接为例。在该实施例中,该设备为第一通信节点。Fig. 12 is a schematic structural diagram of a device provided by an embodiment of the present application. As shown in FIG. 12, the device provided by the present application includes: a processor 910, a memory 920, and a communication module 930. The number of processors 910 in the device may be one or more, and one processor 910 is taken as an example in FIG. 12. The number of memories 920 in the device may be one or more, and one memory 920 is taken as an example in FIG. 12. The processor 910, the memory 920, and the communication module 930 of the device may be connected through a bus or in other ways. In FIG. 12, the connection through a bus is taken as an example. In this embodiment, the device is the first communication node.
存储器920作为一种计算机可读存储介质,可设置为存储软件程序、计算机可执行程序以及模块,如本申请任意实施例的设备对应的程序指令/模块(例如,连接装置中的第一管理模块)。存储器920可包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序;存储数据区可存储根据设备的使用所创建的数据等。此外,存储器920可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他非易失性固态存储器件。在一些实例中,存储器920还可包括相对于处理器910远程设置的存储器,这些远程存储器可以通过网络连接至设备。上述网络的实例包括但不限于互联网、企业内部网、局域网、移动通信网及其组合。As a computer-readable storage medium, the memory 920 can be configured to store software programs, computer-executable programs, and modules, such as program instructions/modules corresponding to the device of any embodiment of the present application (for example, the first management module in the connecting device). ). The memory 920 may include a program storage area and a data storage area, where the program storage area may store an operating system and an application program required by at least one function; the data storage area may store data created according to the use of the device, and the like. In addition, the memory 920 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk storage device, a flash memory device, or other non-volatile solid-state storage devices. In some examples, the memory 920 may further include a memory remotely provided with respect to the processor 910, and these remote memories may be connected to the device through a network. Examples of the aforementioned networks include, but are not limited to, the Internet, corporate intranets, local area networks, mobile communication networks, and combinations thereof.
通信模块930,设置为在第一通信节点和第二通信节点之间进行通信连接,以进行数据通信和信号通信。The communication module 930 is configured to perform a communication connection between the first communication node and the second communication node for data communication and signal communication.
上述提供的设备可设置为执行上述任意实施例提供的应用于第一通信节点的连接方法,具备相应的功能。The above-provided device can be configured to execute the connection method applied to the first communication node provided by any of the above-mentioned embodiments, and has corresponding functions.
在设备为第二通信节点的情况下,上述提供的设备可设置为执行上述任意实施例提供的应用于第二通信节点的连接方法,具备相应的功能。In the case that the device is the second communication node, the device provided above can be configured to execute the connection method applied to the second communication node provided by any of the foregoing embodiments, and have corresponding functions.
本申请实施例还提供一种包含计算机可执行指令的存储介质,计算机可执行指令在由计算机处理器执行时用于执行应用于第一通信节点的一种连接方法,该方法包括:对容器虚拟网络功能VNF中每个容器对象的多网络平面信息模板进行生命周期管理;所述多网络平面信息模板的生命周期管理至少包括下述一项操作:所述容器对象的多网络平面信息模板的创建操作、更新操作、删除操 作。An embodiment of the present application also provides a storage medium containing computer-executable instructions. When the computer-executable instructions are executed by a computer processor, they are used to execute a connection method applied to a first communication node. The method includes: virtualizing a container The multi-network plane information template of each container object in the network function VNF performs life cycle management; the life-cycle management of the multi-network plane information template includes at least one of the following operations: creation of the multi-network plane information template of the container object Operation, update operation, delete operation.
本申请实施例还提供一种包含计算机可执行指令的存储介质,计算机可执行指令在由计算机处理器执行时用于执行应用于第二通信节点的一种连接方法,该方法包括:接收第一通信节点发送的容器对象的生命周期管理操作指令,所述生命周期管理操作指令包括下述一项:容器对象的创建操作指令、更新操作指令、删除操作指令;接收第一通信节点发送的所述容器对象的多网络平面信息模板和多网络平面路由信息;根据所述容器对象的多网络平面信息模板和所述多网络平面路由信息创建、更新或释放容器对象实例与多网络平面的网络拓扑连接。An embodiment of the present application also provides a storage medium containing computer-executable instructions. When the computer-executable instructions are executed by a computer processor, they are used to execute a connection method applied to a second communication node. The method includes: receiving a first communication node. The life cycle management operation instruction of the container object sent by the communication node, the life cycle management operation instruction includes one of the following: a creation operation instruction, an update operation instruction, and a deletion operation instruction of the container object; The multi-network plane information template and multi-network plane routing information of the container object; create, update or release the network topology connection of the container object instance and the multi-network plane according to the multi-network plane information template of the container object and the multi-network plane routing information .
本领域内的技术人员应明白,术语用户设备涵盖任何适合类型的无线用户设备,例如移动电话、便携数据处理装置、便携网络浏览器或车载移动台。Those skilled in the art should understand that the term user equipment encompasses any suitable type of wireless user equipment, such as a mobile phone, a portable data processing device, a portable web browser, or a vehicle-mounted mobile station.
一般来说,本申请的多种实施例可以在硬件或专用电路、软件、逻辑或其任何组合中实现。例如,一些方面可以被实现在硬件中,而其它方面可以被实现在可以被控制器、微处理器或其它计算装置执行的固件或软件中,尽管本申请不限于此。In general, the various embodiments of the present application can be implemented in hardware or dedicated circuits, software, logic or any combination thereof. For example, some aspects may be implemented in hardware, while other aspects may be implemented in firmware or software that may be executed by a controller, microprocessor, or other computing device, although the present application is not limited thereto.
本申请的实施例可以通过移动装置的数据处理器执行计算机程序指令来实现,例如在处理器实体中,或者通过硬件,或者通过软件和硬件的组合。计算机程序指令可以是汇编指令、指令集架构(Instruction Set Architecture,ISA)指令、机器指令、机器相关指令、微代码、固件指令、状态设置数据、或者以一种或多种编程语言的任意组合编写的源代码或目标代码。The embodiments of the present application may be implemented by executing computer program instructions by a data processor of a mobile device, for example, in a processor entity, or by hardware, or by a combination of software and hardware. Computer program instructions can be assembly instructions, Instruction Set Architecture (ISA) instructions, machine instructions, machine-related instructions, microcode, firmware instructions, state setting data, or written in any combination of one or more programming languages Source code or object code.
本申请附图中的任何逻辑流程的框图可以表示程序步骤,或者可以表示相互连接的逻辑电路、模块和功能,或者可以表示程序步骤与逻辑电路、模块和功能的组合。计算机程序可以存储在存储器上。存储器可以具有任何适合于本地技术环境的类型并且可以使用任何适合的数据存储技术实现,例如但不限于只读存储器(Read-Only Memory,ROM)、随机访问存储器(Random Access Memory,RAM)、光存储器装置和系统(数码多功能光碟(Digital Video Disc,DVD)或光盘(Compact Disk,CD))等。计算机可读介质可以包括非瞬时性存储介质。数据处理器可以是任何适合于本地技术环境的类型,例如但不限于通用计算机、专用计算机、微处理器、数字信号处理器(Digital Signal Processing,DSP)、专用集成电路(Application Specific Integrated Circuit,ASIC)、可编程逻辑器件(Field-Programmable Gate Array,FPGA)以及基于多核处理器架构的处理器。The block diagram of any logic flow in the drawings of the present application may represent program steps, or may represent interconnected logic circuits, modules, and functions, or may represent a combination of program steps and logic circuits, modules, and functions. The computer program can be stored on the memory. The memory can be of any type suitable for the local technical environment and can be implemented using any suitable data storage technology, such as but not limited to read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), optical Memory devices and systems (Digital Video Disc (DVD) or Compact Disk (CD)), etc. Computer-readable media may include non-transitory storage media. The data processor can be any type suitable for the local technical environment, such as but not limited to general-purpose computers, special-purpose computers, microprocessors, digital signal processors (Digital Signal Processing, DSP), application specific integrated circuits (ASICs) ), programmable logic devices (Field-Programmable Gate Array, FPGA), and processors based on multi-core processor architecture.

Claims (14)

  1. 一种连接方法,应用于第一通信节点,包括:A connection method, applied to a first communication node, includes:
    对容器虚拟网络功能VNF中每个容器对象的多网络平面信息模板进行生命周期管理;所述多网络平面信息模板的生命周期管理至少包括下述一项操作:所述容器对象的多网络平面信息模板的创建操作、更新操作、删除操作。The life cycle management of the multi-network plane information template of each container object in the container virtual network function VNF; the life-cycle management of the multi-network plane information template includes at least one of the following operations: the multi-network plane information of the container object Template creation, update, and delete operations.
  2. 根据权利要求1所述的方法,其中,服务于所述容器VNF的虚拟网络功能描述符VNFD包括:所述容器对象的多网络平面属性信息,以及所述容器对象的多网络平面路由信息。The method according to claim 1, wherein the virtual network function descriptor VNFD serving the container VNF comprises: multi-network plane attribute information of the container object, and multi-network plane routing information of the container object.
  3. 根据权利要求2所述的方法,其中,所述容器对象的多网络平面属性信息至少包括下述之一:至少两个逻辑网络平面的网络名称、标识ID、网络属性,容器对象的网络节点属性,所述容器对象与多个逻辑网络对象的连接关系。The method according to claim 2, wherein the multi-network plane attribute information of the container object includes at least one of the following: network names, identification IDs, network attributes of at least two logical network planes, and network node attributes of the container object , The connection relationship between the container object and multiple logical network objects.
  4. 根据权利要求2所述的方法,其中,所述容器对象的多网络平面路由信息至少包括下述之一:物理网络的虚拟网络接口卡vNIC/网络接口卡NIC网络节点属性,所述容器对象连接的多个逻辑网络对象与物理网络对象的网络路由连接关系。The method according to claim 2, wherein the multi-network plane routing information of the container object includes at least one of the following: virtual network interface card vNIC/network interface card NIC network node attributes of the physical network, and the container object is connected The network routing connection relationship between multiple logical network objects and physical network objects.
  5. 根据权利要求1所述的方法,在所述对容器VNF中容器对象的多网络平面信息模板进行生命周期管理之前,还包括:The method according to claim 1, before said performing life cycle management on the multi-network plane information template of the container object in the container VNF, the method further comprises:
    接收第三通信节点发送的所述容器对象的多网络平面属性信息,以及所述容器对象的多网络平面路由信息;Receiving the multi-network plane attribute information of the container object and the multi-network plane routing information of the container object sent by the third communication node;
    接收所述第三通信节点发送的容器VNF中每个容器对象的生命周期管理操作请求。Receiving the life cycle management operation request of each container object in the container VNF sent by the third communication node.
  6. 根据权利要求5所述的方法,其中,所述对容器VNF中容器对象的多网络平面信息模板进行生命周期管理,包括:The method according to claim 5, wherein said performing life cycle management on the multi-network plane information template of the container object in the container VNF comprises:
    根据所述容器对象的多网络平面属性信息,创建或更新所述容器对象的多网络平面信息模板;Create or update the multi-network plane information template of the container object according to the multi-network plane attribute information of the container object;
    通知第二通信节点创建、更新或删除容器对象实例;Notifying the second communication node to create, update or delete the container object instance;
    向所述第二通信节点发送所述容器对象的多网络平面信息模板和所述容器对象的多网络平面路由信息。Sending the multi-network plane information template of the container object and the multi-network plane routing information of the container object to the second communication node.
  7. 一种连接方法,应用于第二通信节点,包括:A connection method, applied to a second communication node, includes:
    接收第一通信节点发送的容器对象的生命周期管理操作指令,所述生命周期管理操作指令包括下述一项:所述容器对象的创建操作指令、更新操作指令、删除操作指令;Receiving a life cycle management operation instruction of the container object sent by the first communication node, where the life cycle management operation instruction includes one of the following: a creation operation instruction, an update operation instruction, and a deletion operation instruction of the container object;
    接收所述第一通信节点发送的所述容器对象的多网络平面信息模板和所述容器对象的多网络平面路由信息;Receiving the multi-network plane information template of the container object and the multi-network plane routing information of the container object sent by the first communication node;
    根据所述容器对象的多网络平面信息模板和所述容器对象的多网络平面路由信息创建、更新或释放容器对象实例与多网络平面的网络拓扑连接。According to the multi-network plane information template of the container object and the multi-network plane routing information of the container object, create, update or release the container object instance and the network topology connection of the multi-network plane.
  8. 根据权利要求7所述的方法,其中,所述根据所述容器对象的多网络平面信息模板和所述容器对象的多网络平面路由信息创建、更新或释放容器对象实例与多网络平面的网络拓扑连接,包括:8. The method according to claim 7, wherein said creating, updating or releasing the network topology of the container object instance and the multi-network plane according to the multi-network plane information template of the container object and the multi-network plane routing information of the container object Connection, including:
    根据所述容器对象的生命周期管理操作指令创建、更新或删除所述容器对象实例;Create, update or delete the container object instance according to the life cycle management operation instruction of the container object;
    根据所述容器对象的多网络平面信息模板和所述容器对象的多网络平面路由信息创建、更新或释放所述容器对象实例与多网络平面的网络拓扑连接。Create, update or release the network topology connection between the container object instance and the multi-network plane according to the multi-network plane information template of the container object and the multi-network plane routing information of the container object.
  9. 根据权利要求7所述的方法,在所述根据所述容器对象的多网络平面信息模板和所述容器对象的多网络平面路由信息创建、更新或释放所述容器对象实例与多网络平面的网络拓扑连接之后,还包括:The method according to claim 7, wherein the container object instance and the multi-network plane network are created, updated, or released according to the multi-network plane information template of the container object and the multi-network plane routing information of the container object. After the topological connection, it also includes:
    将所述容器对象实例的多网络平面网络拓扑结构的配置信息发送至所述配置信息所属的容器对象实例;所述容器对象实例用于向目标应用上报所述多网络平面拓扑结构的配置信息。The configuration information of the multi-network plane network topology of the container object instance is sent to the container object instance to which the configuration information belongs; the container object instance is used to report the configuration information of the multi-network plane topology to a target application.
  10. 根据权利要求7所述的方法,还包括:The method according to claim 7, further comprising:
    向所述第一通信节点发送创建、更新、或删除成功的反馈信息。Send feedback information of successful creation, update, or deletion to the first communication node.
  11. 一种连接装置,应用于第一通信节点,包括:A connection device applied to a first communication node, including:
    第一管理模块,配置为对容器虚拟网络功能VNF中每个容器对象的多网络平面信息模板进行生命周期管理;所述多网络平面信息模板的生命周期管理至少包括下述一项操作:所述容器对象的多网络平面信息模板的创建操作、更新操作、删除操作。The first management module is configured to perform life cycle management on the multi-network plane information template of each container object in the container virtual network function VNF; the life-cycle management of the multi-network plane information template includes at least one of the following operations: Create, update, and delete the multi-network plane information template of the container object.
  12. 一种连接装置,应用于第二通信节点,包括:A connection device applied to a second communication node, including:
    第一接收模块,配置为接收第一通信节点发送的容器对象的生命周期管理操作指令,所述生命周期管理操作指令包括下述一项:所述容器对象的创建操作指令、更新操作指令、删除操作指令;The first receiving module is configured to receive the life cycle management operation instruction of the container object sent by the first communication node, and the life cycle management operation instruction includes one of the following: the creation operation instruction, the update operation instruction, and the deletion of the container object Operating instructions
    第二接收模块,配置为配置为接收所述第一通信节点发送的所述容器对象的多网络平面信息模板和所述容器对象的多网络平面路由信息;The second receiving module is configured to receive the multi-network plane information template of the container object and the multi-network plane routing information of the container object sent by the first communication node;
    第二管理模块,配置为根据所述容器对象的多网络平面信息模板和所述容器对象的多网络平面路由信息创建、更新或释放所述容器对象实例与多网络平 面的网络拓扑连接。The second management module is configured to create, update or release the network topology connection between the container object instance and the multi-network plane according to the multi-network plane information template of the container object and the multi-network plane routing information of the container object.
  13. 一种设备,包括:存储器,以及至少一个处理器;A device, including: a memory, and at least one processor;
    所述存储器,配置为存储至少一个程序;The memory is configured to store at least one program;
    当所述至少一个程序被所述至少一个处理器执行,使得所述至少一个处理器实现如权利要求1-10中任一所述的方法。When the at least one program is executed by the at least one processor, the at least one processor implements the method according to any one of claims 1-10.
  14. 一种存储介质,存储有计算机程序,所述计算机程序被处理器执行时实现权利要求1-10任一项所述的方法。A storage medium storing a computer program, which implements the method of any one of claims 1-10 when the computer program is executed by a processor.
PCT/CN2021/075908 2020-03-02 2021-02-08 Connection method and apparatus, device, and storage medium WO2021175105A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202010136184.X 2020-03-02
CN202010136184.XA CN113342456A (en) 2020-03-02 2020-03-02 Connection method, device, equipment and storage medium

Publications (1)

Publication Number Publication Date
WO2021175105A1 true WO2021175105A1 (en) 2021-09-10

Family

ID=77467253

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/075908 WO2021175105A1 (en) 2020-03-02 2021-02-08 Connection method and apparatus, device, and storage medium

Country Status (2)

Country Link
CN (1) CN113342456A (en)
WO (1) WO2021175105A1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115883283A (en) * 2021-09-27 2023-03-31 华为技术有限公司 Deployment method and device of containerization VNF
CN115550182B (en) * 2022-11-30 2023-03-07 维塔科技(北京)有限公司 Virtual network card configuration method and device, electronic equipment and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105760214A (en) * 2016-04-19 2016-07-13 华为技术有限公司 Equipment state and resource information monitoring method, related equipment and system
WO2017028317A1 (en) * 2015-08-20 2017-02-23 Hewlett Packard Enterprise Development Lp Containerized virtual network function
US9667509B1 (en) * 2015-01-26 2017-05-30 Amdocs Software Systems Limited System, method, and computer program for secluding a service in a network based on network function virtualization (NFV)
CN110311798A (en) * 2018-03-20 2019-10-08 华为技术有限公司 A kind of method and device managing virtual resource

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11070432B2 (en) * 2017-07-20 2021-07-20 Cisco Technology, Inc. Dynamic and customizable virtual network functions
CN109728921B (en) * 2017-10-27 2021-12-03 华为技术有限公司 Management, maintenance and control method of virtual network element and related device
CN107948006B (en) * 2018-01-09 2021-04-16 重庆邮电大学 Method and device for arranging functions of virtual network
CN110569101B (en) * 2018-06-05 2022-05-31 华为技术有限公司 Method and device for managing container service

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9667509B1 (en) * 2015-01-26 2017-05-30 Amdocs Software Systems Limited System, method, and computer program for secluding a service in a network based on network function virtualization (NFV)
WO2017028317A1 (en) * 2015-08-20 2017-02-23 Hewlett Packard Enterprise Development Lp Containerized virtual network function
CN105760214A (en) * 2016-04-19 2016-07-13 华为技术有限公司 Equipment state and resource information monitoring method, related equipment and system
CN110311798A (en) * 2018-03-20 2019-10-08 华为技术有限公司 A kind of method and device managing virtual resource

Also Published As

Publication number Publication date
CN113342456A (en) 2021-09-03

Similar Documents

Publication Publication Date Title
US11716669B2 (en) Internet of things service routing method
EP3291499B1 (en) Method and apparatus for network service capacity expansion
CN107689882B (en) Method and device for service deployment in virtual network
EP3595244B1 (en) Network slice management method, unit and system
US10911331B2 (en) Service configuration method and apparatus for network service
WO2021175105A1 (en) Connection method and apparatus, device, and storage medium
WO2021109750A1 (en) Node management method, device and apparatus, storage medium, and system
CN113141405B (en) Service access method, middleware system, electronic device, and storage medium
EP4191907A1 (en) Vnf instantiation method and apparatus
EP4109251A1 (en) Vnf instantiation method and device
US12056094B2 (en) Method and apparatus for deploying virtualised network function
US20220350637A1 (en) Virtual machine deployment method and related apparatus
WO2018153355A1 (en) Control information transmission method, server, and system
US11683222B2 (en) Virtual network function VNF deployment method and apparatus
WO2021022947A1 (en) Method for deploying virtual machine and related device
WO2022183796A1 (en) Network service (ns) creation method and related apparatus
US20230105269A1 (en) Virtualized network service deployment method and apparatus
WO2024114645A1 (en) Instantiation method for virtualization network function (vnf), and apparatus
WO2021129868A1 (en) Network service instantiation method and network function virtualization orchestrator
WO2023197815A1 (en) Message receiving and sending method and device
WO2021129520A1 (en) Authorization method and apparatus for life cycle management of network service
WO2023035777A1 (en) Network configuration method, proxy component, controller, electronic device and storage medium
WO2022126389A1 (en) Method and device for establishing network connection

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: 21764336

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 16.02.2023)

122 Ep: pct application non-entry in european phase

Ref document number: 21764336

Country of ref document: EP

Kind code of ref document: A1