CN107483222B - Virtual network function management method based on micro-service and network management system - Google Patents
Virtual network function management method based on micro-service and network management system Download PDFInfo
- Publication number
- CN107483222B CN107483222B CN201610405017.4A CN201610405017A CN107483222B CN 107483222 B CN107483222 B CN 107483222B CN 201610405017 A CN201610405017 A CN 201610405017A CN 107483222 B CN107483222 B CN 107483222B
- Authority
- CN
- China
- Prior art keywords
- micro
- vnf
- service
- management
- model
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Telephonic Communication Services (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The invention provides a management method of virtual network function based on micro-service and a network management system, wherein the method comprises the following steps: acquiring micro-service models, and combining the acquired micro-service models which form the same VNF into corresponding VNF models; generating a VNF management interface corresponding to the VNF model; the microservice is managed based on a VNF management interface. The invention can be used in a 5G telecommunication network, and realizes the management of VNF arranged according to requirements, the dynamic acquisition and combination of micro-service models, the automatic generation of an external management interface, namely a VNF management interface, and the conversion and distribution of the external management interface and the micro-service management interface. The network management system of the invention is a universal management system and can flexibly manage the VNF.
Description
Technical Field
The invention relates to the technical field of telecommunication network function virtualization, in particular to a virtual network function management method and a network management system based on micro-service.
Background
In the future, the 5G network needs to integrate various wireless frequency bands and systems, meet more differentiated application scene requirements, and provide diversified network service capabilities, so that the 5G network architecture needs to have the characteristics of flexible control and good expandability. The 5G network architecture should fully adopt a softened architecture to provide configurable, customizable, programmable network services for individuals and organizations. The virtualized Network function (vnf) is a logical function processing entity in the 5G Network, and includes: the system comprises a switching unit, a mobile network node, a tunnel gateway unit, service guarantee, NGN signaling, fusion of extended network functions, application level optimization, a safety function, a home router, a set top box and other functions. The VNF can be deployed rapidly as required, organized as required and flexibly operated at any position of an infrastructure layer.
Microservices are a new technology for deploying applications and services in the cloud, supporting the above-described features of 5G networks by breaking down applications and services into smaller, loosely coupled components for easier upgrade and expansion. The network function realized by adopting the micro-service architecture is divided into various micro-services, the internal cohesion of the micro-services is high, the coupling with other micro-services is low, each micro-service realizes an independent function, and the micro-service has the advantages of flexible arrangement, flexible expansion, autonomy and independent management interface. The VNF is orchestrated on demand, consists of different micro-services, the type of micro-service specified in the orchestration, and the number of micro-services of each type. The complexity of management is brought by arranging according to needs, the VNF is used as a logic entity of micro-service combination, and the management of the VNF is the management of the micro-service.
The management difficulties are as follows:
the types of microservices that make up a VNF are uncertain because they are determined on demand;
the number of instances of the microservice is uncertain because of the need to be able to expand elastically as needed;
the management interface provided for each type of micro-service is not certain because the functions provided are different.
Disclosure of Invention
The technical problem to be solved by the present invention is to provide a virtual network function management method and a network management system based on micro-service, which are used for uniformly managing the micro-service in the VNF.
The technical scheme adopted by the invention is that the management method of the virtual network function based on the micro-service comprises the following steps:
acquiring micro-service models, and combining the acquired micro-service models which form the same VNF into corresponding VNF models;
generating a VNF management interface corresponding to the VNF model;
the microservice is managed based on a VNF management interface.
Further, the micro service model comprises: management objects supported by the micro-service, state operations of the management objects supported by the micro-service, data operations of the management objects supported by the micro-service and notifications of the micro-service support;
the VNF model comprises: a management object supported by the VNF, a state operation to the management object supported by the VNF, a data operation to the management object supported by the VNF, and a notification supported by the VNF.
Further, combining the microservice models that compose the same VNF into a corresponding VNF model includes:
the combination between the state operations of the management objects supported by the micro-service and the combination between the notifications supported by the micro-service are merged in a way of taking a union set;
the combination of management objects supported by the micro-services is based on the combination of the management objects commonly owned by the micro-service models, and the attributes of the commonly owned management objects in the micro-services are combined in a manner of a union set.
Further, each component of the microservice model is defined in the microservice model in the form of a microservice management interface, and the microservice management interface includes: a management object interface supported by the micro-service, a state operation interface supported by the micro-service for the management object, a data operation interface supported by the micro-service for the management object and a notification interface supported by the micro-service;
the VNF management interface corresponding to the VNF model includes: a management object interface supported by the VNF, a state operation interface to the management object supported by the VNF, a data operation interface to the management object supported by the VNF and a notification interface supported by the VNF;
the management of the microservices based on the VNF management interface includes:
when a VNF operation of a user is received, triggering a VNF management interface based on the VNF operation and converting the triggered VNF management interface into a micro-service management interface;
and distributing the micro-service management interface obtained by conversion to a corresponding micro-service for calling a micro-service instance in the corresponding micro-service.
Further, the managing the micro-service based on the VNF management interface includes:
and when the state change of the micro-service is known, converting the micro-service management interface carrying the micro-service state change information into the VNF management interface, and reporting the micro-service state change information to an administrator user through the VNF management interface obtained through conversion.
Further, the method further comprises:
and when the type change of the micro-service is known, updating the VNF model and the VNF management interface according to the type change condition of the micro-service.
Further, when the type change of the microservice is known, updating the VNF model and the VNF management interface according to the type change of the microservice includes:
when the fact that the type of the micro service is reduced is known, deleting the reduced type of the micro service in the corresponding VNF model to obtain an updated VNF model; updating the corresponding VNF management interface according to the updated VNF model;
when the fact that the types of the micro services are increased is known, acquiring a micro service model of the increased type, and updating a VNF model related to the micro service model of the increased type under the condition that all the acquired micro service models contain the micro service model of the increased type; and updating the corresponding VNF management interface according to the updated VNF model.
Further, the method further comprises:
and when the change of the micro-service model is known, updating the VNF model and the VNF management interface according to the change condition of the micro-service model.
Further, when it is known that the micro service model changes, updating the VNF model and the VNF management interface according to the change condition of the micro service model specifically includes:
when the upgrade of the micro-service instance is known, acquiring micro-service models of various versions containing the upgraded instance, and combining the micro-service models of various versions to obtain a unified micro-service model;
updating a VNF model related to the uniform micro-service model under the condition that all the obtained micro-service models contain the uniform micro-service model; and updating the corresponding VNF management interface according to the updated VNF model.
The present invention also provides a network management system, including:
the model management module is used for acquiring micro service models and combining the acquired micro service models which form the same VNF into corresponding VNF models;
an interface generation module, configured to generate a VNF management interface corresponding to the VNF model; the VNF management interface is used for managing micro-services.
Further, the micro service model comprises: management objects supported by the micro-service, state operations of the management objects supported by the micro-service, data operations of the management objects supported by the micro-service and notifications of the micro-service support;
the VNF model comprises: a management object supported by the VNF, a state operation to the management object supported by the VNF, a data operation to the management object supported by the VNF, and a notification supported by the VNF.
Further, the model management module is configured to:
merging the state operations of the management objects supported by the micro-service and the notification supported by the micro-service in a union mode;
the combination of the management objects supported by the micro-services is based on the management objects commonly owned by the micro-service models, and the attributes of the commonly owned management objects in the micro-services are merged by adopting a union set mode.
Further, each component of the microservice model is defined in the microservice model in the form of a microservice management interface, and the microservice management interface includes: a management object interface supported by the micro-service, a state operation interface supported by the micro-service for the management object, a data operation interface supported by the micro-service for the management object and a notification interface supported by the micro-service;
the VNF management interface corresponding to the VNF model includes: a management object interface supported by the VNF, a state operation interface to the management object supported by the VNF, a data operation interface to the management object supported by the VNF and a notification interface supported by the VNF;
the network management system further comprises: a data distribution module;
the interface generation module is further configured to receive a VNF operation of a user, and send the VNF operation to the data distribution module;
the data distribution module is used for triggering a VNF management interface based on the VNF operation and converting the triggered VNF management interface into a micro-service management interface; and distributing the micro-service management interface obtained by conversion to a corresponding micro-service for calling a micro-service instance in the corresponding micro-service.
Further, the network management system further includes: a data distribution module;
the data distribution module is configured to: when the state change of the micro-service is known, converting a micro-service management interface carrying micro-service state change information into a VNF management interface, and determining the corresponding VNF operation through the VNF management interface obtained through conversion; sending the determined VNF operation to the interface generation module;
the interface generation module is further configured to forward the received VNF operation to an administrator user to report microservice state change information.
Further, the network management system further includes: a data distribution module;
the data distribution module is configured to: when the type change of the micro service is known, the type change condition of the micro service is notified to the model management module and the interface generation module;
and the model management module is also used for updating the VNF model according to the type change condition of the microservice.
The interface generation module is further configured to update the VNF management interface according to a type change condition of the microservice.
Further, the model management module is specifically configured to: when the fact that the type of the micro service is reduced is known, deleting the reduced type of the micro service in the corresponding VNF model to obtain an updated VNF model; when the fact that the types of the micro services are increased is known, acquiring a micro service model of the increased type, and updating a VNF model related to the micro service model of the increased type under the condition that all the acquired micro service models contain the micro service model of the increased type;
the interface generation module is specifically configured to: and updating the corresponding VNF management interface according to the updated VNF model.
Further, the network management system further includes: a data distribution module;
the data distribution module is configured to: when the micro service model is known to change, the change condition of the micro service model is notified to the model management module and the interface generation module;
the model management module is also used for updating the VNF model according to the change condition of the micro service model;
the interface generation module is further used for updating the VNF management interface according to the change condition of the micro service model.
Further, the model management module is specifically configured to: when the upgrade of the micro-service instance is known, acquiring micro-service models of various versions containing the upgraded instance, and combining the micro-service models of various versions to obtain a unified micro-service model; updating a VNF model related to the uniform micro-service model under the condition that all the obtained micro-service models contain the uniform micro-service model;
the interface generation module is further configured to update the corresponding VNF management interface according to the updated VNF model.
By adopting the technical scheme, the invention at least has the following advantages:
the management method and the network management system of the virtual network function based on the micro-service can be used in a 5G telecommunication network, and realize the management of VNF arranged according to requirements, the dynamic acquisition and combination of micro-service models, the automatic generation of an external management interface, namely a VNF management interface, and the conversion and distribution of the external management interface and the micro-service management interface. The network management system of the invention is a universal management system and can flexibly manage the VNF.
Drawings
FIG. 1 is a flowchart illustrating a method for managing virtual network functions based on micro-servings according to a first embodiment of the present invention;
FIG. 2 is a diagram of an example of the combination between management objects supported by micro-services according to a first embodiment of the present invention;
FIG. 3 is a diagram illustrating a management method for virtual network functions based on micro-servings according to a third embodiment of the present invention;
FIG. 4 is a diagram illustrating a method for managing virtual network functions based on microservices according to a fourth embodiment of the present invention;
fig. 5 is a schematic structural diagram of a network management system according to a fifth embodiment of the present invention;
fig. 6 is a schematic structural diagram of the network management system according to the sixth to ninth embodiments of the present invention;
fig. 7 is a schematic structural diagram of a network management system according to a tenth embodiment of the present invention;
FIG. 8 is a diagram illustrating a model management module according to a tenth embodiment of the present invention;
fig. 9 is a schematic structural diagram of a management interface generator according to a tenth embodiment of the present invention;
fig. 10 is a schematic structural diagram of a data distributor according to a tenth embodiment of the present invention;
fig. 11 is a logical view of a network management system according to a tenth embodiment of the present invention;
FIG. 12 is a detailed flowchart illustrating the uploading and assembling of the microservice model according to the tenth embodiment of the present invention;
fig. 13 is a schematic detailed generation flow diagram of a VNF model and a VNF management interface corresponding to the VNF model according to a tenth embodiment of the present invention;
fig. 14 is a schematic flowchart illustrating a VNF management interface used by an administrator user to manage a VNF according to a tenth embodiment of the present invention;
fig. 15 is a schematic flow chart of reporting a state by a microservice through its own microservice management interface according to a tenth embodiment of the present invention.
Detailed Description
To further explain the technical means and effects of the present invention adopted to achieve the intended purpose, the present invention will be described in detail with reference to the accompanying drawings and preferred embodiments.
A first embodiment of the present invention provides a management method for virtual network functions based on microservices, which, as shown in fig. 1, includes the following specific steps:
step S101, acquiring micro service models, and combining the acquired micro service models forming the same VNF into corresponding VNF models;
specifically, the micro-service model can be obtained by uploading each micro-service to the network management system. The microservice model, comprising: management objects supported by the micro-service, state operations of the management objects supported by the micro-service, data operations of the management objects supported by the micro-service and notifications of the micro-service support;
the VNF model comprises: a management object supported by the VNF, a state operation to the management object supported by the VNF, a data operation to the management object supported by the VNF, and a notification supported by the VNF.
The components of the microservice model are defined in the microservice model in the form of a microservice management interface comprising: a management object interface supported by the micro-service, a state operation interface supported by the micro-service for the management object, a data operation interface supported by the micro-service for the management object and a notification interface supported by the micro-service;
for example, the notification interface supported by the microservice may be used to report an alarm for a managed object.
The state operation interface of the management object supported by the microservice may support the restart operation of a certain management object, and the data operation interface of the management object may be data operation such as creation, modification or deletion of a certain management object.
The VNF model can be described in the modeling language yang in the format restful, but its content composition is unknown.
Optionally, in step S101, combining the microservice models composing the same VNF into corresponding VNF models includes:
the combination between the state operations of the management objects supported by the micro-service and the combination between the notifications supported by the micro-service are merged in a way of taking a union set;
the combination of management objects supported by the micro-services is based on the combination of the management objects commonly owned by the micro-service models, and the attributes of the commonly owned management objects in the micro-services are combined in a manner of a union set. Fig. 2 shows an example of the combination between management objects supported by the micro-service, where there may be multiple management objects in a micro-service, and there is a hierarchical relationship between the management objects, which is a tree structure. The management object abcd supported by the micro service model 1 and the management object cef supported by the micro service model 2 in fig. 2 are merged based on the management object c common to both the models, and attributes of the management objects in both the micro service models are also merged.
It should be noted that, after the management objects supported by the micro service are combined, the data operations on the management objects supported by the micro service are correspondingly combined.
Step S102, generating a VNF management interface corresponding to the VNF model;
specifically, the VNF management interface corresponding to the VNF model includes: a VNF-supported management object interface, a VNF-supported state operation interface to a management object, a VNF-supported data operation interface to a management object, and a VNF-supported notification interface.
And step S103, managing the microservices based on the VNF management interface.
Specifically, step S103 includes:
when a VNF operation of a user is received, triggering a VNF management interface based on the VNF operation and converting the triggered VNF management interface into a micro-service management interface;
and distributing the micro-service management interface obtained by conversion to a corresponding micro-service for calling a micro-service instance in the corresponding micro-service.
It should be noted that, in all embodiments of the present invention, a set of micro service management interfaces corresponds to the same type of micro service; a microservice contains one or more microservice instances, each having information described by the four microservice management interfaces described above, namely management objects, state operations, data operations and notifications, and is specific information.
A second embodiment of the present invention is a method for managing virtual network functions based on microservices, and the method in this embodiment is substantially the same as the method in the first embodiment, except that the method in this embodiment manages microservices based on a VNF management interface in step S103, and specifically includes:
and when the state change of the micro-service is known, converting the micro-service management interface carrying the micro-service state change information into the VNF management interface, and reporting the micro-service state change information to an administrator user through the VNF management interface obtained through conversion.
A third embodiment of the present invention is a method for managing virtual network functions based on microservices, the method of this embodiment is substantially the same as the first embodiment, except that as shown in fig. 3, the method of this embodiment further includes:
and step S104, when the type change of the micro-service is known, updating the VNF model and the VNF management interface according to the type change condition of the micro-service.
Specifically, step S104 includes:
when the fact that the type of the micro service is reduced is known, deleting the reduced type of the micro service in the corresponding VNF model to obtain an updated VNF model; updating the corresponding VNF management interface according to the updated VNF model;
when the fact that the types of the micro services are increased is known, acquiring a micro service model of the increased type, and updating a VNF model related to the micro service model of the increased type under the condition that all the acquired micro service models contain the micro service model of the increased type; and updating the corresponding VNF management interface according to the updated VNF model.
A fourth embodiment of the present invention is a method for managing virtual network functions based on microservices, the method of the present embodiment is substantially the same as the first embodiment, except that as shown in fig. 4, the method of the present embodiment further includes:
and step S104-a, when the change of the micro-service model is known, updating the VNF model and the VNF management interface according to the change condition of the micro-service model.
Specifically, when it is known that the micro service model changes, updating the VNF model and the VNF management interface according to the change condition of the micro service model specifically includes:
when the upgrade of the micro-service instance is known, acquiring micro-service models of various versions containing the upgraded instance, and combining the micro-service models of various versions to obtain a unified micro-service model;
updating a VNF model related to the uniform micro-service model under the condition that all the obtained micro-service models contain the uniform micro-service model; and updating the corresponding VNF management interface according to the updated VNF model.
It should be noted that, in this embodiment, the merging between models of different versions of the same microservice may use the same merging manner when combining the microservice models into the VNF model, and since the models of different versions of the same microservice are usually compatible, the merging is simpler than the merging between different types of microservice models.
A fifth embodiment of the present invention is a network management system corresponding to the first embodiment, and as shown in fig. 5, the fifth embodiment includes the following components:
1) the model management module 100 is configured to obtain micro service models, and combine the obtained micro service models that form the same VNF into corresponding VNF models;
specifically, the microservice model may be obtained by uploading each microservice to the model management module 100 of the network management system. The microservice model, comprising: management objects supported by the micro-service, state operations of the management objects supported by the micro-service, data operations of the management objects supported by the micro-service and notifications of the micro-service support;
the VNF model comprises: a management object supported by the VNF, a state operation to the management object supported by the VNF, a data operation to the management object supported by the VNF, and a notification supported by the VNF.
The components of the microservice model are defined in the microservice model in the form of a microservice management interface comprising: a management object interface supported by the micro-service, a state operation interface supported by the micro-service for the management object, a data operation interface supported by the micro-service for the management object and a notification interface supported by the micro-service;
for example, the notification interface supported by the microservice may be used to report an alarm for a managed object.
The state operation interface of the management object supported by the microservice may support the restart operation of a certain management object, and the data operation interface of the management object may be data operation such as creation, modification or deletion of a certain management object.
The VNF model can be described in the modeling language yang in the format restful, but its content composition is unknown.
Optionally, the model management module 100 is specifically configured to:
merging the state operations of the management objects supported by the micro-service and the notification supported by the micro-service in a union mode;
the combination of the management objects supported by the micro-services is based on the management objects commonly owned by the micro-service models, and the attributes of the commonly owned management objects in the micro-services are merged by adopting a union set mode.
2) An interface generating module 200, configured to generate a VNF management interface corresponding to the VNF model; the VNF management interface is used for managing micro-services.
Specifically, the VNF management interface corresponding to the VNF model includes: a VNF-supported management object interface, a VNF-supported state operation interface to a management object, a VNF-supported data operation interface to a management object, and a VNF-supported notification interface.
A sixth embodiment of the present invention is a network management system, and the network management system in this embodiment is substantially the same as that in the fifth embodiment, except that as shown in fig. 6, the network management system in this embodiment further includes: a data distribution module 300;
the interface generating module 200 is further configured to receive a VNF operation of a user, and send the VNF operation to the data distribution module;
a data distribution module 300, configured to trigger a VNF management interface based on the VNF operation and convert the triggered VNF management interface into a micro service management interface; and distributing the micro-service management interface obtained by conversion to a corresponding micro-service for calling a micro-service instance in the corresponding micro-service.
A seventh embodiment of the present invention is a network management system, and the network management system in this embodiment is substantially the same as that in the fifth embodiment, except that as shown in fig. 6, the network management system in this embodiment further includes:
a data distribution module 300 configured to: when the state change of the micro-service is known, converting a micro-service management interface carrying micro-service state change information into a VNF management interface, and determining the corresponding VNF operation through the VNF management interface obtained through conversion; sending the determined VNF operation to the interface generation module;
the interface generating module 200 is further configured to forward the received VNF operation to an administrator user to report the microservice state change information.
An eighth embodiment of the present invention is a network management system, and the network management system in this embodiment is substantially the same as that in the fifth embodiment, except that as shown in fig. 6, the network management system in this embodiment further includes:
a data distribution module 300 configured to: when the type change of the micro service is known, the type change condition of the micro service is notified to the model management module 100 and the interface generation module 200;
the model management module 100 is further configured to update the VNF model according to a type change condition of the microservice.
The interface generating module 200 is further configured to update the VNF management interface according to a type change condition of the microservice.
Specifically, the model management module 100 is configured to: when the fact that the type of the micro service is reduced is known, deleting the reduced type of the micro service in the corresponding VNF model to obtain an updated VNF model; when the fact that the types of the micro services are increased is known, acquiring a micro service model of the increased type, and updating a VNF model related to the micro service model of the increased type under the condition that all the acquired micro service models contain the micro service model of the increased type;
the interface generation module 200 is configured to: and updating the corresponding VNF management interface according to the updated VNF model.
A ninth embodiment of the present invention is a network management system, which is substantially the same as the fifth embodiment, except that, as shown in fig. 6, the network management system of the present embodiment further includes:
a data distribution module 300 configured to: when the micro service model is known to change, the change condition of the micro service model is notified to the model management module 100 and the interface generation module 200;
the model management module 100 is further configured to update the VNF model according to a change condition of the micro service model.
The interface generating module 200 is further configured to update the VNF management interface according to a change condition of the micro service model.
Specifically, the model management module 100 is configured to: when the upgrade of the micro-service instance is known, acquiring micro-service models of various versions containing the upgraded instance, and combining the micro-service models of various versions to obtain a unified micro-service model; updating a VNF model related to the uniform micro-service model under the condition that all the obtained micro-service models contain the uniform micro-service model;
the interface generating module 200 is further configured to update the corresponding VNF management interface according to the updated VNF model.
A tenth embodiment of the present invention is an application example of the present invention, which is described with reference to fig. 7 to 15 on the basis of the above embodiments.
The embodiment of the invention firstly defines the micro-service management interface provided by the micro-service in the micro-service model, each micro-service forming the VNF uploads the corresponding micro-service model to the network management system, the network management system combines the uploaded micro-service models into the VNF model, and the VNF management interface is generated according to the combined VNF model and is opened for the user. And provides conversion and distribution of VNF management interfaces to micro-service management interfaces. The structure of the network management system of the present invention is shown in fig. 7. The model management module is used for acquiring micro service models and combining the micro service models into a VNF model; the user interface generator generates a VNF management interface depending on the VNF model; and the data distributor realizes the conversion between the VNF management interface and the micro-service management interface and distributes the VNF management interface and the micro-service management interface to the micro-service examples.
As shown in FIG. 8, the model management module is a hierarchical structure that includes the following components:
a model uploading module: the method is used for monitoring the uploading information of the micro service model forming the VNF, acquiring the model, combining the models and issuing a notification of successful uploading of the micro service model.
A model storage module: the VNF model management system is used for storing VNF models according to types and versions of VNFs, and the model information is usually files and is stored in a designated disk area.
A model access module: a read function interface to the VNF model file is provided.
As shown in fig. 9, the management interface generator is also a hierarchical structure, including the following components:
a message monitoring layer module: for listening for messages from the model management model that upload was successful.
A model analysis layer module: and the method is used for acquiring the VNF model and analyzing the VNF model.
Interface generation layer module: and the VNF management interface is automatically generated according to the analysis result of the model analysis layer module.
As shown in fig. 10, the data distributor is also a hierarchical structure, comprising the following components:
interface conversion layer module: the method is used for conversion between the VNF management interface and the micro-service management interface.
A distribution layer module: for distributing calls to the microservice management interface to microservice instances.
In the initial startup phase of the network management system of the embodiment of the invention: the method comprises the initialization of a model management module, the initialization of a user interface generator, the logic view of the network management system as shown in figure 11, and the initialization steps of the network management system are as follows:
step 1, a model management module firstly monitors micro service model uploading messages forming a VNF, and the uploaded micro service models are combined according to the type and version of the VNF. The modeling language of the model uses yang.
Step 2, storing the combined VNF model according to the type and version of the VNF
And step 3, issuing a successful uploading notification of the VNF model.
And 4, after receiving the notification that the model uploading is successful, the management interface generator acquires the micro-service model and analyzes the micro-service model, and automatically generates a VNF model and a VNF management interface corresponding to the VNF model according to the micro-service model, wherein the VNF management interface is in a restful format. The content of the VNF management interface is organized according to the model content described by yang.
Further, as shown in fig. 12, a detailed process of uploading and combining the microservice model according to the embodiment of the present invention includes:
a1: the microservice issues a model upload message to the model upload module;
a2: the model uploading module analyzes the micro-service model and the model version;
a3: the model uploading module judges whether the micro service model is uploaded, if so, the process is ended, otherwise, the step A4 is executed;
a4: the model uploading module initiates a model uploading request to the microservice;
a5: the microservice returns the microservice model to the model uploading module;
a6: the model uploading module initiates a persistent model request to the model storage module;
a7: the model storage module returns a persistence model success message to the model uploading module;
a8: the model uploading module judges whether all micro service models forming the VNF are uploaded completely, if so, the step A9 is executed, otherwise, the process is ended;
a9: and issuing a notification that the model uploading is successful.
As shown in fig. 13, a detailed generation flow of the VNF model and the corresponding VNF management interface according to the embodiment of the present invention is as follows:
b1, the model uploading module in the model management module issues the model notice, which is monitored by the message monitoring module in the user interface generator;
b2, the message monitoring module sends a request for obtaining model to the model access module in the model management module;
b3, the model access model returns the micro service model to the message monitoring module;
b4, the message monitoring module sends the micro service model to the model analysis module;
b5, the model analysis module generates a VNF model based on the micro service model, analyzes the VNF model and sends the analysis result to the interface generation module;
and B6, generating a corresponding VNF management interface according to the interface generation module.
As shown in fig. 14, in the operation of the network management system according to the embodiment of the present invention, a process in which an administrator user manages a VNF using a VNF management interface includes:
c1, the administrator user initiating VNF operations to the user interface generator;
c2, the user interface generator verifies the VNF operation and forwards it to the data distributor.
C3, the data distributor calls a VNF management interface based on the VNF operation, and converts the VNF management interface into a micro-service management interface;
and C4, distributing the micro service management interface according to the distribution strategy of the micro service, wherein the distribution strategy comprises a unicast mode and a multicast mode.
As shown in fig. 15, in the operation of the network management system according to the embodiment of the present invention, the process of reporting the state by the micro service through the micro service management interface of the micro service includes:
d1, the state of the micro service changes, and the micro service management interface carrying the micro service state change information is reported to the data distributor of the network management system;
d2, the data distributor is responsible for converting the micro service management interface into a VNF management interface.
D3, the data distributor notifies the user interface generator of the VNF operation corresponding to the VNF management interface;
and D4, the user generator reports the change information of the state of the micro service carried in the VNF operation to the administrator user.
In addition, in the system operation of the embodiment of the present invention, the processing steps when the types of the micro-services constituting the VNF are increased or decreased or the model of the micro-service is changed are as follows:
the increase and decrease of the types of the micro-services can cause the VNF models to change, and if the types of the micro-services are reduced, the model management module needs to delete the models of the micro-services from the VNF models; if the type of the micro-service is increased, the model management module needs to upload the model of the micro-service and merge the VNF models again, and the user interface generator needs to regenerate the management interface of the VNF.
The model of the micro-service changes, and the micro-service is upgraded in the micro-service instance, the same micro-service may exist in the upgrading process, the instances of different model versions run simultaneously, the model management module needs to upload the micro-service models of different versions, merge the micro-service models, then merge the models of the VNF again, and the user interface generator needs to regenerate the VNF management interface.
In the implementation of the invention, the management of the VNF arranged according to the requirement can be realized, the dynamic uploading and combination of the model are realized, the external management interface, namely the VNF management interface, is automatically generated, and the external management interface and the micro-service management interface are converted and distributed.
While the invention has been described in connection with specific embodiments thereof, it is to be understood that it is intended by the appended drawings and description that the invention may be embodied in other specific forms without departing from the spirit or scope of the invention.
Claims (16)
1. A management method of virtual network function based on micro-service is characterized by comprising the following steps:
acquiring micro service models, and combining the acquired micro service models which form the same virtual network function VNF into corresponding VNF models;
generating a VNF management interface corresponding to the VNF model;
managing the microservices based on the VNF management interface;
the microservice model, comprising: management objects supported by the micro-service, state operations of the management objects supported by the micro-service, data operations of the management objects supported by the micro-service and notifications of the micro-service support;
the VNF model comprises: a management object supported by the VNF, a state operation to the management object supported by the VNF, a data operation to the management object supported by the VNF, and a notification supported by the VNF.
2. The method of claim 1, wherein combining the microservices models that make up the same VNF into a corresponding VNF model comprises:
the combination between the state operations of the management objects supported by the micro-service and the combination between the notifications supported by the micro-service are merged in a way of taking a union set;
the combination of management objects supported by the micro-services is based on the combination of the management objects commonly owned by the micro-service models, and the attributes of the commonly owned management objects in the micro-services are combined in a manner of a union set.
3. The method of claim 1, wherein the components of the microservice model are defined in the microservice model in the form of a microservice management interface, the microservice management interface comprising: a management object interface supported by the micro-service, a state operation interface supported by the micro-service for the management object, a data operation interface supported by the micro-service for the management object and a notification interface supported by the micro-service;
the VNF management interface corresponding to the VNF model includes: a management object interface supported by the VNF, a state operation interface to the management object supported by the VNF, a data operation interface to the management object supported by the VNF and a notification interface supported by the VNF;
the management of the microservices based on the VNF management interface includes:
when a VNF operation of a user is received, triggering a VNF management interface based on the VNF operation and converting the triggered VNF management interface into a micro-service management interface;
and distributing the micro-service management interface obtained by conversion to a corresponding micro-service for calling a micro-service instance in the corresponding micro-service.
4. The method for managing virtual network functions based on microservices according to claim 1, wherein the VNF based management interface manages microservices comprising:
and when the state change of the micro-service is known, converting the micro-service management interface carrying the micro-service state change information into the VNF management interface, and reporting the micro-service state change information to an administrator user through the VNF management interface obtained through conversion.
5. The method of claim 1, further comprising:
and when the type change of the micro-service is known, updating the VNF model and the VNF management interface according to the type change condition of the micro-service.
6. The method of claim 5, wherein updating the VNF model and the VNF management interface according to the type change of the microservice when the type change of the microservice is known comprises:
when the fact that the type of the micro service is reduced is known, deleting the reduced type of the micro service in the corresponding VNF model to obtain an updated VNF model; updating the corresponding VNF management interface according to the updated VNF model;
when the fact that the types of the micro services are increased is known, acquiring a micro service model of the increased type, and updating a VNF model related to the micro service model of the increased type under the condition that all the acquired micro service models contain the micro service model of the increased type; and updating the corresponding VNF management interface according to the updated VNF model.
7. The method of claim 1, further comprising:
and when the change of the micro-service model is known, updating the VNF model and the VNF management interface according to the change condition of the micro-service model.
8. The method for managing virtual network functions based on microservices, according to claim 7, wherein the updating of the VNF model and the VNF management interface according to the change of the microservice model when the change of the microservice model is known comprises:
when the upgrade of the micro-service instance is known, acquiring micro-service models of various versions containing the upgraded instance, and combining the micro-service models of various versions to obtain a unified micro-service model;
updating a VNF model related to the uniform micro-service model under the condition that all the obtained micro-service models contain the uniform micro-service model; and updating the corresponding VNF management interface according to the updated VNF model.
9. A network management system, comprising:
the model management module is used for acquiring micro service models and combining the acquired micro service models which form the same VNF into corresponding VNF models;
an interface generation module, configured to generate a VNF management interface corresponding to the VNF model; the VNF management interface is used for managing micro-services; the microservice model, comprising: management objects supported by the micro-service, state operations of the management objects supported by the micro-service, data operations of the management objects supported by the micro-service and notifications of the micro-service support;
the VNF model comprises: a management object supported by the VNF, a state operation to the management object supported by the VNF, a data operation to the management object supported by the VNF, and a notification supported by the VNF.
10. The network management system of claim 9, wherein the model management module is configured to:
merging the state operations of the management objects supported by the micro-service and the notification supported by the micro-service in a union mode;
the combination of the management objects supported by the micro-services is based on the management objects commonly owned by the micro-service models, and the attributes of the commonly owned management objects in the micro-services are merged by adopting a union set mode.
11. The network management system of claim 9, wherein components of the microservice model are defined in the microservice model in the form of a microservice management interface, the microservice management interface comprising: a management object interface supported by the micro-service, a state operation interface supported by the micro-service for the management object, a data operation interface supported by the micro-service for the management object and a notification interface supported by the micro-service;
the VNF management interface corresponding to the VNF model includes: a management object interface supported by the VNF, a state operation interface to the management object supported by the VNF, a data operation interface to the management object supported by the VNF and a notification interface supported by the VNF;
the network management system further comprises: a data distribution module;
the interface generation module is further configured to receive a VNF operation of a user, and send the VNF operation to the data distribution module;
the data distribution module is used for triggering a VNF management interface based on the VNF operation and converting the triggered VNF management interface into a micro-service management interface; and distributing the micro-service management interface obtained by conversion to a corresponding micro-service for calling a micro-service instance in the corresponding micro-service.
12. The network management system according to claim 9, further comprising: a data distribution module;
the data distribution module is configured to: when the state change of the micro-service is known, converting a micro-service management interface carrying micro-service state change information into a VNF management interface, and determining the corresponding VNF operation through the VNF management interface obtained through conversion; sending the determined VNF operation to the interface generation module;
the interface generation module is further configured to forward the received VNF operation to an administrator user to report microservice state change information.
13. The network management system according to claim 9, further comprising: a data distribution module;
the data distribution module is configured to: when the type change of the micro service is known, the type change condition of the micro service is notified to the model management module and the interface generation module;
the model management module is also used for updating the VNF model according to the type change condition of the microservice;
the interface generation module is further configured to update the VNF management interface according to a type change condition of the microservice.
14. The network management system according to claim 13, wherein the model management module is specifically configured to: when the fact that the type of the micro service is reduced is known, deleting the reduced type of the micro service in the corresponding VNF model to obtain an updated VNF model; when the fact that the types of the micro services are increased is known, acquiring a micro service model of the increased type, and updating a VNF model related to the micro service model of the increased type under the condition that all the acquired micro service models contain the micro service model of the increased type;
the interface generation module is specifically configured to: and updating the corresponding VNF management interface according to the updated VNF model.
15. The network management system according to claim 9, further comprising: a data distribution module;
the data distribution module is configured to: when the micro service model is known to change, the change condition of the micro service model is notified to the model management module and the interface generation module;
the model management module is also used for updating the VNF model according to the change condition of the micro service model;
the interface generation module is further used for updating the VNF management interface according to the change condition of the micro service model.
16. The network management system according to claim 15, wherein the model management module is specifically configured to: when the upgrade of the micro-service instance is known, acquiring micro-service models of various versions containing the upgraded instance, and combining the micro-service models of various versions to obtain a unified micro-service model; updating a VNF model related to the uniform micro-service model under the condition that all the obtained micro-service models contain the uniform micro-service model;
the interface generation module is further configured to update the corresponding VNF management interface according to the updated VNF model.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610405017.4A CN107483222B (en) | 2016-06-08 | 2016-06-08 | Virtual network function management method based on micro-service and network management system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610405017.4A CN107483222B (en) | 2016-06-08 | 2016-06-08 | Virtual network function management method based on micro-service and network management system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107483222A CN107483222A (en) | 2017-12-15 |
CN107483222B true CN107483222B (en) | 2021-08-27 |
Family
ID=60594646
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610405017.4A Active CN107483222B (en) | 2016-06-08 | 2016-06-08 | Virtual network function management method based on micro-service and network management system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107483222B (en) |
Families Citing this family (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109600251B (en) * | 2018-11-13 | 2021-11-19 | 中国联合网络通信集团有限公司 | Virtual network deployment method, system and device |
CN112350843B (en) * | 2019-08-09 | 2022-02-08 | 烽火通信科技股份有限公司 | Scene type cutting and connecting method and system based on virtual component |
CN111431925B (en) * | 2020-04-02 | 2022-08-26 | 中国工商银行股份有限公司 | Message data processing method and device |
CN111669401B (en) * | 2020-06-22 | 2022-05-13 | 南方电网数字电网研究院有限公司 | Security protection method and device for network system, computer equipment and storage medium |
CN116418649A (en) * | 2021-12-30 | 2023-07-11 | 中兴通讯股份有限公司 | Data analysis model management method, electronic equipment and storage medium |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105242956A (en) * | 2015-09-15 | 2016-01-13 | 中国人民解放军信息工程大学 | Virtual function service chain deployment system and deployment method therefor |
CN105284094A (en) * | 2014-05-15 | 2016-01-27 | 华为技术有限公司 | Network function virtualization network system, data processing method and device |
CN105429780A (en) * | 2015-10-30 | 2016-03-23 | 南京优速网络科技有限公司 | Virtualized network service business automatic generation and dynamic monitoring method |
CN105550130A (en) * | 2015-12-14 | 2016-05-04 | 中电科华云信息技术有限公司 | Container based dynamic arrangement method for application environment and system applying method |
CN105577499A (en) * | 2014-10-10 | 2016-05-11 | 华为技术有限公司 | Decision coordination method, execution device, and decision coordinator |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US10193769B2 (en) * | 2014-05-16 | 2019-01-29 | Centurylink Intellectual Property Llc | Network services API |
-
2016
- 2016-06-08 CN CN201610405017.4A patent/CN107483222B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105284094A (en) * | 2014-05-15 | 2016-01-27 | 华为技术有限公司 | Network function virtualization network system, data processing method and device |
CN105577499A (en) * | 2014-10-10 | 2016-05-11 | 华为技术有限公司 | Decision coordination method, execution device, and decision coordinator |
CN105242956A (en) * | 2015-09-15 | 2016-01-13 | 中国人民解放军信息工程大学 | Virtual function service chain deployment system and deployment method therefor |
CN105429780A (en) * | 2015-10-30 | 2016-03-23 | 南京优速网络科技有限公司 | Virtualized network service business automatic generation and dynamic monitoring method |
CN105550130A (en) * | 2015-12-14 | 2016-05-04 | 中电科华云信息技术有限公司 | Container based dynamic arrangement method for application environment and system applying method |
Non-Patent Citations (1)
Title |
---|
4G Americas NFV and SDN Networks White Paper;PCG>PCG_36;《3GPP》;20160408;全文 * |
Also Published As
Publication number | Publication date |
---|---|
CN107483222A (en) | 2017-12-15 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107483222B (en) | Virtual network function management method based on micro-service and network management system | |
CN115633050B (en) | Mirror image management method, device and storage medium | |
KR102648742B1 (en) | Method, device, electronic device and readable storage medium for deploying application | |
CN102799473B (en) | A kind of method and device managing intelligent display device third-party application | |
CN116170317A (en) | Network system, service providing and resource scheduling method, device and storage medium | |
CN102014403B (en) | Method and system for transmitting network topology information | |
CN113342478B (en) | Resource management method, device, network system and storage medium | |
CN102571940B (en) | Application program remote installation system, method, intelligent terminal, application server | |
CN101902473B (en) | Method for synchronously updating data based on grid GIS (Geographic Information System) | |
CN107404509B (en) | Distributed service configuration system and information management method | |
KR101528210B1 (en) | Software downloading method and device | |
CN114995841B (en) | Method and system for realizing database cloud service upgrade | |
US20220210669A1 (en) | Service request and provision method, device, and storage medium | |
CN109218086B (en) | Method and system for constructing switching network | |
US11785121B2 (en) | Selecting protocol adaptor in a communication network | |
JP6338257B2 (en) | Network element data access method and apparatus, and network management system | |
CN113300866B (en) | Node capacity control method, device, system and storage medium | |
CN114640569A (en) | Dynamic message management apparatus, device, system, method, and storage medium | |
CN101820354A (en) | Collocation method based on TNDS (Total Network Data System) object, terminal equipment and server | |
CN116155978A (en) | Multi-registry adaptation method, device, electronic equipment and storage medium | |
CN114615268B (en) | Service network, monitoring node, container node and equipment based on Kubernetes cluster | |
CN114301909B (en) | Edge distributed management and control system, method, equipment and storage medium | |
CN113439418A (en) | Method, system, terminal and storage medium for changing resource state | |
CN102904739A (en) | Method for realizing event transmission and common information model (CIM) server | |
CN113268272B (en) | Application delivery method, device and system based on private cloud |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |