WO2019080593A1 - Management, maintenance and control method for virtual network element and related device - Google Patents

Management, maintenance and control method for virtual network element and related device

Info

Publication number
WO2019080593A1
WO2019080593A1 PCT/CN2018/099418 CN2018099418W WO2019080593A1 WO 2019080593 A1 WO2019080593 A1 WO 2019080593A1 CN 2018099418 W CN2018099418 W CN 2018099418W WO 2019080593 A1 WO2019080593 A1 WO 2019080593A1
Authority
WO
WIPO (PCT)
Prior art keywords
instance
paas
identifier
updated
service type
Prior art date
Application number
PCT/CN2018/099418
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 WO2019080593A1 publication Critical patent/WO2019080593A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming

Definitions

  • the present invention relates to the field of communications, and in particular, to a method, a method for managing and maintaining a virtual network element of a virtual network element, and related devices.
  • NFV network function virtualization
  • NFV network function virtualization
  • the NFV platform includes the following network elements: NFVO (network function virtualisation orchestrator), VNF (virtualized network function), VNFM (virtualized network function management), VIM (VIM) Virtualized infrastructure management, and NFVI (network function virtualization infrastructure).
  • NFVO, VNFM, and VIM are collectively referred to as NFV-MANO, which is equivalent to CSP (cloud service provider), NFVO, VNFM (Network Functions Virtualisation Manager), and VIM (Virtualised Infrastructure Manager, The Virtualization Infrastructure Manager) provides NFV management capabilities together.
  • NFVO manages the life cycle of VNF through VNFM, provides functions such as NS (network service) management, VNF Package management, and provides NS management interface to external entities (such as OSS/BSS).
  • VNF is an application deployed on NFVI that implements specific network functions.
  • VNFM is a functional module for lifecycle management of VNF.
  • VIM is a functional module that controls and manages NFVI computing resources, storage resources, and network resources.
  • VIM can be deployed to the infrastructure domain Infrastructure Domain (for example, NFVI access point/service provisioning point).
  • NFVI is the collective name for all hardware devices and software components in an NFV-capable environment. NFVI can be deployed across several physical locations (for example, data center operations).
  • Paas platform as a service
  • VNF in NFV platform passes API.
  • the (application programming interface) method calls the basic services (such as database, log, authentication, encryption, etc.) in the paas platform.
  • the gateway or loadbalancer may be used to shield the underlying paas instance details, or the paas instance may be directly invoked by the VNF without using the above middleware.
  • instances in the NFV platform or the paas platform may be subject to scaling (reduction or increase of instances).
  • the original call between the VNF and the underlying service is performed after the instance is scaled. If the relationship is invalid, the service is interrupted, or the calling relationship between the newly added VNFC instance and the newly added paas instance cannot be dynamically updated to reduce the efficiency of the original service.
  • the embodiment of the present invention is based on the scenario in which the VNF directly invokes the paas instance.
  • the technical problem to be solved is how to provide a virtual network element virtual network element management, maintenance, and control method, and related devices, and the VNFM maintenance instance list and the connection relationship table.
  • the connection relationship between the instances of the two platforms is automatically implemented to achieve the purpose of quickly establishing a calling relationship between the VNF and the basic service and restoring the business function.
  • the present application provides a method for managing a virtual network element, including: when a basic service satisfies an instance update condition, a paas management network element performs an instance update on a basic service, and a paas management network element sends a basic service to a VNFM. Instance update results.
  • the basic services in the paas platform provide basic business functions for the paas platform, such as: database, log, authentication or encryption services.
  • the instance update condition indicates a condition for triggering the base service to perform the paas instance update.
  • the paas instance update described in this application includes terminating or creating a paas instance, and the instance update condition may be based on a pre-storage or pre-configuration condition of the paas management network element.
  • the instance update result represents the attribute information of the updated paas instance in the basic service, for example, the attribute information includes at least one of an identifier of the paas instance, a service type identifier, an update type, and a network address, and the representation of the instance update result includes but is not limited to A table, array, linked list, structure, or other form.
  • the paas instance is a stand-alone logical entity with the basic service capability, and can run in an environment such as a physical machine, a virtual machine, or a container.
  • the basic service is associated with at least one paas instance.
  • the paas management network element in the paas platform has an interface for communicating with the VNFM in the NFV platform.
  • the paas management network element performs an instance of the basic service through the above interface.
  • the update result is reported to VNFM, so that VNFM automatically updates the maintained instance list and connection relationship table according to the instance update result.
  • the instance update result includes at least one of an identifier of the updated paas instance in the underlying service, a service type identifier, an update type, and a network address.
  • the identifier of the paas instance is used to uniquely represent the identity of the paas instance; the service type identifier of the paas instance indicates the service type of the paas instance; the network address of the paas instance indicates the address of the paas instance for external service, and the network address can be a port number and/or The IP address is used to indicate.
  • the paas management network element before the basic service satisfies the instance update condition, performs an instance update on the basic service, and further includes:
  • the paas management network element obtains the average load of all paas instances associated with the basic service
  • the paas management network element determines that the average load is greater than the first load threshold
  • the paas management network element determines that the average load is less than the second load threshold.
  • the service type identifier of the paas instance at this time is defined by using the first mode, and all paas instances associated with the basic service have the same service type identifier.
  • the load in this application includes, but is not limited to, at least one of CPU usage, memory usage, and disk occupancy.
  • the paas management network element before the basic service satisfies the instance update condition, performs an instance update on the basic service, and further includes:
  • the paas management network element acquires the load of at least one paas instance in all paas instances associated with the basic service
  • the paas management network element determines that the load of each paas instance in at least one paas instance is greater than the first load threshold; or
  • the paas management network element determines that the load of each paas instance in at least one service instance is less than the second load threshold.
  • the service type identifier of the paas instance is defined by the second method, and all the paas instances associated with the basic service have different service type identifiers.
  • the service type identifier of the paas instance and the paas The identifiers of the instances are the same.
  • the load in this application includes, but is not limited to, at least one of CPU usage, memory usage, and disk occupancy.
  • the application provides a method for managing a virtual network element, including: the VNFM receives an instance update result about a basic service from a paas management network element; and the VNFM updates all VNF connections associated with the basic service according to the instance update result. Point configuration information.
  • the VNFM is a network element for managing the VNF in the NFV platform
  • the paas management network element is a network element for managing the basic service in the paas platform
  • the VNFM and the paas management network element are provided with interfaces for mutual communication.
  • VNFM maintains the association between all VNF and all basic services in the paas platform in the NFV platform.
  • the connection point configuration information of the VNF indicates the network address of the connection point of the VL instance to which the VNF belongs, and the VL instance is used to connect two VNFC instances, or a VNFC instance and a paas instance.
  • the connection with the two instances is the connection point
  • the VNFM configures the network address of the connection point to be the same as the network address of the corresponding instance.
  • the VNFM receives the connection point configuration information of the VNF associated with the instance update result update from the paas management network element, so that when the paas instance associated with the basic service is increased or decreased, the calling relationship between the associated VNF and the associated VNF can be automatically updated. To achieve the purpose of quickly recovering business.
  • the VNFM updates the connection point configuration information of all VNFs associated with the base service according to the instance update structure: the VNFM updates the pre-stored or pre-configured instance list according to the instance update result; the VNFM is based on pre-storage or pre-configuration
  • the connection relationship table queries all the VNFs associated with the basic service, and queries the VNFC instances associated with the VNFs.
  • the VNFM redistributes the connection relationship between the associated paas instance and the VNFC instances associated with all VNFs.
  • the VNFM updates the pre-stored or pre-configured connection relationship table according to the re-assigned connection relationship, and updates the connection point configuration information of all the VNFs according to the updated connection relationship table.
  • the instance list represents attribute information of all paas instances in the paas platform, and the attribute information includes at least one of a service type identifier of the paas instance, an identifier of the paas instance, and a network address of the paas instance.
  • the basic service can be called by at least one VNF, that is, one basic service is associated with at least one VNF; one VNF includes at least one VNFC, each VNFC runs on at least one VNFC instance, and the VNFC instance is a virtual machine or a container.
  • the connection point configuration information of the VNF indicates the network address of the connection point of the VL instance associated with the VNFC instance in the VNF, and the VL instance is used to connect two instances (two VNFC instances, or one VNFC instance and one paas instance), and the corresponding VL
  • the instance has two connection points, and the network address of the connection point of the VL instance needs to be configured to be the same as the network address of the connected instance.
  • the connection point where the VL instance and the VNFC instance are connected is an internal connection point, and the connection point where the VL instance and the paas instance are connected is an external connection point.
  • the VNFM maintains an instance list and a connection relationship table.
  • the VNFM updates the instance list according to the instance update result of the basic service notified by the paas management network element, and redistributes the paas instance and the VNF VNF instance of the VNF after the basic service occurrence instance is updated.
  • the connection relationship between the basic relationship and the VNF can be automatically re-established according to the re-allocated connection relationship to achieve the purpose of quickly recovering the service.
  • the instance update result includes at least one of an identifier of the updated paas instance in the pass service, a service type identifier, an update type, and a network address.
  • the updated service instance is a paas instance created or terminated in the underlying service.
  • the representation of the instance update result may be a table, an array, a linked list, a structure, or other forms, which is not limited in this application.
  • the service type identifier is defined in the first way, and all paas instances associated with the paas instance have the same service type identifier; or
  • the service type identifier is defined in the second mode. All the paas instances associated with the basic service have different service type identifiers. When the update type of the paas instance is terminated, the service type identifier of the paas instance is the same as the identifier of the paas instance.
  • the instance list includes at least one of a service type identifier set, a paas instance identifier set, and a network address set; the service type identifier set includes n service type identifiers, and the paas instance identifier set includes n paas instances.
  • the instance list has n rows, each row including a service type identifier having an association relationship, a paas instance identifier sub-collection, and a network address sub-collection.
  • the VNFM updates the list of instances based on the instance update results including:
  • the search is performed in the service type identifier set of the instance list according to the service type identifier of the update paas instance;
  • the identifier of the updated paas instance is added to the paas instance identifier sub-collection associated with the update type of the updated paas instance in the instance list, and updated in the instance list Add the network address of the updated paas instance to the sub-collection of network addresses associated with the paas instance; or
  • the service type identifier of the updated paas instance is not retrieved, a row is created in the instance list, the service type identifier of the updated paas instance is added in the service type identifier set, and the updated paas is in the instance list.
  • the service type of the instance identifies the identifier of the added paas instance in the associated paas instance identifier sub-collection, and adds the updated network address of the paas instance in the network address sub-collection associated with the service type identifier of the updated paas instance in the instance list.
  • the VNFM updates the list of instances based on the instance update results including:
  • the search is performed in the service type identifier set according to the service type identifier of the paas instance;
  • the identifier of the updated paas instance is deleted from the base service identifier sub-collection associated with the service type identifier of the updated paas instance in the instance list, and the updated paas instance is in the instance list.
  • the service type identifies the network address of the updated paas instance in the associated network address sub-collection.
  • the VNFM updates the list of instances based on the instance update results including:
  • the search is performed in the paas instance identifier set according to the service type identifier of the update paas instance;
  • the updated paas instance identifier is added to the paas instance identifier sub-collection associated with the paas instance identifier in the instance list, and the network associated with the paas instance identifier in the instance list Add the network address of the updated paas instance to the address sub-collection; or
  • the same paas instance identifier as the updated paas instance is not retrieved, create 1 row in the instance list, add the service type identifier of the updated paas instance in the service type identifier set, and update the paas instance in the instance list.
  • the service type identifier identifies the associated paas instance identifier sub-set with the identifier of the updated paas instance added, and the network address of the updated paas instance added to the network address sub-collection associated with the service type identifier of the updated paas instance in the instance list.
  • the VNFM updates the list of instances based on the instance update results including:
  • the search is performed in the paas instance identifier set according to the service type identifier of the update paas instance;
  • the updated paas instance identifier is deleted from the paas instance identifier sub-collection corresponding to the paas instance identifier in the instance list, and the network associated with the paas instance identifier in the instance list is deleted.
  • the network address of the updated paas instance is deleted from the address sub-collection.
  • connection relationship table includes at least one of a VNF identifier, a VNFC identifier, a paas instance identifier, and a VL instance identifier.
  • Each row of the connection relationship table includes a VNF identifier, a VNFC identifier, a paas instance identifier, and a VL instance identifier with an association relationship.
  • connection relationship between the associated paas instance and the VNFC instance associated with at least one VNF after the re-allocation of the basic service to complete the instance update includes:
  • connection relationship between the associated paas instance and the at least one VNFC instance after the instance update is completed in a random manner; wherein each paas instance is connected to at least one VNFC instance.
  • updating the connection relationship table includes: searching, in the connection relationship table, the VNFC instance identifier to be updated according to the re-allocated connection relationship;
  • connection relationship between the VNFC instance identifier to be updated in the reassigned connection relationship and the connection relationship between the VNFC instance to be updated in the connection relationship table is compared. the same;
  • connection relationship between the re-allocated connection relationship and the VNFC instance to be updated in the connection relationship table is determined according to the VNFC instance to be updated;
  • connection relationship table If the VNFC instance identifier to be updated is not retrieved, a row is created in the connection relationship table, and a connection relationship corresponding to the VNFC instance to be updated in the connection relationship table is added in the created row.
  • updating the connection point configuration information of all VNF associations includes: obtaining a connection relationship modified or created in the updated connection relationship table, and if the modified or created connection relationship includes the VL instance identifier, the corresponding The network address of the external connection point of the VL instance is configured as the network address of the connected paas instance. If the modified or created connection does not include the VL instance ID, create a VL instance and create the internal connection point configuration information of the VL instance. Configure the network address of the connected VNFC instance, configure the external connection point configuration information of the created VL instance as the network address of the connected paas instance, and add the identifier of the created VL instance to the connection relationship.
  • the application provides a method for managing a virtual network element, including:
  • the VNFM obtains the instance update result of the VNF, and updates the connection point configuration information of the VNF according to the instance update result of the VNF.
  • the VNF is associated with at least one VNFC instance and /VL instance
  • the instance update condition indicates a condition for triggering a VNF increase or decrease or a decrease of an instance (a VNFC instance and a /VL instance)
  • the instance update result indicates attribute information of an instance of an increase or decrease in the VNF.
  • the connection point configuration information of the VNF indicates the network address of the connection point of the VL instance to which the VNF belongs, and the VL instance is used to connect two VNFC instances, or a VNFC instance and a paas instance.
  • the connection with the two instances is the connection point
  • the VNFM configures the network address of the connection point to be the same as the network address of the corresponding instance.
  • the VNFM updates the connection point configuration information of the associated VNF according to the instance update result of the VNF, so that when the VNFC instance associated with the VNF is increased or decreased, the calling relationship between the associated and the associated paas instance can be automatically updated to achieve fast The purpose of restoring business.
  • updating the connection point configuration information of the VNF according to the VNF instance update result includes:
  • connection relationship updating the pre-stored or pre-configured connection relationship table according to the re-allocated connection relationship, and updating the connection point configuration information of the VNF associated with the VNF according to the updated connection relationship table.
  • the instance update condition indicates a condition for triggering an instance (VNFC instance and/or VL instance) in the VNF to be added or deleted.
  • the VNFM can determine whether the instance update condition is met according to the load of the VNFC instance associated with the VNF.
  • the instance update result includes attribute information of the updated VNFC instance in the VNF, for example, the attribute information includes, but is not limited to, at least one of a VNFC identifier, a VNF identifier, and a VL identifier.
  • connection relationship table includes at least one of a VNF identifier, a VNFC identifier, a paas instance identifier, and a VL instance identifier.
  • the connection relationship table identifies the connection relationship between all instances in the NFV platform and all instances in the paas platform.
  • the application provides a method for managing a virtual network element, including:
  • the VNFM obtains the paas instance allocation result of the VNF and the VNFC instance allocation result when the VNF needs to be created.
  • connection relationship table Updating the connection relationship table according to the allocated connection relationship, and updating the connection point configuration information of the VNF according to the updated connection relationship table.
  • the instance list includes at least one of a service type identifier set, a paas instance identifier set, and a network address set, where the service type identifier set includes n service type identifiers, and the paas instance identifier
  • the set includes n paas instance identifier sub-sets
  • the network address set includes n network address sub-sets
  • the network address subsets in the network address set are in one-to-one correspondence, and n is an integer greater than 0.
  • connection relationship table includes at least one of a VNF identifier, a VNFC identifier, a paas instance identifier, and a VL instance identifier.
  • the present application provides a management device for a virtual network element, where the management device has a function of implementing the behavior of a paas management network element in the foregoing method.
  • the functions may be implemented by hardware or by corresponding software implemented by hardware.
  • the hardware or software includes one or more modules corresponding to the functions described above.
  • the management apparatus includes: a processing unit, configured to perform an instance update on the basic service if the basic service satisfies an instance update condition; and a sending unit, configured to the virtual network function management network
  • the meta VNFM sends an instance update result of the base service.
  • the management apparatus includes: a transmitter, a memory, and a processor; wherein the memory stores a set of program codes, and the processor is configured to invoke program code stored in the memory And performing the following operations: performing an instance update on the basic service if the basic service satisfies the instance update condition.
  • the transmitter is configured to send an instance update result of the basic service to a virtual network function management network element VNFM.
  • the principle and the beneficial effects of the device can be referred to the method embodiments of the foregoing possible terminal devices and the beneficial effects thereof. Therefore, the implementation of the device can refer to the implementation of the method, and the repetition is not Let me repeat.
  • the present application provides a maintenance device for a virtual network element, the maintenance device having a function of implementing the behavior of the VNFM in the foregoing method.
  • the functions may be implemented by hardware or by corresponding software implemented by hardware.
  • the hardware or software includes one or more modules corresponding to the functions described above.
  • the maintenance apparatus includes: a receiving unit, configured to receive an instance update result about a basic service from a paas management network element; and a processing unit, configured to update and base the update result according to the instance Connection point configuration information for all VNFs associated with the service.
  • the maintenance apparatus includes: a receiver, a memory, and a processor; wherein the receiver is configured to receive an instance update result about the basic service from the paas management network element; A set of program code, and the processor is configured to invoke program code stored in the memory, and perform the operation of: updating connection point configuration information of all VNFs associated with the base service according to the instance update result.
  • the principle and the beneficial effects of the device can be referred to the method embodiments of the foregoing possible terminal devices and the beneficial effects thereof. Therefore, the implementation of the device can refer to the implementation of the method, and the repetition is not Let me repeat.
  • the present application provides a control device for a virtual network element, the control device having a function of implementing the behavior of the VNFM in the above method.
  • the functions may be implemented by hardware or by corresponding software implemented by hardware.
  • the hardware or software includes one or more modules corresponding to the functions described above.
  • control device includes: an acquiring unit, configured to acquire an instance update result of the VNF if the VNF meets an instance update condition; and a processing unit, configured to update according to the instance of the VNF The result updates the connection point configuration information of the VNF.
  • control device includes: a transmitter, a receiver, a memory, and a processor; wherein the memory stores a set of program codes, and the processor is configured to invoke the storage in the memory
  • the program code is configured to: obtain an instance update result of the VNF if the VNF meets the instance update condition; and the processing unit updates the connection point configuration information of the VNF according to the instance update result of the VNF.
  • the principle and the beneficial effects of the device can be referred to the method embodiments of the foregoing possible terminal devices and the beneficial effects thereof. Therefore, the implementation of the device can refer to the implementation of the method, and the repetition is not Let me repeat.
  • the present application provides a device for creating a virtual network element, the creating device having a function of implementing the behavior of the VNFM in the foregoing method.
  • the functions may be implemented by hardware or by corresponding software implemented by hardware.
  • the hardware or software includes one or more modules corresponding to the functions described above.
  • the creating apparatus includes: an acquiring unit, configured to acquire, by the VNFM, a paas instance allocation result of the VNF and a VNFC instance allocation result, where the VNF needs to be created;
  • a processing unit configured to update the instance list according to the paas instance allocation result; assign a connection relationship between the VNFC instance corresponding to the VNFC instance assignment result and the paas instance assignment result corresponding to the paas instance; and update the connection according to the allocated connection relationship
  • the relationship table, and the connection point configuration information of the VNF is updated according to the updated connection relationship table.
  • the creating device includes: a transmitter, a receiver, a memory, and a processor; wherein the memory stores a set of program codes, and the processor is configured to invoke the storage in the memory
  • the program code is configured to: obtain a paas instance assignment result of the VNF and a VNFC instance assignment result when the VNF needs to be created; update the instance list according to the paas instance assignment result; and assign the VNFC instance assignment result to the corresponding The VNFC instance and the paas instance assignment result correspond to a connection relationship between the paas instances; update the connection relationship table according to the allocated connection relationship, and update the connection point configuration information of the VNF according to the updated connection relationship table.
  • the principle and the beneficial effects of the device can be referred to the method embodiments of the foregoing possible terminal devices and the beneficial effects thereof. Therefore, the implementation of the device can refer to the implementation of the method, and the repetition is not Let me repeat.
  • Yet another aspect of the present application is directed to a computer readable storage medium having instructions stored therein that, when executed on a computer, cause the computer to perform the methods described in the various aspects above.
  • Yet another aspect of the present application provides a computer program product comprising instructions which, when run on a computer, cause the computer to perform the methods described in the various aspects above.
  • FIG. 1 is a network architecture diagram of a communication system according to an embodiment of the present invention.
  • FIG. 2 is a schematic flowchart of a method for managing a virtual network element according to an embodiment of the present invention
  • FIG. 3 is a schematic flowchart of a method for maintaining a virtual network element according to an embodiment of the present invention
  • FIG. 4 is a schematic flowchart of a method for creating a virtual network element according to an embodiment of the present invention
  • FIG. 5 is a schematic structural diagram of a virtual network element management apparatus according to an embodiment of the present disclosure.
  • FIG. 6 is another schematic structural diagram of a virtual network element management apparatus according to an embodiment of the present disclosure.
  • FIG. 7 is a schematic structural diagram of a maintenance device for a virtual network element according to an embodiment of the present disclosure.
  • FIG. 8 is another schematic structural diagram of a maintenance device for a virtual network element according to an embodiment of the present disclosure.
  • FIG. 9 is a schematic structural diagram of a device for controlling a virtual network element according to an embodiment of the present disclosure.
  • FIG. 10 is a schematic diagram of another structure of a virtual network element control apparatus according to an embodiment of the present disclosure.
  • FIG. 11 is a schematic structural diagram of a device for creating a virtual network element according to an embodiment of the present disclosure.
  • FIG. 12 is another schematic structural diagram of a device for creating a virtual network element according to an embodiment of the present invention.
  • FIG. 1 is a schematic structural diagram of a communication system according to an embodiment of the present invention.
  • the communication system includes a VFV platform and a paas platform, wherein the NFV platform includes OSS/BSS, NFVO, VNFM, VIM, NFVI, and VNF.
  • OSS/BSS is a comprehensive business operations and management platform with key functions including network management, system management, billing, business, finance and customer service.
  • NFVO is mainly used for service lifecycle management, resource scheduling capabilities across data centers, and business lifecycle management capabilities across vendors (including service deployment, capacity expansion, capacity reduction, and downline).
  • a VNF is a virtualized network element device or service.
  • a VNF usually has multiple components with independent functions called VNFC.
  • VNFC usually runs on one or more instances (virtual machines or containers).
  • VNFM is used to provide VNF with automated management capabilities such as deployment, expansion, shrinkage, and offline.
  • the VNFM maintains an instance list and a connection relationship table.
  • the instance list and the connection relationship table are located in the VNFM, and may be located in other network elements. This embodiment is not limited.
  • the instance list stores attribute information of all paas instances in the paas platform, for example, the attribute information includes, but is not limited to, at least one of an identity identifier, a service type identifier, an update type, and a network address.
  • the connection relationship table stores the connection relationship between the instance in the paas platform and the instance in the NFV platform.
  • the connection relationship table includes at least one of a VNFC identifier, a VNF identifier, a paas instance identifier, and a VL instance identifier.
  • NFVI is the infrastructure of the NFV platform, providing virtual computing resources, storage resources and network resources to the upper layer in the form of virtual machines or containers.
  • VIM is primarily responsible for managing and monitoring the underlying virtual resources.
  • VNFC Virtualized Network Function Component
  • a VNFC Instance is an instance of a virtualized network function module component VNFC deployed to a specific virtualized container instance.
  • the lifecycle management of the VNFC instance is related to its associated VNF.
  • the VL instance is used to connect two VNFCs. It can also be used to connect one VNFC instance and one paas instance.
  • the VL instance includes two connection points.
  • the connection point that interfaces with the VNFC instance is an internal connection point, and the connection with the paas instance is connected. The point is the external connection point.
  • the paas platform includes one or more basic services, and the type of the basic service may be a general basic service or a dedicated basic service, and the basic service provides a corresponding service function.
  • the paas platform may have multiple deployment methods, for example, the whole form exists in the form of a VNF black box or exists in the form of NFVI, but regardless of the deployment form, the basic service can only be managed by the paas management network element, and the basic service pair The parts outside the paas platform are invisible.
  • the virtual network element in the NVF platform cannot directly know the attribute information (load status or number of instances, etc.) of the basic service.
  • FIG. 2 is a schematic diagram of a method for managing a virtual network element according to an embodiment of the present invention, where the method includes but is not limited to the following steps:
  • the paas management network element detects that the basic service satisfies the instance update condition.
  • the instance update condition is a condition for triggering the termination of the basic service or the creation of the paas instance
  • the paas management network element may determine whether the instance update condition is met by detecting the load associated with the paas instance, and the load includes but is not limited to the CPU occupancy rate and the memory occupancy rate. And at least one of disk usage.
  • the paas management network element uses method 1 to detect whether the basic service meets the instance update condition: the paas management network element obtains the average load of all the paas instances associated with the basic service, and if the average load is greater than the first load threshold And determining that the basic service satisfies the instance update condition; or, if the average load is less than the second load threshold, determining that the basic service satisfies the instance update condition.
  • the paas management network element uses method 2 to detect whether the basic service satisfies the instance update condition: the paas management network element acquires the load of at least one paas instance in all paas instances associated with the basic service, if at least one The load of the service instance is greater than the pre-stored or pre-configured first load threshold, determining that the base service satisfies the instance update condition; or determining the base service if the load of the at least one service instance is less than the pre-stored or pre-configured second load threshold The instance update condition is met.
  • S202 The paas management network element performs an instance update on the basic service.
  • the paas management network element determines whether the basic service satisfies the instance update condition, and increases or decreases the paas instance in the basic service according to the pre-stored or pre-configured instance update policy.
  • the paas management network element uses method 1 to check whether the basic service meets the instance update condition, if the average load of all the paas instances associated with the basic service is greater than the first load threshold, the paas management network element updates the policy according to the pre-stored or pre-configured instance.
  • the base service creates a new paas instance; if the average load is less than the second load threshold, the paas management network element terminates the paas instance in the base service according to the pre-stored or pre-configured instance update policy.
  • the paas management network element uses method 2 to detect whether the basic service meets the instance update condition, if the load of at least one paas instance in all the paas instances associated with the basic service is greater than the pre-stored or pre-configured first load threshold, according to pre-storage or The pre-configured instance update policy creates a new paas instance for the underlying service; if the load of at least one paas instance is less than the pre-stored or pre-configured second load threshold, the paas instance in the underlying service is terminated according to the instance update policy.
  • the method for updating the paas instance includes: the first load threshold is greater than or equal to the second load threshold, the instance update policy indicates a policy of increasing or decreasing the paas instance, and the number and location of the paas instance terminated or created in the instance update policy.
  • the embodiments are not limited and may be pre-defined or pre-configured as needed.
  • the paas management network element sends the instance result of the basic service to the VNFM, and the VNFM receives the instance update result from the paas management network element.
  • the instance update result indicates the attribute information of the updated paas instance in the paas instance, and the updated paas instance is the created paas instance or the terminated paas instance, and the instance update result includes the updated paas instance identifier, the service type identifier, the update type, and At least one of the network addresses.
  • the identifier of the paas instance is used to uniquely represent the identity of the paas instance
  • the service type identifier is used to indicate the service type of the paas instance
  • the update type of the paas instance indicates that the paas instance is terminated or created
  • the network address indicates the address of the paas instance providing the service externally, including IP address and port number.
  • the network address can be empty when the update type of the paas instance is terminated.
  • the update type of the paas instance is created, the network address is indispensable.
  • the service type identifier of the paas instance may have different definition manners according to different methods for detecting the load of the basic service. In the same paas platform, the service type identifier of the paas instance uses a unified definition manner.
  • all paas instances associated with the basic service have the same service type identifier, and the service type identifier may be managed by paas when the basic service is created.
  • the network element is specified.
  • the method update condition is triggered by using the method 2 in S202
  • all the paas instances associated with the basic service have different service type identifiers, and the update type of the paas instance is terminated
  • paas The service type identifier of the instance is the same as the identity of the paas instance.
  • the basic service is associated with four paas instances, and the identifiers of the four paas instances are 2, 4, 6, and 7, respectively.
  • the service type identifiers and identifiers of the four paas instances are the same, and the update types of the four paas instances are created.
  • the service type identifiers of the four paas instances are 3, 5, 7, and 8, respectively. For example, if the identifier of the paas instance is 5, and the update type of the paas instance is terminated, the service type identifier of the paas instance is the same as the identifier indicating the identity, and is also 5.
  • the instance update result is represented by a table, and each row of the instance update result represents attribute information of one updated paas instance, and the instance update result is as shown in Table 1:
  • the updated paas instance identifiers in Table 1 are 2, 5, and 12, wherein the update types of paas instances 2, 5, and 12 use the first definition mode, the service type identifier has 6, and the update type of paas instance 2 is terminated, corresponding
  • the network address can be empty; the update type of paas instance 5 and paas instance 12 is created, and the network address is not empty.
  • the data structure of the instance update result is not limited to the form of Table 1, and may be represented by an array, a linked list, a structure, or other data structures, which is not limited in this embodiment.
  • the process of updating the instance list by the paas management network element may include:
  • the instance list represents attribute information of all paas instances in the paas platform, and the attribute information includes at least one of an identifier of the paas instance, a service type identifier, and a network address.
  • the instance list includes at least one of a service type identifier set, a paas instance identifier set, and a network address set
  • the service type identifier set includes n service type identifiers
  • the paas instance identifier set includes n paas
  • VNFM pre-stored or pre-configured instances is shown in Table 2:
  • each row in Table 2 has an association relationship, the service type identifier 1, the paas instance identifier sub-set ⁇ 1, 2, 3 ⁇ and the network address sub-collection ⁇ 192.168.1.1: 80, 192.168.1.2: 80, 192.168.1.3: 80 ⁇ are associated.
  • the paas instance identifier 1 corresponds to the network address 192.168.1.1:80
  • the paas instance identifier 2 corresponds to the network address 192.168.1.2:80
  • the paas instance identifier 3 and the network address 192.168.1.3:80.
  • Service type identifier 5 paas instance identifier sub-set ⁇ 5, 7, 8, 9, 12 ⁇ and network address sub-set ⁇ 192.168.1.55:8080,192.168.1.57:8080,192.168.1.58:8080,192.168.1.59:8080 , 192.168.1.62:8080 ⁇ association, paas instance identification sub-collection ⁇ 5,7,8,9,12 ⁇ and network address sub-set ⁇ 192.168.1.55:8080,192.168.1.57:8080,192.168.1.58:8080,192.168
  • the elements in .1.59:8080, 192.168.1.62:8080 ⁇ correspond one-to-one.
  • the method for the VNFM to update the instance list includes:
  • the search is performed in the service type identifier set of the instance list according to the service type identifier of the update paas instance;
  • the identifier of the updated paas instance is added to the paas instance identifier sub-collection associated with the update type of the updated paas instance in the instance list. And adding a network address of the updated paas instance to a subset of network addresses associated with the updated paas instance in the list of instances; or
  • the service type of the paas instance identifies the identifier of the associated paas instance in the associated paas instance identifier sub-collection, and the network address sub-collection associated with the service type identifier of the updated paas instance in the instance list. Add the network address of the updated paas instance.
  • the service type identifier of the updated paas instance is 1, the update type is created, the identifier of the updated paas instance is 4, and the network address is 192.168.1.105:80.
  • the VNFM searches in the service type identifier set of the instance list of Table 2.
  • the search result is the retrieved service type identifier 1
  • the updated paas instance identifier 4 is added in the paas instance identifier set ⁇ 1, 2, 3 ⁇ , and is updated to be ⁇ 1, 2, 3, 4 ⁇
  • Add the network address of the updated paas instance to 192.168.1.105:80 in the network address sub-set ⁇ 192.168.1.1:80,192.168.1.2:80,192.168.1.3:80 ⁇
  • the updated network address sub-collection is ⁇ 192.168.1.1:80,192.168.
  • the service type identifier of the updated paas instance is 2
  • the service type identifier is defined by the first mode
  • the update type of the paas instance is created
  • the network address is 192.168.1.105:80
  • the identifier of the updated paas instance is 4.
  • VNFM does not retrieve paas instance 4 in the service type identifier set of the instance list of Table 2, creates 1 row in the instance list, adds service type identifier 4, paas instance identifier 4, and network address 192.168.1.105:80 in the row.
  • the updated list of examples is shown in Table 4:
  • the VNFM updates the instance list according to the instance update result, including:
  • the search is performed in the service type identifier set according to the service type identifier of the paas instance;
  • the identifier of the updated paas instance is terminated in the basic service identifier subset associated with the service type identifier of the updated paas instance in the instance list, and Terminating the network address of the updated paas instance in the network address subset associated with the service type identifier of the updated paas instance in the instance list.
  • the update type of the updated paas instance is terminated
  • the service type identifier is defined by the first mode
  • the paas instance identifier is 5
  • the paas instance identifier is 8,
  • the VNFM retrieves the service in the service type identifier set of the instance list of Table 2.
  • Type identifier 5 delete the paas instance identifier 8 in the paas instance identifier sub-collection associated with the service type identifier 5
  • the updated instance list As shown in Table 5:
  • the VNFM updates the instance list according to the instance update result, including:
  • the search is performed in the paas instance identifier set according to the service type identifier of the update paas instance;
  • the updated paas instance identifier is added to the paas instance identifier sub-collection associated with the paas instance identifier in the instance list, and the instance list is Adding the network address of the updated paas instance to the network address subset associated with the paas instance identifier; or
  • the service type identifier of the updated paas instance is added to the service type identifier set, and the updated paas is in the instance list.
  • the service type identifier of the instance identifies an identifier of the updated paas instance in the associated paas instance identifier sub-collection, and adds a network address sub-collection associated with the service type identifier of the updated paas instance in the instance list. The network address of the updated paas instance.
  • the update type of the updated paas instance is created, and the service type identifier is defined by the second method.
  • the service type identifier of the created paas instance is 8, the paas instance identifier is 10, the network address is 192.168.1.70:8080, and the VNFM is in the table.
  • the service type identifier 8 shown in 2 retrieves the service type identifier 8, and the service type identifier 9 is not retrieved, and then the VNFM continues to retrieve in the paas instance identifier set of the instance list, and retrieves the paas instance identifier 8, which will update the paas instance.
  • the identifier 10 is added to the paas instance identifier set corresponding to the paas instance identifier 8, and the network address 192.168.1.70:8080 is added to the network address subset.
  • the updated instance list 3 is shown in Table 6.
  • the update type of the updated paas instance is created
  • the service type identifier is defined by the second method
  • the service type identifier of the created paas instance is 11
  • the updated paas instance identifier is 13, and the network address is 192.168.1.71: 8080.
  • the VNFM first retrieves the service type identifier 11 in the service type identifier set of the instance list, does not retrieve the service type identifier 11, continues to search in the paas instance identifier set, still does not retrieve 11, creates a row, and adds an update in the row.
  • the updated instance list is shown in Table 7:
  • the VNFM updates the instance list according to the instance update result, including:
  • the search is performed in the paas instance identifier set according to the service type identifier of the update paas instance;
  • the identifier of the updated paas instance is terminated in the paas instance identifier sub-collection corresponding to the paas instance identifier in the instance list, and Terminating the network address of the updated paas instance in the network address sub-collection associated with the paas instance identifier in the instance list.
  • the update type of the updated paas instance is terminated, and the service type identifier of the terminated service instance is defined by the second method.
  • the service type identifier of the terminated paas instance is 12, and the identifier is 12, and the VNFM searches in the service type identifier set.
  • the service type identifier 12, the search result is that the service type identifier 12 is not retrieved, and the search is continued in the paas instance identifier set, the paas instance identifier 12 is retrieved, the paas instance 12 is deleted in the paas instance identifier set, and the network address set is deleted.
  • the associated network address, the updated instance list is shown in Table 8.
  • VNFM maintains the association between all VNF and all basic services in the paas platform in the NFV platform.
  • the connection point configuration information of the VNF indicates the network address of the connection point of the VL instance to which the VNF belongs, and the VL instance is used to connect two VNFC instances, or a VNFC instance and a paas instance.
  • the connection with the two instances is the connection point, and the VNFM configures the network address of the connection point to be the same as the network address of the corresponding instance.
  • the VNFM updates the connection point configuration information of all the VNFs associated with the basic service according to the instance update structure, and the VNFM updates the pre-stored or pre-configured instance list according to the instance update result; the VNFM is pre-stored or pre-stored according to the pre-stored or pre-stored
  • the configured connection relationship table queries all the VNFs associated with the basic service, and queries the VNFC instances associated with the VNFs.
  • the VNFM redistributes the connection between the associated paas instance and all VNF-related VNFC instances.
  • the VNFM updates the pre-stored or pre-configured connection relationship table according to the reassigned connection relationship, and updates the connection point configuration information of all the VNFs according to the updated connection relationship table.
  • connection relationship table is used to record the connection relationship between all VNFC instances in the NFV platform and all instances in the paas platform.
  • the connection relationship table includes at least one of a VNF identifier, a VNFC instance identifier, a paas instance identifier, and a VL instance identifier.
  • the VNF identifier is used to uniquely represent the identity of the VNF.
  • the VNF identifier can be assigned by the MANO when the VNF is created; the VNFC instance is used to uniquely represent the identity of the VNFC, and can also be assigned by the MANO; the VL instance is used to connect two instances, for example: VL An instance connects two VNFC instances, or connects to a VNFC instance and a paas instance.
  • the VL instance has two connection points.
  • the network address of the connection point is the same as the network address of the connected VNFC instance or paas instance.
  • the VL instance is used to connect to the VNFC.
  • connection point between the instance 1 and the VNFC instance 2, the VL instance and the VNFC instance 1 is set as the first connection point
  • the network address of the first connection point is the same as the network address of the VNFC instance 1
  • between the VL instance and the VNFC instance 2 The connection point is the second connection point
  • the network address of the second connection point is the same as the network address of the VNFC instance 2.
  • connection point between the VL instance and the VNFC instance is an internal connection point
  • connection point between the VL instance and the paas instance is an external connection point
  • connection relation table represents a connection relationship
  • VNFM pre-stored or pre-configured connection relationship table is as shown in Table 9:
  • the VNFM queries the paas instance after the instance update of the base service in the updated instance list. For example, the paas instance that belongs to the same service type identifier is queried in the updated instance list, and the queed instance is generated. List of paas instances. Then, the VNFC instance list is generated according to the retrieved VNFC instance according to each paas instance identifier in the paas instance list, and the VNFC instance list can be classified according to the VNF.
  • the VNFM re-allocates the connection between the VNFC instance in the VNFC instance list and the paas instance in the paas instance list according to a preset rule, for example, re-allocating the VNFC instance in the VNFC instance list and the paas instance in the paas instance list in a random manner. Ensure that a VNFC instance is connected to at least one paas instance. In the process of redistributing the connection relationship, there are three cases: the connection relationship between the VNFC instance and the paas instance remains unchanged, and the connection between the VNFC instance and the paas instance is deleted. The instance is changed to connect with other paas instances.
  • the paas instance after the instance update of the basic service is paas instance 1, paas instance 5, and paas instance 6.
  • the VNFM retrieves the VNFC instance associated with the base service as VNFC instance 2, VNFC instance 3, and VNFC instance in the connection relationship table. 4, wherein VNFC instance 2, VNFC instance 3, and VNFC instance 4 belong to VNF1.
  • the connection relationship between the above three paas instances and three VNFC instances is as shown in Table 10:
  • VNFM connects VNFC instance 2 with paas instance 1, connects VNFC instance 2 with paas instance 5, and connects VNFC instance 4 with paas instance 6.
  • VNFC instance 2 and paas instance 1 are connected by VL instance 7
  • VNFC instance 3 and paas instance 5 are connected by VL instance 7
  • VNFC instance 4 is connected by VL instance 8.
  • connection relationship in Table 10 is merely illustrative and does not limit the embodiments of the present invention.
  • the process of updating the connection relationship table by the VNFM may include:
  • the VNFM updates the connection relationship table according to the re-allocated connection relationship.
  • the update process includes: retrieving the VNFC instance identifier and the VNF identifier according to the re-assigned connection relationship in the connection relationship table, if the VNFC is retrieved in the connection relationship table.
  • the instance identifier and the VNF identifier are compared.
  • the connection relationship retrieved in the connection relationship table is the same as the connection relationship corresponding to the VNFC instance identifier in the reassigned connection relationship. If they are the same, they remain unchanged. If they are not the same, the reclassified connection is The relationship overrides the connection relationship in the connection relationship table. If the VNFC instance ID is not retrieved, a row is created in the connection relationship table, and the VNF identifier, the VNFC instance identifier, and the paas instance identifier are added to the corresponding positions of the created row.
  • the VNFC first searches in Table 9 according to the VNFC instance ID 2 and the VNF ID 1 in Table 10, and retrieves the VNFC instance ID 2 and the VNF ID 1 in Table 9, comparing the rows retrieved in Table 9 with the VNFC in Table 10.
  • the row where the instance identifier 2 is located is different.
  • the row in which the VNFC instance identifier 2 in the table 10 is located covers the row retrieved by the table 9.
  • the VNFC searches in Table 9 according to the VNFC instance ID 1 and VNFC instance 3 in Table 10, and retrieves the VNFC instance ID 3 and the VNF ID 1, and compares the rows retrieved in Table 9 with the corresponding rows in Table 10, which will be inconsistent.
  • the row corresponding to the VNFC identifier 3 and the VNF identifier 1 in Table 10 covers the rows retrieved in Table 9.
  • the VNFM searches in Table 9 according to the VNFC Instance ID 4 and the VNF ID 2, and does not retrieve the corresponding row in Table 9, creates 1 row in Table 9, and adds VNFC Instance 4 and VNF ID in Table 10 in the row. 2 corresponding identifier.
  • the updated connection relationship table is as shown in Table 11.
  • the process of updating the connection point configuration information of all VNFs by the VNFM may include:
  • the VNFM obtains the modified connection relationship or the created connection relationship in the updated connection relationship table. If the modified connection relationship or the created connection relationship includes the VL instance identifier, the external connection point configuration information of the corresponding VL instance is configured as the connected The network address of the paas instance; if the modified or created connection does not include the VL instance ID, create a VL instance, configure the internal connection point configuration information of the created VL as the network address of the connected VNFC instance, and create the VL.
  • the external connection point configuration information of the instance is configured as the network address of the connected paas instance, and the identifier of the created VL instance is added to the connection relationship.
  • the VNFM determines that the row (connection relationship) in which the update occurs in Table 11 is the first to third rows, and the VNFM configures the network address of the internal connection point of the VL instance 7 as the network address of the VNFC instance 2, and the external connection of the VL instance 7
  • the network address of the point is configured as the network address of paas instance 1.
  • the VNFM configures the network address of the internal connection point of the VL instance 8 as the network address of the VNFC instance 2, and configures the network address of the external connection point of the VL instance 8 as the network address of the paas instance 5.
  • the VNFM configures the network address of the internal connection point of the VL instance 9 as the network address of the VNFC instance 4, and configures the network address of the external connection point of the VL instance 9 as the network address of the paas instance 6.
  • the VNFM maintains an instance list and a connection relationship table, and the VNFM updates the instance list according to the instance update result of the basic service notified by the paas management network element, and redistributes the paas instance after the basic service occurrence instance is updated.
  • the connection relationship between the VNFC instances of the VNF is updated according to the re-allocated connection relationship, and the call relationship between the basic service and the VNF can be automatically re-established to achieve the purpose of quickly recovering the service.
  • FIG. 3 is a schematic flowchart of a method for managing a virtual network element according to an embodiment of the present invention.
  • the method includes the following steps:
  • the VNFM detects that the VNF satisfies the instance update condition, and performs an instance update on the VNF.
  • the instance update condition is a condition for triggering termination or creation of an instance of the VNF
  • the instance of terminating or creating the VNF includes a VNFC instance and/or a VL instance.
  • the VNFM may determine whether the instance update condition is met according to the load of the VNFC instance associated with the VNF, and the load includes, but is not limited to, at least one of a CPU load, a memory load, and a disk load.
  • the VNFM uses the method 1 to determine whether the instance update condition is met: the VNFM obtains the average load of the load of all VNFC instances associated with the VNF, and if the average load is greater than the first load threshold, determining that the VNF satisfies the instance update condition. Or, if the average load is less than the second load threshold, it is determined that the VNF satisfies the instance update condition.
  • the VNFM uses the second method to determine whether the instance update condition is met: the VNFM acquires the load of at least one VNFC instance in all VNFC instances associated with the VNF, and if each VNFC instance in the at least one VNFC instance load The load is greater than the first load threshold, determining that the VNF meets the instance update condition; or if the load of each VNFC instance in the at least one VNFC instance is less than the second load threshold, determining that the VNF meets the instance update condition.
  • the above example updates the detection mode, and the first load threshold is greater than or equal to the second load threshold.
  • the VNFM may indicate that the VNF performs an instance update by sending a VNF instance update indication, and the instance update indication is used to instruct the VNF to increase or decrease the instance (the VL instance and/or the VNFC instance according to the pre-stored or pre-configured instance update policy).
  • the VNFM obtains an instance update result of the VNF.
  • the instance update result indicates attribute information of an instance (VNFC instance and/or VL instance) in which an increase or decrease occurs in the VNF, for example, the instance update result includes at least one of a VNF identifier, a VL instance identifier, and a VNFC identifier.
  • the VNFM updates the connection point configuration information of the VNF.
  • connection point configuration information of the VNF indicates the network address of the connection point of the VL instance to which the VNF belongs, and the VL instance is used to connect two VNFC instances, or a VNFC instance and a paas instance.
  • the connection with the two instances is the connection point, and the VNFM configures the network address of the connection point to be the same as the network address of the corresponding instance.
  • updating the connection point configuration information of the VNF according to the VNF instance update result includes:
  • connection relationship updating the pre-stored or pre-configured connection relationship table according to the re-allocated connection relationship, and updating the connection point configuration information of the VNF associated with the VNF according to the updated connection relationship table.
  • the instance update result indicates attribute information of the updated instance in the VNF, for example, the attribute information includes at least one of a VNF identifier, a VNFC instance identifier, and a VL instance identifier.
  • the instance update result is expressed in the form of a table, for example, the instance update result is as shown in Table 12:
  • the VNFM obtains a VNFC instance that is associated with the VNF instance update. For example, the VNFM searches for a VNFC instance that belongs to the same VNF as the VNFC instance updated in the VNF in the instance list, and generates a VNFC instance list according to the found VNFC instance, according to the found VNFC.
  • the instance finds all the corresponding paas instances in the connection relationship table, generates a paas instance list according to the found paas instance, and reassigns the connection relationship between the VNFC instance in the VNFC instance list and the paas instance in the paas instance list to ensure the VNFC instance and At least one paas instance is connected, and the process of reassigning the connection relationship is described in the description of the embodiment of FIG. 2, and details are not described herein again.
  • the process of updating the connection relationship table by the VNFM may include:
  • the VNFM updates the connection relationship table according to the re-allocated connection relationship.
  • the update process includes: retrieving the VNFC instance identifier according to the re-allocated connection relationship in the connection relationship table, and if the VNFC instance identifier is retrieved in the connection relationship table, The connection relationship between the connection relationship and the re-assigned connection relationship in the connection relationship table is the same as that of the VNFC instance ID. If they are the same, they remain unchanged. If they are not the same, the re-classified connection relationship is overwritten with the update connection relationship table. If the VNFC instance ID is not retrieved, create a row in the connection relationship table, and add the VNF ID, VNFC instance ID, and paas instance ID to the corresponding location of the created row.
  • the process of updating the VNF connection point configuration information by the VNFM may include:
  • the VNFM obtains the modified connection relationship or the created connection relationship in the updated connection relationship table. If the modified connection relationship or the created connection relationship includes the VL instance identifier, configure the external connection point configuration information of the corresponding VL instance as the The network address of the connected paas instance. If the VL instance ID is not included in the modified or created connection relationship, create a VL instance and configure the internal connection point configuration information of the created VL as the network address of the connected VNFC instance. The external connection point configuration information of the VL instance is configured as the network address of the connected paas instance, and the identifier of the created VL instance is added to the connection relationship.
  • the VNFM maintains a connection relationship table, and the VNFM re-allocates the connection relationship between the VNF instance instance updated instance and the VNF corresponding paas instance according to the VNF instance update result, according to the reassigned connection relationship.
  • the connection relationship table is updated, and the calling relationship between the VNF and the basic service can be automatically re-established to achieve the purpose of quickly recovering the service.
  • FIG. 4 is a schematic flowchart of a method for creating a virtual network element according to an embodiment of the present invention.
  • the method includes:
  • VNFM create a VNF.
  • the VNFM can instantiate the created VNF according to the VNFD (virtual network function descriptor), allocate a VNFC instance to the created VNF, and configure related parameters of the VFN, so that the created VNF can be a logical entity. run.
  • the VNFM obtains the VNFC instance allocation result of the created VNF.
  • the VNFC instance allocation result includes the attribute information of the VNFC allocated to the VNF, and the attribute information includes, but is not limited to, at least one of a VNFC identifier, a VNF identifier, and a VNFC instance identifier.
  • the VNFM sends a request for allocating a basic service to the paas management network element, and the paas management network element receives the request from the VNFM.
  • the VNFM when the VNF needs to invoke an basic service, the VNFM sends a request for the basic service to the paas management network element, where the request may carry the attribute information of the basic service, where the attribute information includes but is not limited to: deployment location information, basic capabilities Information and identity, etc.
  • the paas management network element sends a paas instance allocation result to the VNFM, and the VNFM receives the paas instance allocation result from the paas management network element.
  • the paas instance allocation result indicates that the paas management network element is the attribute information of the paas instance allocated by the created VNF, and the attribute information includes, but is not limited to, at least one of a paas instance identifier, a service type identifier, and a network address.
  • the paas instance identifies the identity that is used to uniquely represent the paas instance.
  • the service type identifier indicates the service type of the paas instance.
  • the service type identifiers of all paas instances associated with the base service are the same or different.
  • the network address indicates the address of the paas instance for external service.
  • the representation of the paas instance assignment result can be a table, an array, a linked list, or a structure.
  • the paas instance assigned by the paas management NE to the VNF may be an existing paas instance or a created paas instance.
  • VNFM update the list of instances.
  • the VNFM updates the pre-stored or pre-configured instance list according to the paas instance allocation result, where the instance list represents attribute information of all paas instances in the paas platform, and the attribute information includes at least one of an identifier, a service type identifier, and a network address.
  • the VNFM searches in the instance list. If the instance list includes the attribute information of the assigned paas instance, the instance list is not updated; if the assigned paas instance is not included in the instance list, the attribute information of the assigned paas instance is added to the instance. List.
  • the instance list includes at least one of a service type identifier set, a paas instance identifier set, and a network address set
  • the service type identifier set includes n service type identifiers
  • the paas instance identifier set includes n paas
  • the VNFM allocates the connection relationship between the VNFC instance in the VNFC instance assignment result and the paas instance in the paas instance assignment result in S403. For example, the VNFM allocates the connection relationship in a random manner to ensure that the VNFC instance is connected to at least one paas instance. .
  • the connection between the paas instance and the VNFC instance is required.
  • the paas instance and the VNFC instance are connected through the VL instance. In the process of assigning a connection relationship, you need to ensure that each VNFC instance establishes a connection relationship with at least one paas instance.
  • the VNFM updates the connection relationship table.
  • connection relationship table is pre-stored or pre-configured, and the connection relationship table may be set in the VNFM, and the connection relationship table is used to record the connection relationship between all VNFC instances in the NFV platform and all instances in the paas platform.
  • the VNFM updates the connection relationship table according to the allocated connection relationship.
  • the update process includes: searching for the VNFC instance identifier according to the assigned connection relationship in the connection relationship table. If the VNFC instance identifier is retrieved in the connection relationship table, the comparison is performed.
  • the connection relationship between the connection relationship and the re-assigned connection relationship in the connection relationship table is the same as the connection relationship of the VNFC instance ID. If they are the same, they remain unchanged.
  • connection relationship table If they are not the same, the re-classified connection relationship is overwritten in the update connection relationship table. If the VNFC instance ID is not retrieved, create a row in the connection relationship table, and add the VNF ID, VNFC instance ID, and paas instance ID to the corresponding location of the created line.
  • the VNFM updates the connection point configuration information of the VNF.
  • the VNFM obtains the modified connection relationship or the created connection relationship in the updated connection relationship table. If the modified connection relationship or the created connection relationship includes the VL instance identifier, the network address of the external connection point of the corresponding VL instance is configured. The network address of the connected paas instance. If the modified or created connection does not include the VL instance ID, create a VL instance and configure the network address of the created VL internal connection point as the network address of the connected VNFC instance. The network address of the external connection point of the created VL instance is configured as the network address of the connected paas instance, and the identifier of the created VL instance is added to the connection relationship.
  • the VNFM maintains an instance list and a connection relationship table, and the VNFM allocates a connection relationship between the VNF-associated paas instance and the VNF VNFC instance according to the created VNF allocation and the paas instance update instance list, according to the allocated relationship.
  • the connection relationship updates the connection relationship table, and can automatically establish a calling relationship between the basic service and the VNF to achieve the purpose of quickly establishing a service.
  • FIG. 5 is a schematic structural diagram of a virtual network element management apparatus according to an embodiment of the present invention.
  • the management apparatus 5 may include a processing unit 501 and a sending unit 502, where each unit is included.
  • the detailed description is as follows.
  • the processing unit 501 is configured to perform an instance update on the basic service if the basic service satisfies the instance update condition; for example, the processing unit 501 performs S201 and S202 in FIG. 2 .
  • the sending unit 502 is configured to send an instance update result of the basic service to the virtual network function management network element VNFM.
  • the transmitting unit 502 is configured to execute S203 in FIG. 2.
  • the instance update result includes at least one of an identifier of an updated paas instance, a service type identifier, an update type, and a network address in the basic service.
  • the processing unit 501 is configured to: before the basic service meets the instance update condition, before the paas management network element updates the basic service, the method is further configured to:
  • the service type identifier is defined in a first manner, and all paas instances associated with the base service have the same service type identifier.
  • the processing unit 501 is configured to: before the basic service meets the instance update condition, before the paas management network element updates the basic service, the method is further configured to:
  • the service type identifier is defined in a second manner, and all paas instances associated with the basic service have different service type identifiers, and the service type of the paas instance is when the update type of the paas instance is terminated.
  • the identity is the same as the identity of the paas instance.
  • the management device 5 can be a paas management network element, and the management device 5 can also be a field-programmable gate array (FPGA), a dedicated integrated chip, and a system on chip (SoC). , central processor unit (CPU), network processor (network processor, NP), digital signal processing circuit, microcontroller (micro controller unit (MCU), can also use programmable logic device (programmable logic device, PLD) or other integrated chips.
  • FPGA field-programmable gate array
  • SoC system on chip
  • CPU central processor unit
  • NP network processor
  • NP network processor
  • microcontroller micro controller unit
  • PLD programmable logic device
  • the embodiment of the present invention further provides a management device for a virtual network element, hereinafter referred to as the management device 6.
  • the management device 6 is a paas management network element, and the paas management network element includes:
  • the memory 602 is configured to store programs and data.
  • the number of memories may be one or more, and the type of the memory may be any form of storage medium.
  • the memory may be a random access memory (English: random access memory, RAM for short) or a read only memory (English: read only memory, abbreviated as: ROM) or a flash memory, wherein the memory 602 may be located separately in the terminal device, It can be located inside the processor 601.
  • the receiver 603 is configured to receive a signal.
  • the receiver 603 can be a separate chip or a receiving circuit within the processor 601 or as an input interface.
  • the processor 601 is configured to execute the program code stored in the memory 602, and when the program code is executed, the processor 601 is used to perform an instance update on the basic service if the basic service satisfies the instance update condition; for example
  • the processor 601 performs S201 and S202 in FIG.
  • a transmitter 604 is configured to transmit a signal.
  • Transmitter 604 can function as a separate chip, as well as a transmit circuit within processor 601 or as an output interface.
  • the transmitter 1504 can also include a transmit antenna.
  • the transmitting antenna included in the transmitter 1504 and the receiving antenna included in the receiver 1503 may be two antennas separately provided, or may be one antenna.
  • the transmitter 604 is configured to send an instance update result of the basic service to the virtual network function management network element VNFM, for example, the transmitter performs S203 in FIG. 2.
  • the receiver 603, the transmitter 604, the memory 602, and the processor 601 communicate with each other through an internal connection path, for example, via a bus.
  • the processor 601 is further configured to:
  • the service type identifier is defined in a first manner, and all paas instances associated with the base service have the same service type identifier.
  • the processor 601 is further configured to:
  • the service type identifier is defined in a second manner, and all paas instances associated with the basic service have different service type identifiers, and the service type of the paas instance is when the update type of the paas instance is terminated.
  • the identity is the same as the identity of the paas instance.
  • the management device 6 can be a chip, for example, can be a processor chip in a computing device for implementing related functions of the processor in the computing device.
  • the chip can be a field programmable gate array for implementing related functions, a dedicated integrated chip, a system chip, a central processing unit, a network processor, a digital signal processing circuit, a microcontroller, and a programmable controller or other integrated chip.
  • one or more memories may be included for storing program code, and when the program code is executed, the processor implements corresponding functions.
  • the computer program product includes one or more computer instructions (sometimes referred to as code or programs).
  • code or programs When the computer program instructions are loaded and executed on a computer, the processes or functions described in accordance with embodiments of the present application are generated in whole or in part.
  • the computer can be a general purpose computer, a special purpose computer, a computer network, or other programmable device.
  • the computer instructions can be stored in a computer readable storage medium or transferred from one computer readable storage medium to another computer readable storage medium, for example, the computer instructions can be from a website site, computer, server or data center Transmission to another website site, computer, server or data center via wired (eg coaxial cable, fiber optic, digital subscriber line (DSL)) or wireless (eg infrared, wireless, microwave, etc.).
  • the computer readable storage medium can be any available media that can be accessed by a computer or a data storage device that includes one or more servers, data centers, etc. that can be integrated with the media.
  • the usable medium may be a magnetic medium (eg, a floppy disk, a hard disk, a magnetic tape), an optical medium (eg, a DVD), or a semiconductor medium (such as a solid state disk (SSD)) or the like.
  • a magnetic medium eg, a floppy disk, a hard disk, a magnetic tape
  • an optical medium eg, a DVD
  • a semiconductor medium such as a solid state disk (SSD)
  • FIG. 7 is a schematic structural diagram of a maintenance device for a virtual network element according to an embodiment of the present invention.
  • the maintenance device 7 may include a receiving unit 701 and a processing unit 702, where each unit is included.
  • the detailed description is as follows.
  • the receiving unit 701 is configured to receive an instance update result about the basic service from the paas management network element; for example, the receiving unit 701 performs S203 in FIG. 2 .
  • the processing unit 702 updates connection point configuration information of all VNFs associated with the base service according to the instance update result. For example, the processing unit 702 performs S204 in FIG.
  • the processing unit 702 updates the connection point configuration information of all the VNFs associated with the basic service according to the instance update result, specifically:
  • connection relationship table Updating the connection relationship table according to the reassigned connection relationship, and updating the connection point configuration information of all the VNFs according to the updated connection relationship table.
  • the instance update result includes at least one of an identifier of an updated paas instance, a service type identifier, an update type, and a network address in the basic service.
  • the service type identifier is defined in a first manner, and all paas instances associated with the basic service have the same service type identifier; or
  • the service type identifier is defined in the second mode, and all the paas instances associated with the basic service have different service type identifiers.
  • the service type identifier of the paas instance is the same as the identifier of the paas instance.
  • the instance list includes at least one of a service type identifier set, a paas instance identifier set, and a network address set, where the service type identifier set includes n service type identifiers, and the paas instance
  • the identifier set includes n paas instance identifier sub-sets
  • the network address set includes n network address sub-sets
  • the service type identifier in the service type identifier the paas instance identifier sub-collection in the paas instance identifier set
  • the network address subsets in the network address set are in one-to-one correspondence, and n is an integer greater than 0.
  • the processing unit 702 is configured to update the instance list according to the instance update result, specifically:
  • the search is performed in the service type identifier set according to the service type identifier of the updated paas instance;
  • the identifier of the updated paas instance is added to the paas instance identifier sub-collection associated with the updated paas instance's update type, and in the update with the Adding the network address of the updated paas instance to the network address sub-collection associated with the paas instance; or
  • the service type identifier of the updated paas instance is not retrieved, adding the service type identifier of the updated paas instance to the service type identifier set, and being associated with the service type identifier of the updated paas instance
  • the paas instance identifies the identifier of the updated paas instance in the sub-collection, and adds the network address of the updated paas instance in the network address sub-collection associated with the service type identifier of the updated paas instance.
  • the processing unit 702 is configured to update the instance list according to the instance update result, specifically:
  • the identifier of the updated paas instance is deleted in the basic service identifier subset associated with the service type identifier of the updated paas instance, and in the updated paas
  • the service type of the instance identifies the network address of the updated paas instance in the associated network address sub-collection.
  • the processing unit 702 is configured to update the instance list according to the instance update result, specifically:
  • the search is performed in the service type identifier set according to the service type identifier of the updated paas instance shown;
  • the identifier of the updated paas instance is added to the paas instance identifier sub-collection with the paas instance identifier, and the paas Adding, by the instance identifier, the network address of the updated paas instance in the associated network address sub-collection; or
  • the service type identifier of the updated paas instance is added to the service type identifier set, and the paas instance is updated with the The service type identifier identifies the associated paas instance identifier sub-collection, the identifier of the updated paas instance is added, and the updated paas instance is added to the network address sub-collection associated with the service type identifier of the updated paas instance. website address.
  • the processing unit 702 updates the instance list according to the instance update result, specifically:
  • the search is performed in the service type identifier set according to the service type identifier of the updated paas instance shown;
  • the identifier of the updated paas instance is terminated in the paas instance identifier sub-collection corresponding to the paas instance identifier in the instance list, and Terminating the network address of the updated paas instance in the network address sub-collection associated with the paas instance identifier in the instance list.
  • connection relationship table includes at least one of a VNF identifier, a VNFC identifier, a paas instance identifier, and a VL instance identifier.
  • the processing unit 702 is configured to re-allocate the connection relationship between the associated paas instance and the VNFC instance associated with the at least one VNF.
  • the processing unit 702 is configured to update the connection relationship table, specifically:
  • connection relationship between the VNFC instance identifier to be updated in the reassigned connection relationship and the connection relationship between the VNFC instance to be updated in the connection relationship table is compared. the same;
  • connection relationship between the re-allocated connection relationship and the VNFC instance to be updated in the connection relationship table is determined according to the VNFC instance to be updated;
  • connection relationship table If the VNFC instance identifier to be updated is not retrieved, a row is created in the connection relationship table, and a connection relationship corresponding to the VNFC instance to be updated in the connection relationship table is added in the created row.
  • the processing unit 702 is configured to update connection point configuration information of all VNF associations, specifically: obtaining a connection relationship modified or created in the updated connection relationship table, if the connection relationship is modified or created.
  • the VL instance identifier is included, and the network address of the external connection point of the corresponding VL instance is configured as the network address of the connected paas instance; if the modified or created connection relationship does not include the VL instance identifier, creating a VL instance will be created.
  • the internal connection point configuration information of the VL instance is configured as the network address of the connected VNFC instance, and the external connection point configuration information of the created VL instance is configured as the network address of the connected paas instance, and the identifier of the VL instance to be created. Add to this connection relationship.
  • the maintenance device 7 may be a VNFM, and the maintenance device 7 may also be a field-programmable gate array (FPGA), a dedicated integrated chip, a system on chip (SoC), and a central processing.
  • the embodiment of the present invention further provides a maintenance device 8 for a virtual network element, hereinafter referred to as a maintenance device 8.
  • the maintenance device 8 is a VNFM, and the VNFM includes:
  • the memory 802 is configured to store programs and data.
  • the number of the memories may be one or more, and the type of the memory may be any form of storage medium.
  • the memory may be a random access memory (English: random access memory, RAM for short) or a read only memory (English: read only memory, abbreviated as: ROM) or a flash memory, wherein the memory 802 may be located separately in the terminal device, It can be located inside the processor 801.
  • the receiver 803 is configured to receive a signal.
  • the receiver 803 can be a separate chip or a receiving circuit within the processor 801 or as an input interface.
  • the receiver 803 is configured to receive an instance update result about the basic service from the paas management network element; for example, the receiver 801 performs S203 in FIG. 2.
  • the processor 801 is configured to execute the program code stored by the memory 802, and when the program code is executed, the processor 801 is configured to update a connection point configuration of all VNFs associated with the basic service according to the instance update result. information. For example, the processor 801 executes S204 in FIG.
  • a transmitter 804 is configured to transmit a signal.
  • Transmitter 804 can function as a separate chip, as well as a transmit circuit within processor 801 or as an output interface.
  • the receiver 803, the transmitter 804, the memory 802, and the processor 801 communicate with each other through an internal connection path, for example, via a bus.
  • the processor 801 updates the connection point configuration information of all the VNFs associated with the basic service according to the instance update result, specifically:
  • connection relationship table Updating the connection relationship table according to the reassigned connection relationship, and updating the connection point configuration information of all the VNFs according to the updated connection relationship table.
  • the instance update result includes at least one of an identifier of an updated paas instance, a service type identifier, an update type, and a network address in the basic service.
  • the service type identifier is defined in a first manner, and all paas instances associated with the basic service have the same service type identifier; or
  • the service type identifier is defined in the second mode, and all the paas instances associated with the basic service have different service type identifiers.
  • the service type identifier of the paas instance is the same as the identifier of the paas instance.
  • the instance list includes at least one of a service type identifier set, a paas instance identifier set, and a network address set, where the service type identifier set includes n service type identifiers, and the paas instance
  • the identifier set includes n paas instance identifier sub-sets
  • the network address set includes n network address sub-sets
  • the service type identifier in the service type identifier the paas instance identifier sub-collection in the paas instance identifier set
  • the network address subsets in the network address set are in one-to-one correspondence, and n is an integer greater than 0.
  • the processor 801 is configured to update the instance list according to the instance update result, specifically:
  • the search is performed in the service type identifier set according to the service type identifier of the updated paas instance;
  • the identifier of the updated paas instance is added to the paas instance identifier sub-collection associated with the updated paas instance's update type, and in the update with the Adding the network address of the updated paas instance to the network address sub-collection associated with the paas instance; or
  • the service type identifier of the updated paas instance is not retrieved, adding the service type identifier of the updated paas instance to the service type identifier set, and being associated with the service type identifier of the updated paas instance
  • the paas instance identifies the identifier of the updated paas instance in the sub-collection, and adds the network address of the updated paas instance in the network address sub-collection associated with the service type identifier of the updated paas instance.
  • the processor 801 is configured to update the instance list according to the instance update result, specifically:
  • the identifier of the updated paas instance is deleted in the basic service identifier subset associated with the service type identifier of the updated paas instance, and in the updated paas
  • the service type of the instance identifies the network address of the updated paas instance in the associated network address sub-collection.
  • the processor 801 is configured to update the instance list according to the instance update result, specifically:
  • the search is performed in the service type identifier set according to the service type identifier of the updated paas instance shown;
  • the identifier of the updated paas instance is added to the paas instance identifier sub-collection with the paas instance identifier, and the paas Adding, by the instance identifier, the network address of the updated paas instance in the associated network address sub-collection; or
  • the service type identifier of the updated paas instance is added to the service type identifier set, and the paas instance is updated with the The service type identifier identifies the associated paas instance identifier sub-collection, the identifier of the updated paas instance is added, and the updated paas instance is added to the network address sub-collection associated with the service type identifier of the updated paas instance. website address.
  • the processor 801 updates the instance list according to the instance update result, specifically:
  • the search is performed in the service type identifier set according to the service type identifier of the updated paas instance shown;
  • the identifier of the updated paas instance is terminated in the paas instance identifier sub-collection corresponding to the paas instance identifier in the instance list, and Terminating the network address of the updated paas instance in the network address sub-collection associated with the paas instance identifier in the instance list.
  • connection relationship table includes at least one of a VNF identifier, a VNFC identifier, a paas instance identifier, and a VL instance identifier.
  • the processor 801 is configured to re-allocate the connection relationship between the associated paas instance and the VNFC instance associated with the at least one VNF.
  • the processor 801 performs an update connection relationship table, specifically:
  • connection relationship between the VNFC instance identifier to be updated in the reassigned connection relationship and the connection relationship between the VNFC instance to be updated in the connection relationship table is compared. the same;
  • connection relationship between the re-allocated connection relationship and the VNFC instance to be updated in the connection relationship table is determined according to the VNFC instance to be updated;
  • connection relationship table If the VNFC instance identifier to be updated is not retrieved, a row is created in the connection relationship table, and a connection relationship corresponding to the VNFC instance to be updated in the connection relationship table is added in the created row.
  • the processor 801 performs connection point configuration information for updating all VNF associations, specifically: obtaining a connection relationship modified or created in the updated connection relationship table, if the modified or created connection relationship is included.
  • VL instance identifier the network address of the external connection point of the corresponding VL instance is configured as the network address of the connected paas instance; if the modified or created connection relationship does not include the VL instance identifier, a VL instance is created, and the VL will be created.
  • the internal connection point configuration information of the instance is configured as the network address of the connected VNFC instance
  • the external connection point configuration information of the created VL instance is configured as the network address of the connected paas instance
  • the identifier of the created VL instance is added to In the connection relationship.
  • the maintenance device 8 can be a chip, for example, can be a processor chip in a computing device for implementing the relevant functions of the processor in the computing device.
  • the chip can be a field programmable gate array for implementing related functions, a dedicated integrated chip, a system chip, a central processing unit, a network processor, a digital signal processing circuit, a microcontroller, and a programmable controller or other integrated chip.
  • one or more memories may be included for storing program code, and when the program code is executed, the processor implements corresponding functions.
  • the computer program product includes one or more computer instructions (sometimes referred to as code or programs).
  • code or programs When the computer program instructions are loaded and executed on a computer, the processes or functions described in accordance with embodiments of the present application are generated in whole or in part.
  • the computer can be a general purpose computer, a special purpose computer, a computer network, or other programmable device.
  • the computer instructions can be stored in a computer readable storage medium or transferred from one computer readable storage medium to another computer readable storage medium, for example, the computer instructions can be from a website site, computer, server or data center Transmission to another website site, computer, server or data center via wired (eg coaxial cable, fiber optic, digital subscriber line (DSL)) or wireless (eg infrared, wireless, microwave, etc.).
  • the computer readable storage medium can be any available media that can be accessed by a computer or a data storage device that includes one or more servers, data centers, etc. that can be integrated with the media.
  • the usable medium may be a magnetic medium (eg, a floppy disk, a hard disk, a magnetic tape), an optical medium (eg, a DVD), or a semiconductor medium (such as a solid state disk (SSD)) or the like.
  • a magnetic medium eg, a floppy disk, a hard disk, a magnetic tape
  • an optical medium eg, a DVD
  • a semiconductor medium such as a solid state disk (SSD)
  • FIG. 9 is a schematic structural diagram of a control device for a virtual network element according to an embodiment of the present invention.
  • the control device 9 may include an obtaining unit 901 and a processing unit 902, where each unit is used.
  • the detailed description is as follows.
  • the obtaining unit 901 is configured to acquire an instance update result of the VNF if the VNF satisfies the instance update condition; for example, the obtaining unit 901 is configured to execute S301 and S302 in FIG. 3 .
  • the processing unit 902 is configured to update the connection point configuration information of the VNF according to the instance update result of the VNF.
  • the processing unit 902 is configured to execute S303 in FIG.
  • the processing unit 902 updates the connection point configuration information of the VNF according to the instance update result of the VNF, specifically:
  • connection relationship table Updating the connection relationship table according to the reassigned connection relationship, and updating the connection point configuration information of the VL associated with the VNF according to the updated connection relationship table.
  • the instance update result includes at least one of an identifier of the VNF, an identifier of a VNFC instance associated with the VNF, and a VL instance identifier.
  • connection relationship table includes at least one of a VNF identifier, a VNFC identifier, a paas instance identifier, and a VL instance identifier.
  • the control device 9 may be a VNFM, and the control device 9 may also be a field-programmable gate array (FPGA), a dedicated integrated chip, a system on chip (SoC), and a central processing.
  • FPGA field-programmable gate array
  • CPU Central processor unit
  • NP network processor
  • NP digital signal processing circuit
  • MCU microcontroller
  • PLD programmable logic device
  • the embodiment of the present invention further provides a control device for a virtual network element, hereinafter referred to as the control device 10.
  • control device 10 is a VNFM
  • VNFM includes:
  • the memory 1002 is configured to store programs and data.
  • the number of the memories may be one or more, and the type of the memory may be any form of storage medium.
  • the memory may be a random access memory (English: random access memory, RAM for short) or a read only memory (English: read only memory, abbreviated as: ROM) or a flash memory, wherein the memory 1002 may be located separately in the terminal device, It may be located inside the processor 1001.
  • the receiver 1003 is configured to receive a signal.
  • the receiver 1003 can be a separate chip or a receiving circuit within the processor 1001 or as an input interface.
  • the processor 1001 is configured to execute the program code stored in the memory 1002. When the program code is executed, the processor 1001 is configured to obtain an instance update result of the VNF if the VNF satisfies the instance update condition; The instance update result of the VNF updates the connection point configuration information of the VNF. For example, the processor 1001 is configured to execute S301, S302, and S303 in FIG.
  • a transmitter 1004 is configured to transmit a signal.
  • the transmitter 1004 can be a separate chip, or can be a transmit circuit within the processor 1001 or as an output interface.
  • the receiver 1003, the transmitter 1004, the memory 1002, and the processor 1001 communicate with each other through an internal connection path, for example, via a bus.
  • the processor 1001 performs connection point configuration information that updates the VNF according to the instance update result of the VNF, specifically:
  • connection relationship table Updating the connection relationship table according to the reassigned connection relationship, and updating the connection point configuration information of the VL associated with the VNF according to the updated connection relationship table.
  • the instance update result includes at least one of an identifier of the VNF, an identifier of a VNFC instance associated with the VNF, and a VL instance identifier.
  • connection relationship table includes at least one of a VNF identifier, a VNFC identifier, a paas instance identifier, and a VL instance identifier.
  • control device 10 can be a chip, for example, can be a processor chip in a computing device for implementing related functions of the processor in the computing device.
  • the chip can be a field programmable gate array for implementing related functions, a dedicated integrated chip, a system chip, a central processing unit, a network processor, a digital signal processing circuit, a microcontroller, and a programmable controller or other integrated chip.
  • one or more memories may be included for storing program code, and when the program code is executed, the processor implements corresponding functions.
  • the computer program product includes one or more computer instructions (sometimes referred to as code or programs).
  • code or programs When the computer program instructions are loaded and executed on a computer, the processes or functions described in accordance with embodiments of the present application are generated in whole or in part.
  • the computer can be a general purpose computer, a special purpose computer, a computer network, or other programmable device.
  • the computer instructions can be stored in a computer readable storage medium or transferred from one computer readable storage medium to another computer readable storage medium, for example, the computer instructions can be from a website site, computer, server or data center Transmission to another website site, computer, server or data center via wired (eg coaxial cable, fiber optic, digital subscriber line (DSL)) or wireless (eg infrared, wireless, microwave, etc.).
  • the computer readable storage medium can be any available media that can be accessed by a computer or a data storage device that includes one or more servers, data centers, etc. that can be integrated with the media.
  • the usable medium may be a magnetic medium (eg, a floppy disk, a hard disk, a magnetic tape), an optical medium (eg, a DVD), or a semiconductor medium (such as a solid state disk (SSD)) or the like.
  • a magnetic medium eg, a floppy disk, a hard disk, a magnetic tape
  • an optical medium eg, a DVD
  • a semiconductor medium such as a solid state disk (SSD)
  • FIG. 11 is a schematic structural diagram of a device for creating a virtual network element according to an embodiment of the present invention.
  • the following is abbreviated as a creating device 11 that may include an obtaining unit 1101 and a processing unit 1102, where each unit is used.
  • the detailed description is as follows.
  • the obtaining unit 1101 is configured to acquire a paas instance allocation result and a VNFC instance allocation result of the VNF in a case that a VNF needs to be created; for example, the obtaining unit 1101 is configured to execute S401 to S403 in FIG. 4 .
  • the processing unit 1102 is configured to update the instance list according to the paas instance allocation result
  • the processing unit 1102 is configured to execute S404 to S407 in FIG.
  • the instance list includes at least one of a service type identifier set, a paas instance identifier set, and a network address set, where the service type identifier set includes n service type identifiers, and the paas instance
  • the identifier set includes n paas instance identifier sub-sets
  • the network address set includes n network address sub-sets
  • the service type identifier in the service type identifier the paas instance identifier sub-collection in the paas instance identifier set
  • the network address subsets in the network address set are in one-to-one correspondence, and n is an integer greater than 0.
  • connection relationship table includes at least one of a VNF identifier, a VNFC identifier, a paas instance identifier, and a VL instance identifier.
  • the creating device 11 may be a VNFM, and the creating device 11 may also be a field-programmable gate array (FPGA), a dedicated integrated chip, a system on chip (SoC), and a central processing.
  • FPGA field-programmable gate array
  • CPU Central processor unit
  • NP network processor
  • NP digital signal processing circuit
  • MCU microcontroller
  • PLD programmable logic device
  • the embodiment of the present invention further provides a virtual network element creation device 12, hereinafter referred to as the creation device 12.
  • the creation device 12 is a VNFM, and the VNFM includes:
  • the memory 1202 is configured to store programs and data.
  • the number of the memories may be one or more, and the type of the memory may be any form of storage medium.
  • the memory may be a random access memory (English: random access memory, RAM for short) or a read only memory (English: read only memory, abbreviated as: ROM) or a flash memory, wherein the memory 1202 may be located separately in the terminal device, It may be located inside the processor 1201.
  • the receiver 1203 is configured to receive a signal.
  • the receiver 1203 can be a separate chip or a receiving circuit within the processor 1201 or as an input interface.
  • the processor 1201 is configured to execute the program code stored in the memory 1202. When the program code is executed, the processor 1201 is configured to acquire a paas instance allocation result and a VNFC instance of the VNF if a VNF needs to be created. Assigning a result; updating the instance list according to the paas instance allocation result;
  • connection relationship table Updating the connection relationship table according to the allocated connection relationship, and updating the connection point configuration information of the VNF according to the updated connection relationship table.
  • a transmitter 1204 is configured to transmit a signal.
  • the transmitter 1204 can function as a separate chip, as well as a transmit circuit within the processor 1201 or as an output interface.
  • the receiver 1203, the transmitter 1204, the memory 1202, and the processor 1201 communicate with each other through an internal connection path, for example, via a bus.
  • the instance list includes at least one of a service type identifier set, a paas instance identifier set, and a network address set, where the service type identifier set includes n service type identifiers, and the paas instance
  • the identifier set includes n paas instance identifier sub-sets
  • the network address set includes n network address sub-sets
  • the service type identifier in the service type identifier the paas instance identifier sub-collection in the paas instance identifier set
  • the network address subsets in the network address set are in one-to-one correspondence, and n is an integer greater than 0.
  • connection relationship table includes at least one of a VNF identifier, a VNFC identifier, a paas instance identifier, and a VL instance identifier.
  • the creation device 12 can be a chip, for example, can be a processor chip in a computing device for implementing related functions of the processor in the computing device.
  • the chip can be a field programmable gate array for implementing related functions, a dedicated integrated chip, a system chip, a central processing unit, a network processor, a digital signal processing circuit, a microcontroller, and a programmable controller or other integrated chip.
  • one or more memories may be included for storing program code, and when the program code is executed, the processor implements corresponding functions.
  • the computer program product includes one or more computer instructions (sometimes referred to as code or programs).
  • code or programs When the computer program instructions are loaded and executed on a computer, the processes or functions described in accordance with embodiments of the present application are generated in whole or in part.
  • the computer can be a general purpose computer, a special purpose computer, a computer network, or other programmable device.
  • the computer instructions can be stored in a computer readable storage medium or transferred from one computer readable storage medium to another computer readable storage medium, for example, the computer instructions can be from a website site, computer, server or data center Transmission to another website site, computer, server or data center via wired (eg coaxial cable, fiber optic, digital subscriber line (DSL)) or wireless (eg infrared, wireless, microwave, etc.).
  • the computer readable storage medium can be any available media that can be accessed by a computer or a data storage device that includes one or more servers, data centers, etc. that can be integrated with the media.
  • the usable medium may be a magnetic medium (eg, a floppy disk, a hard disk, a magnetic tape), an optical medium (eg, a DVD), or a semiconductor medium (such as a solid state disk (SSD)) or the like.
  • a magnetic medium eg, a floppy disk, a hard disk, a magnetic tape
  • an optical medium eg, a DVD
  • a semiconductor medium such as a solid state disk (SSD)
  • the disclosed systems, devices, and methods may be implemented in other manners.
  • the device embodiments described above are merely illustrative.
  • the division of the unit is only a logical function division.
  • there may be another division manner for example, multiple units or components may be combined or Can be integrated into another system, or some features can be ignored or not executed.
  • the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, device or unit, and may be in an electrical, mechanical or other form.
  • the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of the embodiment.
  • each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
  • the above embodiments it may be implemented in whole or in part by software, hardware, firmware, or any combination thereof.
  • software it may be implemented in whole or in part in the form of a computer program product.
  • the computer program product includes one or more computer instructions.
  • the computer program instructions When the computer program instructions are loaded and executed on a computer, the processes or functions described in accordance with embodiments of the present invention are generated in whole or in part.
  • the computer can be a general purpose computer, a special purpose computer, a computer network, or other programmable device.
  • the computer instructions can be stored in or transmitted by a computer readable storage medium.
  • the computer instructions can be from a website site, computer, server or data center to another website site by wire (eg, coaxial cable, fiber optic, digital subscriber line (DSL)) or wireless (eg, infrared, wireless, microwave, etc.) Transfer from a computer, server, or data center.
  • the computer readable storage medium can be any available media that can be accessed by a computer or a data storage device such as a server, data center, or the like that includes one or more available media.
  • the usable medium may be a magnetic medium (eg, a floppy disk, a hard disk, a magnetic tape), an optical medium (eg, a DVD), or a semiconductor medium (such as a solid state hard disk Sol Identification State Disk (SSD)) or the like.
  • the program can be stored in a computer readable storage medium, when the program is executed
  • the flow of the method embodiments as described above may be included.
  • the foregoing storage medium includes various media that can store program codes, such as a ROM or a random access memory RAM, a magnetic disk, or an optical disk.

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)
  • Mobile Radio Communication Systems (AREA)

Abstract

Disclosed in the present application are a management method for a virtual network element and a related device. A VNFM maintains an instance list and a connection relationship table. The VNFM updates the instance list according to VNFs or an instance update result of a basic service, redistributes connection relationships between paas instances after the instance update of the base service and VNFC instances of VNFs, and updates the connection relationship table according to the redistributed connection relationships, the calling relationship between the basic service and the VNFs can be automatically re-established to improve the service operation efficiency and quickly restore the service.

Description

虚拟网元的管理、维护和控制方法以及相关装置Management, maintenance and control method of virtual network element and related device
本申请要求于2017年10月27日提交中国专利局、申请号为201711023648.0,发明名称为“虚拟网元的管理、维护和控制方法以及相关装置”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of the Chinese patent application filed on October 27, 2017, the Chinese Patent Office, the application number is 201711023648.0, and the invention name is "the management, maintenance and control method of the virtual network element and related devices". The citations are incorporated herein by reference.
技术领域Technical field
本发明涉及通信领域,尤其涉及一种虚拟网元的虚拟网元的管理、维护和控制方法以及相关装置。The present invention relates to the field of communications, and in particular, to a method, a method for managing and maintaining a virtual network element of a virtual network element, and related devices.
背景技术Background technique
NFV(network function virtualization,网络功能虚拟化)是一种虚拟化技术,NFV实现软件硬件解耦,使网络设备的功能不再依赖于专用硬件,在通用硬件上承载传统网络中专用设备的功能,从而减少部署专用设备带来的昂贵成本。NFV (network function virtualization) is a virtualization technology. NFV implements software hardware decoupling, so that the functions of network devices no longer depend on dedicated hardware, and carry the functions of dedicated devices in traditional networks on general hardware. This reduces the cost of deploying dedicated equipment.
NFV平台中包括以下网元:NFVO(network function virtualisation orchestrator,网络功能虚拟化编排器)、VNF(virtualized network function,虚拟化网络功能)、VNFM(virtualized network function management,虚拟网络功能管理)、VIM(virtualized infrastructure management,虚拟化基础设施管理)和NFVI(network function virtualization infrastructure,网络功能虚拟化基础设施)。其中,NFVO、VNFM、VIM统称为NFV-MANO,相当于CSP(cloud service provider,云服务提供商),NFVO、VNFM(Network Functions Virtualisation Manager,网络功能虚拟化管理器)以及VIM(Virtualised Infrastructure Manager,虚拟化基础设施管理器)共同提供NFV管理功能。NFVO通过VNFM对VNF的生命周期进行管理,提供NS(network service,网络服务)管理、VNF Package管理等功能,并向外部实体(如OSS/BSS)提供NS的管理接口。VNF是部署于NFVI的实现特定网络功能的应用程序。VNFM是对VNF进行生命周期管理的功能模块。VIM负责对NFVI的计算资源、存储资源以及网络资源进行控制与管理的功能模块,VIM可被部署于基础网络运营商的基础设施域Infrastructure Domain(例如:NFVI接入点/服务提供点)。NFVI为部署NFV能力的环境中所有硬件设备与软件组件的统称,NFVI可以跨越若干个物理位置(例如:数据中心运营场所)进行扩展部署。The NFV platform includes the following network elements: NFVO (network function virtualisation orchestrator), VNF (virtualized network function), VNFM (virtualized network function management), VIM (VIM) Virtualized infrastructure management, and NFVI (network function virtualization infrastructure). Among them, NFVO, VNFM, and VIM are collectively referred to as NFV-MANO, which is equivalent to CSP (cloud service provider), NFVO, VNFM (Network Functions Virtualisation Manager), and VIM (Virtualised Infrastructure Manager, The Virtualization Infrastructure Manager) provides NFV management capabilities together. NFVO manages the life cycle of VNF through VNFM, provides functions such as NS (network service) management, VNF Package management, and provides NS management interface to external entities (such as OSS/BSS). VNF is an application deployed on NFVI that implements specific network functions. VNFM is a functional module for lifecycle management of VNF. VIM is a functional module that controls and manages NFVI computing resources, storage resources, and network resources. VIM can be deployed to the infrastructure domain Infrastructure Domain (for example, NFVI access point/service provisioning point). NFVI is the collective name for all hardware devices and software components in an NFV-capable environment. NFVI can be deployed across several physical locations (for example, data center operations).
paas(platform as a service,平台即服务)是一种将软件研发的平台作为一种服务提供给用户的模式,目前已经开始讨论将paas模式引入到NFV平台的方案,NFV平台中的VNF通过API(application programming interface,应用程序接口)方式调用paas平台中的基础服务(例如:数据库、日志、认证、加密等服务)。基于NFV对paas的要求,可能采用gateway或loadbalancer屏蔽底层的paas实例细节,也可能不采用上述中间件而由VNF直接调用paas实例。在系统的运行过程中,NFV平台或paas平台中的实例可能发生可能会发生伸缩(减少或增加实例),当VNF直接调用paas实例时,实例伸缩后,VNF和基础服务之间原有的调用关系会失效从而导致业务中断,或者新增的VNFC实例和新增的paas实例之间不能动态更新调用关系从而降低原有业务的运行效率。Paas (platform as a service) is a mode that provides software development platform as a service to users. At present, it has begun to discuss the introduction of paas mode into NFV platform. VNF in NFV platform passes API. The (application programming interface) method calls the basic services (such as database, log, authentication, encryption, etc.) in the paas platform. Based on the requirements of NFV for paas, the gateway or loadbalancer may be used to shield the underlying paas instance details, or the paas instance may be directly invoked by the VNF without using the above middleware. During the running of the system, instances in the NFV platform or the paas platform may be subject to scaling (reduction or increase of instances). When the VNF directly invokes the paas instance, the original call between the VNF and the underlying service is performed after the instance is scaled. If the relationship is invalid, the service is interrupted, or the calling relationship between the newly added VNFC instance and the newly added paas instance cannot be dynamically updated to reduce the efficiency of the original service.
发明内容Summary of the invention
本发明实施例基于VNF直接调用paas实例的场景,所要解决的技术问题在于如何提供 一种虚拟网元的虚拟网元的管理、维护和控制方法以及相关装置,VNFM维护实例列表和连接关系表,在NFV平台或paas平台中的实例发生更新时,自动两个平台的实例之间的连接关系,以实现快速建立VNF和基础服务之间的调用关系和恢复业务功能的目的。The embodiment of the present invention is based on the scenario in which the VNF directly invokes the paas instance. The technical problem to be solved is how to provide a virtual network element virtual network element management, maintenance, and control method, and related devices, and the VNFM maintenance instance list and the connection relationship table. When an instance in the NFV platform or the paas platform is updated, the connection relationship between the instances of the two platforms is automatically implemented to achieve the purpose of quickly establishing a calling relationship between the VNF and the basic service and restoring the business function.
第一方面,本申请提供了一种虚拟网元的管理方法,包括:在基础服务满足实例更新条件的情况下,paas管理网元对基础服务进行实例更新,paas管理网元向VNFM发送基础服务的实例更新结果。In a first aspect, the present application provides a method for managing a virtual network element, including: when a basic service satisfies an instance update condition, a paas management network element performs an instance update on a basic service, and a paas management network element sends a basic service to a VNFM. Instance update results.
其中,paas平台中的基础服务为paas平台中提供基本的业务功能,例如:数据库、日志、认证或加密等服务。实例更新条件表示触发基础服务进行paas实例更新的条件,本申请所述的paas实例更新包括终止或创建paas实例,实例更新条件可根据paas管理网元预存储或预配置的条件。实例更新结果表示基础服务中更新的paas实例的属性信息,例如:属性信息包括paas实例的标识、服务类型标识、更新类型和网络地址中的至少一种,实例更新结果的表示形式包括但不限于表格、数组、链表、结构体或其他形式。paas实例为具备该基础服务能力的独立运行的逻辑实体,可以运行于物理机、虚拟机或容器等环境中,基础服务关联至少一个paas实例。Among them, the basic services in the paas platform provide basic business functions for the paas platform, such as: database, log, authentication or encryption services. The instance update condition indicates a condition for triggering the base service to perform the paas instance update. The paas instance update described in this application includes terminating or creating a paas instance, and the instance update condition may be based on a pre-storage or pre-configuration condition of the paas management network element. The instance update result represents the attribute information of the updated paas instance in the basic service, for example, the attribute information includes at least one of an identifier of the paas instance, a service type identifier, an update type, and a network address, and the representation of the instance update result includes but is not limited to A table, array, linked list, structure, or other form. The paas instance is a stand-alone logical entity with the basic service capability, and can run in an environment such as a physical machine, a virtual machine, or a container. The basic service is associated with at least one paas instance.
本申请中,paas平台中paas管理网元具有和NFV平台中的VNFM具有相互通信的接口,在paas平台中的基础服务满足实例更新条件时,paas管理网元通过上述的接口将基础服务的实例更新结果上报给VNFM,以实现VNFM根据实例更新结果对维护的实例列表和连接关系表进行自动更新。In the present application, the paas management network element in the paas platform has an interface for communicating with the VNFM in the NFV platform. When the basic service in the paas platform satisfies the instance update condition, the paas management network element performs an instance of the basic service through the above interface. The update result is reported to VNFM, so that VNFM automatically updates the maintained instance list and connection relationship table according to the instance update result.
在一种可能的设计中,实例更新结果包括基础服务中更新的paas实例的标识、服务类型标识、更新类型和网络地址中的至少一种。In one possible design, the instance update result includes at least one of an identifier of the updated paas instance in the underlying service, a service type identifier, an update type, and a network address.
其中,paas实例的标识用于唯一表示paas实例的身份;paas实例的服务类型标识表示paas实例的服务类型;paas实例的网络地址表示paas实例对外服务的地址,网络地址可以用端口号和/或IP地址来表示。The identifier of the paas instance is used to uniquely represent the identity of the paas instance; the service type identifier of the paas instance indicates the service type of the paas instance; the network address of the paas instance indicates the address of the paas instance for external service, and the network address can be a port number and/or The IP address is used to indicate.
在一种可能的设计中,在基础服务满足实例更新条件的情况下,paas管理网元对基础服务进行实例更新之前,还包括:In a possible design, before the basic service satisfies the instance update condition, the paas management network element performs an instance update on the basic service, and further includes:
paas管理网元获取基础服务关联的所有paas实例的平均负载;The paas management network element obtains the average load of all paas instances associated with the basic service;
paas管理网元判断平均负载大于第一负载阈值;或The paas management network element determines that the average load is greater than the first load threshold; or
paas管理网元判断平均负载小于第二负载阈值。The paas management network element determines that the average load is less than the second load threshold.
其中,此时的paas实例的服务类型标识使用第一方式进行定义,基础服务关联的所有paas实例具有相同的服务类型标识。本申请中的负载包括但不限于CPU占用率、内存占用率、磁盘占用率中的至少一种。The service type identifier of the paas instance at this time is defined by using the first mode, and all paas instances associated with the basic service have the same service type identifier. The load in this application includes, but is not limited to, at least one of CPU usage, memory usage, and disk occupancy.
在一种可能的设计中,在基础服务满足实例更新条件的情况下,paas管理网元对基础服务进行实例更新之前,还包括:In a possible design, before the basic service satisfies the instance update condition, the paas management network element performs an instance update on the basic service, and further includes:
paas管理网元获取基础服务关联的所有paas实例中至少一个paas实例的负载;The paas management network element acquires the load of at least one paas instance in all paas instances associated with the basic service;
paas管理网元判断至少一个paas实例中每个paas实例的负载均大于第一负载阈值;或The paas management network element determines that the load of each paas instance in at least one paas instance is greater than the first load threshold; or
paas管理网元判断至少一个服务实例中每个paas实例的负载均小于第二负载阈值时。The paas management network element determines that the load of each paas instance in at least one service instance is less than the second load threshold.
其中,此时paas实例的服务类型标识使用第二方式进行定义,基础服务关联的所有paas实例具有不同的服务类型标识,在paas实例的更新类型为终止时,paas实例的服务类型标识和该paas实例的标识相同。本申请中的负载包括但不限于CPU占用率、内存占用率、磁盘占用率中的至少一种。The service type identifier of the paas instance is defined by the second method, and all the paas instances associated with the basic service have different service type identifiers. When the update type of the paas instance is terminated, the service type identifier of the paas instance and the paas The identifiers of the instances are the same. The load in this application includes, but is not limited to, at least one of CPU usage, memory usage, and disk occupancy.
第二方面,本申请提供了一种虚拟网元的管理方法,包括:VNFM接收来自paas管理网元的关于基础服务的实例更新结果;VNFM根据实例更新结果更新与基础服务关联的所有VNF的连接点配置信息。In a second aspect, the application provides a method for managing a virtual network element, including: the VNFM receives an instance update result about a basic service from a paas management network element; and the VNFM updates all VNF connections associated with the basic service according to the instance update result. Point configuration information.
其中,VNFM为NFV平台中用于管理VNF的网元,paas管理网元为paas平台中的管理基础服务的网元,VNFM和paas管理网元之间设置有相互通信的接口。VNFM维护NFV平台中所有VNF和paas平台中所有基础服务之间的关联关系。VNF的连接点配置信息表示VNF所属的VL实例的连接点的网络地址,VL实例用于连接两个VNFC实例,或VNFC实例和paas实例。VL实例需要和两个实例连接时,与两个实例的连接出为连接点,VNFM将连接点的网络地址配置为与对应的实例的网络地址相同。The VNFM is a network element for managing the VNF in the NFV platform, and the paas management network element is a network element for managing the basic service in the paas platform, and the VNFM and the paas management network element are provided with interfaces for mutual communication. VNFM maintains the association between all VNF and all basic services in the paas platform in the NFV platform. The connection point configuration information of the VNF indicates the network address of the connection point of the VL instance to which the VNF belongs, and the VL instance is used to connect two VNFC instances, or a VNFC instance and a paas instance. When a VL instance needs to be connected to two instances, the connection with the two instances is the connection point, and the VNFM configures the network address of the connection point to be the same as the network address of the corresponding instance.
在本申请中,VNFM接收来自paas管理网元的实例更新结果更新关联的VNF的连接点配置信息,这样基础服务关联的paas实例增加或减少时,能自动更新与关联的VNF之间的调用关系,以实现快速恢复业务的目的。In the present application, the VNFM receives the connection point configuration information of the VNF associated with the instance update result update from the paas management network element, so that when the paas instance associated with the basic service is increased or decreased, the calling relationship between the associated VNF and the associated VNF can be automatically updated. To achieve the purpose of quickly recovering business.
在一种可能的设计中,VNFM根据实例更新结构更新与基础服务关联的所有VNF的连接点配置信息包括:VNFM根据实例更新结果更新预存储或预配置的实例列表;VNFM根据预存储或预配置的连接关系表查询与基础服务关联的所有VNF,以及查询与该所有VNF关联的VNFC实例,VNFM重分配pass服务完成实例更新后关联的paas实例和所有VNF关联的VNFC实例之间的连接关系,VNFM根据重分配的连接关系更新预存储或预配置的连接关系表,以及根据更新后的连接关系表更新该所有VNF的连接点配置信息。In one possible design, the VNFM updates the connection point configuration information of all VNFs associated with the base service according to the instance update structure: the VNFM updates the pre-stored or pre-configured instance list according to the instance update result; the VNFM is based on pre-storage or pre-configuration The connection relationship table queries all the VNFs associated with the basic service, and queries the VNFC instances associated with the VNFs. The VNFM redistributes the connection relationship between the associated paas instance and the VNFC instances associated with all VNFs. The VNFM updates the pre-stored or pre-configured connection relationship table according to the re-assigned connection relationship, and updates the connection point configuration information of all the VNFs according to the updated connection relationship table.
其中,实例列表表示paas平台中所有paas实例的属性信息,属性信息包括paas实例的服务类型标识、paas实例的标识、paas实例的网络地址中的至少一种。连接关系表paas平台中的所有paas实例和NFV平台中的所有VNFC实例之间的连接关系。基础服务能被至少一个VNF调用,即一个基础服务关联至少一个VNF;一个VNF包括至少一个VNFC,每个VNFC运行在至少一个VNFC实例上,VNFC实例为虚拟机或容器。VNF的连接点配置信息表示VNF内的VNFC实例关联的VL实例的连接点的网络地址,VL实例用于连接两个实例(两个VNFC实例,或一个VNFC实例和一个paas实例),相应的VL实例具有两个连接点,VL实例的连接点的网络地址需要配置成与所连接的实例的网络地址相同。VL实例和VNFC实例对接的连接点为内部连接点(internal connection point),VL实例和paas实例对接的连接点为外部连接点(external connection point)。The instance list represents attribute information of all paas instances in the paas platform, and the attribute information includes at least one of a service type identifier of the paas instance, an identifier of the paas instance, and a network address of the paas instance. Connects all paas in the paas platform to all VNFC instances in the NFV platform. The basic service can be called by at least one VNF, that is, one basic service is associated with at least one VNF; one VNF includes at least one VNFC, each VNFC runs on at least one VNFC instance, and the VNFC instance is a virtual machine or a container. The connection point configuration information of the VNF indicates the network address of the connection point of the VL instance associated with the VNFC instance in the VNF, and the VL instance is used to connect two instances (two VNFC instances, or one VNFC instance and one paas instance), and the corresponding VL The instance has two connection points, and the network address of the connection point of the VL instance needs to be configured to be the same as the network address of the connected instance. The connection point where the VL instance and the VNFC instance are connected is an internal connection point, and the connection point where the VL instance and the paas instance are connected is an external connection point.
在本申请中,VNFM维护有实例列表和连接关系表,VNFM根据paas管理网元通知的关于基础服务的实例更新结果更新实例列表,重分配基础服务发生实例更新后的paas实例和VNF的VNFC实例之间的连接关系,根据重分配的连接关系更新连接关系表,能自动重新建立基础服务和VNF之间的调用关系,以实现快速恢复业务的目的。In the present application, the VNFM maintains an instance list and a connection relationship table. The VNFM updates the instance list according to the instance update result of the basic service notified by the paas management network element, and redistributes the paas instance and the VNF VNF instance of the VNF after the basic service occurrence instance is updated. The connection relationship between the basic relationship and the VNF can be automatically re-established according to the re-allocated connection relationship to achieve the purpose of quickly recovering the service.
在一种可能的设计中,实例更新结果包括pass服务中更新的paas实例的标识、服务类型标识、更新类型和网络地址中的至少一种。In one possible design, the instance update result includes at least one of an identifier of the updated paas instance in the pass service, a service type identifier, an update type, and a network address.
其中,更新的服务实例为基础服务中创建或终止的paas实例。实例更新结果的表示形式可以是表格、数组、链表、结构体或其他形式,本申请不作限制。The updated service instance is a paas instance created or terminated in the underlying service. The representation of the instance update result may be a table, an array, a linked list, a structure, or other forms, which is not limited in this application.
在一种可能的设计中,服务类型标识使用第一方式进行定义,paas实例关联的所有paas实例具有相同的服务类型标识;或In one possible design, the service type identifier is defined in the first way, and all paas instances associated with the paas instance have the same service type identifier; or
服务类型标识使用第二方式进行定义,基础服务关联的所有paas实例具有不同的服务类型标识,在paas实例的更新类型为终止时,paas实例的服务类型标识和该paas实例的标 识相同。The service type identifier is defined in the second mode. All the paas instances associated with the basic service have different service type identifiers. When the update type of the paas instance is terminated, the service type identifier of the paas instance is the same as the identifier of the paas instance.
在一种可能的设计中,实例列表包括服务类型标识集合、paas实例标识集合和网络地址集合中的至少一种;服务类型标识集合包括n个服务类型标识,paas实例标识集合包括n个paas实例标识子集合,网络地址集合包括n个网络地址子集合。实例列表具有n行,每一行包括具有关联关系的服务类型标识、paas实例标识子集合和网络地址子集合。In a possible design, the instance list includes at least one of a service type identifier set, a paas instance identifier set, and a network address set; the service type identifier set includes n service type identifiers, and the paas instance identifier set includes n paas instances. The identifier subset, the network address set includes n network address subsets. The instance list has n rows, each row including a service type identifier having an association relationship, a paas instance identifier sub-collection, and a network address sub-collection.
在一种可能的设计中,VNFM根据实例更新结果更新实例列表包括:In one possible design, the VNFM updates the list of instances based on the instance update results including:
在更新的paas实例的更新类型为创建且服务类型标识使用第一方式进行定义的情况下,根据更新paas实例的服务类型标识在实例列表的服务类型标识集合中进行检索;In the case that the update type of the updated paas instance is created and the service type identifier is defined in the first manner, the search is performed in the service type identifier set of the instance list according to the service type identifier of the update paas instance;
在检索到更新的paas实例的服务类型标识的情况下,在实例列表中与更新的paas实例的更新类型关联的paas实例标识子集合中添加更新的paas实例的标识,以及在实例列表中与更新的paas实例关联的网络地址子集合中添加更新的paas实例的网络地址;或In the case of retrieving the service type identifier of the updated paas instance, the identifier of the updated paas instance is added to the paas instance identifier sub-collection associated with the update type of the updated paas instance in the instance list, and updated in the instance list Add the network address of the updated paas instance to the sub-collection of network addresses associated with the paas instance; or
在未检索到更新的paas实例的服务类型标识标识的情况下,在实例列表中创建一个行,在服务类型标识集合中添加更新的paas实例的服务类型标识,以及在实例列表中与更新的paas实例的服务类型标识关联的paas实例标识子集合中添加更新的paas实例的标识,以及在实例列表中与更新的paas实例的服务类型标识关联的网络地址子集合中添加更新的paas实例的网络地址。In the case that the service type identifier of the updated paas instance is not retrieved, a row is created in the instance list, the service type identifier of the updated paas instance is added in the service type identifier set, and the updated paas is in the instance list. The service type of the instance identifies the identifier of the added paas instance in the associated paas instance identifier sub-collection, and adds the updated network address of the paas instance in the network address sub-collection associated with the service type identifier of the updated paas instance in the instance list. .
在一种可能的设计中,VNFM根据实例更新结果更新实例列表包括:In one possible design, the VNFM updates the list of instances based on the instance update results including:
在更新的paas实例的更新类型为终止且服务类型标识使用第一方式进行定义的情况下,根据paas实例的服务类型标识在服务类型标识集合中进行检索;In the case that the update type of the updated paas instance is terminated and the service type identifier is defined by using the first manner, the search is performed in the service type identifier set according to the service type identifier of the paas instance;
若检索到paas实例的服务类型标识,在实例列表中与更新的paas实例的服务类型标识关联的基础服务标识子集合中删除更新的paas实例的标识,以及在实例列表中与更新的paas实例的服务类型标识关联的网络地址子集合中删除更新的paas实例的网络地址。If the service type identifier of the paas instance is retrieved, the identifier of the updated paas instance is deleted from the base service identifier sub-collection associated with the service type identifier of the updated paas instance in the instance list, and the updated paas instance is in the instance list. The service type identifies the network address of the updated paas instance in the associated network address sub-collection.
在一种可能的设计中,VNFM根据实例更新结果更新实例列表包括:In one possible design, the VNFM updates the list of instances based on the instance update results including:
在更新的paas实例的更新类型为创建且服务类型标识使用第二方式进行定义的情况下,根据更新paas实例的服务类型标识在paas实例标识集合中进行检索;In the case that the update type of the updated paas instance is created and the service type identifier is defined by using the second mode, the search is performed in the paas instance identifier set according to the service type identifier of the update paas instance;
若检索到与更新的paas实例相同的paas实例标识,在实例列表中与paas实例标识关联的paas实例标识子集合中添加更新的paas实例的标识,以及在实例列表中与paas实例标识关联的网络地址子集合中添加更新的paas实例的网络地址;或If the same paas instance identifier is retrieved from the updated paas instance, the updated paas instance identifier is added to the paas instance identifier sub-collection associated with the paas instance identifier in the instance list, and the network associated with the paas instance identifier in the instance list Add the network address of the updated paas instance to the address sub-collection; or
若未检索到与更新的paas实例相同的paas实例标识,在实例列表中创建1个行,在服务类型标识集合中添加更新的paas实例的服务类型标识,以及在实例列表中与更新的paas实例的服务类型标识关联的paas实例标识子集合中添加更新的paas实例的标识,以及在实例列表中与更新的paas实例的服务类型标识关联的网络地址子集合中添加更新的paas实例的网络地址。If the same paas instance identifier as the updated paas instance is not retrieved, create 1 row in the instance list, add the service type identifier of the updated paas instance in the service type identifier set, and update the paas instance in the instance list. The service type identifier identifies the associated paas instance identifier sub-set with the identifier of the updated paas instance added, and the network address of the updated paas instance added to the network address sub-collection associated with the service type identifier of the updated paas instance in the instance list.
在一种可能的设计中,VNFM根据实例更新结果更新实例列表包括:In one possible design, the VNFM updates the list of instances based on the instance update results including:
在更新的paas实例的更新类型为终止且服务类型标识使用第二方式进行定义的情况下,根据更新paas实例的服务类型标识在paas实例标识集合中进行检索;In the case that the update type of the updated paas instance is terminated and the service type identifier is defined by using the second mode, the search is performed in the paas instance identifier set according to the service type identifier of the update paas instance;
若检索到与更新的paas实例相同的paas实例标识,在实例列表中与paas实例标识对应的paas实例标识子集合中删除更新的paas实例的标识,以及在实例列表中与paas实例标识关联的网络地址子集合中删除更新的paas实例的网络地址。If the same paas instance identifier is retrieved from the updated paas instance, the updated paas instance identifier is deleted from the paas instance identifier sub-collection corresponding to the paas instance identifier in the instance list, and the network associated with the paas instance identifier in the instance list is deleted. The network address of the updated paas instance is deleted from the address sub-collection.
在一种可能的设计中,连接关系表包括VNF标识、VNFC标识、paas实例标识和VL实例 标识中的至少一种。In one possible design, the connection relationship table includes at least one of a VNF identifier, a VNFC identifier, a paas instance identifier, and a VL instance identifier.
其中,连接关系表的每一行包括具有关联关系的VNF标识、VNFC标识、paas实例标识和VL实例标识。Each row of the connection relationship table includes a VNF identifier, a VNFC identifier, a paas instance identifier, and a VL instance identifier with an association relationship.
在一种可能的设计中,重分配基础服务完成实例更新后关联的paas实例和至少一个VNF关联的VNFC实例之间的连接关系包括:In a possible design, the connection relationship between the associated paas instance and the VNFC instance associated with at least one VNF after the re-allocation of the basic service to complete the instance update includes:
使用随机的方式重分配基础服务完成实例更新后关联的paas实例和至少一个VNFC实例之间的连接关系;其中,每个paas实例和至少一个VNFC实例连接。The connection relationship between the associated paas instance and the at least one VNFC instance after the instance update is completed in a random manner; wherein each paas instance is connected to at least one VNFC instance.
在一种可能的设计中,更新连接关系表包括:根据所述重分配的连接关系中待更新VNFC实例标识在所述连接关系表中进行检索;In a possible design, updating the connection relationship table includes: searching, in the connection relationship table, the VNFC instance identifier to be updated according to the re-allocated connection relationship;
若检索到所述待更新VNFC实例标识,比较所述待更新VNFC实例标识在所述重分配的连接关系中的连接关系是否和所述待更新VNFC实例在所述连接关系表中对应的连接关系相同;If the VNFC instance identifier to be updated is retrieved, the connection relationship between the VNFC instance identifier to be updated in the reassigned connection relationship and the connection relationship between the VNFC instance to be updated in the connection relationship table is compared. the same;
如果相同,不执行更新;If the same, do not perform the update;
如果不相同,根据所述待更新VNFC实例标识在所述重分配的连接关系中的连接关系是否和所述待更新VNFC实例在所述连接关系表中对应的连接关系;If not, the connection relationship between the re-allocated connection relationship and the VNFC instance to be updated in the connection relationship table is determined according to the VNFC instance to be updated;
若没有检索到所述待更新VNFC实例标识,在所述连接关系表中创建1个行,以及在创建的行中添加所述待更新VNFC实例在所述连接关系表中对应的连接关系。If the VNFC instance identifier to be updated is not retrieved, a row is created in the connection relationship table, and a connection relationship corresponding to the VNFC instance to be updated in the connection relationship table is added in the created row.
在一种可能的设计中,更新所有VNF关联的连接点配置信息包括:获取更新后的连接关系表中修改或创建的连接关系,若修改或创建的连接关系中包括VL实例标识,将相应的VL实例的外部连接点的网络地址配置为所连接的paas实例的网络地址;若修改或创建的连接关系中不包括VL实例标识,创建一个VL实例,将创建的VL实例的内部连接点配置信息配置为所连接的VNFC实例的网络地址,将创建的VL实例的外部连接点配置信息配置为所连接的paas实例的网络地址,以及将创建的VL实例的标识添加到该连接关系中。In a possible design, updating the connection point configuration information of all VNF associations includes: obtaining a connection relationship modified or created in the updated connection relationship table, and if the modified or created connection relationship includes the VL instance identifier, the corresponding The network address of the external connection point of the VL instance is configured as the network address of the connected paas instance. If the modified or created connection does not include the VL instance ID, create a VL instance and create the internal connection point configuration information of the VL instance. Configure the network address of the connected VNFC instance, configure the external connection point configuration information of the created VL instance as the network address of the connected paas instance, and add the identifier of the created VL instance to the connection relationship.
第三方面,本申请提供了一种虚拟网元的管理方法,包括:In a third aspect, the application provides a method for managing a virtual network element, including:
在VNF满足实例更新条件的情况下,VNFM获取VNF的实例更新结果,根据VNF的实例更新结果更新VNF的连接点配置信息。In the case that the VNF satisfies the instance update condition, the VNFM obtains the instance update result of the VNF, and updates the connection point configuration information of the VNF according to the instance update result of the VNF.
其中,VNF关联至少一个VNFC实例和/VL实例,实例更新条件表示触发VNF增减或减少实例(VNFC实例和/VL实例)的条件,实例更新结果表示VNF中增加或减少的实例的属性信息。VNF的连接点配置信息表示VNF所属的VL实例的连接点的网络地址,VL实例用于连接两个VNFC实例,或VNFC实例和paas实例。VL实例需要和两个实例连接时,与两个实例的连接出为连接点,VNFM将连接点的网络地址配置为与对应的实例的网络地址相同。The VNF is associated with at least one VNFC instance and /VL instance, and the instance update condition indicates a condition for triggering a VNF increase or decrease or a decrease of an instance (a VNFC instance and a /VL instance), and the instance update result indicates attribute information of an instance of an increase or decrease in the VNF. The connection point configuration information of the VNF indicates the network address of the connection point of the VL instance to which the VNF belongs, and the VL instance is used to connect two VNFC instances, or a VNFC instance and a paas instance. When a VL instance needs to be connected to two instances, the connection with the two instances is the connection point, and the VNFM configures the network address of the connection point to be the same as the network address of the corresponding instance.
在本申请中,VNFM根据VNF的实例更新结果更新关联的VNF的连接点配置信息,这样VNF关联的VNFC实例增加或减少时,能自动更新与关联的paas实例之间的调用关系,以实现快速恢复业务的目的。In this application, the VNFM updates the connection point configuration information of the associated VNF according to the instance update result of the VNF, so that when the VNFC instance associated with the VNF is increased or decreased, the calling relationship between the associated and the associated paas instance can be automatically updated to achieve fast The purpose of restoring business.
在一种可能的设计中,根据VNF的实例更新结果更新VNF的连接点配置信息包括:In a possible design, updating the connection point configuration information of the VNF according to the VNF instance update result includes:
根据预存储或预配置的连接关系表查询与VNF关联的所有基础服务,以及查询所有基础服务关联的paas实例,VNFM重分配完成实例更新后关联的实例和该所有基础服务关联的paas实例之间的连接关系,根据重分配的连接关系更新预存储或预配置的连接关系表,以及根据更新后的连接关系表更新VNF关联的VL的连接点配置信息。Query all the basic services associated with the VNF according to the pre-stored or pre-configured connection relationship table, and query the paas instances associated with all the basic services. The VNFM re-allocates between the associated instance after the instance update and the paas instance associated with all the basic services. The connection relationship, updating the pre-stored or pre-configured connection relationship table according to the re-allocated connection relationship, and updating the connection point configuration information of the VNF associated with the VNF according to the updated connection relationship table.
其中,实例更新条件表示触发增加或删除VNF中的实例(VNFC实例和/或VL实例)的条件,例如:VNFM可根据VNF关联的VNFC实例的负载来判断是否满足实例更新条件。实例更 新结果包括VNF中发生更新的VNFC实例的属性信息,例如:属性信息包括但不限于VNFC标识、VNF标识和VL标识中的至少一种。The instance update condition indicates a condition for triggering an instance (VNFC instance and/or VL instance) in the VNF to be added or deleted. For example, the VNFM can determine whether the instance update condition is met according to the load of the VNFC instance associated with the VNF. The instance update result includes attribute information of the updated VNFC instance in the VNF, for example, the attribute information includes, but is not limited to, at least one of a VNFC identifier, a VNF identifier, and a VL identifier.
在一种可能的设计中,连接关系表包括VNF标识、VNFC标识、paas实例标识和VL实例标识中的至少一种。连接关系表标识NFV平台中的所有实例和paas平台中所有实例的连接关系。In one possible design, the connection relationship table includes at least one of a VNF identifier, a VNFC identifier, a paas instance identifier, and a VL instance identifier. The connection relationship table identifies the connection relationship between all instances in the NFV platform and all instances in the paas platform.
第四方面,本申请提供了一种虚拟网元的管理方法,包括:In a fourth aspect, the application provides a method for managing a virtual network element, including:
在需要创建VNF的情况下,VNFM获取所述VNF的paas实例分配结果和VNFC实例分配结果;The VNFM obtains the paas instance allocation result of the VNF and the VNFC instance allocation result when the VNF needs to be created.
根据所述paas实例分配结果更新实例列表;Updating the instance list according to the paas instance allocation result;
分配所述VNFC实例分配结果对应的VNFC实例和所述paas实例分配结果对应paas实例之间的连接关系;Allocating a connection relationship between the VNFC instance corresponding to the VNFC instance assignment result and the paas instance assignment result corresponding to the paas instance;
根据分配的连接关系更新连接关系表,以及根据更新后的连接关系表更新所述VNF的连接点配置信息。Updating the connection relationship table according to the allocated connection relationship, and updating the connection point configuration information of the VNF according to the updated connection relationship table.
在一种可能的设计中,所述实例列表包括服务类型标识集合、paas实例标识集合和网络地址集合中的至少一种,所述服务类型标识集合包括n个服务类型标识,所述paas实例标识集合包括n个paas实例标识子集合,所述网络地址集合包括n个网络地址子集合,所述服务类型标识集合中的服务类型标识、所述paas实例标识集合中的paas实例标识子集合和所述网络地址集合中的网络地址子集合一一对应,n为大于0的整数。In a possible design, the instance list includes at least one of a service type identifier set, a paas instance identifier set, and a network address set, where the service type identifier set includes n service type identifiers, and the paas instance identifier The set includes n paas instance identifier sub-sets, the network address set includes n network address sub-sets, the service type identifier in the service type identifier set, the paas instance identifier sub-collection in the paas instance identifier set, and the The network address subsets in the network address set are in one-to-one correspondence, and n is an integer greater than 0.
在一种可能的设计中,所述连接关系表包括VNF标识、VNFC标识、paas实例标识和VL实例标识中至少一种。In a possible design, the connection relationship table includes at least one of a VNF identifier, a VNFC identifier, a paas instance identifier, and a VL instance identifier.
第五方面,本申请提供了一种虚拟网元的管理装置,该管理装置具有实现上述方法中paas管理网元的行为的功能。所述功能可以通过硬件实现,也可以通过硬件执行相应的软件实现。所述硬件或软件包括一个或多个与上述功能相对应的模块。In a fifth aspect, the present application provides a management device for a virtual network element, where the management device has a function of implementing the behavior of a paas management network element in the foregoing method. The functions may be implemented by hardware or by corresponding software implemented by hardware. The hardware or software includes one or more modules corresponding to the functions described above.
一种可能的实现方式中,所述管理装置包括:处理单元,用于在基础服务满足实例更新条件的情况下,对所述基础服务进行实例更新;发送单元,用于向虚拟网络功能管理网元VNFM发送所述基础服务的实例更新结果。In a possible implementation manner, the management apparatus includes: a processing unit, configured to perform an instance update on the basic service if the basic service satisfies an instance update condition; and a sending unit, configured to the virtual network function management network The meta VNFM sends an instance update result of the base service.
另一种可能的实现方式中,所述管理装置包括:发射器、存储器和处理器;其中,所述存储器中存储一组程序代码,且所述处理器用于调用所述存储器中存储的程序代码,执行以下操作:在基础服务满足实例更新条件的情况下,对所述基础服务进行实例更新。所述发射器,用于向虚拟网络功能管理网元VNFM发送所述基础服务的实例更新结果。In another possible implementation, the management apparatus includes: a transmitter, a memory, and a processor; wherein the memory stores a set of program codes, and the processor is configured to invoke program code stored in the memory And performing the following operations: performing an instance update on the basic service if the basic service satisfies the instance update condition. The transmitter is configured to send an instance update result of the basic service to a virtual network function management network element VNFM.
基于同一发明构思,由于该装置解决问题的原理以及有益效果可以参见上述各可能的终端设备的方法实施方式以及所带来的有益效果,因此该装置的实施可以参见方法的实施,重复之处不再赘述。Based on the same inventive concept, the principle and the beneficial effects of the device can be referred to the method embodiments of the foregoing possible terminal devices and the beneficial effects thereof. Therefore, the implementation of the device can refer to the implementation of the method, and the repetition is not Let me repeat.
第六方面,本申请提供了一种虚拟网元的维护装置,该维护装置具有实现上述方法中VNFM的行为的功能。所述功能可以通过硬件实现,也可以通过硬件执行相应的软件实现。所述硬件或软件包括一个或多个与上述功能相对应的模块。In a sixth aspect, the present application provides a maintenance device for a virtual network element, the maintenance device having a function of implementing the behavior of the VNFM in the foregoing method. The functions may be implemented by hardware or by corresponding software implemented by hardware. The hardware or software includes one or more modules corresponding to the functions described above.
一种可能的实现方式中,所述维护装置包括:接收单元,用于接收来自paas管理网元的关于基础服务的实例更新结果;处理单元,用于根据所述实例更新结果更新与所述基础服务关联的所有VNF的连接点配置信息。In a possible implementation manner, the maintenance apparatus includes: a receiving unit, configured to receive an instance update result about a basic service from a paas management network element; and a processing unit, configured to update and base the update result according to the instance Connection point configuration information for all VNFs associated with the service.
另一种可能的实现方式中,所述维护装置包括:接收器、存储器和处理器;其中,接收 器,用于接收来自paas管理网元的关于基础服务的实例更新结果;所述存储器中存储一组程序代码,且所述处理器用于调用所述存储器中存储的程序代码,执行以下操作:根据所述实例更新结果更新与所述基础服务关联的所有VNF的连接点配置信息。In another possible implementation manner, the maintenance apparatus includes: a receiver, a memory, and a processor; wherein the receiver is configured to receive an instance update result about the basic service from the paas management network element; A set of program code, and the processor is configured to invoke program code stored in the memory, and perform the operation of: updating connection point configuration information of all VNFs associated with the base service according to the instance update result.
基于同一发明构思,由于该装置解决问题的原理以及有益效果可以参见上述各可能的终端设备的方法实施方式以及所带来的有益效果,因此该装置的实施可以参见方法的实施,重复之处不再赘述。Based on the same inventive concept, the principle and the beneficial effects of the device can be referred to the method embodiments of the foregoing possible terminal devices and the beneficial effects thereof. Therefore, the implementation of the device can refer to the implementation of the method, and the repetition is not Let me repeat.
第七方面,本申请提供了一种虚拟网元的控制装置,该控制装置具有实现上述方法中VNFM的行为的功能。所述功能可以通过硬件实现,也可以通过硬件执行相应的软件实现。所述硬件或软件包括一个或多个与上述功能相对应的模块。In a seventh aspect, the present application provides a control device for a virtual network element, the control device having a function of implementing the behavior of the VNFM in the above method. The functions may be implemented by hardware or by corresponding software implemented by hardware. The hardware or software includes one or more modules corresponding to the functions described above.
一种可能的实现方式中,所述控制装置包括:获取单元,用于在VNF满足实例更新条件的情况下,获取所述VNF的实例更新结果;处理单元,用于根据所述VNF的实例更新结果更新所述VNF的连接点配置信息。In a possible implementation, the control device includes: an acquiring unit, configured to acquire an instance update result of the VNF if the VNF meets an instance update condition; and a processing unit, configured to update according to the instance of the VNF The result updates the connection point configuration information of the VNF.
另一种可能的实现方式中,所述控制装置包括:发射器、接收器、存储器和处理器;其中,所述存储器中存储一组程序代码,且所述处理器用于调用所述存储器中存储的程序代码,执行以下操作:在VNF满足实例更新条件的情况下,获取所述VNF的实例更新结果;处理单元,根据所述VNF的实例更新结果更新所述VNF的连接点配置信息。In another possible implementation, the control device includes: a transmitter, a receiver, a memory, and a processor; wherein the memory stores a set of program codes, and the processor is configured to invoke the storage in the memory The program code is configured to: obtain an instance update result of the VNF if the VNF meets the instance update condition; and the processing unit updates the connection point configuration information of the VNF according to the instance update result of the VNF.
基于同一发明构思,由于该装置解决问题的原理以及有益效果可以参见上述各可能的终端设备的方法实施方式以及所带来的有益效果,因此该装置的实施可以参见方法的实施,重复之处不再赘述。Based on the same inventive concept, the principle and the beneficial effects of the device can be referred to the method embodiments of the foregoing possible terminal devices and the beneficial effects thereof. Therefore, the implementation of the device can refer to the implementation of the method, and the repetition is not Let me repeat.
第七方面,本申请提供了一种虚拟网元的创建装置,该创建装置具有实现上述方法中VNFM的行为的功能。所述功能可以通过硬件实现,也可以通过硬件执行相应的软件实现。所述硬件或软件包括一个或多个与上述功能相对应的模块。In a seventh aspect, the present application provides a device for creating a virtual network element, the creating device having a function of implementing the behavior of the VNFM in the foregoing method. The functions may be implemented by hardware or by corresponding software implemented by hardware. The hardware or software includes one or more modules corresponding to the functions described above.
一种可能的实现方式中,所述创建装置包括:获取单元,用于在需要创建VNF的情况下,VNFM获取所述VNF的paas实例分配结果和VNFC实例分配结果;In a possible implementation manner, the creating apparatus includes: an acquiring unit, configured to acquire, by the VNFM, a paas instance allocation result of the VNF and a VNFC instance allocation result, where the VNF needs to be created;
处理单元,用于根据所述paas实例分配结果更新实例列表;分配所述VNFC实例分配结果对应的VNFC实例和所述paas实例分配结果对应paas实例之间的连接关系;根据分配的连接关系更新连接关系表,以及根据更新后的连接关系表更新所述VNF的连接点配置信息。a processing unit, configured to update the instance list according to the paas instance allocation result; assign a connection relationship between the VNFC instance corresponding to the VNFC instance assignment result and the paas instance assignment result corresponding to the paas instance; and update the connection according to the allocated connection relationship The relationship table, and the connection point configuration information of the VNF is updated according to the updated connection relationship table.
另一种可能的实现方式中,所述创建装置包括:发射器、接收器、存储器和处理器;其中,所述存储器中存储一组程序代码,且所述处理器用于调用所述存储器中存储的程序代码,执行以下操作:在需要创建VNF的情况下,获取所述VNF的paas实例分配结果和VNFC实例分配结果;根据所述paas实例分配结果更新实例列表;分配所述VNFC实例分配结果对应的VNFC实例和所述paas实例分配结果对应paas实例之间的连接关系;根据分配的连接关系更新连接关系表,以及根据更新后的连接关系表更新所述VNF的连接点配置信息。In another possible implementation, the creating device includes: a transmitter, a receiver, a memory, and a processor; wherein the memory stores a set of program codes, and the processor is configured to invoke the storage in the memory The program code is configured to: obtain a paas instance assignment result of the VNF and a VNFC instance assignment result when the VNF needs to be created; update the instance list according to the paas instance assignment result; and assign the VNFC instance assignment result to the corresponding The VNFC instance and the paas instance assignment result correspond to a connection relationship between the paas instances; update the connection relationship table according to the allocated connection relationship, and update the connection point configuration information of the VNF according to the updated connection relationship table.
基于同一发明构思,由于该装置解决问题的原理以及有益效果可以参见上述各可能的终端设备的方法实施方式以及所带来的有益效果,因此该装置的实施可以参见方法的实施,重复之处不再赘述。Based on the same inventive concept, the principle and the beneficial effects of the device can be referred to the method embodiments of the foregoing possible terminal devices and the beneficial effects thereof. Therefore, the implementation of the device can refer to the implementation of the method, and the repetition is not Let me repeat.
本申请的又一方面提了供一种计算机可读存储介质,所述计算机可读存储介质中存储有指令,当其在计算机上运行时,使得计算机执行上述各方面所述的方法。Yet another aspect of the present application is directed to a computer readable storage medium having instructions stored therein that, when executed on a computer, cause the computer to perform the methods described in the various aspects above.
本申请的又一方面提供了一种包含指令的计算机程序产品,当其在计算机上运行时,使得计算机执行上述各方面所述的方法。Yet another aspect of the present application provides a computer program product comprising instructions which, when run on a computer, cause the computer to perform the methods described in the various aspects above.
附图说明DRAWINGS
为了更清楚地说明本发明实施例或背景技术中的技术方案,下面将对本发明实施例或背景技术中所需要使用的附图进行说明。In order to more clearly illustrate the technical solutions in the embodiments of the present invention or the background art, the drawings to be used in the embodiments of the present invention or the background art will be described below.
图1是本发明实施例提供的一种通信系统的网络架构图;1 is a network architecture diagram of a communication system according to an embodiment of the present invention;
图2是本发明实施例提供的一种虚拟网元的管理方法的流程示意图;2 is a schematic flowchart of a method for managing a virtual network element according to an embodiment of the present invention;
图3是本发明实施例提供的一种虚拟网元的维护方法的流程示意图;3 is a schematic flowchart of a method for maintaining a virtual network element according to an embodiment of the present invention;
图4是本发明实施例提供的一种虚拟网元的创建方法的流程示意图;4 is a schematic flowchart of a method for creating a virtual network element according to an embodiment of the present invention;
图5是本发明实施例提供的一种虚拟网元的管理装置的结构示意图;FIG. 5 is a schematic structural diagram of a virtual network element management apparatus according to an embodiment of the present disclosure;
图6是本发明实施例提供的一种虚拟网元的管理装置的另一结构示意图;FIG. 6 is another schematic structural diagram of a virtual network element management apparatus according to an embodiment of the present disclosure;
图7是本发明实施例提供的一种虚拟网元的维护装置的结构示意图;FIG. 7 is a schematic structural diagram of a maintenance device for a virtual network element according to an embodiment of the present disclosure;
图8是本发明实施例提供的一种虚拟网元的维护装置的另一结构示意图;FIG. 8 is another schematic structural diagram of a maintenance device for a virtual network element according to an embodiment of the present disclosure;
图9是本发明实施例提供的一种虚拟网元的控制装置的结构示意图;FIG. 9 is a schematic structural diagram of a device for controlling a virtual network element according to an embodiment of the present disclosure;
图10是本发明实施例提供的一种虚拟网元的控制装置的另一结构示意图;FIG. 10 is a schematic diagram of another structure of a virtual network element control apparatus according to an embodiment of the present disclosure;
图11是本发明实施例提供的一种虚拟网元的创建装置的结构示意图;FIG. 11 is a schematic structural diagram of a device for creating a virtual network element according to an embodiment of the present disclosure;
图12是本发明实施例提供的一种虚拟网元的创建装置的另一结构示意图。FIG. 12 is another schematic structural diagram of a device for creating a virtual network element according to an embodiment of the present invention.
具体实施方式Detailed ways
下面结合本发明实施例中的附图对本发明实施例进行描述。The embodiments of the present invention are described below in conjunction with the accompanying drawings in the embodiments of the present invention.
图1为本发明实施例涉及的一种通信系统架构示意图,所述通信系统包括VFV平台和paas平台,其中,NFV平台包括OSS/BSS、NFVO、VNFM、VIM、NFVI和VNF。FIG. 1 is a schematic structural diagram of a communication system according to an embodiment of the present invention. The communication system includes a VFV platform and a paas platform, wherein the NFV platform includes OSS/BSS, NFVO, VNFM, VIM, NFVI, and VNF.
OSS/BSS为一个综合的业务运营和管理平台,主要功能包括网络管理、系统管理、计费、营业、财务和客户服务。OSS/BSS is a comprehensive business operations and management platform with key functions including network management, system management, billing, business, finance and customer service.
NFVO主要用于业务生命周期管理、跨数据中心的资源调度能力、跨厂商的业务生命周期管理能力(包括业务部署、扩容、缩容和下线)。NFVO is mainly used for service lifecycle management, resource scheduling capabilities across data centers, and business lifecycle management capabilities across vendors (including service deployment, capacity expansion, capacity reduction, and downline).
VNF是虚拟化的网元设备或服务,VNF通常有多个具有独立功能的组件构成,这些组件称为VNFC,VNFC通常运行在一个或多个实例(虚拟机或容器)上。A VNF is a virtualized network element device or service. A VNF usually has multiple components with independent functions called VNFC. VNFC usually runs on one or more instances (virtual machines or containers).
VNFM用于为VNF提供部署、扩容、缩容和下线等自动化管理能力。VNFM is used to provide VNF with automated management capabilities such as deployment, expansion, shrinkage, and offline.
VNFM中维护有实例列表和连接关系表,实例列表和连接关系表或位于VNFM中,也可以位于其他网元中,本实施例不作限制。其中,实例列表存储有paas平台中所有paas实例的属性信息,例如属性信息包括但不限于身份标识、服务类型标识、更新类型和网络地址中的至少一种。连接关系表保存有paas平台中的实例和NFV平台中的实例之间的连接关系,例如:连接关系表包括VNFC标识、VNF标识、paas实例标识和VL实例标识中的至少一种。The VNFM maintains an instance list and a connection relationship table. The instance list and the connection relationship table are located in the VNFM, and may be located in other network elements. This embodiment is not limited. The instance list stores attribute information of all paas instances in the paas platform, for example, the attribute information includes, but is not limited to, at least one of an identity identifier, a service type identifier, an update type, and a network address. The connection relationship table stores the connection relationship between the instance in the paas platform and the instance in the NFV platform. For example, the connection relationship table includes at least one of a VNFC identifier, a VNF identifier, a paas instance identifier, and a VL instance identifier.
NFVI为NFV平台的基础设施,以虚拟机或容器的形式向上层提供虚拟的计算资源、存储资源和网络资源。NFVI is the infrastructure of the NFV platform, providing virtual computing resources, storage resources and network resources to the upper layer in the form of virtual machines or containers.
VIM主要负责管理和监控底层的虚拟资源。VIM is primarily responsible for managing and monitoring the underlying virtual resources.
VNFC(Virtualised Network Function Component,虚拟化的网络功能模块组件)是VNF相关功能的子集。VNFC (Virtualized Network Function Component) is a subset of VNF related functions.
VNFC实例(VNFC Instance)是部署于特定的虚拟化容器实例的虚拟化的网络功能模块组件VNFC的实例,VNFC实例的生命周期管理与其关联的VNF具有相关性。A VNFC Instance is an instance of a virtualized network function module component VNFC deployed to a specific virtualized container instance. The lifecycle management of the VNFC instance is related to its associated VNF.
VL实例用于连接两个VNFC,也可以用于连接1个VNFC实例和1个paas实例,VL实例包括两个连接点,与VNFC实例对接的连接点为内部连接点,与paas实例对接的连接点为外部连接点。The VL instance is used to connect two VNFCs. It can also be used to connect one VNFC instance and one paas instance. The VL instance includes two connection points. The connection point that interfaces with the VNFC instance is an internal connection point, and the connection with the paas instance is connected. The point is the external connection point.
在本发明实施例的通信系统中,paas平台中包括一个或多个基础服务,基础服务的类型可以为通用的基础服务,或专用的基础服务,基础服务提供相应的业务功能。paas平台可能有多种部署方式,例如:整体以VNF黑盒的形式存在或以NFVI的形式存在等,但无论何种部署形式下,基础服务都只能由paas管理网元管理,基础服务对paas平台以外的部分都是不可见的,例如:NVF平台中的虚拟网元无法直接获知基础服务的属性信息(负载状态或实例数量等)。In the communication system of the embodiment of the present invention, the paas platform includes one or more basic services, and the type of the basic service may be a general basic service or a dedicated basic service, and the basic service provides a corresponding service function. The paas platform may have multiple deployment methods, for example, the whole form exists in the form of a VNF black box or exists in the form of NFVI, but regardless of the deployment form, the basic service can only be managed by the paas management network element, and the basic service pair The parts outside the paas platform are invisible. For example, the virtual network element in the NVF platform cannot directly know the attribute information (load status or number of instances, etc.) of the basic service.
请参见图2,图2是本发明实施例提供的一种虚拟网元的管理方法,该方法包括但不限于如下步骤:Referring to FIG. 2, FIG. 2 is a schematic diagram of a method for managing a virtual network element according to an embodiment of the present invention, where the method includes but is not limited to the following steps:
S201、paas管理网元检测基础服务满足实例更新条件。S201. The paas management network element detects that the basic service satisfies the instance update condition.
具体地,实例更新条件为触发基础服务终止或创建paas实例的条件,paas管理网元可通过检测paas实例关联的负载来判断是否满足实例更新条件,负载包括但不限于CPU占用率、内存占用率和磁盘占用率中的至少一种。Specifically, the instance update condition is a condition for triggering the termination of the basic service or the creation of the paas instance, and the paas management network element may determine whether the instance update condition is met by detecting the load associated with the paas instance, and the load includes but is not limited to the CPU occupancy rate and the memory occupancy rate. And at least one of disk usage.
在一种可能的实施方式中,paas管理网元使用方法一来检测基础服务是否满足实例更新条件:paas管理网元获取基础服务关联的所有paas实例的平均负载,若平均负载大于第一负载阈值,确定基础服务满足实例更新条件;或者,若平均负载小于第二负载阈值,确定基础服务满足实例更新条件。In a possible implementation manner, the paas management network element uses method 1 to detect whether the basic service meets the instance update condition: the paas management network element obtains the average load of all the paas instances associated with the basic service, and if the average load is greater than the first load threshold And determining that the basic service satisfies the instance update condition; or, if the average load is less than the second load threshold, determining that the basic service satisfies the instance update condition.
在另一种可能的实施方式中,paas管理网元使用方法二来检测基础服务是否满足实例更新条件:paas管理网元获取基础服务关联的所有paas实例中至少一个paas实例的负载,若至少一个服务实例的负载均大于预存储或预配置的第一负载阈值,确定基础服务满足实例更新条件;或者,若至少一个服务实例的负载均小于预存储或预配置的第二负载阈值,确定基础服务满足实例更新条件。In another possible implementation manner, the paas management network element uses method 2 to detect whether the basic service satisfies the instance update condition: the paas management network element acquires the load of at least one paas instance in all paas instances associated with the basic service, if at least one The load of the service instance is greater than the pre-stored or pre-configured first load threshold, determining that the base service satisfies the instance update condition; or determining the base service if the load of the at least one service instance is less than the pre-stored or pre-configured second load threshold The instance update condition is met.
S202、paas管理网元对基础服务进行实例更新。S202: The paas management network element performs an instance update on the basic service.
其中,paas管理网元判断基础服务满足实例更新条件的情况下,根据预存储或预配置的实例更新策略增加或减少基础服务中的paas实例。The paas management network element determines whether the basic service satisfies the instance update condition, and increases or decreases the paas instance in the basic service according to the pre-stored or pre-configured instance update policy.
paas管理网元使用方法一来检测基础服务是否满足实例更新条件时,若基础服务关联的所有paas实例的平均负载大于第一负载阈值,paas管理网元根据预存储或预配置的实例更新策略为基础服务创建新的paas实例;若平均负载小于第二负载阈值,paas管理网元根据预存储或预配置的的实例更新策略终止基础服务中的paas实例。When the paas management network element uses method 1 to check whether the basic service meets the instance update condition, if the average load of all the paas instances associated with the basic service is greater than the first load threshold, the paas management network element updates the policy according to the pre-stored or pre-configured instance. The base service creates a new paas instance; if the average load is less than the second load threshold, the paas management network element terminates the paas instance in the base service according to the pre-stored or pre-configured instance update policy.
paas管理网元使用方法二来检测基础服务是否满足实例更新条件时,若基础服务关联的所有paas实例中至少一个paas实例的负载均大于预存储或预配置的第一负载阈值,根据预存储或预配置的实例更新策略为基础服务创建新的paas实例;若至少一个paas实例的负载均小于预存储或预配置的第二负载阈值,根据实例更新策略终止基础服务中的paas实例。If the paas management network element uses method 2 to detect whether the basic service meets the instance update condition, if the load of at least one paas instance in all the paas instances associated with the basic service is greater than the pre-stored or pre-configured first load threshold, according to pre-storage or The pre-configured instance update policy creates a new paas instance for the underlying service; if the load of at least one paas instance is less than the pre-stored or pre-configured second load threshold, the paas instance in the underlying service is terminated according to the instance update policy.
其中,上述的更新paas实例的方法中,第一负载阈值大于或等于第二负载阈值,实例更新策略表示增加或减少paas实例的策略,实例更新策略中终止或创建的paas实例的数量和位置本实施例不作限制,可根据需要进行预定义或预配置。The method for updating the paas instance includes: the first load threshold is greater than or equal to the second load threshold, the instance update policy indicates a policy of increasing or decreasing the paas instance, and the number and location of the paas instance terminated or created in the instance update policy. The embodiments are not limited and may be pre-defined or pre-configured as needed.
S203、paas管理网元将基础服务的实例更结果发送给VNFM,VNFM接收来自paas管理网 元的实例更新结果。S203. The paas management network element sends the instance result of the basic service to the VNFM, and the VNFM receives the instance update result from the paas management network element.
其中,实例更新结果表示paas实例中更新的paas实例的属性信息,更新的paas实例为创建的paas实例或终止的paas实例,实例更新结果包括更新的paas实例的标识、服务类型标识、更新类型和网络地址中的至少一种。paas实例的标识用于唯一表示paas实例的身份,服务类型标识用于表示paas实例的服务类型,paas实例的更新类型表示paas实例为终止或创建,网络地址表示paas实例对外提供服务的地址,包括IP地址和端口号。其中,在paas实例的更新类型为终止时,网络地址可以为空;在paas实例的更新类型为创建时,网络地址不可或缺。The instance update result indicates the attribute information of the updated paas instance in the paas instance, and the updated paas instance is the created paas instance or the terminated paas instance, and the instance update result includes the updated paas instance identifier, the service type identifier, the update type, and At least one of the network addresses. The identifier of the paas instance is used to uniquely represent the identity of the paas instance, the service type identifier is used to indicate the service type of the paas instance, the update type of the paas instance indicates that the paas instance is terminated or created, and the network address indicates the address of the paas instance providing the service externally, including IP address and port number. The network address can be empty when the update type of the paas instance is terminated. When the update type of the paas instance is created, the network address is indispensable.
其中,paas实例的服务类型标识根据不同的检测基础服务的负载的方法,可以具有不同的定义方式,在同一个paas平台中,paas实例的服务类型标识使用统一的定义方式。The service type identifier of the paas instance may have different definition manners according to different methods for detecting the load of the basic service. In the same paas platform, the service type identifier of the paas instance uses a unified definition manner.
在一种可能的实施方式中,在使用S201中的方法一触发实例更新条件的情况下,基础服务关联的所有paas实例具有相同的服务类型标识,该服务类型标识可是基础服务创建时由paas管理网元来指定。In a possible implementation manner, in the case that the method update condition is triggered by using the method 1 in S201, all paas instances associated with the basic service have the same service type identifier, and the service type identifier may be managed by paas when the basic service is created. The network element is specified.
在另一种可能的实施方式中,在使用S202中的方法二触发实例更新条件的情况下,基础服务关联的所有paas实例具有不同的服务类型标识,在paas实例的更新类型为终止是,paas实例的服务类型标识和该paas实例的标识相同。例如:基础服务关联4个paas实例,4个paas实例的标识分别为2、4、6和7,那么4个paas实例的服务类型标识和标识相同,4个paas实例的更新类型均为创建,4个paas实例的服务类型标识分别为3、5、7和8。又例如:paas实例的标识为5,paas实例的更新类型为终止,则该paas实例的服务类型标识和表示身份的标识相同,也为5。In another possible implementation manner, in the case that the method update condition is triggered by using the method 2 in S202, all the paas instances associated with the basic service have different service type identifiers, and the update type of the paas instance is terminated, paas The service type identifier of the instance is the same as the identity of the paas instance. For example, the basic service is associated with four paas instances, and the identifiers of the four paas instances are 2, 4, 6, and 7, respectively. Then the service type identifiers and identifiers of the four paas instances are the same, and the update types of the four paas instances are created. The service type identifiers of the four paas instances are 3, 5, 7, and 8, respectively. For example, if the identifier of the paas instance is 5, and the update type of the paas instance is terminated, the service type identifier of the paas instance is the same as the identifier indicating the identity, and is also 5.
例如,实例更新结果采用表格的方式来表示,实例更新结果的每一行表示1个更新的paas实例的属性信息,实例更新结果如表1所示:For example, the instance update result is represented by a table, and each row of the instance update result represents attribute information of one updated paas instance, and the instance update result is as shown in Table 1:
Figure PCTCN2018099418-appb-000001
Figure PCTCN2018099418-appb-000001
表1Table 1
表1中更新的paas实例标识为2、5和12,其中,paas实例2、5和12的更新类型使用第一定义方式,服务类型标识具有6,paas实例2的更新类型为终止,对应的网络地址可为空;paas实例5和paas实例12的更新类型为创建,网络地址不为空。The updated paas instance identifiers in Table 1 are 2, 5, and 12, wherein the update types of paas instances 2, 5, and 12 use the first definition mode, the service type identifier has 6, and the update type of paas instance 2 is terminated, corresponding The network address can be empty; the update type of paas instance 5 and paas instance 12 is created, and the network address is not empty.
需要说明的是,实例更新结果的数据结构并不限于表1的形式,也可以使用数组、链表、结构体或其他数据结构来表示,本实施例不作限制。It should be noted that the data structure of the instance update result is not limited to the form of Table 1, and may be represented by an array, a linked list, a structure, or other data structures, which is not limited in this embodiment.
其中,paas管理网元更新实例列表的过程可以包括:The process of updating the instance list by the paas management network element may include:
实例列表表示paas平台中所有paas实例的属性信息,属性信息包括paas实例的标识、服务类型标识和网络地址中的至少一种。The instance list represents attribute information of all paas instances in the paas platform, and the attribute information includes at least one of an identifier of the paas instance, a service type identifier, and a network address.
在一种可能的实施方式中,实例列表中包括服务类型标识集合、paas实例标识集合和网络地址集合中至少一种,服务类型标识集合包括n个服务类型标识,paas实例标识集合包括 n个paas实例标识子集合,网络地址集合包括n个网络地址子集合,服务类型标识集合中的服务类型标识、paas实例标识集合中的paas实例标识子集合和网络地址集合中的网络地址子集合一一对应,即实例列表包括n个行,每一行包括具有关联关系的服务类型标识、paas实例标识子集合和网络地址子集合,服务类型标识集合、paas实例标识集合和网络地址集合均为实例列表的列。In a possible implementation manner, the instance list includes at least one of a service type identifier set, a paas instance identifier set, and a network address set, the service type identifier set includes n service type identifiers, and the paas instance identifier set includes n paas The instance identifier sub-collection, the network address set includes n network address sub-sets, the service type identifier in the service type identifier set, the paas instance identifier sub-collection in the paas instance identifier set, and the network address sub-set in the network address set are one-to-one correspondence , that is, the instance list includes n rows, each row includes a service type identifier having an association relationship, a paas instance identifier sub-collection and a network address sub-collection, a service type identifier set, a paas instance identifier set, and a network address set are columns of an instance list. .
示例性的,VNFM预存储或预配置的的实例列表如表2所示:Exemplarily, a list of VNFM pre-stored or pre-configured instances is shown in Table 2:
Figure PCTCN2018099418-appb-000002
Figure PCTCN2018099418-appb-000002
表2Table 2
表2中每行的元素具有关联关系,服务类型标识1、paas实例标识子集合{1,2,3}和网络地址子集合{192.168.1.1:80,192.168.1.2:80,192.168.1.3:80}关联,paas实例标识1和网络地址192.168.1.1:80对应,paas实例标识2和网络地址192.168.1.2:80对应,paas实例标识3和网络地址192.168.1.3:80。服务类型标识5、paas实例标识子集合{5,7,8,9,12}和网络地址子集合{192.168.1.55:8080,192.168.1.57:8080,192.168.1.58:8080,192.168.1.59:8080,192.168.1.62:8080}关联,paas实例标识子集合{5,7,8,9,12}和网络地址子集合{192.168.1.55:8080,192.168.1.57:8080,192.168.1.58:8080,192.168.1.59:8080,192.168.1.62:8080}中的元素一一对应。The elements of each row in Table 2 have an association relationship, the service type identifier 1, the paas instance identifier sub-set {1, 2, 3} and the network address sub-collection {192.168.1.1: 80, 192.168.1.2: 80, 192.168.1.3: 80} are associated. The paas instance identifier 1 corresponds to the network address 192.168.1.1:80, the paas instance identifier 2 corresponds to the network address 192.168.1.2:80, the paas instance identifier 3 and the network address 192.168.1.3:80. Service type identifier 5, paas instance identifier sub-set {5, 7, 8, 9, 12} and network address sub-set {192.168.1.55:8080,192.168.1.57:8080,192.168.1.58:8080,192.168.1.59:8080 , 192.168.1.62:8080} association, paas instance identification sub-collection {5,7,8,9,12} and network address sub-set {192.168.1.55:8080,192.168.1.57:8080,192.168.1.58:8080,192.168 The elements in .1.59:8080, 192.168.1.62:8080} correspond one-to-one.
在一种可能的实施方式中,VNFM更新实例列表的方法包括:In a possible implementation manner, the method for the VNFM to update the instance list includes:
在更新的paas实例的更新类型为创建且服务类型标识使用第一方式进行定义的情况下,根据所述更新paas实例的服务类型标识在所述实例列表的服务类型标识集合中进行检索;In a case that the update type of the updated paas instance is created and the service type identifier is defined by using the first manner, the search is performed in the service type identifier set of the instance list according to the service type identifier of the update paas instance;
在检索到所述更新的paas实例的服务类型标识的情况下,在所述实例列表中与所述更新的paas实例的更新类型关联的paas实例标识子集合中添加所述更新的paas实例的标识,以及在所述实例列表中与所述更新的paas实例关联的网络地址子集合中添加所述更新的paas实例的网络地址;或In the case that the service type identifier of the updated paas instance is retrieved, the identifier of the updated paas instance is added to the paas instance identifier sub-collection associated with the update type of the updated paas instance in the instance list. And adding a network address of the updated paas instance to a subset of network addresses associated with the updated paas instance in the list of instances; or
在未检索到所述更新的paas实例的服务类型标识标识的情况下,在所述服务类型标识集合中添加所述更新的paas实例的服务类型标识,以及在所述实例列表中与所述更新的paas实例的服务类型标识关联的paas实例标识子集合中添加所述更新的paas实例的标识,以及在所述实例列表中与所述更新的paas实例的服务类型标识关联的网络地址子集合中添加所述更新的paas实例的网络地址。And adding, in the service type identifier set, a service type identifier of the updated paas instance, and the update in the instance list, in a case that the service type identifier identifier of the updated paas instance is not retrieved The service type of the paas instance identifies the identifier of the associated paas instance in the associated paas instance identifier sub-collection, and the network address sub-collection associated with the service type identifier of the updated paas instance in the instance list. Add the network address of the updated paas instance.
例如:更新的paas实例的服务类型标识为1,更新类型为创建,更新的paas实例的标 识为4,网络地址为192.168.1.105:80,VNFM在表2的实例列表的服务类型标识集合中检索服务类型标识1,检索结果为检索到服务类型标识1,在paas实例标识集合{1,2,3}中添加更新的paas实例的标识4,更新后为{1,2,3,4},在网络地址子集合{192.168.1.1:80,192.168.1.2:80,192.168.1.3:80}中添加更新的paas实例的网络地址192.168.1.105:80,更新后的网络地址子集合为{192.168.1.1:80,192.168.1.2:80,192.168.1.3:80,192.168.1.105:80},将paas实例标识4和网络地址192.168.1.105:80建立对应关系。表2中的实例列表更新后如表3所示:For example, the service type identifier of the updated paas instance is 1, the update type is created, the identifier of the updated paas instance is 4, and the network address is 192.168.1.105:80. The VNFM searches in the service type identifier set of the instance list of Table 2. Service type identifier 1, the search result is the retrieved service type identifier 1, and the updated paas instance identifier 4 is added in the paas instance identifier set {1, 2, 3}, and is updated to be {1, 2, 3, 4}, Add the network address of the updated paas instance to 192.168.1.105:80 in the network address sub-set {192.168.1.1:80,192.168.1.2:80,192.168.1.3:80}, and the updated network address sub-collection is {192.168.1.1:80,192.168. 1.2: 80, 192.168.1.3: 80, 192.168.1.105: 80}, the correspondence between the paas instance identifier 4 and the network address 192.168.1.105:80 is established. The list of instances in Table 2 is updated as shown in Table 3:
Figure PCTCN2018099418-appb-000003
Figure PCTCN2018099418-appb-000003
表3table 3
又例如:更新的paas实例的服务类型标识为2,服务类型标识使用第一方式进行定义,paas实例的更新类型为创建,网络地址为192.168.1.105:80,更新的paas实例的标识为4。VNFM在表2的实例列表的服务类型标识集合中没有检索到paas实例4,在实例列表中创建1行,在行中添加服务类型标识4,paas实例标识4和网络地址192.168.1.105:80,更新后的实例列表如表4所示:For example, the service type identifier of the updated paas instance is 2, the service type identifier is defined by the first mode, the update type of the paas instance is created, the network address is 192.168.1.105:80, and the identifier of the updated paas instance is 4. VNFM does not retrieve paas instance 4 in the service type identifier set of the instance list of Table 2, creates 1 row in the instance list, adds service type identifier 4, paas instance identifier 4, and network address 192.168.1.105:80 in the row. The updated list of examples is shown in Table 4:
Figure PCTCN2018099418-appb-000004
Figure PCTCN2018099418-appb-000004
表4Table 4
在另一种可能的实施方式中,所述VNFM根据所述实例更新结果更新实例列表包括:In another possible implementation manner, the VNFM updates the instance list according to the instance update result, including:
在更新的paas实例的更新类型为终止且服务类型标识使用第一方式进行定义的情况下,根据所述paas实例的服务类型标识在所述服务类型标识集合中进行检索;In a case that the update type of the updated paas instance is terminated and the service type identifier is defined by using the first manner, the search is performed in the service type identifier set according to the service type identifier of the paas instance;
若检索到所述paas实例的服务类型标识,在所述实例列表中与所述更新的paas实例的服务类型标识关联的基础服务标识子集合中终止所述更新的paas实例的标识,以及在所述实例列表中与所述更新的paas实例的服务类型标识关联的网络地址子集合中终止所述更新的paas实例的网络地址。If the service type identifier of the paas instance is retrieved, the identifier of the updated paas instance is terminated in the basic service identifier subset associated with the service type identifier of the updated paas instance in the instance list, and Terminating the network address of the updated paas instance in the network address subset associated with the service type identifier of the updated paas instance in the instance list.
例如:更新的paas实例的更新类型为终止,服务类型标识使用第一方式进行定义,paas实例标识为5,paas实例标识为8,VNFM在表2的实例列表的服务类型标识集合中检索到服务类型标识5,在服务类型标识5关联的paas实例标识子集合中删除paas实例标识8,以及在paas实例标识8关联的网络地址子集合中删除网络地址192.168.1.58:8080,更新后的实例列表如表5所示:For example, the update type of the updated paas instance is terminated, the service type identifier is defined by the first mode, the paas instance identifier is 5, the paas instance identifier is 8, and the VNFM retrieves the service in the service type identifier set of the instance list of Table 2. Type identifier 5, delete the paas instance identifier 8 in the paas instance identifier sub-collection associated with the service type identifier 5, and delete the network address 192.168.1.58:8080 in the network address sub-collection associated with the paas instance identifier 8, the updated instance list As shown in Table 5:
Figure PCTCN2018099418-appb-000005
Figure PCTCN2018099418-appb-000005
表5table 5
在另一种可能的实施方式中,所述VNFM根据所述实例更新结果更新实例列表包括:In another possible implementation manner, the VNFM updates the instance list according to the instance update result, including:
在更新的paas实例的更新类型为创建且服务类型标识使用第二方式进行定义的情况下,根据所述更新paas实例的服务类型标识在所述paas实例标识集合中进行检索;In a case that the update type of the updated paas instance is created and the service type identifier is defined by using the second manner, the search is performed in the paas instance identifier set according to the service type identifier of the update paas instance;
若检索到与所述更新的paas实例相同的paas实例标识,在所述实例列表中与所述paas实例标识关联的paas实例标识子集合中添加所述更新的paas实例的标识,以及在实例列表中与所述paas实例标识关联的网络地址子集合中添加所述更新的paas实例的网络地址;或If the paas instance identifier is the same as the updated paas instance, the updated paas instance identifier is added to the paas instance identifier sub-collection associated with the paas instance identifier in the instance list, and the instance list is Adding the network address of the updated paas instance to the network address subset associated with the paas instance identifier; or
若未检索到与所述更新的paas实例相同的paas实例标识,在所述服务类型标识集合中添加所述更新的paas实例的服务类型标识,以及在所述实例列表中与所述更新的paas实例的服务类型标识关联的paas实例标识子集合中添加所述更新的paas实例的标识,以及在所述实例列表中与所述更新的paas实例的服务类型标识关联的网络地址子集合中添加所述更新的paas实例的网络地址。If the same paas instance identifier as the updated paas instance is not retrieved, the service type identifier of the updated paas instance is added to the service type identifier set, and the updated paas is in the instance list. The service type identifier of the instance identifies an identifier of the updated paas instance in the associated paas instance identifier sub-collection, and adds a network address sub-collection associated with the service type identifier of the updated paas instance in the instance list. The network address of the updated paas instance.
例如:更新的paas实例的更新类型为创建,服务类型标识使用第二方式进行定义,创建的paas实例的服务类型标识为8,paas实例标识为10,网络地址192.168.1.70:8080,VNFM在表2所示的服务类型标识集合中检索服务类型标识8,没有检索到服务类型标识9,然后VNFM继续在实例列表的paas实例标识集合中进行检索,检索到paas实例标识8,将更 新的paas实例标识10添加到paas实例标识8对应的paas实例标识集合中,以及将网络地址192.168.1.70:8080添加到网络地址子集合中。更新后的实例列表3如表6所示。For example, the update type of the updated paas instance is created, and the service type identifier is defined by the second method. The service type identifier of the created paas instance is 8, the paas instance identifier is 10, the network address is 192.168.1.70:8080, and the VNFM is in the table. The service type identifier 8 shown in 2 retrieves the service type identifier 8, and the service type identifier 9 is not retrieved, and then the VNFM continues to retrieve in the paas instance identifier set of the instance list, and retrieves the paas instance identifier 8, which will update the paas instance. The identifier 10 is added to the paas instance identifier set corresponding to the paas instance identifier 8, and the network address 192.168.1.70:8080 is added to the network address subset. The updated instance list 3 is shown in Table 6.
Figure PCTCN2018099418-appb-000006
Figure PCTCN2018099418-appb-000006
表6Table 6
又例如:更新的paas实例的更新类型为创建,服务类型标识使用第二方式进行定义,创建的paas实例的服务类型标识为11,更新的paas实例的标识为13,网络地址为192.168.1.71:8080。VNFM首先在实例列表的服务类型标识集合中检索服务类型标识11,没检索到服务类型标识11,继续在paas实例标识集合中进行检索,仍然没有检索到11,创建一个行,在行中添加更新的paas实例的服务类型标识、标识和网络地址,更新后的实例列表如表7所示:For example, the update type of the updated paas instance is created, the service type identifier is defined by the second method, the service type identifier of the created paas instance is 11, the updated paas instance identifier is 13, and the network address is 192.168.1.71: 8080. The VNFM first retrieves the service type identifier 11 in the service type identifier set of the instance list, does not retrieve the service type identifier 11, continues to search in the paas instance identifier set, still does not retrieve 11, creates a row, and adds an update in the row. The service type identifier, identifier, and network address of the paas instance. The updated instance list is shown in Table 7:
Figure PCTCN2018099418-appb-000007
Figure PCTCN2018099418-appb-000007
表7Table 7
在另一种可能的实施方式中,所述VNFM根据所述实例更新结果更新实例列表包括:In another possible implementation manner, the VNFM updates the instance list according to the instance update result, including:
在更新的paas实例的更新类型为终止且服务类型标识使用第二方式进行定义的情况下, 根据所述更新paas实例的服务类型标识在所述paas实例标识集合中进行检索;In a case that the update type of the updated paas instance is terminated and the service type identifier is defined by using the second manner, the search is performed in the paas instance identifier set according to the service type identifier of the update paas instance;
若检索到与所述更新的paas实例相同的paas实例标识,在所述实例列表中与所述paas实例标识对应的paas实例标识子集合中终止所述更新的paas实例的标识,以及在所述实例列表中与所述paas实例标识关联的网络地址子集合中终止所述更新的paas实例的网络地址。If the paas instance identifier that is the same as the updated paas instance is retrieved, the identifier of the updated paas instance is terminated in the paas instance identifier sub-collection corresponding to the paas instance identifier in the instance list, and Terminating the network address of the updated paas instance in the network address sub-collection associated with the paas instance identifier in the instance list.
例如:更新的paas实例的更新类型为终止,终止的服务实例的服务类型标识使用第二方式进行定义,终止的paas实例的服务类型标识为12,标识为12,VNFM在服务类型标识集合中检索服务类型标识12,检索结果为没有检索到服务类型标识12,继续在paas实例标识集合中检索,检索到paas实例标识12,在paas实例标识集合中删除paas实例12,以及在网络地址集合中删除关联的网络地址,更新后的实例列表如表8所示。For example, the update type of the updated paas instance is terminated, and the service type identifier of the terminated service instance is defined by the second method. The service type identifier of the terminated paas instance is 12, and the identifier is 12, and the VNFM searches in the service type identifier set. The service type identifier 12, the search result is that the service type identifier 12 is not retrieved, and the search is continued in the paas instance identifier set, the paas instance identifier 12 is retrieved, the paas instance 12 is deleted in the paas instance identifier set, and the network address set is deleted. The associated network address, the updated instance list is shown in Table 8.
Figure PCTCN2018099418-appb-000008
Figure PCTCN2018099418-appb-000008
表8Table 8
S204、根据实例更新结果更新基础服务关联的所有VNF对应的连接点配置信息。S204. Update connection point configuration information corresponding to all VNFs associated with the basic service according to the instance update result.
具体的,VNFM维护NFV平台中所有VNF和paas平台中所有基础服务之间的关联关系。VNF的连接点配置信息表示VNF所属的VL实例的连接点的网络地址,VL实例用于连接两个VNFC实例,或VNFC实例和paas实例。VL实例需要和两个实例连接时,与两个实例的连接出为连接点,VNFM将连接点的网络地址配置为与对应的实例的网络地址相同。Specifically, VNFM maintains the association between all VNF and all basic services in the paas platform in the NFV platform. The connection point configuration information of the VNF indicates the network address of the connection point of the VL instance to which the VNF belongs, and the VL instance is used to connect two VNFC instances, or a VNFC instance and a paas instance. When a VL instance needs to be connected to two instances, the connection with the two instances is the connection point, and the VNFM configures the network address of the connection point to be the same as the network address of the corresponding instance.
在一种可能的实施方式中,VNFM根据实例更新结构更新与基础服务关联的所有VNF的连接点配置信息包括:VNFM根据实例更新结果更新预存储或预配置的实例列表;VNFM根据预存储或预配置的连接关系表查询与基础服务关联的所有VNF,以及查询与该所有VNF关联的VNFC实例,VNFM重分配pass服务完成实例更新后关联的paas实例和所有VNF关联的VNFC实例之间的连接关系,VNFM根据重分配的连接关系更新预存储或预配置的连接关系表,以及根据更新后的连接关系表更新该所有VNF的连接点配置信息。In a possible implementation manner, the VNFM updates the connection point configuration information of all the VNFs associated with the basic service according to the instance update structure, and the VNFM updates the pre-stored or pre-configured instance list according to the instance update result; the VNFM is pre-stored or pre-stored according to the pre-stored or pre-stored The configured connection relationship table queries all the VNFs associated with the basic service, and queries the VNFC instances associated with the VNFs. The VNFM redistributes the connection between the associated paas instance and all VNF-related VNFC instances. The VNFM updates the pre-stored or pre-configured connection relationship table according to the reassigned connection relationship, and updates the connection point configuration information of all the VNFs according to the updated connection relationship table.
具体的,连接关系表用于记录NFV平台中所有VNFC实例和paas平台中所有实例之间的连接关系。可选的,连接关系表包括VNF标识、VNFC实例标识、paas实例标识和VL实例标识中的至少一种。VNF标识用于唯一表示VNF的身份,VNF标识可以在VNF创建时由MANO分配的;VNFC实例用于唯一表示VNFC的身份,也可以由MANO分配;VL实例用于连接两个实例,例如:VL实例连接两个VNFC实例,或连接VNFC实例和paas实例,VL实例具有两个连接点,连接点的网络地址和所连接的VNFC实例或paas实例的网络地址相同,例如:VL实例用于连接VNFC实例1和VNFC实例2,VL实例和VNFC实例1之间的连接点设为第一连接点, 第一连接点的网络地址和VNFC实例1的网络地址相同;VL实例和VNFC实例2之间的连接点为第二连接点,第二连接点的网络地址和VNFC实例2的网络地址相同。Specifically, the connection relationship table is used to record the connection relationship between all VNFC instances in the NFV platform and all instances in the paas platform. Optionally, the connection relationship table includes at least one of a VNF identifier, a VNFC instance identifier, a paas instance identifier, and a VL instance identifier. The VNF identifier is used to uniquely represent the identity of the VNF. The VNF identifier can be assigned by the MANO when the VNF is created; the VNFC instance is used to uniquely represent the identity of the VNFC, and can also be assigned by the MANO; the VL instance is used to connect two instances, for example: VL An instance connects two VNFC instances, or connects to a VNFC instance and a paas instance. The VL instance has two connection points. The network address of the connection point is the same as the network address of the connected VNFC instance or paas instance. For example, the VL instance is used to connect to the VNFC. The connection point between the instance 1 and the VNFC instance 2, the VL instance and the VNFC instance 1 is set as the first connection point, the network address of the first connection point is the same as the network address of the VNFC instance 1, and between the VL instance and the VNFC instance 2 The connection point is the second connection point, and the network address of the second connection point is the same as the network address of the VNFC instance 2.
其中,VL实例和VNFC实例之间的连接点为内部连接点(internal connection point),VL实例和paas实例之间的连接点为外部连接点(external connection point)。The connection point between the VL instance and the VNFC instance is an internal connection point, and the connection point between the VL instance and the paas instance is an external connection point.
例如:连接关系表的每一行表示1个连接关系,VNFM预存储或预配置的连接关系表如表9所示:For example, each row of the connection relation table represents a connection relationship, and the VNFM pre-stored or pre-configured connection relationship table is as shown in Table 9:
VNF标识VNF logo VNFC实例标识VNFC instance ID paas实例标识Paas instance ID VL实例标识VL instance ID
11 22 44 33
11 33 55 44
11 44 66 55
表9Table 9
VNFM在更新后的实例列表中查询基础服务发生实例更新后的paas实例,例如:在更新后的实例列表中查询与更新的paas实例属于相同服务类型标识的paas实例,将查询到的paas实例生成paas实例列表。然后根据paas实例列表中每个paas实例标识在连接关系表中进行检索,根据检索到的VNFC实例生成VNFC实例列表,VNFC实例列表可根据VNF进行分类。The VNFM queries the paas instance after the instance update of the base service in the updated instance list. For example, the paas instance that belongs to the same service type identifier is queried in the updated instance list, and the queed instance is generated. List of paas instances. Then, the VNFC instance list is generated according to the retrieved VNFC instance according to each paas instance identifier in the paas instance list, and the VNFC instance list can be classified according to the VNF.
VNFM根据预设的规则将VNFC实例列表中的VNFC实例和paas实例列表中的paas实例重分配连接关系,例如:采用随机的方式重分配VNFC实例列表中的VNFC实例和paas实例列表中的paas实例,确保一个VNFC实例至少和一个paas实例连接,在重分配连接关系的过程中,包括三种情况:VNFC实例和paas实例的连接关系保持不变,删除VNFC实例和paas实例之间的连接,VNFC实例变更为和其他paas实例连接。The VNFM re-allocates the connection between the VNFC instance in the VNFC instance list and the paas instance in the paas instance list according to a preset rule, for example, re-allocating the VNFC instance in the VNFC instance list and the paas instance in the paas instance list in a random manner. Ensure that a VNFC instance is connected to at least one paas instance. In the process of redistributing the connection relationship, there are three cases: the connection relationship between the VNFC instance and the paas instance remains unchanged, and the connection between the VNFC instance and the paas instance is deleted. The instance is changed to connect with other paas instances.
例如:基础服务进行实例更新后的paas实例为paas实例1、paas实例5和paas实例6,VNFM在连接关系表中检索到与基础服务关联的VNFC实例为VNFC实例2、VNFC实例3和VNFC实例4,其中,VNFC实例2、VNFC实例3和VNFC实例4都属于VNF1。VNFM重分配上述3个paas实例和3个VNFC实例之间的连接关系如表10所示:For example, the paas instance after the instance update of the basic service is paas instance 1, paas instance 5, and paas instance 6. The VNFM retrieves the VNFC instance associated with the base service as VNFC instance 2, VNFC instance 3, and VNFC instance in the connection relationship table. 4, wherein VNFC instance 2, VNFC instance 3, and VNFC instance 4 belong to VNF1. The connection relationship between the above three paas instances and three VNFC instances is as shown in Table 10:
VNF标识VNF logo VNFC实例标识VNFC instance ID paas实例标识Paas instance ID VL实例标识VL instance ID
11 22 11 77
11 33 55 88
22 44 66 99
表10Table 10
VNFM将VNFC实例2和paas实例1相连接,将VNFC实例2和paas实例5相连接,将VNFC实例4和paas实例6相连接。VNFC实例2和paas实例1通过VL实例7连接,VNFC实例3和paas实例5通过VL实例7连接,VNFC实例4通过VL实例8连接。VNFM connects VNFC instance 2 with paas instance 1, connects VNFC instance 2 with paas instance 5, and connects VNFC instance 4 with paas instance 6. VNFC instance 2 and paas instance 1 are connected by VL instance 7, VNFC instance 3 and paas instance 5 are connected by VL instance 7, and VNFC instance 4 is connected by VL instance 8.
需要说明的是,表10中重分配的连接关系仅为举例说明,并不对本发明实施例构成限定。It should be noted that the re-allocation of the connection relationship in Table 10 is merely illustrative and does not limit the embodiments of the present invention.
其中,VNFM更新连接关系表的过程可以包括:The process of updating the connection relationship table by the VNFM may include:
VNFM根据重分配的连接关系更新连接关系表,更新的过程包括:根据重分配的连接关系 对应的每个VNFC实例标识和VNF标识在连接关系表中进行检索,如果在连接关系表中检索到VNFC实例标识和VNF标识,比较在连接关系表中检索到的连接关系和重分配的连接关系中VNFC实例标识对应的连接关系是否相同,如果相同,保持不变,如果不相同,将重分类的连接关系覆盖更新连接关系表中的连接关系;如果没有检索到VNFC实例标识,在连接关系表中创建一个行,在创建的行的相应位置添加VNF标识、VNFC实例标识、paas实例标识。The VNFM updates the connection relationship table according to the re-allocated connection relationship. The update process includes: retrieving the VNFC instance identifier and the VNF identifier according to the re-assigned connection relationship in the connection relationship table, if the VNFC is retrieved in the connection relationship table. The instance identifier and the VNF identifier are compared. The connection relationship retrieved in the connection relationship table is the same as the connection relationship corresponding to the VNFC instance identifier in the reassigned connection relationship. If they are the same, they remain unchanged. If they are not the same, the reclassified connection is The relationship overrides the connection relationship in the connection relationship table. If the VNFC instance ID is not retrieved, a row is created in the connection relationship table, and the VNF identifier, the VNFC instance identifier, and the paas instance identifier are added to the corresponding positions of the created row.
例如:根据表9和表10的例子对连接关系表的更新过程进行说明:For example, the update process of the connection relation table is described according to the examples in Table 9 and Table 10:
VNFC首先根据表10中的VNFC实例标识2和VNF标识1在表9中进行检索,在表9中检索到VNFC实例标识2和VNF标识1,对比表9中检索到的行和表10中VNFC实例标识2所在的行不一样,将表10中VNFC实例标识2所在的行覆盖表9检索到的行。VNFC根据表10中的VNFC实例标识1和VNFC实例3在表9中进行检索,检索到VNFC实例标识3和VNF标识1,对比表9中检索到的行和表10中对应的行不一致,将表10中VNFC标识3和VNF标识1对应的行覆盖表9中检索到的行。VNFM根据VNFC实例标识4和VNF标识2在表9中进行检索,没有在表9中检索到对应的行,在表9中创建1个行,在行中添加表10中VNFC实例4和VNF标识2对应的标识。The VNFC first searches in Table 9 according to the VNFC instance ID 2 and the VNF ID 1 in Table 10, and retrieves the VNFC instance ID 2 and the VNF ID 1 in Table 9, comparing the rows retrieved in Table 9 with the VNFC in Table 10. The row where the instance identifier 2 is located is different. The row in which the VNFC instance identifier 2 in the table 10 is located covers the row retrieved by the table 9. The VNFC searches in Table 9 according to the VNFC instance ID 1 and VNFC instance 3 in Table 10, and retrieves the VNFC instance ID 3 and the VNF ID 1, and compares the rows retrieved in Table 9 with the corresponding rows in Table 10, which will be inconsistent. The row corresponding to the VNFC identifier 3 and the VNF identifier 1 in Table 10 covers the rows retrieved in Table 9. The VNFM searches in Table 9 according to the VNFC Instance ID 4 and the VNF ID 2, and does not retrieve the corresponding row in Table 9, creates 1 row in Table 9, and adds VNFC Instance 4 and VNF ID in Table 10 in the row. 2 corresponding identifier.
根据上述连接关系表的更新过程,更新后的连接关系表如表11所示。According to the update process of the above connection relationship table, the updated connection relationship table is as shown in Table 11.
VNF标识VNF logo VNFC实例标识VNFC instance ID paas实例标识Paas instance ID VL实例标识VL instance ID
11 22 11 77
11 33 55 88
22 44 66 99
11 44 66 55
表11Table 11
其中,VNFM更新所有VNF的连接点配置信息的过程可包括:The process of updating the connection point configuration information of all VNFs by the VNFM may include:
VNFM获取更新的连接关系表中修改的连接关系或创建的连接关系,若修改的连接关系或创建的连接关系中包括VL实例标识,将相应的VL实例的外部连接点配置信息配置为所连接的paas实例的网络地址;若修改或创建的连接关系中不包括VL实例标识,创建一个VL实例,将创建的VL的内部连接点配置信息配置为所连接的VNFC实例的网络地址,将创建的VL实例的外部连接点配置信息配置为所连接的paas实例的网络地址,以及将创建的VL实例的标识添加到该连接关系中。The VNFM obtains the modified connection relationship or the created connection relationship in the updated connection relationship table. If the modified connection relationship or the created connection relationship includes the VL instance identifier, the external connection point configuration information of the corresponding VL instance is configured as the connected The network address of the paas instance; if the modified or created connection does not include the VL instance ID, create a VL instance, configure the internal connection point configuration information of the created VL as the network address of the connected VNFC instance, and create the VL. The external connection point configuration information of the instance is configured as the network address of the connected paas instance, and the identifier of the created VL instance is added to the connection relationship.
例如:根据表11的连接关系表对更新VNF的连接点配置信息的过程进行说明:For example, the process of updating the connection point configuration information of the VNF according to the connection relationship table of Table 11 is explained:
VNFM确定表11中发生更新的行(连接关系)为第1至第3行,VNFM将VL实例7的内部连接点的网络地址配置为VNFC实例2的网络地址,以及将VL实例7的外部连接点的网络地址配置为paas实例1的网络地址。VNFM将VL实例8的内部连接点的网络地址配置为VNFC实例2的网络地址,以及将VL实例8的外部连接点的网络地址配置为paas实例5的网络地址。VNFM将VL实例9的内部连接点的网络地址配置为VNFC实例4的网络地址,以及将VL实例9的外部连接点的网络地址配置为paas实例6的网络地址。The VNFM determines that the row (connection relationship) in which the update occurs in Table 11 is the first to third rows, and the VNFM configures the network address of the internal connection point of the VL instance 7 as the network address of the VNFC instance 2, and the external connection of the VL instance 7 The network address of the point is configured as the network address of paas instance 1. The VNFM configures the network address of the internal connection point of the VL instance 8 as the network address of the VNFC instance 2, and configures the network address of the external connection point of the VL instance 8 as the network address of the paas instance 5. The VNFM configures the network address of the internal connection point of the VL instance 9 as the network address of the VNFC instance 4, and configures the network address of the external connection point of the VL instance 9 as the network address of the paas instance 6.
在图2所描述的方法中,VNFM维护有实例列表和连接关系表,VNFM根据paas管理网元通知的关于基础服务的实例更新结果更新实例列表,重分配基础服务发生实例更新后的paas实例和VNF的VNFC实例之间的连接关系,根据重分配的连接关系更新连接关系表,能自动 重新建立基础服务和VNF之间的调用关系,以实现快速恢复业务的目的。In the method described in FIG. 2, the VNFM maintains an instance list and a connection relationship table, and the VNFM updates the instance list according to the instance update result of the basic service notified by the paas management network element, and redistributes the paas instance after the basic service occurrence instance is updated. The connection relationship between the VNFC instances of the VNF is updated according to the re-allocated connection relationship, and the call relationship between the basic service and the VNF can be automatically re-established to achieve the purpose of quickly recovering the service.
参见图3,为本发明实施例提供的一种虚拟网元的管理方法的流程示意图,在本实施例中,所述方法包括以下步骤:FIG. 3 is a schematic flowchart of a method for managing a virtual network element according to an embodiment of the present invention. In this embodiment, the method includes the following steps:
S301、VNFM检测到VNF满足实例更新条件,对VNF进行实例更新。S301. The VNFM detects that the VNF satisfies the instance update condition, and performs an instance update on the VNF.
具体的,实例更新条件为触发终止或创建VNF的实例的条件,终止或创建VNF的实例包括VNFC实例和/或VL实例。VNFM可根据VNF关联的VNFC实例的负载来判断是否满足实例更新条件,负载包括但不限于CPU负载、内存负载、磁盘负载中的至少一种。Specifically, the instance update condition is a condition for triggering termination or creation of an instance of the VNF, and the instance of terminating or creating the VNF includes a VNFC instance and/or a VL instance. The VNFM may determine whether the instance update condition is met according to the load of the VNFC instance associated with the VNF, and the load includes, but is not limited to, at least one of a CPU load, a memory load, and a disk load.
在一种可能的实施方式中,VNFM使用方法一来判断是否满足实例更新条件:VNFM获取VNF关联的所有VNFC实例的负载的平均负载,若平均负载大于第一负载阈值,确定VNF满足实例更新条件;或者,若平均负载小于第二负载阈值,确定VNF满足实例更新条件。In a possible implementation manner, the VNFM uses the method 1 to determine whether the instance update condition is met: the VNFM obtains the average load of the load of all VNFC instances associated with the VNF, and if the average load is greater than the first load threshold, determining that the VNF satisfies the instance update condition. Or, if the average load is less than the second load threshold, it is determined that the VNF satisfies the instance update condition.
在另一种可能的实施方式中,VNFM使用方法二来判断是否满足实例更新条件:VNFM获取VNF关联的所有VNFC实例中的至少一个VNFC实例的负载,若至少一个VNFC实例负载中每个VNFC实例的负载大于第一负载阈值,确定VNF满足实例更新条件;或若至少一个VNFC实例中每个VNFC实例的负载小于第二负载阈值,确定VNF满足实例更新条件。In another possible implementation manner, the VNFM uses the second method to determine whether the instance update condition is met: the VNFM acquires the load of at least one VNFC instance in all VNFC instances associated with the VNF, and if each VNFC instance in the at least one VNFC instance load The load is greater than the first load threshold, determining that the VNF meets the instance update condition; or if the load of each VNFC instance in the at least one VNFC instance is less than the second load threshold, determining that the VNF meets the instance update condition.
其中,以上的实例更新检测方式,第一负载阈值大于或等于第二负载阈值。The above example updates the detection mode, and the first load threshold is greater than or equal to the second load threshold.
其中,VNFM可以通过发送VNF实例更新指示来指示VNF执行实例更新,实例更新指示用于指示VNF根据预存储或预配置的实例更新策略增加或减少实例(VL实例和/或VNFC实例)。The VNFM may indicate that the VNF performs an instance update by sending a VNF instance update indication, and the instance update indication is used to instruct the VNF to increase or decrease the instance (the VL instance and/or the VNFC instance according to the pre-stored or pre-configured instance update policy).
S302、VNFM获取VNF的实例更新结果。S302. The VNFM obtains an instance update result of the VNF.
具体的,实例更新结果表示VNF中发生增加或减少的实例(VNFC实例和/或VL实例)的属性信息,例如实例更新结果包括VNF标识、VL实例标识、VNFC标识中的至少一种。Specifically, the instance update result indicates attribute information of an instance (VNFC instance and/or VL instance) in which an increase or decrease occurs in the VNF, for example, the instance update result includes at least one of a VNF identifier, a VL instance identifier, and a VNFC identifier.
S303、VNFM更新VNF的连接点配置信息。S303. The VNFM updates the connection point configuration information of the VNF.
具体的,VNF的连接点配置信息表示VNF所属的VL实例的连接点的网络地址,VL实例用于连接两个VNFC实例,或VNFC实例和paas实例。VL实例需要和两个实例连接时,与两个实例的连接出为连接点,VNFM将连接点的网络地址配置为与对应的实例的网络地址相同。Specifically, the connection point configuration information of the VNF indicates the network address of the connection point of the VL instance to which the VNF belongs, and the VL instance is used to connect two VNFC instances, or a VNFC instance and a paas instance. When a VL instance needs to be connected to two instances, the connection with the two instances is the connection point, and the VNFM configures the network address of the connection point to be the same as the network address of the corresponding instance.
在一种可能的设计中,根据VNF的实例更新结果更新VNF的连接点配置信息包括:In a possible design, updating the connection point configuration information of the VNF according to the VNF instance update result includes:
根据预存储或预配置的连接关系表查询与VNF关联的所有基础服务,以及查询所有基础服务关联的paas实例,VNFM重分配完成实例更新后关联的实例和该所有基础服务关联的paas实例之间的连接关系,根据重分配的连接关系更新预存储或预配置的连接关系表,以及根据更新后的连接关系表更新VNF关联的VL的连接点配置信息。Query all the basic services associated with the VNF according to the pre-stored or pre-configured connection relationship table, and query the paas instances associated with all the basic services. The VNFM re-allocates between the associated instance after the instance update and the paas instance associated with all the basic services. The connection relationship, updating the pre-stored or pre-configured connection relationship table according to the re-allocated connection relationship, and updating the connection point configuration information of the VNF associated with the VNF according to the updated connection relationship table.
具体的,实例更新结果表示VNF中更新的实例的属性信息,例如:属性信息包括VNF标识、VNFC实例标识和VL实例标识中的至少一种。在一种可能的实施方式中,实例更新结果采用表格的方式来表示,例如:实例更新结果如表12所示:Specifically, the instance update result indicates attribute information of the updated instance in the VNF, for example, the attribute information includes at least one of a VNF identifier, a VNFC instance identifier, and a VL instance identifier. In a possible implementation manner, the instance update result is expressed in the form of a table, for example, the instance update result is as shown in Table 12:
VNF标识VNF logo VNFC实例标识VNFC instance ID VL实例标识VL instance ID
22 55 1111
22 66 1212
表12Table 12
VNFM获取VNF发生实例更新后关联的VNFC实例,例如:VNFM在实例列表中查找与VNF中更新的VNFC实例属于同一VNF的VNFC实例,根据查找到的VNFC实例生成VNFC实例列表, 根据查找到的VNFC实例在连接关系表中查找对应的所有的paas实例,根据查找到的paas实例生成paas实例列表,重新分配VNFC实例列表中的VNFC实例和paas实例列表中的paas实例的连接关系,确保VNFC实例和至少一个paas实例连接,其中重分配连接关系的过程参见图2实施例的描述,此处不再赘述。The VNFM obtains a VNFC instance that is associated with the VNF instance update. For example, the VNFM searches for a VNFC instance that belongs to the same VNF as the VNFC instance updated in the VNF in the instance list, and generates a VNFC instance list according to the found VNFC instance, according to the found VNFC. The instance finds all the corresponding paas instances in the connection relationship table, generates a paas instance list according to the found paas instance, and reassigns the connection relationship between the VNFC instance in the VNFC instance list and the paas instance in the paas instance list to ensure the VNFC instance and At least one paas instance is connected, and the process of reassigning the connection relationship is described in the description of the embodiment of FIG. 2, and details are not described herein again.
其中,VNFM更新连接关系表的过程可以包括:The process of updating the connection relationship table by the VNFM may include:
VNFM根据重分配的连接关系更新连接关系表,更新的过程包括:根据重分配的连接关系对应的每个VNFC实例标识在连接关系表中进行检索,如果在连接关系表中检索到VNFC实例标识,比较在连接关系表中检索到的连接关系和重分配的连接关系中VNFC实例标识对应的连接关系是否相同,如果相同,保持不变,如果不相同,将重分类的连接关系覆盖更新连接关系表中的连接关系;如果没有检索到VNFC实例标识,在连接关系表中创建一个行,在创建的行的相应位置添加VNF标识、VNFC实例标识、paas实例标识。The VNFM updates the connection relationship table according to the re-allocated connection relationship. The update process includes: retrieving the VNFC instance identifier according to the re-allocated connection relationship in the connection relationship table, and if the VNFC instance identifier is retrieved in the connection relationship table, The connection relationship between the connection relationship and the re-assigned connection relationship in the connection relationship table is the same as that of the VNFC instance ID. If they are the same, they remain unchanged. If they are not the same, the re-classified connection relationship is overwritten with the update connection relationship table. If the VNFC instance ID is not retrieved, create a row in the connection relationship table, and add the VNF ID, VNFC instance ID, and paas instance ID to the corresponding location of the created row.
其中,VNFM更新VNF的连接点配置信息的过程可以包括:The process of updating the VNF connection point configuration information by the VNFM may include:
其中,VNFM获取更新的连接关系表中修改的连接关系或创建的连接关系,若修改的连接关系或创建的连接关系中包括VL实例标识,将相应的VL实例的外部连接点配置信息配置为所连接的paas实例的网络地址;若修改或创建的连接关系中不包括VL实例标识,创建一个VL实例,将创建的VL的内部连接点配置信息配置为所连接的VNFC实例的网络地址,将创建的VL实例的外部连接点配置信息配置为所连接的paas实例的网络地址,以及将创建的VL实例的标识添加到该连接关系中。The VNFM obtains the modified connection relationship or the created connection relationship in the updated connection relationship table. If the modified connection relationship or the created connection relationship includes the VL instance identifier, configure the external connection point configuration information of the corresponding VL instance as the The network address of the connected paas instance. If the VL instance ID is not included in the modified or created connection relationship, create a VL instance and configure the internal connection point configuration information of the created VL as the network address of the connected VNFC instance. The external connection point configuration information of the VL instance is configured as the network address of the connected paas instance, and the identifier of the created VL instance is added to the connection relationship.
在图3描述的方法中,VNFM维护有连接关系表,VNFM根据VNF的实例更新结果,重分配VNF发生实例更新后的实例和VNF对应的paas实例之间的连接关系,根据重分配的连接关系更新连接关系表,能自动重新建立VNF和基础服务之间的调用关系,以实现快速恢复业务的目的。In the method described in FIG. 3, the VNFM maintains a connection relationship table, and the VNFM re-allocates the connection relationship between the VNF instance instance updated instance and the VNF corresponding paas instance according to the VNF instance update result, according to the reassigned connection relationship. The connection relationship table is updated, and the calling relationship between the VNF and the basic service can be automatically re-established to achieve the purpose of quickly recovering the service.
参见图4,是本发明实施例提供的一种虚拟网元的创建方法的流程示意图,在本发明实施例中,所述方法包括:FIG. 4 is a schematic flowchart of a method for creating a virtual network element according to an embodiment of the present invention. In the embodiment of the present invention, the method includes:
S401、VNFM创建VNF。S401, VNFM create a VNF.
具体的,VNFM可根据VNFD(virtual network function descriptor,虚拟网络功能描述)对创建的VNF进行实例化,为创建的VNF分配VNFC实例,并配置VFN的相关参数,使创建的VNF能够以一个逻辑实体运行。VNFM获取创建的VNF的VNFC实例分配结果,VNFC实例分配结果包括分配给VNF的VNFC的属性信息,属性信息包括但不限于VNFC标识、VNF标识、VNFC实例标识中的至少一种。Specifically, the VNFM can instantiate the created VNF according to the VNFD (virtual network function descriptor), allocate a VNFC instance to the created VNF, and configure related parameters of the VFN, so that the created VNF can be a logical entity. run. The VNFM obtains the VNFC instance allocation result of the created VNF. The VNFC instance allocation result includes the attribute information of the VNFC allocated to the VNF, and the attribute information includes, but is not limited to, at least one of a VNFC identifier, a VNF identifier, and a VNFC instance identifier.
S402、VNFM向paas管理网元发送分配基础服务的请求,paas管理网元接收来自VNFM的请求。S402. The VNFM sends a request for allocating a basic service to the paas management network element, and the paas management network element receives the request from the VNFM.
具体的,VNF需要调用某个基础服务时,VNFM向paas管理网元发送分配该基础服务的请求,该请求中可携带基础服务的属性信息,属性信息包括但不限于:部署地点信息、基本能力信息和身份标识等。Specifically, when the VNF needs to invoke an basic service, the VNFM sends a request for the basic service to the paas management network element, where the request may carry the attribute information of the basic service, where the attribute information includes but is not limited to: deployment location information, basic capabilities Information and identity, etc.
S403、paas管理网元向VNFM发送paas实例分配结果,VNFM接收来自paas管理网元的paas实例分配结果。S403. The paas management network element sends a paas instance allocation result to the VNFM, and the VNFM receives the paas instance allocation result from the paas management network element.
其中,paas实例分配结果表示paas管理网元为创建的VNF分配的paas实例的属性信息,属性信息包括但不限于paas实例标识、服务类型标识、网络地址中的至少一种。paas实例 标识用于唯一表示paas实例的身份,服务类型标识表示paas实例的服务类型,基础服务关联的所有paas实例的服务类型标识相同或不相同;网络地址表示paas实例对外服务的地址。paas实例分配结果的表示形式可以是表格、数组、链表或结构体等。paas管理网元为VNF分配的paas实例可以是已存在的paas实例或创建的paas实例。The paas instance allocation result indicates that the paas management network element is the attribute information of the paas instance allocated by the created VNF, and the attribute information includes, but is not limited to, at least one of a paas instance identifier, a service type identifier, and a network address. The paas instance identifies the identity that is used to uniquely represent the paas instance. The service type identifier indicates the service type of the paas instance. The service type identifiers of all paas instances associated with the base service are the same or different. The network address indicates the address of the paas instance for external service. The representation of the paas instance assignment result can be a table, an array, a linked list, or a structure. The paas instance assigned by the paas management NE to the VNF may be an existing paas instance or a created paas instance.
S404、VNFM更新实例列表。S404, VNFM update the list of instances.
具体的,VNFM根据paas实例分配结果更新预存储或预配置的实例列表,实例列表表示paas平台中所有paas实例的属性信息,属性信息包括:标识、服务类型标识和网络地址中至少一种。VNFM在实例列表中进行检索,如果实例列表中包括分配的paas实例的属性信息,则不更新实例列表;如果实例列表中不包括分配的paas实例,则将分配的paas实例的属性信息添加到实例列表中。Specifically, the VNFM updates the pre-stored or pre-configured instance list according to the paas instance allocation result, where the instance list represents attribute information of all paas instances in the paas platform, and the attribute information includes at least one of an identifier, a service type identifier, and a network address. The VNFM searches in the instance list. If the instance list includes the attribute information of the assigned paas instance, the instance list is not updated; if the assigned paas instance is not included in the instance list, the attribute information of the assigned paas instance is added to the instance. List.
在一种可能的实施方式中,实例列表中包括服务类型标识集合、paas实例标识集合和网络地址集合中至少一种,服务类型标识集合包括n个服务类型标识,paas实例标识集合包括n个paas实例标识子集合,网络地址集合包括n个网络地址子集合,服务类型标识集合中的服务类型标识、paas实例标识集合中的paas实例标识子集合和网络地址集合中的网络地址子集合一一对应,即实例列表包括n个行,每一行包括具有关联关系的服务类型标识、paas实例标识子集合和网络地址子集合,服务类型标识集合、paas实例标识集合和网络地址集合均为实例列表的列。In a possible implementation manner, the instance list includes at least one of a service type identifier set, a paas instance identifier set, and a network address set, the service type identifier set includes n service type identifiers, and the paas instance identifier set includes n paas The instance identifier sub-collection, the network address set includes n network address sub-sets, the service type identifier in the service type identifier set, the paas instance identifier sub-collection in the paas instance identifier set, and the network address sub-set in the network address set are one-to-one correspondence , that is, the instance list includes n rows, each row includes a service type identifier having an association relationship, a paas instance identifier sub-collection and a network address sub-collection, a service type identifier set, a paas instance identifier set, and a network address set are columns of an instance list. .
S405、VNFM分配连接关系。S405 and VNFM allocate a connection relationship.
其中,VNFM分配S401中VNFC实例分配结果中VNFC实例和S403中paas实例分配结果中的paas实例之间的连接关系,例如:VNFM采用随机的方式分配连接关系,确保VNFC实例和至少一个paas实例连接。在paas实例和VNFC实例需要建立连接关系是,paas实例和VNFC实例通过VL实例进行对接。在分配连接关系的过程中,需要保证每个VNFC实例至少和1个paas实例建立连接关系。The VNFM allocates the connection relationship between the VNFC instance in the VNFC instance assignment result and the paas instance in the paas instance assignment result in S403. For example, the VNFM allocates the connection relationship in a random manner to ensure that the VNFC instance is connected to at least one paas instance. . The connection between the paas instance and the VNFC instance is required. The paas instance and the VNFC instance are connected through the VL instance. In the process of assigning a connection relationship, you need to ensure that each VNFC instance establishes a connection relationship with at least one paas instance.
S406、VNFM更新连接关系表。S406. The VNFM updates the connection relationship table.
具体的,连接关系表为预存储或预配置的,连接关系表可设置在VNFM中,连接关系表用于记录NFV平台中所有VNFC实例和paas平台中所有实例之间的连接关系。VNFM根据分配的连接关系更新连接关系表,更新的过程包括:根据分配的连接关系对应的每个VNFC实例标识在连接关系表中进行检索,如果在连接关系表中检索到VNFC实例标识,比较在连接关系表中检索到的连接关系和重分配的连接关系中VNFC实例标识对应的连接关系是否相同,如果相同,保持不变,如果不相同,将重分类的连接关系覆盖更新连接关系表中的连接关系;如果没有检索到VNFC实例标识,在连接关系表中创建一个行,在创建的行的相应位置添加VNF标识、VNFC实例标识、paas实例标识。Specifically, the connection relationship table is pre-stored or pre-configured, and the connection relationship table may be set in the VNFM, and the connection relationship table is used to record the connection relationship between all VNFC instances in the NFV platform and all instances in the paas platform. The VNFM updates the connection relationship table according to the allocated connection relationship. The update process includes: searching for the VNFC instance identifier according to the assigned connection relationship in the connection relationship table. If the VNFC instance identifier is retrieved in the connection relationship table, the comparison is performed. The connection relationship between the connection relationship and the re-assigned connection relationship in the connection relationship table is the same as the connection relationship of the VNFC instance ID. If they are the same, they remain unchanged. If they are not the same, the re-classified connection relationship is overwritten in the update connection relationship table. If the VNFC instance ID is not retrieved, create a row in the connection relationship table, and add the VNF ID, VNFC instance ID, and paas instance ID to the corresponding location of the created line.
S407、VNFM更新VNF的连接点配置信息。S407. The VNFM updates the connection point configuration information of the VNF.
具体的,VNFM获取更新的连接关系表中修改的连接关系或创建的连接关系,若修改的连接关系或创建的连接关系中包括VL实例标识,将相应的VL实例的外部连接点的网络地址配置为所连接的paas实例的网络地址;若修改或创建的连接关系中不包括VL实例标识,创建一个VL实例,将创建的VL的内部连接点的网络地址配置为所连接的VNFC实例的网络地址,将创建的VL实例的外部连接点的网络地址配置为所连接的paas实例的网络地址,以及将创建的VL实例的标识添加到该连接关系中。Specifically, the VNFM obtains the modified connection relationship or the created connection relationship in the updated connection relationship table. If the modified connection relationship or the created connection relationship includes the VL instance identifier, the network address of the external connection point of the corresponding VL instance is configured. The network address of the connected paas instance. If the modified or created connection does not include the VL instance ID, create a VL instance and configure the network address of the created VL internal connection point as the network address of the connected VNFC instance. The network address of the external connection point of the created VL instance is configured as the network address of the connected paas instance, and the identifier of the created VL instance is added to the connection relationship.
在图4描述的方法中,VNFM维护实例列表和连接关系表,VNFM根据创建的VNF分配和 paas实例更新实例列表,分配VNF关联的paas实例和VNF的VNFC实例之间的连接关系,根据分配的连接关系更新连接关系表,能自动建立基础服务和VNF之间的调用关系,以实现快速建立业务的目的。In the method described in FIG. 4, the VNFM maintains an instance list and a connection relationship table, and the VNFM allocates a connection relationship between the VNF-associated paas instance and the VNF VNFC instance according to the created VNF allocation and the paas instance update instance list, according to the allocated relationship. The connection relationship updates the connection relationship table, and can automatically establish a calling relationship between the basic service and the VNF to achieve the purpose of quickly establishing a service.
上述详细阐述了本发明实施例的方法,下面提供了本发明实施例的装置。The above describes the method of the embodiment of the present invention in detail, and the apparatus of the embodiment of the present invention is provided below.
请参见图5,图5是本发明实施例提供的一种虚拟网元的管理装置的结构示意图,以下简称管理装置5,该管理装置5可以包括处理单元501和发送单元502,其中,各个单元的详细描述如下。Referring to FIG. 5, FIG. 5 is a schematic structural diagram of a virtual network element management apparatus according to an embodiment of the present invention. Hereinafter, the management apparatus 5 may include a processing unit 501 and a sending unit 502, where each unit is included. The detailed description is as follows.
处理单元501,用于在基础服务满足实例更新条件的情况下,对所述基础服务进行实例更新;例如:处理单元501执行图2中的S201和S202。The processing unit 501 is configured to perform an instance update on the basic service if the basic service satisfies the instance update condition; for example, the processing unit 501 performs S201 and S202 in FIG. 2 .
发送单元502,用于向虚拟网络功能管理网元VNFM发送所述基础服务的实例更新结果。例如:发送单元502用于执行图2中的S203。The sending unit 502 is configured to send an instance update result of the basic service to the virtual network function management network element VNFM. For example, the transmitting unit 502 is configured to execute S203 in FIG. 2.
在一种可能的实施方式中,所述实例更新结果包括所述基础服务中更新的paas实例的标识、服务类型标识、更新类型和网络地址中的至少一种。In a possible implementation manner, the instance update result includes at least one of an identifier of an updated paas instance, a service type identifier, an update type, and a network address in the basic service.
在一种可能的实施方式中,处理单元501用于在基础服务满足实例更新条件的情况下,paas管理网元对所述基础服务进行更新之前,还用于:In a possible implementation, the processing unit 501 is configured to: before the basic service meets the instance update condition, before the paas management network element updates the basic service, the method is further configured to:
检测所述基础服务关联的所有paas实例的平均负载;Detecting an average load of all paas instances associated with the base service;
判断所述平均负载大于第一负载阈值;或Determining that the average load is greater than a first load threshold; or
判断所述平均负载小于第二负载阈值。It is determined that the average load is less than a second load threshold.
在一种可能的实施方式中,服务类型标识使用第一方式进行定义,所述基础服务关联的所有的paas实例具有相同的服务类型标识。In a possible implementation manner, the service type identifier is defined in a first manner, and all paas instances associated with the base service have the same service type identifier.
在一种可能的实施方式中,处理单元501用于在基础服务满足实例更新条件的情况下,paas管理网元对所述基础服务进行更新之前,还用于:In a possible implementation, the processing unit 501 is configured to: before the basic service meets the instance update condition, before the paas management network element updates the basic service, the method is further configured to:
检测基础服务关联的所有paas实例中至少一个paas实例的负载;Detecting the load of at least one paas instance in all paas instances associated with the underlying service;
判断所述至少一个paas实例中每个paas实例的负载均大于第一负载阈值;或Determining that a load of each paas instance in the at least one paas instance is greater than a first load threshold; or
判断所述至少一个paas实例中每个paas实例的负载均小于第二负载阈值。Determining that the load of each paas instance in the at least one paas instance is less than a second load threshold.
在一种可能的实施方式中,服务类型标识使用第二方式进行定义,所述基础服务关联的所有paas实例具有不同的服务类型标识,在paas实例的更新类型为终止时,paas实例的服务类型标识和该paas实例的标识相同。In a possible implementation manner, the service type identifier is defined in a second manner, and all paas instances associated with the basic service have different service type identifiers, and the service type of the paas instance is when the update type of the paas instance is terminated. The identity is the same as the identity of the paas instance.
管理装置5可以为paas管理网元,所述管理装置5也可以为实现相关功能的现场可编程门阵列(field-programmable gate array,FPGA),专用集成芯片,系统芯片(system on chip,SoC),中央处理器(central processor unit,CPU),网络处理器(network processor,NP),数字信号处理电路,微控制器(micro controller unit,MCU),还可以采用可编程控制器(programmable logic device,PLD)或其他集成芯片。The management device 5 can be a paas management network element, and the management device 5 can also be a field-programmable gate array (FPGA), a dedicated integrated chip, and a system on chip (SoC). , central processor unit (CPU), network processor (network processor, NP), digital signal processing circuit, microcontroller (micro controller unit (MCU), can also use programmable logic device (programmable logic device, PLD) or other integrated chips.
本发明实施例和图2的方法实施例基于同一构思,其带来的技术效果也相同,具体过程可参照图2的方法实施例的描述,此处不再赘述。The embodiment of the present invention and the method embodiment of FIG. 2 are based on the same concept, and the technical effects thereof are also the same. For the specific process, reference may be made to the description of the method embodiment of FIG. 2, and details are not described herein again.
如图6所示,本发明实施例还提供了一种虚拟网元的管理装置,以下简称管理装置6。As shown in FIG. 6, the embodiment of the present invention further provides a management device for a virtual network element, hereinafter referred to as the management device 6.
在一种可能的设计中,管理装置6为paas管理网元,该paas管理网元包括:In a possible design, the management device 6 is a paas management network element, and the paas management network element includes:
存储器602,用于存储程序和数据。所述存储器的数量可以是一个或多个,所述存储器 的类型可以是任意形式的存储介质。例如:该存储器可以为随机访问内存(英文:random access memory,简称:RAM)或者只读内存(英文:read only memory,简称:ROM)或者闪存,其中存储器602可以位于单独位于终端设备内,也可以位于处理器601的内部。The memory 602 is configured to store programs and data. The number of memories may be one or more, and the type of the memory may be any form of storage medium. For example, the memory may be a random access memory (English: random access memory, RAM for short) or a read only memory (English: read only memory, abbreviated as: ROM) or a flash memory, wherein the memory 602 may be located separately in the terminal device, It can be located inside the processor 601.
接收器603,用于接收信号。接收器603可以作为单独的芯片,也可以为处理器601内的接收电路或作为输入接口。The receiver 603 is configured to receive a signal. The receiver 603 can be a separate chip or a receiving circuit within the processor 601 or as an input interface.
处理器601,用于执行存储器602存储的所述程序代码,当所述程序代码被执行时,处理器601用于基础服务满足实例更新条件的情况下,对所述基础服务进行实例更新;例如:处理器601执行图2中的S201和S202。The processor 601 is configured to execute the program code stored in the memory 602, and when the program code is executed, the processor 601 is used to perform an instance update on the basic service if the basic service satisfies the instance update condition; for example The processor 601 performs S201 and S202 in FIG.
发射器604,用于发射信号。发射器604可以作为单独的芯片,也可以为处理器601内的发射电路或者作为输出接口。可选的,发射器1504还可以包括发射天线。其中,发射器1504包括的发射天线和接收器1503包括的接收天线可以为单独设置的两个天线,也可以为一个天线。发射器604,用于向虚拟网络功能管理网元VNFM发送所述基础服务的实例更新结果,例如发射器执行图2中的S203。A transmitter 604 is configured to transmit a signal. Transmitter 604 can function as a separate chip, as well as a transmit circuit within processor 601 or as an output interface. Optionally, the transmitter 1504 can also include a transmit antenna. The transmitting antenna included in the transmitter 1504 and the receiving antenna included in the receiver 1503 may be two antennas separately provided, or may be one antenna. The transmitter 604 is configured to send an instance update result of the basic service to the virtual network function management network element VNFM, for example, the transmitter performs S203 in FIG. 2.
接收器603、发射器604、存储器602、处理器601之间通过内部连接通路互相通信,例如:通过总线连接。The receiver 603, the transmitter 604, the memory 602, and the processor 601 communicate with each other through an internal connection path, for example, via a bus.
在一种可能的实施方式中,处理器601还用于执行:In a possible implementation, the processor 601 is further configured to:
检测所述基础服务关联的所有paas实例的平均负载;Detecting an average load of all paas instances associated with the base service;
判断所述平均负载大于第一负载阈值;或Determining that the average load is greater than a first load threshold; or
判断所述平均负载小于第二负载阈值。It is determined that the average load is less than a second load threshold.
在一种可能的实施方式中,服务类型标识使用第一方式进行定义,所述基础服务关联的所有的paas实例具有相同的服务类型标识。In a possible implementation manner, the service type identifier is defined in a first manner, and all paas instances associated with the base service have the same service type identifier.
在一种可能的实施方式中,处理器601还用于执行:In a possible implementation, the processor 601 is further configured to:
检测基础服务关联的所有paas实例中至少一个paas实例的负载;Detecting the load of at least one paas instance in all paas instances associated with the underlying service;
判断所述至少一个paas实例中每个paas实例的负载均大于第一负载阈值;或Determining that a load of each paas instance in the at least one paas instance is greater than a first load threshold; or
判断所述至少一个paas实例中每个paas实例的负载均小于第二负载阈值。Determining that the load of each paas instance in the at least one paas instance is less than a second load threshold.
在一种可能的实施方式中,服务类型标识使用第二方式进行定义,所述基础服务关联的所有paas实例具有不同的服务类型标识,在paas实例的更新类型为终止时,paas实例的服务类型标识和该paas实例的标识相同。In a possible implementation manner, the service type identifier is defined in a second manner, and all paas instances associated with the basic service have different service type identifiers, and the service type of the paas instance is when the update type of the paas instance is terminated. The identity is the same as the identity of the paas instance.
在一种可能的设计中,管理装置6可以为芯片,例如:可以为计算设备中的处理器芯片,用于实现计算设备中处理器的相关功能。该芯片可以为实现相关功能的现场可编程门阵列,专用集成芯片,系统芯片,中央处理器,网络处理器,数字信号处理电路,微控制器,还可以采用可编程控制器或其他集成芯片。该芯片中,可选的可以包括一个或多个存储器,用于存储程序代码,当所述程序代码执行时,使处理器实现相应的功能。In one possible design, the management device 6 can be a chip, for example, can be a processor chip in a computing device for implementing related functions of the processor in the computing device. The chip can be a field programmable gate array for implementing related functions, a dedicated integrated chip, a system chip, a central processing unit, a network processor, a digital signal processing circuit, a microcontroller, and a programmable controller or other integrated chip. In the chip, optionally, one or more memories may be included for storing program code, and when the program code is executed, the processor implements corresponding functions.
这些芯片可以全部或部分地通过软件、硬件、固件或者其任意组合来实现。当使用软件程序实现时,可以全部或部分地以计算机程序产品的形式来实现。该计算机程序产品包括一个或多个计算机指令(有时也称为代码或程序)。在计算机上加载和执行计算机程序指令时,全部或部分地产生按照本申请实施例所述的流程或功能。所述计算机可以是通用计算机、专用计算机、计算机网络、或者其他可编程装置。所述计算机指令可以存储在计算机可读存储介质中,或者从一个计算机可读存储介质向另一个计算机可读存储介质传输,例如,所述计算机指令可以从一个网站站点、计算机、服务器或者数据中心通过有线(例如同轴电缆、光 纤、数字用户线(digital subscriber line,DSL))或无线(例如红外、无线、微波等)方式向另一个网站站点、计算机、服务器或数据中心进行传输。所述计算机可读存储介质可以是计算机能够存取的任何可用介质或者是包含一个或多个可以用介质集成的服务器、数据中心等数据存储设备。所述可用介质可以是磁性介质(例如,软盘、硬盘、磁带),光介质(例如,DVD)、或者半导体介质(例如固态硬盘(solid state disk,SSD))等。These chips may be implemented in whole or in part by software, hardware, firmware, or any combination thereof. When implemented using a software program, it may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions (sometimes referred to as code or programs). When the computer program instructions are loaded and executed on a computer, the processes or functions described in accordance with embodiments of the present application are generated in whole or in part. The computer can be a general purpose computer, a special purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer readable storage medium or transferred from one computer readable storage medium to another computer readable storage medium, for example, the computer instructions can be from a website site, computer, server or data center Transmission to another website site, computer, server or data center via wired (eg coaxial cable, fiber optic, digital subscriber line (DSL)) or wireless (eg infrared, wireless, microwave, etc.). The computer readable storage medium can be any available media that can be accessed by a computer or a data storage device that includes one or more servers, data centers, etc. that can be integrated with the media. The usable medium may be a magnetic medium (eg, a floppy disk, a hard disk, a magnetic tape), an optical medium (eg, a DVD), or a semiconductor medium (such as a solid state disk (SSD)) or the like.
本发明实施例和图2的方法实施例基于同一构思,其带来的技术效果也相同,具体过程可参照图2的方法实施例的描述,此处不再赘述。The embodiment of the present invention and the method embodiment of FIG. 2 are based on the same concept, and the technical effects thereof are also the same. For the specific process, reference may be made to the description of the method embodiment of FIG. 2, and details are not described herein again.
请参见图7,图7是本发明实施例提供的一种虚拟网元的维护装置的结构示意图,以下简称维护装置7,该维护装置7可以包括接收单元701和处理单元702,其中,各个单元的详细描述如下。Referring to FIG. 7, FIG. 7 is a schematic structural diagram of a maintenance device for a virtual network element according to an embodiment of the present invention. Hereinafter, the maintenance device 7 may include a receiving unit 701 and a processing unit 702, where each unit is included. The detailed description is as follows.
接收单元701,用于接收来自paas管理网元的关于基础服务的实例更新结果;例如:接收单元701执行图2中的S203。The receiving unit 701 is configured to receive an instance update result about the basic service from the paas management network element; for example, the receiving unit 701 performs S203 in FIG. 2 .
处理单元702根据所述实例更新结果更新与所述基础服务关联的所有VNF的连接点配置信息。例如:处理单元702执行图2中的S204。The processing unit 702 updates connection point configuration information of all VNFs associated with the base service according to the instance update result. For example, the processing unit 702 performs S204 in FIG.
在一种可能的实施方式中,处理单元702根据所述实例更新结果更新与所述基础服务关联的所有VNF的连接点配置信息,具体为:In a possible implementation, the processing unit 702 updates the connection point configuration information of all the VNFs associated with the basic service according to the instance update result, specifically:
根据所述实例更新结果更新实例列表;Updating the instance list according to the instance update result;
根据连接关系表查询与所述基础服务关联的所有VNF,以及与所述所有VNF关联的VNFC实例;Querying, according to the connection relationship table, all VNFs associated with the basic service, and VNFC instances associated with all the VNFs;
重分配所述基础服务完成实例更新后关联的paas实例和所述所有VNF关联的VNFC实例之间的连接关系;Redistributing the connection relationship between the associated paas instance and the VNFC instance associated with all the VNFs after the instance update is completed;
根据重分配的连接关系更新所述连接关系表,以及根据更新后的连接关系表更新所述所有VNF的连接点配置信息。Updating the connection relationship table according to the reassigned connection relationship, and updating the connection point configuration information of all the VNFs according to the updated connection relationship table.
在一种可能的实施方式中,所述实例更新结果包括所述基础服务中更新的paas实例的标识、服务类型标识、更新类型和网络地址中的至少一种。In a possible implementation manner, the instance update result includes at least one of an identifier of an updated paas instance, a service type identifier, an update type, and a network address in the basic service.
在一种可能的实施方式中,服务类型标识使用第一方式进行定义,所述基础服务关联的所有paas实例具有相同的服务类型标识;或In a possible implementation manner, the service type identifier is defined in a first manner, and all paas instances associated with the basic service have the same service type identifier; or
服务类型标识使用第二方式进行定义,所述基础服务关联的所有paas实例具有不同的服务类型标识,在paas实例的更新类型为终止时,paas实例的服务类型标识和该paas实例的标识相同。The service type identifier is defined in the second mode, and all the paas instances associated with the basic service have different service type identifiers. When the update type of the paas instance is terminated, the service type identifier of the paas instance is the same as the identifier of the paas instance.
在一种可能的实施方式中,所述实例列表包括服务类型标识集合、paas实例标识集合和网络地址集合中的至少一种,所述服务类型标识集合包括n个服务类型标识,所述paas实例标识集合包括n个paas实例标识子集合,所述网络地址集合包括n个网络地址子集合,所述服务类型标识集合中的服务类型标识、所述paas实例标识集合中的paas实例标识子集合和所述网络地址集合中的网络地址子集合一一对应,n为大于0的整数。In a possible implementation manner, the instance list includes at least one of a service type identifier set, a paas instance identifier set, and a network address set, where the service type identifier set includes n service type identifiers, and the paas instance The identifier set includes n paas instance identifier sub-sets, the network address set includes n network address sub-sets, the service type identifier in the service type identifier, the paas instance identifier sub-collection in the paas instance identifier set, and The network address subsets in the network address set are in one-to-one correspondence, and n is an integer greater than 0.
在一种可能的实施反射中,处理单元702用于根据所述实例更新结果更新实例列表,具体为:In a possible implementation reflection, the processing unit 702 is configured to update the instance list according to the instance update result, specifically:
在更新的paas实例的更新类型为创建且服务类型标识使用第一方式进行定义的情况下,根据所述更新的paas实例的服务类型标识在所述服务类型标识集合中进行检索;In a case that the update type of the updated paas instance is created and the service type identifier is defined by using the first manner, the search is performed in the service type identifier set according to the service type identifier of the updated paas instance;
若检索到所述更新的paas实例的服务类型标识,在与所述更新的paas实例的更新类型关联的paas实例标识子集合中添加所述更新的paas实例的标识,以及在与所述更新的paas实例关联的网络地址子集合中添加所述更新的paas实例的网络地址;或If the service type identifier of the updated paas instance is retrieved, the identifier of the updated paas instance is added to the paas instance identifier sub-collection associated with the updated paas instance's update type, and in the update with the Adding the network address of the updated paas instance to the network address sub-collection associated with the paas instance; or
若未检索到所述更新的paas实例的服务类型标识,在所述服务类型标识集合中添加所述更新的paas实例的服务类型标识,以及在与所述更新的paas实例的服务类型标识关联的paas实例标识子集合中添加所述更新的paas实例的标识,以及在与所述更新的paas实例的服务类型标识关联的网络地址子集合中添加所述更新的paas实例的网络地址。If the service type identifier of the updated paas instance is not retrieved, adding the service type identifier of the updated paas instance to the service type identifier set, and being associated with the service type identifier of the updated paas instance The paas instance identifies the identifier of the updated paas instance in the sub-collection, and adds the network address of the updated paas instance in the network address sub-collection associated with the service type identifier of the updated paas instance.
在一种可能的实施方式中,处理单元702用于根据所述实例更新结果更新实例列表,具体为:In a possible implementation, the processing unit 702 is configured to update the instance list according to the instance update result, specifically:
在更新的paas实例的更新类型为终止且服务类型标识使用第一方式进行定义的情况下,根据所述更新的paas实例的服务类型标识在所述服务类型标识集合中进行检索;If the update type of the updated paas instance is termination and the service type identifier is defined by using the first manner, searching is performed in the service type identifier set according to the service type identifier of the updated paas instance;
若检索到所述paas实例的服务类型标识,在与所述更新的paas实例的服务类型标识关联的基础服务标识子集合中删除所述更新的paas实例的标识,以及在与所述更新的paas实例的服务类型标识关联的网络地址子集合中删除所述更新的paas实例的网络地址。If the service type identifier of the paas instance is retrieved, the identifier of the updated paas instance is deleted in the basic service identifier subset associated with the service type identifier of the updated paas instance, and in the updated paas The service type of the instance identifies the network address of the updated paas instance in the associated network address sub-collection.
在一种可能的实施方式中,处理单元702用于根据所述实例更新结果更新实例列表,具体为:In a possible implementation, the processing unit 702 is configured to update the instance list according to the instance update result, specifically:
在更新的paas实例的更新类型为创建且服务类型标识使用第二方式进行定义的情况下,根据所示更新的paas实例的服务类型标识在所述服务类型标识集合中进行检索;In the case that the update type of the updated paas instance is created and the service type identifier is defined using the second mode, the search is performed in the service type identifier set according to the service type identifier of the updated paas instance shown;
若未检索到所述更新的paas实例的服务类型标识,继续根据所述更新的paas实例的服务类型标识在所述paas实例标识集合中进行检索;If the service type identifier of the updated paas instance is not retrieved, continue to search in the paas instance identifier set according to the service type identifier of the updated paas instance;
若检索到与所述更新的paas实例的服务类型标识相同的paas实例标识,在与所述paas实例标识所在的paas实例标识子集合中添加所述更新的paas实例的标识,以及与所述paas实例标识关联的网络地址子集合中添加所述更新的paas实例的网络地址;或If the paas instance identifier that is the same as the service type identifier of the updated paas instance is retrieved, the identifier of the updated paas instance is added to the paas instance identifier sub-collection with the paas instance identifier, and the paas Adding, by the instance identifier, the network address of the updated paas instance in the associated network address sub-collection; or
若未检索到与所述更新的paas实例的服务类型标识相同的paas实例标识,在所述服务类型标识集合中添加所述更新的paas实例的服务类型标识,以及在与所述更新的paas实例的服务类型标识关联的paas实例标识子集合中添加所述更新的paas实例的标识,以及在与所述更新的paas实例的服务类型标识关联的网络地址子集合中添加所述更新的paas实例的网络地址。If the paas instance identifier that is the same as the service type identifier of the updated paas instance is not retrieved, the service type identifier of the updated paas instance is added to the service type identifier set, and the paas instance is updated with the The service type identifier identifies the associated paas instance identifier sub-collection, the identifier of the updated paas instance is added, and the updated paas instance is added to the network address sub-collection associated with the service type identifier of the updated paas instance. website address.
在一种可能的实施方式中,处理单元702根据所述实例更新结果更新实例列表,具体为:In a possible implementation manner, the processing unit 702 updates the instance list according to the instance update result, specifically:
在更新的paas实例的更新类型为终止且服务类型标识使用第二方式进行定义的情况下,根据所示更新的paas实例的服务类型标识在所述服务类型标识集合中进行检索;In the case that the update type of the updated paas instance is terminated and the service type identifier is defined using the second mode, the search is performed in the service type identifier set according to the service type identifier of the updated paas instance shown;
若未检索到所述更新的paas实例的服务类型标识,继续根据所述更新paas实例的服务类型标识在所述paas实例标识集合中进行检索;If the service type identifier of the updated paas instance is not retrieved, continue to search in the paas instance identifier set according to the service type identifier of the update paas instance;
若检索到与所述更新的paas实例相同的paas实例标识,在所述实例列表中与所述paas实例标识对应的paas实例标识子集合中终止所述更新的paas实例的标识,以及在所述实例列表中与所述paas实例标识关联的网络地址子集合中终止所述更新的paas实例的网络地址。If the paas instance identifier that is the same as the updated paas instance is retrieved, the identifier of the updated paas instance is terminated in the paas instance identifier sub-collection corresponding to the paas instance identifier in the instance list, and Terminating the network address of the updated paas instance in the network address sub-collection associated with the paas instance identifier in the instance list.
在一种可能的实施方式中,所述连接关系表包括VNF标识、VNFC标识、paas实例标识和VL实例标识中的至少一种。In a possible implementation manner, the connection relationship table includes at least one of a VNF identifier, a VNFC identifier, a paas instance identifier, and a VL instance identifier.
在一种可能的实施方式中,处理单元702用于重分配所述基础服务完成实例更新后关联 的paas实例和所述至少一个VNF关联的VNFC实例之间的连接关系,具体为:In a possible implementation, the processing unit 702 is configured to re-allocate the connection relationship between the associated paas instance and the VNFC instance associated with the at least one VNF.
使用随机的方式重分配所述基础服务完成实例更新后关联的paas实例和所述至少一个VNFC实例之间的连接关系;其中,每个paas实例和至少一个VNFC实例连接。Reconnecting the connection relationship between the associated paas instance and the at least one VNFC instance after the instance update is performed in a random manner; wherein each paas instance is connected to at least one VNFC instance.
在一种可能的实施方式中,处理单元702,用于更新连接关系表,具体为:In a possible implementation, the processing unit 702 is configured to update the connection relationship table, specifically:
根据所述重分配的连接关系中待更新VNFC实例标识在所述连接关系表中进行检索;Retrieving the VNFC instance identifier to be updated in the connection relationship table according to the reassigned connection relationship;
若检索到所述待更新VNFC实例标识,比较所述待更新VNFC实例标识在所述重分配的连接关系中的连接关系是否和所述待更新VNFC实例在所述连接关系表中对应的连接关系相同;If the VNFC instance identifier to be updated is retrieved, the connection relationship between the VNFC instance identifier to be updated in the reassigned connection relationship and the connection relationship between the VNFC instance to be updated in the connection relationship table is compared. the same;
如果相同,不执行更新;If the same, do not perform the update;
如果不相同,根据所述待更新VNFC实例标识在所述重分配的连接关系中的连接关系是否和所述待更新VNFC实例在所述连接关系表中对应的连接关系;If not, the connection relationship between the re-allocated connection relationship and the VNFC instance to be updated in the connection relationship table is determined according to the VNFC instance to be updated;
若没有检索到所述待更新VNFC实例标识,在所述连接关系表中创建1个行,以及在创建的行中添加所述待更新VNFC实例在所述连接关系表中对应的连接关系。If the VNFC instance identifier to be updated is not retrieved, a row is created in the connection relationship table, and a connection relationship corresponding to the VNFC instance to be updated in the connection relationship table is added in the created row.
在一种可能的实施方式中,处理单元702,用于更新所有VNF关联的连接点配置信息,具体为:获取更新后的连接关系表中修改或创建的连接关系,若修改或创建的连接关系中包括VL实例标识,将相应的VL实例的外部连接点的网络地址配置为所连接的paas实例的网络地址;若修改或创建的连接关系中不包括VL实例标识,创建一个VL实例,将创建的VL实例的内部连接点配置信息配置为所连接的VNFC实例的网络地址,将创建的VL实例的外部连接点配置信息配置为所连接的paas实例的网络地址,以及将创建的VL实例的标识添加到该连接关系中。In a possible implementation, the processing unit 702 is configured to update connection point configuration information of all VNF associations, specifically: obtaining a connection relationship modified or created in the updated connection relationship table, if the connection relationship is modified or created. The VL instance identifier is included, and the network address of the external connection point of the corresponding VL instance is configured as the network address of the connected paas instance; if the modified or created connection relationship does not include the VL instance identifier, creating a VL instance will be created. The internal connection point configuration information of the VL instance is configured as the network address of the connected VNFC instance, and the external connection point configuration information of the created VL instance is configured as the network address of the connected paas instance, and the identifier of the VL instance to be created. Add to this connection relationship.
维护装置7可以为VNFM,所述维护装置7也可以为实现相关功能的现场可编程门阵列(field-programmable gate array,FPGA),专用集成芯片,系统芯片(system on chip,SoC),中央处理器(central processor unit,CPU),网络处理器(network processor,NP),数字信号处理电路,微控制器(micro controller unit,MCU),还可以采用可编程控制器(programmable logic device,PLD)或其他集成芯片。The maintenance device 7 may be a VNFM, and the maintenance device 7 may also be a field-programmable gate array (FPGA), a dedicated integrated chip, a system on chip (SoC), and a central processing. Central processor unit (CPU), network processor (NP), digital signal processing circuit, microcontroller (micro controller unit (MCU), can also use programmable logic device (PLD) or Other integrated chips.
本发明实施例和图2的方法实施例基于同一构思,其带来的技术效果也相同,具体过程可参照图2的方法实施例的描述,此处不再赘述。The embodiment of the present invention and the method embodiment of FIG. 2 are based on the same concept, and the technical effects thereof are also the same. For the specific process, reference may be made to the description of the method embodiment of FIG. 2, and details are not described herein again.
如图8所示,本发明实施例还提供了一种虚拟网元的维护装置8,以下简称维护装置8。As shown in FIG. 8, the embodiment of the present invention further provides a maintenance device 8 for a virtual network element, hereinafter referred to as a maintenance device 8.
在一种可能的设计中,维护装置8为VNFM,该VNFM包括:In one possible design, the maintenance device 8 is a VNFM, and the VNFM includes:
存储器802,用于存储程序和数据。所述存储器的数量可以是一个或多个,所述存储器的类型可以是任意形式的存储介质。例如:该存储器可以为随机访问内存(英文:random access memory,简称:RAM)或者只读内存(英文:read only memory,简称:ROM)或者闪存,其中存储器802可以位于单独位于终端设备内,也可以位于处理器801的内部。The memory 802 is configured to store programs and data. The number of the memories may be one or more, and the type of the memory may be any form of storage medium. For example, the memory may be a random access memory (English: random access memory, RAM for short) or a read only memory (English: read only memory, abbreviated as: ROM) or a flash memory, wherein the memory 802 may be located separately in the terminal device, It can be located inside the processor 801.
接收器803,用于接收信号。接收器803可以作为单独的芯片,也可以为处理器801内的接收电路或作为输入接口。接收器803用于接收来自paas管理网元的关于基础服务的实例更新结果;例如:接收器801执行图2中的S203。The receiver 803 is configured to receive a signal. The receiver 803 can be a separate chip or a receiving circuit within the processor 801 or as an input interface. The receiver 803 is configured to receive an instance update result about the basic service from the paas management network element; for example, the receiver 801 performs S203 in FIG. 2.
处理器801,用于执行存储器802存储的所述程序代码,当所述程序代码被执行时,处理器801用于根据所述实例更新结果更新与所述基础服务关联的所有VNF的连接点配置信息。例如:处理器801执行图2中的S204。The processor 801 is configured to execute the program code stored by the memory 802, and when the program code is executed, the processor 801 is configured to update a connection point configuration of all VNFs associated with the basic service according to the instance update result. information. For example, the processor 801 executes S204 in FIG.
发射器804,用于发射信号。发射器804可以作为单独的芯片,也可以为处理器801内 的发射电路或者作为输出接口。A transmitter 804 is configured to transmit a signal. Transmitter 804 can function as a separate chip, as well as a transmit circuit within processor 801 or as an output interface.
接收器803、发射器804、存储器802、处理器801之间通过内部连接通路互相通信,例如:通过总线连接。The receiver 803, the transmitter 804, the memory 802, and the processor 801 communicate with each other through an internal connection path, for example, via a bus.
在一种可能的实施方式中,处理器801根据所述实例更新结果更新与所述基础服务关联的所有VNF的连接点配置信息,具体为:In a possible implementation, the processor 801 updates the connection point configuration information of all the VNFs associated with the basic service according to the instance update result, specifically:
根据所述实例更新结果更新实例列表;Updating the instance list according to the instance update result;
根据连接关系表查询与所述基础服务关联的所有VNF,以及与所述所有VNF关联的VNFC实例;Querying, according to the connection relationship table, all VNFs associated with the basic service, and VNFC instances associated with all the VNFs;
重分配所述基础服务完成实例更新后关联的paas实例和所述所有VNF关联的VNFC实例之间的连接关系;Redistributing the connection relationship between the associated paas instance and the VNFC instance associated with all the VNFs after the instance update is completed;
根据重分配的连接关系更新所述连接关系表,以及根据更新后的连接关系表更新所述所有VNF的连接点配置信息。Updating the connection relationship table according to the reassigned connection relationship, and updating the connection point configuration information of all the VNFs according to the updated connection relationship table.
在一种可能的实施方式中,所述实例更新结果包括所述基础服务中更新的paas实例的标识、服务类型标识、更新类型和网络地址中的至少一种。In a possible implementation manner, the instance update result includes at least one of an identifier of an updated paas instance, a service type identifier, an update type, and a network address in the basic service.
在一种可能的实施方式中,服务类型标识使用第一方式进行定义,所述基础服务关联的所有paas实例具有相同的服务类型标识;或In a possible implementation manner, the service type identifier is defined in a first manner, and all paas instances associated with the basic service have the same service type identifier; or
服务类型标识使用第二方式进行定义,所述基础服务关联的所有paas实例具有不同的服务类型标识,在paas实例的更新类型为终止时,paas实例的服务类型标识和该paas实例的标识相同。The service type identifier is defined in the second mode, and all the paas instances associated with the basic service have different service type identifiers. When the update type of the paas instance is terminated, the service type identifier of the paas instance is the same as the identifier of the paas instance.
在一种可能的实施方式中,所述实例列表包括服务类型标识集合、paas实例标识集合和网络地址集合中的至少一种,所述服务类型标识集合包括n个服务类型标识,所述paas实例标识集合包括n个paas实例标识子集合,所述网络地址集合包括n个网络地址子集合,所述服务类型标识集合中的服务类型标识、所述paas实例标识集合中的paas实例标识子集合和所述网络地址集合中的网络地址子集合一一对应,n为大于0的整数。In a possible implementation manner, the instance list includes at least one of a service type identifier set, a paas instance identifier set, and a network address set, where the service type identifier set includes n service type identifiers, and the paas instance The identifier set includes n paas instance identifier sub-sets, the network address set includes n network address sub-sets, the service type identifier in the service type identifier, the paas instance identifier sub-collection in the paas instance identifier set, and The network address subsets in the network address set are in one-to-one correspondence, and n is an integer greater than 0.
在一种可能的实施反射中,处理器801用于根据所述实例更新结果更新实例列表,具体为:In a possible implementation reflection, the processor 801 is configured to update the instance list according to the instance update result, specifically:
在更新的paas实例的更新类型为创建且服务类型标识使用第一方式进行定义的情况下,根据所述更新的paas实例的服务类型标识在所述服务类型标识集合中进行检索;In a case that the update type of the updated paas instance is created and the service type identifier is defined by using the first manner, the search is performed in the service type identifier set according to the service type identifier of the updated paas instance;
若检索到所述更新的paas实例的服务类型标识,在与所述更新的paas实例的更新类型关联的paas实例标识子集合中添加所述更新的paas实例的标识,以及在与所述更新的paas实例关联的网络地址子集合中添加所述更新的paas实例的网络地址;或If the service type identifier of the updated paas instance is retrieved, the identifier of the updated paas instance is added to the paas instance identifier sub-collection associated with the updated paas instance's update type, and in the update with the Adding the network address of the updated paas instance to the network address sub-collection associated with the paas instance; or
若未检索到所述更新的paas实例的服务类型标识,在所述服务类型标识集合中添加所述更新的paas实例的服务类型标识,以及在与所述更新的paas实例的服务类型标识关联的paas实例标识子集合中添加所述更新的paas实例的标识,以及在与所述更新的paas实例的服务类型标识关联的网络地址子集合中添加所述更新的paas实例的网络地址。If the service type identifier of the updated paas instance is not retrieved, adding the service type identifier of the updated paas instance to the service type identifier set, and being associated with the service type identifier of the updated paas instance The paas instance identifies the identifier of the updated paas instance in the sub-collection, and adds the network address of the updated paas instance in the network address sub-collection associated with the service type identifier of the updated paas instance.
在一种可能的实施方式中,处理器801用于根据所述实例更新结果更新实例列表,具体为:In a possible implementation, the processor 801 is configured to update the instance list according to the instance update result, specifically:
在更新的paas实例的更新类型为终止且服务类型标识使用第一方式进行定义的情况下,根据所述更新的paas实例的服务类型标识在所述服务类型标识集合中进行检索;If the update type of the updated paas instance is termination and the service type identifier is defined by using the first manner, searching is performed in the service type identifier set according to the service type identifier of the updated paas instance;
若检索到所述paas实例的服务类型标识,在与所述更新的paas实例的服务类型标识关 联的基础服务标识子集合中删除所述更新的paas实例的标识,以及在与所述更新的paas实例的服务类型标识关联的网络地址子集合中删除所述更新的paas实例的网络地址。If the service type identifier of the paas instance is retrieved, the identifier of the updated paas instance is deleted in the basic service identifier subset associated with the service type identifier of the updated paas instance, and in the updated paas The service type of the instance identifies the network address of the updated paas instance in the associated network address sub-collection.
在一种可能的实施方式中,处理器801用于根据所述实例更新结果更新实例列表,具体为:In a possible implementation, the processor 801 is configured to update the instance list according to the instance update result, specifically:
在更新的paas实例的更新类型为创建且服务类型标识使用第二方式进行定义的情况下,根据所示更新的paas实例的服务类型标识在所述服务类型标识集合中进行检索;In the case that the update type of the updated paas instance is created and the service type identifier is defined using the second mode, the search is performed in the service type identifier set according to the service type identifier of the updated paas instance shown;
若未检索到所述更新的paas实例的服务类型标识,继续根据所述更新的paas实例的服务类型标识在所述paas实例标识集合中进行检索;If the service type identifier of the updated paas instance is not retrieved, continue to search in the paas instance identifier set according to the service type identifier of the updated paas instance;
若检索到与所述更新的paas实例的服务类型标识相同的paas实例标识,在与所述paas实例标识所在的paas实例标识子集合中添加所述更新的paas实例的标识,以及与所述paas实例标识关联的网络地址子集合中添加所述更新的paas实例的网络地址;或If the paas instance identifier that is the same as the service type identifier of the updated paas instance is retrieved, the identifier of the updated paas instance is added to the paas instance identifier sub-collection with the paas instance identifier, and the paas Adding, by the instance identifier, the network address of the updated paas instance in the associated network address sub-collection; or
若未检索到与所述更新的paas实例的服务类型标识相同的paas实例标识,在所述服务类型标识集合中添加所述更新的paas实例的服务类型标识,以及在与所述更新的paas实例的服务类型标识关联的paas实例标识子集合中添加所述更新的paas实例的标识,以及在与所述更新的paas实例的服务类型标识关联的网络地址子集合中添加所述更新的paas实例的网络地址。If the paas instance identifier that is the same as the service type identifier of the updated paas instance is not retrieved, the service type identifier of the updated paas instance is added to the service type identifier set, and the paas instance is updated with the The service type identifier identifies the associated paas instance identifier sub-collection, the identifier of the updated paas instance is added, and the updated paas instance is added to the network address sub-collection associated with the service type identifier of the updated paas instance. website address.
在一种可能的实施方式中,处理器801根据所述实例更新结果更新实例列表,具体为:In a possible implementation manner, the processor 801 updates the instance list according to the instance update result, specifically:
在更新的paas实例的更新类型为终止且服务类型标识使用第二方式进行定义的情况下,根据所示更新的paas实例的服务类型标识在所述服务类型标识集合中进行检索;In the case that the update type of the updated paas instance is terminated and the service type identifier is defined using the second mode, the search is performed in the service type identifier set according to the service type identifier of the updated paas instance shown;
若未检索到所述更新的paas实例的服务类型标识,继续根据所述更新paas实例的服务类型标识在所述paas实例标识集合中进行检索;If the service type identifier of the updated paas instance is not retrieved, continue to search in the paas instance identifier set according to the service type identifier of the update paas instance;
若检索到与所述更新的paas实例相同的paas实例标识,在所述实例列表中与所述paas实例标识对应的paas实例标识子集合中终止所述更新的paas实例的标识,以及在所述实例列表中与所述paas实例标识关联的网络地址子集合中终止所述更新的paas实例的网络地址。If the paas instance identifier that is the same as the updated paas instance is retrieved, the identifier of the updated paas instance is terminated in the paas instance identifier sub-collection corresponding to the paas instance identifier in the instance list, and Terminating the network address of the updated paas instance in the network address sub-collection associated with the paas instance identifier in the instance list.
在一种可能的实施方式中,所述连接关系表包括VNF标识、VNFC标识、paas实例标识和VL实例标识中的至少一种。In a possible implementation manner, the connection relationship table includes at least one of a VNF identifier, a VNFC identifier, a paas instance identifier, and a VL instance identifier.
在一种可能的实施方式中,处理器801用于重分配所述基础服务完成实例更新后关联的paas实例和所述至少一个VNF关联的VNFC实例之间的连接关系,具体为:In a possible implementation, the processor 801 is configured to re-allocate the connection relationship between the associated paas instance and the VNFC instance associated with the at least one VNF.
使用随机的方式重分配所述基础服务完成实例更新后关联的paas实例和所述至少一个VNFC实例之间的连接关系;其中,每个paas实例和至少一个VNFC实例连接。Reconnecting the connection relationship between the associated paas instance and the at least one VNFC instance after the instance update is performed in a random manner; wherein each paas instance is connected to at least one VNFC instance.
在一种可能的实施方式中,处理器801执行更新连接关系表,具体为:In a possible implementation manner, the processor 801 performs an update connection relationship table, specifically:
根据所述重分配的连接关系中待更新VNFC实例标识在所述连接关系表中进行检索;Retrieving the VNFC instance identifier to be updated in the connection relationship table according to the reassigned connection relationship;
若检索到所述待更新VNFC实例标识,比较所述待更新VNFC实例标识在所述重分配的连接关系中的连接关系是否和所述待更新VNFC实例在所述连接关系表中对应的连接关系相同;If the VNFC instance identifier to be updated is retrieved, the connection relationship between the VNFC instance identifier to be updated in the reassigned connection relationship and the connection relationship between the VNFC instance to be updated in the connection relationship table is compared. the same;
如果相同,不执行更新;If the same, do not perform the update;
如果不相同,根据所述待更新VNFC实例标识在所述重分配的连接关系中的连接关系是否和所述待更新VNFC实例在所述连接关系表中对应的连接关系;If not, the connection relationship between the re-allocated connection relationship and the VNFC instance to be updated in the connection relationship table is determined according to the VNFC instance to be updated;
若没有检索到所述待更新VNFC实例标识,在所述连接关系表中创建1个行,以及在创建的行中添加所述待更新VNFC实例在所述连接关系表中对应的连接关系。If the VNFC instance identifier to be updated is not retrieved, a row is created in the connection relationship table, and a connection relationship corresponding to the VNFC instance to be updated in the connection relationship table is added in the created row.
在一种可能的实施方式中,处理器801执行更新所有VNF关联的连接点配置信息,具体为:获取更新后的连接关系表中修改或创建的连接关系,若修改或创建的连接关系中包括VL实例标识,将相应的VL实例的外部连接点的网络地址配置为所连接的paas实例的网络地址;若修改或创建的连接关系中不包括VL实例标识,创建一个VL实例,将创建的VL实例的内部连接点配置信息配置为所连接的VNFC实例的网络地址,将创建的VL实例的外部连接点配置信息配置为所连接的paas实例的网络地址,以及将创建的VL实例的标识添加到该连接关系中。In a possible implementation manner, the processor 801 performs connection point configuration information for updating all VNF associations, specifically: obtaining a connection relationship modified or created in the updated connection relationship table, if the modified or created connection relationship is included. VL instance identifier, the network address of the external connection point of the corresponding VL instance is configured as the network address of the connected paas instance; if the modified or created connection relationship does not include the VL instance identifier, a VL instance is created, and the VL will be created. The internal connection point configuration information of the instance is configured as the network address of the connected VNFC instance, the external connection point configuration information of the created VL instance is configured as the network address of the connected paas instance, and the identifier of the created VL instance is added to In the connection relationship.
在一种可能的设计中,维护装置8可以为芯片,例如:可以为计算设备中的处理器芯片,用于实现计算设备中处理器的相关功能。该芯片可以为实现相关功能的现场可编程门阵列,专用集成芯片,系统芯片,中央处理器,网络处理器,数字信号处理电路,微控制器,还可以采用可编程控制器或其他集成芯片。该芯片中,可选的可以包括一个或多个存储器,用于存储程序代码,当所述程序代码执行时,使处理器实现相应的功能。In one possible design, the maintenance device 8 can be a chip, for example, can be a processor chip in a computing device for implementing the relevant functions of the processor in the computing device. The chip can be a field programmable gate array for implementing related functions, a dedicated integrated chip, a system chip, a central processing unit, a network processor, a digital signal processing circuit, a microcontroller, and a programmable controller or other integrated chip. In the chip, optionally, one or more memories may be included for storing program code, and when the program code is executed, the processor implements corresponding functions.
这些芯片可以全部或部分地通过软件、硬件、固件或者其任意组合来实现。当使用软件程序实现时,可以全部或部分地以计算机程序产品的形式来实现。该计算机程序产品包括一个或多个计算机指令(有时也称为代码或程序)。在计算机上加载和执行计算机程序指令时,全部或部分地产生按照本申请实施例所述的流程或功能。所述计算机可以是通用计算机、专用计算机、计算机网络、或者其他可编程装置。所述计算机指令可以存储在计算机可读存储介质中,或者从一个计算机可读存储介质向另一个计算机可读存储介质传输,例如,所述计算机指令可以从一个网站站点、计算机、服务器或者数据中心通过有线(例如同轴电缆、光纤、数字用户线(digital subscriber line,DSL))或无线(例如红外、无线、微波等)方式向另一个网站站点、计算机、服务器或数据中心进行传输。所述计算机可读存储介质可以是计算机能够存取的任何可用介质或者是包含一个或多个可以用介质集成的服务器、数据中心等数据存储设备。所述可用介质可以是磁性介质(例如,软盘、硬盘、磁带),光介质(例如,DVD)、或者半导体介质(例如固态硬盘(solid state disk,SSD))等。These chips may be implemented in whole or in part by software, hardware, firmware, or any combination thereof. When implemented using a software program, it may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions (sometimes referred to as code or programs). When the computer program instructions are loaded and executed on a computer, the processes or functions described in accordance with embodiments of the present application are generated in whole or in part. The computer can be a general purpose computer, a special purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer readable storage medium or transferred from one computer readable storage medium to another computer readable storage medium, for example, the computer instructions can be from a website site, computer, server or data center Transmission to another website site, computer, server or data center via wired (eg coaxial cable, fiber optic, digital subscriber line (DSL)) or wireless (eg infrared, wireless, microwave, etc.). The computer readable storage medium can be any available media that can be accessed by a computer or a data storage device that includes one or more servers, data centers, etc. that can be integrated with the media. The usable medium may be a magnetic medium (eg, a floppy disk, a hard disk, a magnetic tape), an optical medium (eg, a DVD), or a semiconductor medium (such as a solid state disk (SSD)) or the like.
本发明实施例和图2的方法实施例基于同一构思,其带来的技术效果也相同,具体过程可参照图2的方法实施例的描述,此处不再赘述。The embodiment of the present invention and the method embodiment of FIG. 2 are based on the same concept, and the technical effects thereof are also the same. For the specific process, reference may be made to the description of the method embodiment of FIG. 2, and details are not described herein again.
请参见图9,图9是本发明实施例提供的一种虚拟网元的控制装置的结构示意图,以下简称控制装置9,该控制装置9可以包括获取单元901和处理单元902,其中,各个单元的详细描述如下。Referring to FIG. 9, FIG. 9 is a schematic structural diagram of a control device for a virtual network element according to an embodiment of the present invention. Hereinafter, the control device 9 may include an obtaining unit 901 and a processing unit 902, where each unit is used. The detailed description is as follows.
获取单元901,用于在VNF满足实例更新条件的情况下,获取所述VNF的实例更新结果;例如:获取单元901用于执行图3中的S301和S302。The obtaining unit 901 is configured to acquire an instance update result of the VNF if the VNF satisfies the instance update condition; for example, the obtaining unit 901 is configured to execute S301 and S302 in FIG. 3 .
处理单元902,用于根据所述VNF的实例更新结果更新所述VNF的连接点配置信息。例如:处理单元902用于执行图3中的S303。The processing unit 902 is configured to update the connection point configuration information of the VNF according to the instance update result of the VNF. For example, the processing unit 902 is configured to execute S303 in FIG.
在VNF满足实例更新条件的情况下,获取VNF的实例更新结果;Obtaining an instance update result of the VNF when the VNF satisfies the instance update condition;
根据所述VNF的实例更新结果更新所述VNF的连接点配置信息。Updating the connection point configuration information of the VNF according to the instance update result of the VNF.
在一种可能的实施方式中,所述处理单元902根据所述VNF的实例更新结果更新所述VNF的连接点配置信息,具体为:In a possible implementation, the processing unit 902 updates the connection point configuration information of the VNF according to the instance update result of the VNF, specifically:
根据连接关系表查询与所述VNF关联的所有基础服务,以及查询与所述所有基础服务关联的paas实例;Querying all basic services associated with the VNF according to the connection relationship table, and querying a paas instance associated with all the basic services;
重分配所述VNF完成伸缩更后关联的实例和查询到的paas实例之间的连接关系;Redistributing the connection relationship between the VNF and the queried instance of the queried instance;
根据重分配的连接关系更新连接关系表,以及根据更新后的连接关系表更新所述VNF关联的VL的连接点配置信息。Updating the connection relationship table according to the reassigned connection relationship, and updating the connection point configuration information of the VL associated with the VNF according to the updated connection relationship table.
在一种可能的实施方式中,所述实例更新结果包括所述VNF的标识、所述VNF关联的VNFC实例的标识和VL实例标识中至少一种。In a possible implementation manner, the instance update result includes at least one of an identifier of the VNF, an identifier of a VNFC instance associated with the VNF, and a VL instance identifier.
在一种可能的实施方式中,所述连接关系表包括VNF标识、VNFC标识、paas实例标识和VL实例标识中至少一种。In a possible implementation manner, the connection relationship table includes at least one of a VNF identifier, a VNFC identifier, a paas instance identifier, and a VL instance identifier.
控制装置9可以为VNFM,所述控制装置9也可以为实现相关功能的现场可编程门阵列(field-programmable gate array,FPGA),专用集成芯片,系统芯片(system on chip,SoC),中央处理器(central processor unit,CPU),网络处理器(network processor,NP),数字信号处理电路,微控制器(micro controller unit,MCU),还可以采用可编程控制器(programmable logic device,PLD)或其他集成芯片。The control device 9 may be a VNFM, and the control device 9 may also be a field-programmable gate array (FPGA), a dedicated integrated chip, a system on chip (SoC), and a central processing. Central processor unit (CPU), network processor (NP), digital signal processing circuit, microcontroller (micro controller unit (MCU), can also use programmable logic device (PLD) or Other integrated chips.
本发明实施例和图3的方法实施例基于同一构思,其带来的技术效果也相同,具体过程可参照图3的方法实施例的描述,此处不再赘述。The embodiment of the present invention and the method embodiment of FIG. 3 are based on the same concept, and the technical effects thereof are also the same. For the specific process, reference may be made to the description of the method embodiment of FIG. 3, and details are not described herein again.
如图10所示,本发明实施例还提供了一种虚拟网元的控制装置,以下简称控制装置10。As shown in FIG. 10, the embodiment of the present invention further provides a control device for a virtual network element, hereinafter referred to as the control device 10.
在一种可能的设计中,控制装置10为VNFM,该VNFM包括:In one possible design, the control device 10 is a VNFM, and the VNFM includes:
存储器1002,用于存储程序和数据。所述存储器的数量可以是一个或多个,所述存储器的类型可以是任意形式的存储介质。例如:该存储器可以为随机访问内存(英文:random access memory,简称:RAM)或者只读内存(英文:read only memory,简称:ROM)或者闪存,其中存储器1002可以位于单独位于终端设备内,也可以位于处理器1001的内部。The memory 1002 is configured to store programs and data. The number of the memories may be one or more, and the type of the memory may be any form of storage medium. For example, the memory may be a random access memory (English: random access memory, RAM for short) or a read only memory (English: read only memory, abbreviated as: ROM) or a flash memory, wherein the memory 1002 may be located separately in the terminal device, It may be located inside the processor 1001.
接收器1003,用于接收信号。接收器1003可以作为单独的芯片,也可以为处理器1001内的接收电路或作为输入接口。The receiver 1003 is configured to receive a signal. The receiver 1003 can be a separate chip or a receiving circuit within the processor 1001 or as an input interface.
处理器1001,用于执行存储器1002存储的所述程序代码,当所述程序代码被执行时,处理器1001用于在VNF满足实例更新条件的情况下,获取VNF的实例更新结果;根据所述VNF的实例更新结果更新所述VNF的连接点配置信息。例如:处理器1001用于执行图3中的S301、S302和S303。The processor 1001 is configured to execute the program code stored in the memory 1002. When the program code is executed, the processor 1001 is configured to obtain an instance update result of the VNF if the VNF satisfies the instance update condition; The instance update result of the VNF updates the connection point configuration information of the VNF. For example, the processor 1001 is configured to execute S301, S302, and S303 in FIG.
发射器1004,用于发射信号。发射器1004可以作为单独的芯片,也可以为处理器1001内的发射电路或者作为输出接口。A transmitter 1004 is configured to transmit a signal. The transmitter 1004 can be a separate chip, or can be a transmit circuit within the processor 1001 or as an output interface.
接收器1003、发射器1004、存储器1002、处理器1001之间通过内部连接通路互相通信,例如:通过总线连接。The receiver 1003, the transmitter 1004, the memory 1002, and the processor 1001 communicate with each other through an internal connection path, for example, via a bus.
在一种可能的实施方式中,处理器1001执行根据所述VNF的实例更新结果更新所述VNF的连接点配置信息,具体为:In a possible implementation, the processor 1001 performs connection point configuration information that updates the VNF according to the instance update result of the VNF, specifically:
根据连接关系表查询与所述VNF关联的所有基础服务,以及查询与所述所有基础服务关联的paas实例;Querying all basic services associated with the VNF according to the connection relationship table, and querying a paas instance associated with all the basic services;
重分配所述VNF完成伸缩更后关联的实例和查询到的paas实例之间的连接关系;Redistributing the connection relationship between the VNF and the queried instance of the queried instance;
根据重分配的连接关系更新连接关系表,以及根据更新后的连接关系表更新所述VNF关联的VL的连接点配置信息。Updating the connection relationship table according to the reassigned connection relationship, and updating the connection point configuration information of the VL associated with the VNF according to the updated connection relationship table.
在一种可能的实施方式中,所述实例更新结果包括所述VNF的标识、所述VNF关联的VNFC实例的标识和VL实例标识中至少一种。In a possible implementation manner, the instance update result includes at least one of an identifier of the VNF, an identifier of a VNFC instance associated with the VNF, and a VL instance identifier.
在一种可能的实施方式中,所述连接关系表包括VNF标识、VNFC标识、paas实例标识和VL实例标识中至少一种。In a possible implementation manner, the connection relationship table includes at least one of a VNF identifier, a VNFC identifier, a paas instance identifier, and a VL instance identifier.
在一种可能的设计中,控制装置10可以为芯片,例如:可以为计算设备中的处理器芯片,用于实现计算设备中处理器的相关功能。该芯片可以为实现相关功能的现场可编程门阵列,专用集成芯片,系统芯片,中央处理器,网络处理器,数字信号处理电路,微控制器,还可以采用可编程控制器或其他集成芯片。该芯片中,可选的可以包括一个或多个存储器,用于存储程序代码,当所述程序代码执行时,使处理器实现相应的功能。In one possible design, the control device 10 can be a chip, for example, can be a processor chip in a computing device for implementing related functions of the processor in the computing device. The chip can be a field programmable gate array for implementing related functions, a dedicated integrated chip, a system chip, a central processing unit, a network processor, a digital signal processing circuit, a microcontroller, and a programmable controller or other integrated chip. In the chip, optionally, one or more memories may be included for storing program code, and when the program code is executed, the processor implements corresponding functions.
这些芯片可以全部或部分地通过软件、硬件、固件或者其任意组合来实现。当使用软件程序实现时,可以全部或部分地以计算机程序产品的形式来实现。该计算机程序产品包括一个或多个计算机指令(有时也称为代码或程序)。在计算机上加载和执行计算机程序指令时,全部或部分地产生按照本申请实施例所述的流程或功能。所述计算机可以是通用计算机、专用计算机、计算机网络、或者其他可编程装置。所述计算机指令可以存储在计算机可读存储介质中,或者从一个计算机可读存储介质向另一个计算机可读存储介质传输,例如,所述计算机指令可以从一个网站站点、计算机、服务器或者数据中心通过有线(例如同轴电缆、光纤、数字用户线(digital subscriber line,DSL))或无线(例如红外、无线、微波等)方式向另一个网站站点、计算机、服务器或数据中心进行传输。所述计算机可读存储介质可以是计算机能够存取的任何可用介质或者是包含一个或多个可以用介质集成的服务器、数据中心等数据存储设备。所述可用介质可以是磁性介质(例如,软盘、硬盘、磁带),光介质(例如,DVD)、或者半导体介质(例如固态硬盘(solid state disk,SSD))等。These chips may be implemented in whole or in part by software, hardware, firmware, or any combination thereof. When implemented using a software program, it may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions (sometimes referred to as code or programs). When the computer program instructions are loaded and executed on a computer, the processes or functions described in accordance with embodiments of the present application are generated in whole or in part. The computer can be a general purpose computer, a special purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer readable storage medium or transferred from one computer readable storage medium to another computer readable storage medium, for example, the computer instructions can be from a website site, computer, server or data center Transmission to another website site, computer, server or data center via wired (eg coaxial cable, fiber optic, digital subscriber line (DSL)) or wireless (eg infrared, wireless, microwave, etc.). The computer readable storage medium can be any available media that can be accessed by a computer or a data storage device that includes one or more servers, data centers, etc. that can be integrated with the media. The usable medium may be a magnetic medium (eg, a floppy disk, a hard disk, a magnetic tape), an optical medium (eg, a DVD), or a semiconductor medium (such as a solid state disk (SSD)) or the like.
本发明实施例和图3的方法实施例基于同一构思,其带来的技术效果也相同,具体过程可参照图3的方法实施例的描述,此处不再赘述。The embodiment of the present invention and the method embodiment of FIG. 3 are based on the same concept, and the technical effects thereof are also the same. For the specific process, reference may be made to the description of the method embodiment of FIG. 3, and details are not described herein again.
请参见图11,图11是本发明实施例提供的一种虚拟网元的创建装置的结构示意图,以下简称创建装置11,该创建装置11可以包括获取单元1101和处理单元1102,其中,各个单元的详细描述如下。Referring to FIG. 11, FIG. 11 is a schematic structural diagram of a device for creating a virtual network element according to an embodiment of the present invention. The following is abbreviated as a creating device 11 that may include an obtaining unit 1101 and a processing unit 1102, where each unit is used. The detailed description is as follows.
获取单元1101,用于在需要创建VNF的情况下,获取所述VNF的paas实例分配结果和VNFC实例分配结果;例如:获取单元1101用于执行图4中的S401至S403。The obtaining unit 1101 is configured to acquire a paas instance allocation result and a VNFC instance allocation result of the VNF in a case that a VNF needs to be created; for example, the obtaining unit 1101 is configured to execute S401 to S403 in FIG. 4 .
处理单元1102,用于根据所述paas实例分配结果更新实例列表;The processing unit 1102 is configured to update the instance list according to the paas instance allocation result;
分配所述VNFC实例分配结果对应的VNFC实例和所述paas实例分配结果对应paas实例之间的连接关系;Allocating a connection relationship between the VNFC instance corresponding to the VNFC instance assignment result and the paas instance assignment result corresponding to the paas instance;
根据分配的连接关系更新连接关系表,以及根据更新后的连接关系表更新所述VNF的连接点配置信息。例如:处理单元1102用于执行图4中的S404至S407。Updating the connection relationship table according to the allocated connection relationship, and updating the connection point configuration information of the VNF according to the updated connection relationship table. For example, the processing unit 1102 is configured to execute S404 to S407 in FIG.
在一种可能的实施方式中,所述实例列表包括服务类型标识集合、paas实例标识集合和网络地址集合中的至少一种,所述服务类型标识集合包括n个服务类型标识,所述paas实例标识集合包括n个paas实例标识子集合,所述网络地址集合包括n个网络地址子集合,所述服务类型标识集合中的服务类型标识、所述paas实例标识集合中的paas实例标识子集合和所述网络地址集合中的网络地址子集合一一对应,n为大于0的整数。In a possible implementation manner, the instance list includes at least one of a service type identifier set, a paas instance identifier set, and a network address set, where the service type identifier set includes n service type identifiers, and the paas instance The identifier set includes n paas instance identifier sub-sets, the network address set includes n network address sub-sets, the service type identifier in the service type identifier, the paas instance identifier sub-collection in the paas instance identifier set, and The network address subsets in the network address set are in one-to-one correspondence, and n is an integer greater than 0.
在一种可能的实施中,所述连接关系表包括VNF标识、VNFC标识、paas实例标识和VL实例标识中至少一种。In a possible implementation, the connection relationship table includes at least one of a VNF identifier, a VNFC identifier, a paas instance identifier, and a VL instance identifier.
其中,本实施例中更新实施列表和连接关系表的具体过程可参照图2中描述,此处不再 赘述。For the specific process of updating the implementation list and the connection relationship table in this embodiment, reference may be made to FIG. 2, and details are not described herein again.
创建装置11可以为VNFM,所述创建装置11也可以为实现相关功能的现场可编程门阵列(field-programmable gate array,FPGA),专用集成芯片,系统芯片(system on chip,SoC),中央处理器(central processor unit,CPU),网络处理器(network processor,NP),数字信号处理电路,微控制器(micro controller unit,MCU),还可以采用可编程控制器(programmable logic device,PLD)或其他集成芯片。The creating device 11 may be a VNFM, and the creating device 11 may also be a field-programmable gate array (FPGA), a dedicated integrated chip, a system on chip (SoC), and a central processing. Central processor unit (CPU), network processor (NP), digital signal processing circuit, microcontroller (micro controller unit (MCU), can also use programmable logic device (PLD) or Other integrated chips.
本发明实施例和图4的方法实施例基于同一构思,其带来的技术效果也相同,具体过程可参照图3的方法实施例的描述,此处不再赘述。The embodiment of the present invention and the method embodiment of FIG. 4 are based on the same concept, and the technical effects thereof are also the same. For the specific process, reference may be made to the description of the method embodiment of FIG. 3, and details are not described herein again.
如图12所示,本发明实施例还提供了一种虚拟网元的创建装置12,以下简称创建装置12。As shown in FIG. 12, the embodiment of the present invention further provides a virtual network element creation device 12, hereinafter referred to as the creation device 12.
在一种可能的设计中,创建装置12为VNFM,该VNFM包括:In one possible design, the creation device 12 is a VNFM, and the VNFM includes:
存储器1202,用于存储程序和数据。所述存储器的数量可以是一个或多个,所述存储器的类型可以是任意形式的存储介质。例如:该存储器可以为随机访问内存(英文:random access memory,简称:RAM)或者只读内存(英文:read only memory,简称:ROM)或者闪存,其中存储器1202可以位于单独位于终端设备内,也可以位于处理器1201的内部。The memory 1202 is configured to store programs and data. The number of the memories may be one or more, and the type of the memory may be any form of storage medium. For example, the memory may be a random access memory (English: random access memory, RAM for short) or a read only memory (English: read only memory, abbreviated as: ROM) or a flash memory, wherein the memory 1202 may be located separately in the terminal device, It may be located inside the processor 1201.
接收器1203,用于接收信号。接收器1203可以作为单独的芯片,也可以为处理器1201内的接收电路或作为输入接口。The receiver 1203 is configured to receive a signal. The receiver 1203 can be a separate chip or a receiving circuit within the processor 1201 or as an input interface.
处理器1201,用于执行存储器1202存储的所述程序代码,当所述程序代码被执行时,处理器1201用于在需要创建VNF的情况下,获取所述VNF的paas实例分配结果和VNFC实例分配结果;根据所述paas实例分配结果更新实例列表;The processor 1201 is configured to execute the program code stored in the memory 1202. When the program code is executed, the processor 1201 is configured to acquire a paas instance allocation result and a VNFC instance of the VNF if a VNF needs to be created. Assigning a result; updating the instance list according to the paas instance allocation result;
分配所述VNFC实例分配结果对应的VNFC实例和所述paas实例分配结果对应paas实例之间的连接关系;Allocating a connection relationship between the VNFC instance corresponding to the VNFC instance assignment result and the paas instance assignment result corresponding to the paas instance;
根据分配的连接关系更新连接关系表,以及根据更新后的连接关系表更新所述VNF的连接点配置信息。Updating the connection relationship table according to the allocated connection relationship, and updating the connection point configuration information of the VNF according to the updated connection relationship table.
发射器1204,用于发射信号。发射器1204可以作为单独的芯片,也可以为处理器1201内的发射电路或者作为输出接口。A transmitter 1204 is configured to transmit a signal. The transmitter 1204 can function as a separate chip, as well as a transmit circuit within the processor 1201 or as an output interface.
接收器1203、发射器1204、存储器1202、处理器1201之间通过内部连接通路互相通信,例如:通过总线连接。The receiver 1203, the transmitter 1204, the memory 1202, and the processor 1201 communicate with each other through an internal connection path, for example, via a bus.
在一种可能的实施方式中,所述实例列表包括服务类型标识集合、paas实例标识集合和网络地址集合中的至少一种,所述服务类型标识集合包括n个服务类型标识,所述paas实例标识集合包括n个paas实例标识子集合,所述网络地址集合包括n个网络地址子集合,所述服务类型标识集合中的服务类型标识、所述paas实例标识集合中的paas实例标识子集合和所述网络地址集合中的网络地址子集合一一对应,n为大于0的整数。In a possible implementation manner, the instance list includes at least one of a service type identifier set, a paas instance identifier set, and a network address set, where the service type identifier set includes n service type identifiers, and the paas instance The identifier set includes n paas instance identifier sub-sets, the network address set includes n network address sub-sets, the service type identifier in the service type identifier, the paas instance identifier sub-collection in the paas instance identifier set, and The network address subsets in the network address set are in one-to-one correspondence, and n is an integer greater than 0.
在一种可能的实施中,所述连接关系表包括VNF标识、VNFC标识、paas实例标识和VL实例标识中至少一种。In a possible implementation, the connection relationship table includes at least one of a VNF identifier, a VNFC identifier, a paas instance identifier, and a VL instance identifier.
其中,本实施例中更新实施列表和连接关系表的具体过程可参照图2中描述,此处不再赘述。For the specific process of updating the implementation list and the connection relationship table in this embodiment, reference may be made to FIG. 2, and details are not described herein again.
在一种可能的设计中,创建装置12可以为芯片,例如:可以为计算设备中的处理器芯片,用于实现计算设备中处理器的相关功能。该芯片可以为实现相关功能的现场可编程门阵 列,专用集成芯片,系统芯片,中央处理器,网络处理器,数字信号处理电路,微控制器,还可以采用可编程控制器或其他集成芯片。该芯片中,可选的可以包括一个或多个存储器,用于存储程序代码,当所述程序代码执行时,使处理器实现相应的功能。In one possible design, the creation device 12 can be a chip, for example, can be a processor chip in a computing device for implementing related functions of the processor in the computing device. The chip can be a field programmable gate array for implementing related functions, a dedicated integrated chip, a system chip, a central processing unit, a network processor, a digital signal processing circuit, a microcontroller, and a programmable controller or other integrated chip. In the chip, optionally, one or more memories may be included for storing program code, and when the program code is executed, the processor implements corresponding functions.
这些芯片可以全部或部分地通过软件、硬件、固件或者其任意组合来实现。当使用软件程序实现时,可以全部或部分地以计算机程序产品的形式来实现。该计算机程序产品包括一个或多个计算机指令(有时也称为代码或程序)。在计算机上加载和执行计算机程序指令时,全部或部分地产生按照本申请实施例所述的流程或功能。所述计算机可以是通用计算机、专用计算机、计算机网络、或者其他可编程装置。所述计算机指令可以存储在计算机可读存储介质中,或者从一个计算机可读存储介质向另一个计算机可读存储介质传输,例如,所述计算机指令可以从一个网站站点、计算机、服务器或者数据中心通过有线(例如同轴电缆、光纤、数字用户线(digital subscriber line,DSL))或无线(例如红外、无线、微波等)方式向另一个网站站点、计算机、服务器或数据中心进行传输。所述计算机可读存储介质可以是计算机能够存取的任何可用介质或者是包含一个或多个可以用介质集成的服务器、数据中心等数据存储设备。所述可用介质可以是磁性介质(例如,软盘、硬盘、磁带),光介质(例如,DVD)、或者半导体介质(例如固态硬盘(solid state disk,SSD))等。These chips may be implemented in whole or in part by software, hardware, firmware, or any combination thereof. When implemented using a software program, it may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions (sometimes referred to as code or programs). When the computer program instructions are loaded and executed on a computer, the processes or functions described in accordance with embodiments of the present application are generated in whole or in part. The computer can be a general purpose computer, a special purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer readable storage medium or transferred from one computer readable storage medium to another computer readable storage medium, for example, the computer instructions can be from a website site, computer, server or data center Transmission to another website site, computer, server or data center via wired (eg coaxial cable, fiber optic, digital subscriber line (DSL)) or wireless (eg infrared, wireless, microwave, etc.). The computer readable storage medium can be any available media that can be accessed by a computer or a data storage device that includes one or more servers, data centers, etc. that can be integrated with the media. The usable medium may be a magnetic medium (eg, a floppy disk, a hard disk, a magnetic tape), an optical medium (eg, a DVD), or a semiconductor medium (such as a solid state disk (SSD)) or the like.
本发明实施例和图2的方法实施例基于同一构思,其带来的技术效果也相同,具体过程可参照图2的方法实施例的描述,此处不再赘述。The embodiment of the present invention and the method embodiment of FIG. 2 are based on the same concept, and the technical effects thereof are also the same. For the specific process, reference may be made to the description of the method embodiment of FIG. 2, and details are not described herein again.
本领域普通技术人员可以意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、或者计算机软件和电子硬件的结合来实现。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。Those of ordinary skill in the art will appreciate that the elements and algorithm steps of the various examples described in connection with the embodiments disclosed herein can be implemented in electronic hardware or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the solution. A person skilled in the art can use different methods to implement the described functions for each particular application, but such implementation should not be considered to be beyond the scope of the present application.
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统、装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。A person skilled in the art can clearly understand that for the convenience and brevity of the description, the specific working process of the system, the device and the unit described above can refer to the corresponding process in the foregoing method embodiment, and details are not described herein again.
在本申请所提供的几个实施例中,应该理解到,所揭露的系统、装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。In the several embodiments provided by the present application, it should be understood that the disclosed systems, devices, and methods may be implemented in other manners. For example, the device embodiments described above are merely illustrative. For example, the division of the unit is only a logical function division. In actual implementation, there may be another division manner, for example, multiple units or components may be combined or Can be integrated into another system, or some features can be ignored or not executed. In addition, the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, device or unit, and may be in an electrical, mechanical or other form.
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of the embodiment.
另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
在上述实施例中,可以全部或部分地通过软件、硬件、固件或者其任意组合来实现。当使用软件实现时,可以全部或部分地以计算机程序产品的形式实现。所述计算机程序产品包括一个或多个计算机指令。在计算机上加载和执行所述计算机程序指令时,全部或部分地产生按照本发明实施例所述的流程或功能。所述计算机可以是通用计算机、专用计算机、计算机网络、或者其他可编程装置。所述计算机指令可以存储在计算机可读存储介质中,或者通 过所述计算机可读存储介质进行传输。所述计算机指令可以从一个网站站点、计算机、服务器或数据中心通过有线(例如同轴电缆、光纤、数字用户线(DSL))或无线(例如红外、无线、微波等)方式向另一个网站站点、计算机、服务器或数据中心进行传输。所述计算机可读存储介质可以是计算机能够存取的任何可用介质或者是包含一个或多个可用介质集成的服务器、数据中心等数据存储设备。所述可用介质可以是磁性介质,(例如,软盘、硬盘、磁带)、光介质(例如,DVD)、或者半导体介质(例如固态硬盘Sol标识State Disk(SSD))等。In the above embodiments, it may be implemented in whole or in part by software, hardware, firmware, or any combination thereof. When implemented in software, it may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the processes or functions described in accordance with embodiments of the present invention are generated in whole or in part. The computer can be a general purpose computer, a special purpose computer, a computer network, or other programmable device. The computer instructions can be stored in or transmitted by a computer readable storage medium. The computer instructions can be from a website site, computer, server or data center to another website site by wire (eg, coaxial cable, fiber optic, digital subscriber line (DSL)) or wireless (eg, infrared, wireless, microwave, etc.) Transfer from a computer, server, or data center. The computer readable storage medium can be any available media that can be accessed by a computer or a data storage device such as a server, data center, or the like that includes one or more available media. The usable medium may be a magnetic medium (eg, a floppy disk, a hard disk, a magnetic tape), an optical medium (eg, a DVD), or a semiconductor medium (such as a solid state hard disk Sol Identification State Disk (SSD)) or the like.
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,该流程可以由计算机程序来指令相关的硬件完成,该程序可存储于计算机可读取存储介质中,该程序在执行时,可包括如上述各方法实施例的流程。而前述的存储介质包括:ROM或随机存储记忆体RAM、磁碟或者光盘等各种可存储程序代码的介质。One of ordinary skill in the art can understand all or part of the process of implementing the above embodiments, which can be completed by a computer program to instruct related hardware, the program can be stored in a computer readable storage medium, when the program is executed The flow of the method embodiments as described above may be included. The foregoing storage medium includes various media that can store program codes, such as a ROM or a random access memory RAM, a magnetic disk, or an optical disk.

Claims (28)

  1. 一种虚拟网元的管理方法,其特征在于,包括:A method for managing a virtual network element, comprising:
    在基础服务满足实例更新条件的情况下,平台即服务paas管理网元对所述基础服务进行实例更新;In the case that the basic service satisfies the instance update condition, the platform as a service paas management network element performs an instance update on the basic service;
    所述paas管理网元向虚拟网络功能管理网元VNFM发送所述基础服务的实例更新结果。The paas management network element sends an instance update result of the basic service to the virtual network function management network element VNFM.
  2. 如权利要求1所述的方法,其特征在于,所述实例更新结果包括所述基础服务中更新的paas实例的标识、服务类型标识、更新类型和网络地址中的至少一种。The method of claim 1, wherein the instance update result comprises at least one of an identifier of an updated paas instance, a service type identifier, an update type, and a network address in the base service.
  3. 如权利要求1或2所述的方法,其特征在于,所述在基础服务满足实例更新条件的情况下,paas管理网元对所述基础服务进行更新之前,还包括:The method according to claim 1 or 2, wherein, before the basic service satisfies the instance update condition, the paas management network element further includes:
    所述paas管理网元检测所述基础服务关联的所有paas实例的平均负载;The paas management network element detects an average load of all paas instances associated with the basic service;
    所述paas管理网元判断所述平均负载大于第一负载阈值;或The paas management network element determines that the average load is greater than a first load threshold; or
    所述paas管理网元判断所述平均负载小于第二负载阈值。The paas management network element determines that the average load is less than a second load threshold.
  4. 如权利要求3所述的方法,其特征在于,服务类型标识使用第一方式进行定义,所述基础服务关联的所有的paas实例具有相同的服务类型标识。The method of claim 3 wherein the service type identification is defined using a first manner, and all paas instances associated with the basic service have the same service type identification.
  5. 如权利要求1或2所述的方法,其特征在于,所述在基础服务满足实例更新条件的情况下,paas管理网元对所述基础服务进行更新之前,还包括:The method according to claim 1 or 2, wherein, before the basic service satisfies the instance update condition, the paas management network element further includes:
    所述paas管理网元检测基础服务关联的所有paas实例中至少一个paas实例的负载;The paas management network element detects a load of at least one paas instance in all paas instances associated with the basic service;
    所述paas管理网元判断所述至少一个paas实例中每个paas实例的负载均大于第一负载阈值;或The paas management network element determines that the load of each paas instance in the at least one paas instance is greater than a first load threshold; or
    所述paas管理网元判断所述至少一个paas实例中每个paas实例的负载均小于第二负载阈值。The paas management network element determines that the load of each paas instance in the at least one paas instance is less than a second load threshold.
  6. 如权利要求5所述的方法,其特征在于,服务类型标识使用第二方式进行定义,所述基础服务关联的所有paas实例具有不同的服务类型标识,在paas实例的更新类型为终止时,paas实例的服务类型标识和该paas实例的标识相同。The method according to claim 5, wherein the service type identifier is defined in a second manner, and all paas instances associated with the base service have different service type identifiers, and when the update type of the paas instance is terminated, paas The service type identifier of the instance is the same as the identity of the paas instance.
  7. 一种虚拟网元的维护方法,其特征在于,包括:A method for maintaining a virtual network element, comprising:
    虚拟网络功能管理网元VNFM接收来自平台即服务paas管理网元的关于基础服务的实例更新结果;The virtual network function management network element VNFM receives an instance update result about the basic service from the platform as a service paas management network element;
    所述VNFM根据所述实例更新结果更新与所述基础服务关联的所有虚拟网络功能VNF的连接点配置信息。The VNFM updates connection point configuration information of all virtual network functions VNF associated with the base service according to the instance update result.
  8. 如权利要求7所述的方法,其特征在于,所述VNFM根据所述实例更新结果更新与所述基础服务关联的所有VNF的连接点配置信息包括:The method of claim 7, wherein the VNFM updates connection point configuration information of all VNFs associated with the basic service according to the instance update result, including:
    所述VNFM根据所述实例更新结果更新实例列表;The VNFM updates the instance list according to the instance update result;
    所述VNFM根据连接关系表查询与所述基础服务关联的所有VNF,以及与所述所有VNF 关联的VNFC实例;The VNFM queries all VNFs associated with the basic service according to a connection relationship table, and VNFC instances associated with all the VNFs;
    所述VNFM重分配所述基础服务完成实例更新后关联的paas实例和所述所有VNF关联的VNFC实例之间的连接关系;The VNFM re-allocates the connection relationship between the associated paas instance and the VNFC instance associated with all the VNFs after the basic service completes the instance update;
    所述VNFM根据重分配的连接关系更新所述连接关系表,以及根据更新后的连接关系表更新所述所有VNF的连接点配置信息。The VNFM updates the connection relationship table according to the reassigned connection relationship, and updates the connection point configuration information of all the VNFs according to the updated connection relationship table.
  9. 如权利要求8所述的方法,其特征在于,所述实例更新结果包括所述基础服务中更新的paas实例的标识、服务类型标识、更新类型和网络地址中的至少一种。The method according to claim 8, wherein the instance update result comprises at least one of an identifier of an updated paas instance, a service type identifier, an update type, and a network address in the base service.
  10. 如权利要求8所述的方法,其特征在于,服务类型标识使用第一方式进行定义,所述基础服务关联的所有paas实例具有相同的服务类型标识;或The method of claim 8 wherein the service type identifier is defined using a first manner, and all paas instances associated with the base service have the same service type identifier; or
    服务类型标识使用第二方式进行定义,所述基础服务关联的所有paas实例具有不同的服务类型标识,在paas实例的更新类型为终止时,paas实例的服务类型标识和该paas实例的标识相同。The service type identifier is defined in the second mode, and all the paas instances associated with the basic service have different service type identifiers. When the update type of the paas instance is terminated, the service type identifier of the paas instance is the same as the identifier of the paas instance.
  11. 如权利要求8-10任意一项所述的方法,其特征在于,所述实例列表包括服务类型标识集合、paas实例标识集合和网络地址集合中的至少一种,所述服务类型标识集合包括n个服务类型标识,所述paas实例标识集合包括n个paas实例标识子集合,所述网络地址集合包括n个网络地址子集合,所述服务类型标识集合中的服务类型标识、所述paas实例标识集合中的paas实例标识子集合和所述网络地址集合中的网络地址子集合一一对应,n为大于0的整数。The method according to any one of claims 8 to 10, wherein the instance list comprises at least one of a service type identification set, a paas instance identification set, and a network address set, the service type identification set comprising n a service type identifier, the paas instance identifier set includes n paas instance identifier sub-sets, the network address set includes n network address subsets, the service type identifier in the service type identifier set, and the paas instance identifier The paas instance identifier sub-collection in the set corresponds to the network address sub-set in the network address set, and n is an integer greater than 0.
  12. 如权利要求11所述的方法,其特征在于,所述VNFM根据所述实例更新结果更新实例列表包括:The method of claim 11, wherein the updating, by the VNFM, the list of instances according to the instance update result comprises:
    在更新的paas实例的更新类型为创建且服务类型标识使用第一方式进行定义的情况下,根据所述更新的paas实例的服务类型标识在所述服务类型标识集合中进行检索;In a case that the update type of the updated paas instance is created and the service type identifier is defined by using the first manner, the search is performed in the service type identifier set according to the service type identifier of the updated paas instance;
    若检索到所述更新的paas实例的服务类型标识,在与所述更新的paas实例的更新类型关联的paas实例标识子集合中添加所述更新的paas实例的标识,以及在与所述更新的paas实例关联的网络地址子集合中添加所述更新的paas实例的网络地址;或If the service type identifier of the updated paas instance is retrieved, the identifier of the updated paas instance is added to the paas instance identifier sub-collection associated with the updated paas instance's update type, and in the update with the Adding the network address of the updated paas instance to the network address sub-collection associated with the paas instance; or
    若未检索到所述更新的paas实例的服务类型标识,在所述服务类型标识集合中添加所述更新的paas实例的服务类型标识,以及在与所述更新的paas实例的服务类型标识关联的paas实例标识子集合中添加所述更新的paas实例的标识,以及在与所述更新的paas实例的服务类型标识关联的网络地址子集合中添加所述更新的paas实例的网络地址。If the service type identifier of the updated paas instance is not retrieved, adding the service type identifier of the updated paas instance to the service type identifier set, and being associated with the service type identifier of the updated paas instance The paas instance identifies the identifier of the updated paas instance in the sub-collection, and adds the network address of the updated paas instance in the network address sub-collection associated with the service type identifier of the updated paas instance.
  13. 如权利要求11所述的方法,其特征在于,所述VNFM根据所述实例更新结果更新实例列表包括:The method of claim 11, wherein the updating, by the VNFM, the list of instances according to the instance update result comprises:
    在更新的paas实例的更新类型为终止且服务类型标识使用第一方式进行定义的情况下,根据所述更新的paas实例的服务类型标识在所述服务类型标识集合中进行检索;If the update type of the updated paas instance is termination and the service type identifier is defined by using the first manner, searching is performed in the service type identifier set according to the service type identifier of the updated paas instance;
    若检索到所述paas实例的服务类型标识,在与所述更新的paas实例的服务类型标识关联的基础服务标识子集合中删除所述更新的paas实例的标识,以及在与所述更新的paas实 例的服务类型标识关联的网络地址子集合中删除所述更新的paas实例的网络地址。If the service type identifier of the paas instance is retrieved, the identifier of the updated paas instance is deleted in the basic service identifier subset associated with the service type identifier of the updated paas instance, and in the updated paas The service type of the instance identifies the network address of the updated paas instance in the associated network address sub-collection.
  14. 如权利要求11所述的方法,其特征在于,所述VNFM根据所述实例更新结果更新实例列表包括:The method of claim 11, wherein the updating, by the VNFM, the list of instances according to the instance update result comprises:
    在更新的paas实例的更新类型为创建且服务类型标识使用第二方式进行定义的情况下,根据所示更新的paas实例的服务类型标识在所述服务类型标识集合中进行检索;In the case that the update type of the updated paas instance is created and the service type identifier is defined using the second mode, the search is performed in the service type identifier set according to the service type identifier of the updated paas instance shown;
    若未检索到所述更新的paas实例的服务类型标识,继续根据所述更新的paas实例的服务类型标识在所述paas实例标识集合中进行检索;If the service type identifier of the updated paas instance is not retrieved, continue to search in the paas instance identifier set according to the service type identifier of the updated paas instance;
    若检索到与所述更新的paas实例的服务类型标识相同的paas实例标识,在与所述paas实例标识所在的paas实例标识子集合中添加所述更新的paas实例的标识,以及与所述paas实例标识关联的网络地址子集合中添加所述更新的paas实例的网络地址;或If the paas instance identifier that is the same as the service type identifier of the updated paas instance is retrieved, the identifier of the updated paas instance is added to the paas instance identifier sub-collection with the paas instance identifier, and the paas Adding, by the instance identifier, the network address of the updated paas instance in the associated network address sub-collection; or
    若未检索到与所述更新的paas实例的服务类型标识相同的paas实例标识,在所述服务类型标识集合中添加所述更新的paas实例的服务类型标识,以及在与所述更新的paas实例的服务类型标识关联的paas实例标识子集合中添加所述更新的paas实例的标识,以及在与所述更新的paas实例的服务类型标识关联的网络地址子集合中添加所述更新的paas实例的网络地址。If the paas instance identifier that is the same as the service type identifier of the updated paas instance is not retrieved, the service type identifier of the updated paas instance is added to the service type identifier set, and the paas instance is updated with the The service type identifier identifies the associated paas instance identifier sub-collection, the identifier of the updated paas instance is added, and the updated paas instance is added to the network address sub-collection associated with the service type identifier of the updated paas instance. website address.
  15. 如权利要求11所述的方法,其特征在于,所述VNFM根据所述实例更新结果更新实例列表包括:The method of claim 11, wherein the updating, by the VNFM, the list of instances according to the instance update result comprises:
    在更新的paas实例的更新类型为终止且服务类型标识使用第二方式进行定义的情况下,根据所示更新的paas实例的服务类型标识在所述服务类型标识集合中进行检索;In the case that the update type of the updated paas instance is terminated and the service type identifier is defined using the second mode, the search is performed in the service type identifier set according to the service type identifier of the updated paas instance shown;
    若未检索到所述更新的paas实例的服务类型标识,继续根据所述更新paas实例的服务类型标识在所述paas实例标识集合中进行检索;If the service type identifier of the updated paas instance is not retrieved, continue to search in the paas instance identifier set according to the service type identifier of the update paas instance;
    若检索到与所述更新的paas实例相同的paas实例标识,在所述实例列表中与所述paas实例标识对应的paas实例标识子集合中终止所述更新的paas实例的标识,以及在所述实例列表中与所述paas实例标识关联的网络地址子集合中终止所述更新的paas实例的网络地址。If the paas instance identifier that is the same as the updated paas instance is retrieved, the identifier of the updated paas instance is terminated in the paas instance identifier sub-collection corresponding to the paas instance identifier in the instance list, and Terminating the network address of the updated paas instance in the network address sub-collection associated with the paas instance identifier in the instance list.
  16. 如权利要求8-15任意一项所述的方法,其特征在于,所述连接关系表包括VNF标识、虚拟网络功能组件VNFC标识、paas实例标识和虚拟链路VL实例标识中的至少一种。The method according to any one of claims 8-15, wherein the connection relationship table comprises at least one of a VNF identifier, a virtual network function component VNFC identifier, a paas instance identifier, and a virtual link VL instance identifier.
  17. 如权利要求16所述的方法,其特征在于,所述重分配所述基础服务完成实例更新后关联的paas实例和所述至少一个VNF关联的VNFC实例之间的连接关系包括:The method of claim 16, wherein the re-allocating the connection relationship between the associated paas instance and the VNFC instance associated with the at least one VNF is:
    使用随机的方式重分配所述基础服务完成实例更新后关联的paas实例和所述至少一个VNFC实例之间的连接关系;其中,每个paas实例和至少一个VNFC实例连接。Reconnecting the connection relationship between the associated paas instance and the at least one VNFC instance after the instance update is performed in a random manner; wherein each paas instance is connected to at least one VNFC instance.
  18. 一种虚拟网元的控制方法,其特征在于,包括:A method for controlling a virtual network element, comprising:
    在虚拟网络功能VNF满足实例更新条件的情况下,虚拟网络功能管理网元VNFM获取VNF的实例更新结果;The virtual network function management network element VNFM obtains an instance update result of the VNF, where the virtual network function VNF satisfies the instance update condition;
    根据所述VNF的实例更新结果更新所述VNF的连接点配置信息。Updating the connection point configuration information of the VNF according to the instance update result of the VNF.
  19. 如权利要求18所述的方法,其特征在于,所述根据所述VNF的实例更新结果更新所述VNF的连接点配置信息包括:The method of claim 18, wherein the updating the connection point configuration information of the VNF according to the instance update result of the VNF comprises:
    根据连接关系表查询与所述VNF关联的所有基础服务,以及查询与所述所有基础服务关联的paas实例;Querying all basic services associated with the VNF according to the connection relationship table, and querying a paas instance associated with all the basic services;
    重分配所述VNF完成伸缩更后关联的实例和查询到的paas实例之间的连接关系;Redistributing the connection relationship between the VNF and the queried instance of the queried instance;
    根据重分配的连接关系更新连接关系表,以及根据更新后的连接关系表更新所述VNF的连接点配置信息。Updating the connection relationship table according to the reassigned connection relationship, and updating the connection point configuration information of the VNF according to the updated connection relationship table.
  20. 如权利要求19所述的方法,其特征在于,所述实例更新结果包括所述VNF的标识、所述VNF关联的VNFC实例的标识和VL实例标识中至少一种。The method of claim 19, wherein the instance update result comprises at least one of an identifier of the VNF, an identifier of a VNFC instance associated with the VNF, and a VL instance identifier.
  21. 如权利要求19所述的方法,其特征在于,所述连接关系表包括VNF标识、虚拟网络功能组件VNFC标识、paas实例标识和虚拟链路VL实例标识中至少一种。The method according to claim 19, wherein the connection relationship table comprises at least one of a VNF identifier, a virtual network function component VNFC identifier, a paas instance identifier, and a virtual link VL instance identifier.
  22. 一种虚拟网元的管理装置,其特征在于,包括:A management device for a virtual network element, comprising:
    处理单元,用于在基础服务满足实例更新条件的情况下,对所述基础服务进行实例更新;a processing unit, configured to perform an instance update on the basic service if the basic service satisfies an instance update condition;
    发送单元,用于向虚拟网络功能管理网元VNFM发送所述基础服务的实例更新结果。And a sending unit, configured to send an instance update result of the basic service to the virtual network function management network element VNFM.
  23. 如权利要求22所述的装置,其特征在于,所述实例更新结果包括所述基础服务中更新的paas实例的标识、服务类型标识、更新类型和网络地址中的至少一种。The apparatus according to claim 22, wherein the instance update result comprises at least one of an identifier of an updated paas instance, a service type identifier, an update type, and a network address in the base service.
  24. 如权利要求23所述的装置,其特征在于,服务类型标识使用第一方式进行定义,所述基础服务关联的所有的paas实例具有相同的服务类型标识;或The apparatus according to claim 23, wherein the service type identifier is defined in a first manner, and all paas instances associated with the base service have the same service type identifier; or
    服务类型标识使用第二方式进行定义,所述基础服务关联的所有paas实例具有不同的服务类型标识,在paas实例的更新类型为终止时,paas实例的服务类型标识和该paas实例的标识相同。The service type identifier is defined in the second mode, and all the paas instances associated with the basic service have different service type identifiers. When the update type of the paas instance is terminated, the service type identifier of the paas instance is the same as the identifier of the paas instance.
  25. 一种虚拟网元的维护装置,其特征在于,包括:A maintenance device for a virtual network element, comprising:
    接收单元,用于接收来自平台即服务paas管理网元的关于基础服务的实例更新结果;a receiving unit, configured to receive an instance update result about the basic service from the platform as a service paas management network element;
    处理单元,用于根据所述实例更新结果更新与所述基础服务关联的所有虚拟网络功能VNF的连接点配置信息。And a processing unit, configured to update connection point configuration information of all virtual network functions VNF associated with the basic service according to the instance update result.
  26. 如权利要求25所述的装置,其特征在于,所述处理单元,用于根据所述实例更新结果更新与所述基础服务关联的所有VNF的连接点配置信息,具体为:The device according to claim 25, wherein the processing unit is configured to update connection point configuration information of all VNFs associated with the basic service according to the instance update result, specifically:
    根据所述实例更新结果更新实例列表;Updating the instance list according to the instance update result;
    根据连接关系表查询与所述基础服务关联的所有VNF,以及与所述所有VNF关联的VNFC实例;Querying, according to the connection relationship table, all VNFs associated with the basic service, and VNFC instances associated with all the VNFs;
    重分配所述基础服务完成实例更新后关联的paas实例和所述所有VNF关联的虚拟网络功能组件VNFC实例之间的连接关系;Reassigning a connection relationship between the associated paas instance and the virtual network function component VNFC instance associated with all the VNFs after the instance update is completed;
    根据重分配的连接关系更新所述连接关系表,以及根据更新后的连接关系表更新所述所有VNF的连接点配置信息。Updating the connection relationship table according to the reassigned connection relationship, and updating the connection point configuration information of all the VNFs according to the updated connection relationship table.
  27. 一种虚拟网元的控制装置,其特征在于,包括:A control device for a virtual network element, comprising:
    获取单元,用于在虚拟网络功能VNF满足实例更新条件的情况下,获取所述VNF的实例更新结果;An obtaining unit, configured to acquire an instance update result of the VNF if the virtual network function VNF satisfies an instance update condition;
    处理单元,用于根据所述VNF的实例更新结果更新所述VNF的连接点配置信息。And a processing unit, configured to update the connection point configuration information of the VNF according to the instance update result of the VNF.
  28. 如权利要求27所述的装置,其特征在于,所述处理单元,用于根据所述VNF的实例更新结果更新所述VNF的连接点配置信息,具体为:The device according to claim 27, wherein the processing unit is configured to update the connection point configuration information of the VNF according to the instance update result of the VNF, specifically:
    根据连接关系表查询与所述VNF关联的所有基础服务,以及查询与所述所有基础服务关联的paas实例;Querying all basic services associated with the VNF according to the connection relationship table, and querying a paas instance associated with all the basic services;
    重分配所述VNF完成伸缩更后关联的实例和查询到的paas实例之间的连接关系;Redistributing the connection relationship between the VNF and the queried instance of the queried instance;
    根据重分配的连接关系更新连接关系表,以及根据更新后的连接关系表更新所述VNF的连接点配置信息。Updating the connection relationship table according to the reassigned connection relationship, and updating the connection point configuration information of the VNF according to the updated connection relationship table.
PCT/CN2018/099418 2017-10-27 2018-08-08 Management, maintenance and control method for virtual network element and related device WO2019080593A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201711023648.0A CN109728921B (en) 2017-10-27 2017-10-27 Management, maintenance and control method of virtual network element and related device
CN201711023648.0 2017-10-27

Publications (1)

Publication Number Publication Date
WO2019080593A1 true WO2019080593A1 (en) 2019-05-02

Family

ID=66247171

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/099418 WO2019080593A1 (en) 2017-10-27 2018-08-08 Management, maintenance and control method for virtual network element and related device

Country Status (2)

Country Link
CN (1) CN109728921B (en)
WO (1) WO2019080593A1 (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113645078A (en) * 2021-08-16 2021-11-12 烽火通信科技股份有限公司 Method and system for automatically extending network management service
US20220417112A1 (en) * 2019-11-29 2022-12-29 Zte Corporation Network operation method, apparatus, and device and storage medium
US11833547B2 (en) 2016-05-06 2023-12-05 United States Postal Service Systems and methods for sorting residual items
US12023713B2 (en) 2017-10-05 2024-07-02 United States Postal Service System and method of sorting and sequencing items

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113342456A (en) * 2020-03-02 2021-09-03 中兴通讯股份有限公司 Connection method, device, equipment and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140074905A1 (en) * 2012-09-07 2014-03-13 Oracle International Corporation System and method for workflow orchestration for use with a cloud computing environment
CN106161173A (en) * 2015-04-15 2016-11-23 中兴通讯股份有限公司 A kind of virtual network function that realizes disposes the method and device of specification configuration
CN106850732A (en) * 2016-11-29 2017-06-13 中国科学院信息工程研究所 A kind of height towards PaaS cloud environments is with the method for example deployment in probability

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106575323B (en) * 2014-08-22 2019-12-17 诺基亚技术有限公司 Security and trust framework for virtualized networks
CN105812171B (en) * 2014-12-31 2019-06-11 华为技术有限公司 A kind of the network function VNF control method and equipment of virtualization

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140074905A1 (en) * 2012-09-07 2014-03-13 Oracle International Corporation System and method for workflow orchestration for use with a cloud computing environment
CN106161173A (en) * 2015-04-15 2016-11-23 中兴通讯股份有限公司 A kind of virtual network function that realizes disposes the method and device of specification configuration
CN106850732A (en) * 2016-11-29 2017-06-13 中国科学院信息工程研究所 A kind of height towards PaaS cloud environments is with the method for example deployment in probability

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
ABU-LEBDEH, M. ET AL.: "A Virtual Network PaaS for 3GPP 4G and Beyond Core Network Services", 2016 5TH IEEE INTERNATIONAL CONFERENCE ON CLOUD NETWORKING (CLOUDNET, 8 December 2016 (2016-12-08), pages 7 - 13, XP033019051 *
TOY, M.: "Cloud Services Architecture, SDN, NFV, and Management", OPEN CLOUD CONNECT, 31 January 2016 (2016-01-31) *

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11833547B2 (en) 2016-05-06 2023-12-05 United States Postal Service Systems and methods for sorting residual items
US12023713B2 (en) 2017-10-05 2024-07-02 United States Postal Service System and method of sorting and sequencing items
US20220417112A1 (en) * 2019-11-29 2022-12-29 Zte Corporation Network operation method, apparatus, and device and storage medium
US11855855B2 (en) * 2019-11-29 2023-12-26 Zte Corporation Network operation method based on network functions virtualization device and storage medium
CN113645078A (en) * 2021-08-16 2021-11-12 烽火通信科技股份有限公司 Method and system for automatically extending network management service
CN113645078B (en) * 2021-08-16 2023-10-27 烽火通信科技股份有限公司 Method and system for automatically extending network management service

Also Published As

Publication number Publication date
CN109728921A (en) 2019-05-07
CN109728921B (en) 2021-12-03

Similar Documents

Publication Publication Date Title
WO2019080593A1 (en) Management, maintenance and control method for virtual network element and related device
US20220004410A1 (en) Method For Deploying Virtual Machine And Container, And Related Apparatus
WO2019184967A1 (en) Method and apparatus for deploying network slice
WO2020186911A1 (en) Resource management method and device for containerized virtualised network function vnf
CN105429776B (en) Method and system for managing functions of virtual network
US9465641B2 (en) Selecting cloud computing resource based on fault tolerance and network efficiency
WO2020103925A1 (en) Method and apparatus for deploying containerization virtualized network function
US20160018990A1 (en) Electronic device and method for managing memory of electronic device
CN106663012B (en) Hardware acceleration method and related equipment
EP3706368A1 (en) Method and device for deploying virtualized network element device
CN109995552B (en) VNF service instantiation method and device
US9256828B2 (en) Alarm correlation analysis method, apparatus and system
US11546228B2 (en) Zero-touch configuration of network devices using hardware metadata
WO2017185251A1 (en) Vnfm determining method and network function virtualization orchestrator
CN106296530B (en) Trust coverage for non-converged infrastructure
WO2022007631A1 (en) Multitenancy management method and apparatus
WO2019047835A1 (en) Instantiation method for virtual network function
US20230342183A1 (en) Management method and apparatus for container cluster
US10437760B2 (en) Virtual universal serial bus peripheral controller
US9960961B2 (en) Methods and apparatus for radio access network resource management
EP4109261A2 (en) Access processing method, device, storage medium and program product
US20220006817A1 (en) Information Verification Method, Apparatus, And Device
CN112015515B (en) Instantiation method and device of virtual network function
CN112889247B (en) VNF service instantiation method and device
CN113691575A (en) Communication method, device and system

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

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 18871259

Country of ref document: EP

Kind code of ref document: A1