CN107155403B - A kind of processing method and VNFM of life cycle events - Google Patents

A kind of processing method and VNFM of life cycle events Download PDF

Info

Publication number
CN107155403B
CN107155403B CN201580059258.1A CN201580059258A CN107155403B CN 107155403 B CN107155403 B CN 107155403B CN 201580059258 A CN201580059258 A CN 201580059258A CN 107155403 B CN107155403 B CN 107155403B
Authority
CN
China
Prior art keywords
life cycle
cycle events
events
vnfc
event
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
Application number
CN201580059258.1A
Other languages
Chinese (zh)
Other versions
CN107155403A (en
Inventor
杨旭
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Publication of CN107155403A publication Critical patent/CN107155403A/en
Application granted granted Critical
Publication of CN107155403B publication Critical patent/CN107155403B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/40Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks using virtualisation of network functions or resources, e.g. SDN or NFV entities

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The embodiment of the present invention provides the processing method and VNFM of a kind of life cycle events, can be avoided the processing mistake that multi-lifecycle event may cause.The described method includes: virtual network function manager VNFM obtains the concurrent N number of life cycle events of the same virtual network function VNF;If collision event group is not present in N number of life cycle events, according to virtual network function component VNFC priority predetermined and event type priority, successively trigger the processing of N number of life cycle events, wherein, the collision event group includes at least two life cycle events, and at least two life cycle events are directed toward the same VNFC.The present invention is suitable for field of communication technology.

Description

A kind of processing method and VNFM of life cycle events
Technical field
The present invention relates to the processing methods and VNFM of field of communication technology more particularly to a kind of life cycle events.
Background technique
With the development of communication technology, network function virtualization (Network Function Virtulization, NFV) Technology reaches its maturity.
Under NFV system, existing standard only considered virtual network function (Virtualized Network Function, VNF) the case where encountering a life cycle events, and do not consider VNF while encountering multiple life cycle events The case where.And in practical applications, it is possible that VNF encounters the situation of multiple life cycle events simultaneously, for example, being under the jurisdiction of Elastic telescopic request, for another example, Operation Support System (Operations Support occur simultaneously for multiple VNFC of some VNF Systems, OSS) with VNF the requests of life cycle events is had issued to VNF manager (VNF Manager, VNFM) simultaneously.In It under this situation, needs to consider the problems of how different life cycle events are handled, is otherwise likely to occur ambiguity, cause to handle Mistake.
Summary of the invention
The embodiment of the present invention provides the processing method and VNFM of a kind of life cycle events, at least to provide a kind of more life The solution that periodic event occurs simultaneously, can be avoided the processing mistake that multi-lifecycle event may cause.
In order to achieve the above objectives, the embodiment of the present invention adopts the following technical scheme that
In a first aspect, providing a kind of processing method of life cycle events, comprising:
Virtual network function manager VNFM obtains the concurrent N number of life cycle events of the same virtual network function VNF, Wherein, N >=2, N are integer;
If collision event group is not present in N number of life cycle events, according to virtual network function group predetermined Part VNFC priority and event type priority successively trigger the processing of N number of life cycle events, wherein the conflict Event group includes at least two life cycle events, and at least two life cycle events are directed toward the same VNFC.
In a first possible implementation of that first aspect, with reference to first aspect, in the virtual network function management Device VNFM is obtained after the concurrent N number of life cycle events of the same virtual network function VNF, further includes:
If there is at least one set of collision event group in N number of life cycle events, at least one set of conflict thing is abandoned Life cycle events in part group, so that remaining life cycle events are directed to difference in N number of life cycle events VNFC;
According to VNFC priority predetermined and event type priority, the remaining life cycle thing is successively triggered The processing of part.
In a second possible implementation of that first aspect, the first possible implementation with reference to first aspect, In After the virtual network function manager VNFM obtains the concurrent N number of life cycle events of the same virtual network function VNF, Further include:
Determine effective life cycle events in N number of life cycle events, wherein effective life cycle events For the service condition for meeting hardware resource and virtual resource, and its parameter meets the defined of virtual network function descriptor VNFD Life cycle events;
If there is at least one set of collision event group in N number of life cycle events, at least one set of punching is abandoned Life cycle events in prominent event group, so that remaining life cycle events are directed in N number of life cycle events Different virtual network function component VNFC, comprising:
If there is at least one set of collision event group in effective life cycle events, at least one set of conflict thing is abandoned Life cycle events in part group, so that remaining life cycle events are directed to difference in N number of life cycle events Virtual network function component VNFC.
In first aspect in the third possible implementation, the first possible implementation or with reference to first aspect On the one hand second of possible implementation, the life cycle events abandoned at least one set of collision event group, with So that remaining life cycle events are directed to different virtual network function component VNFC in N number of life cycle events, Include:
All life cycle events at least one set of collision event group are abandoned, so that N number of life cycle Remaining life cycle events are directed to different virtual network function component VNFC in event;
The method also includes:
It sends first message and virtualizes composer NFVO to network function, so that the NFVO is notified described in administrator extremely The processing error of all life cycle events in few one group of collision event group;Alternatively,
Second message is sent to the sender of all life cycle events at least one set of collision event group, so that It obtains described sender and state confirmation is carried out to the VNF, and send new life cycle events.
In the 4th kind of possible implementation of first aspect, the first possible implementation or with reference to first aspect On the one hand second of possible implementation, the life cycle events abandoned at least one set of collision event group, with So that remaining life cycle events are directed to different virtual network function component VNFC in N number of life cycle events, Include:
According to the priority of the initiator of life cycle events, every group of conflict at least one set of collision event group is determined The Dai-ichi Mutual Life Insurance periodic event of highest priority in event group;
All life cycle events in every group of collision event group in addition to the Dai-ichi Mutual Life Insurance periodic event are abandoned, So that remaining life cycle events are directed to different VNFC in N number of life cycle events.
In the 5th kind of possible implementation of first aspect, the first possible implementation or with reference to first aspect On the one hand second of possible implementation, the life cycle events abandoned at least one set of collision event group, with So that remaining life cycle events are directed to different virtual network function component VNFC in N number of life cycle events, Include:
According to the receiving time of life cycle events, every group of collision event group at least one set of collision event group is determined In the second life cycle events for being finally received;
All life cycle events in every group of collision event group in addition to the second life cycle events are abandoned, so that It obtains remaining life cycle events in N number of life cycle events and is directed to different VNFC.
In the 6th kind of possible implementation of first aspect, the first possible implementation or with reference to first aspect On the one hand second of possible implementation, the life cycle events abandoned at least one set of collision event group, with So that remaining life cycle events are directed to different virtual network function component VNFC in N number of life cycle events, Include:
According to VNFC priority predetermined, determine at least one set of collision event group in every group of collision event group The third life periodic event of highest priority;
All life cycle events in every group of collision event group in addition to third life periodic event are abandoned, so that It obtains remaining life cycle events in N number of life cycle events and is directed to different VNFC.
In the 7th kind of possible implementation of first aspect, with reference to first aspect to the 6th kind of possible reality of first aspect Existing mode, it is described according to VNFC priority predetermined and event type priority, successively trigger N number of life cycle thing The processing of part, comprising:
According to VNFC priority predetermined, the priority of N number of life cycle events is determined, obtain described N number of First trigger sequence of life cycle events;
According to event type priority predetermined, it is identical to determine in N number of life cycle events that there are priority At least two life cycle events, determine the priority of at least two life cycle events, obtain N number of Life Cycle Second trigger sequence of phase event;
According to second trigger sequence, the processing of N number of life cycle events is successively triggered.
In the 8th kind of possible implementation of first aspect, with reference to first aspect to the 7th kind of possible reality of first aspect Existing mode, before the VNFM obtains the concurrent N number of life cycle events of the same virtual network function VNF, further includes:
The VNFM receives the concurrent N number of life cycle events of the same VNF, and N number of life cycle events are added It adds in event queue;
The VNFM obtains the concurrent N number of life cycle events of the same virtual network function VNF, comprising:
The VNFM obtains N number of life cycle events from the event queue;
The method also includes:
If the VNFM receives new life cycle events, institute in the treatment process of N number of life cycle events It states VNFM the new life cycle events are added in the event queue.
In the 9th kind of possible implementation of first aspect, the 8th kind of possible implementation with reference to first aspect, institute It states virtual network function manager VNFM and obtains the concurrent N number of life cycle events of the same virtual network function VNF, comprising:
If preceding primary concurrent life cycle events are disposed, or, the default triggered time is reached, or, the event team The quantity of life cycle events in column reaches preset value, and virtual network function manager VNFM obtains the same virtual network function It can the N number of life cycle events of VNF concurrently.
In the tenth kind of possible implementation of first aspect, with reference to first aspect to the 9th kind of possible reality of first aspect Existing mode successively triggers N number of life cycle described according to VNFC priority predetermined and event type priority Before the processing of event, further includes:
If currently there is the life cycle events handled, determining in N number of life cycle events whether there is and institute State the life cycle events of the life cycle events conflict handled;
If it exists, determine whether the life cycle events to conflict with the life cycle events handled are tight Urgent thing part,
If the life cycle events to conflict with the life cycle events handled are emergencies, termination is worked as The preceding life cycle events handled;
If the life cycle events to conflict with the life cycle events handled are not emergencies, abandon The life cycle events to conflict with the life cycle events handled, and to described with the life handled The sender for ordering the life cycle events of periodic event conflict sends message, notifies handling described in described sender with described The life cycle events of life cycle events conflict abandoned.
It is possible to the tenth kind of first aspect with reference to first aspect in a kind of possible implementation of first aspect the tenth Implementation, it is described according to VNFC priority predetermined and event type priority, successively trigger N number of life cycle The processing of event, comprising:
If currently without the life cycle events handled, or,
If in the life cycle events for currently having the life cycle events handled, and being presently processing there is no with The life cycle events of the life cycle events conflict handled, or,
If existing and institute in the life cycle events for currently having the life cycle events handled, and being presently processing The life cycle events of the life cycle events conflict handled are stated, it is described to be rushed with the life cycle events handled Prominent life cycle events are emergencies,
According to VNFC priority predetermined and event type priority, N number of life cycle events are successively triggered Processing.
In the 12nd kind of possible implementation of first aspect, with reference to first aspect to a kind of possibility of first aspect the tenth Implementation successively trigger N number of life described according to VNFC priority predetermined and event type priority Before the processing of periodic event, further includes:
If currently there are the life cycle events handled, it is described to judge whether N number of life cycle events will affect The life cycle events handled;
It is described according to VNFC priority predetermined and event type priority, successively trigger N number of life cycle The processing of event, comprising:
If N number of life cycle events will not influence the life cycle events being presently processing, according to preparatory The VNFC priority and event type priority of definition, successively trigger the processing of N number of life cycle events.
Second aspect, provides a kind of VNFM, and the VNFM includes: acquiring unit, the first trigger unit;
The acquiring unit, for obtaining the concurrent N number of life cycle events of the same virtual network function VNF, wherein N >=2, N are integer;
First trigger unit, if for collision event group to be not present in N number of life cycle events, according to preparatory The virtual network function component VNFC priority and event type priority of definition, successively trigger N number of life cycle events Processing, wherein the collision event group includes at least two life cycle events, and at least two life cycle events refer to To the same VNFC.
In second aspect in the first possible implementation, in conjunction with second aspect, the VNFM further include: first abandons Unit, the second trigger unit;
First discarding unit, for obtaining concurrent N number of of the same virtual network function VNF in the acquiring unit After life cycle events, if there is at least one set of collision event group in N number of life cycle events, described at least one is abandoned Life cycle events in group collision event group, so that remaining life cycle events are equal in N number of life cycle events It is directed toward different VNFC;
Second trigger unit, for successively touching according to VNFC priority predetermined and event type priority The processing for sending out remaining life cycle events described.
In second of second aspect possible implementation, the first possible implementation, institute in conjunction with second aspect State VNFM further include: the first determination unit;
First determination unit, for obtaining concurrent N number of of the same virtual network function VNF in the acquiring unit After life cycle events, effective life cycle events in N number of life cycle events are determined, wherein effective life Ordering periodic event is the service condition for meeting hardware resource and virtual resource, and its parameter meets virtual network function descriptor The defined life cycle events of VNFD;
First discarding unit, if being specifically used for having at least one set of collision event in effective life cycle events Group abandons the life cycle events at least one set of collision event group, so that remaining in N number of life cycle events Life cycle events be directed to different virtual network function component VNFC.
In second aspect in the third possible implementation, the first possible implementation or in conjunction with second aspect Two second of possible implementation of aspect, the VNFM further include: the first transmission unit;
First discarding unit is specifically used for:
All life cycle events at least one set of collision event group are abandoned, so that N number of life cycle Remaining life cycle events are directed to different virtual network function component VNFC in event;
First transmission unit virtualizes composer NFVO to network function for sending first message, so that institute The processing error for all life cycle events that NFVO is notified at least one set collision event group described in administrator is stated, and,
Second message is sent to the sender of all life cycle events at least one set of collision event group, so that It obtains described sender and state confirmation is carried out to the VNF, and send new life cycle events.
In the 4th kind of possible implementation of second aspect, the first possible implementation or in conjunction with second aspect Two second of possible implementation of aspect, first discarding unit are specifically used for:
According to the priority of the initiator of life cycle events, every group of conflict at least one set of collision event group is determined The Dai-ichi Mutual Life Insurance periodic event of highest priority in event group;
All life cycle events in every group of collision event group in addition to the Dai-ichi Mutual Life Insurance periodic event are abandoned, So that remaining life cycle events are directed to different VNFC in N number of life cycle events.
In the 5th kind of possible implementation of second aspect, the first possible implementation or in conjunction with second aspect Two second of possible implementation of aspect, first discarding unit are specifically used for:
According to the receiving time of life cycle events, every group of collision event group at least one set of collision event group is determined In the second life cycle events for being finally received;
All life cycle events in every group of collision event group in addition to the second life cycle events are abandoned, so that It obtains remaining life cycle events in N number of life cycle events and is directed to different VNFC.
In the 6th kind of possible implementation of second aspect, the first possible implementation or in conjunction with second aspect Two second of possible implementation of aspect, first discarding unit are specifically used for:
According to VNFC priority predetermined, determine at least one set of collision event group in every group of collision event group The third life periodic event of highest priority;
All life cycle events in every group of collision event group in addition to third life periodic event are abandoned, so that It obtains remaining life cycle events in N number of life cycle events and is directed to different VNFC.
In the 7th kind of possible implementation of second aspect, in conjunction with the 6th kind of possible reality of second aspect to second aspect Existing mode, first trigger unit are specifically used for:
According to VNFC priority predetermined, the priority of N number of life cycle events is determined, obtain described N number of First trigger sequence of life cycle events;
According to event type priority predetermined, it is identical to determine in N number of life cycle events that there are priority At least two life cycle events, determine the priority of at least two life cycle events, obtain N number of Life Cycle Second trigger sequence of phase event;
According to second trigger sequence, the processing of N number of life cycle events is successively triggered.
In the 8th kind of possible implementation of second aspect, in conjunction with the 7th kind of possible reality of second aspect to second aspect Existing mode, the VNFM further include: receiving unit, adding unit;
The receiving unit, for obtaining the concurrent N number of life of the same virtual network function VNF in the acquiring unit Before periodic event, the concurrent N number of life cycle events of the same VNF are received;
The adding unit, for N number of life cycle events to be added in event queue;
The acquiring unit, is specifically used for:
N number of life cycle events are obtained from the event queue;
The adding unit, is also used to:
If the receiving unit receives new life cycle thing in the treatment process of N number of life cycle events The new life cycle events are added in the event queue by part.
In the 9th kind of possible implementation of second aspect, in conjunction with the 8th kind of possible implementation of second aspect, institute Acquiring unit is stated to be specifically used for:
If preceding primary concurrent life cycle events are disposed, or, the default triggered time is reached, or, the event team The quantity of life cycle events in column reaches preset value, obtains the concurrent N number of life cycle of the same virtual network function VNF Event.
It is possible in conjunction with to the 9th kind of second aspect of second aspect in the tenth kind of possible implementation of second aspect Implementation, the VNFM further include: the second determination unit, terminates unit, the second discarding unit, second at third determination unit Transmission unit;
Second determination unit is used in first trigger unit according to VNFC priority predetermined and event Type priority grade, before the processing for successively triggering N number of life cycle events, if currently there is the life cycle thing handled Part determines in N number of life cycle events with the presence or absence of the Life Cycle to conflict with the life cycle events handled Phase event;
The third determination unit, if determining in N number of life cycle events exist for second determination unit The life cycle events to conflict with the life cycle events handled determine the described and Life Cycle handled Whether the life cycle events of phase events conflict are emergency;
The termination unit, if determining the described and life cycle thing handled for the third determination unit The life cycle events of part conflict are emergencies, terminate the life cycle events being presently processing;
Described, the second discarding unit, if being determined for the third determination unit described with the life handled The life cycle events for ordering periodic event conflict are not emergencies, abandon the described and life cycle events handled The life cycle events of conflict;
Second transmission unit, for the life cycle to conflict with the life cycle events handled The sender of event sends message, notifies the life to conflict described in described sender with the life cycle events handled Periodic event has abandoned.
In a kind of possible implementation of second aspect the tenth, in conjunction with second aspect to the tenth kind of possibility of second aspect Implementation, first trigger unit is specifically used for:
If currently without the life cycle events handled, or,
If in the life cycle events for currently having the life cycle events handled, and being presently processing there is no with The life cycle events of the life cycle events conflict handled, or,
If existing and institute in the life cycle events for currently having the life cycle events handled, and being presently processing The life cycle events of the life cycle events conflict handled are stated, it is described to be rushed with the life cycle events handled Prominent life cycle events are emergencies,
According to VNFC priority predetermined and event type priority, N number of life cycle events are successively triggered Processing.
It, can in conjunction with second aspect to the tenth one kind of second aspect in the 12nd kind of possible implementation of second aspect The implementation of energy, the VNFM further include: judging unit;
The judging unit is used in first trigger unit according to VNFC priority predetermined and event type Priority, before the processing for successively triggering N number of life cycle events, if currently having the life cycle events handled, Judge whether N number of life cycle events will affect the life cycle events handled;
First trigger unit described is currently being located if will not influence specifically for N number of life cycle events The life cycle events of reason successively trigger N number of life according to VNFC priority predetermined and event type priority The processing of periodic event.
The third aspect, provides a kind of VNFM, and the VNFM includes: processor;
The processor, for obtaining the concurrent N number of life cycle events of the same virtual network function VNF, wherein N >=2, N are integer;
The processor, if being also used in N number of life cycle events there is no collision event group, according to pre-defined Virtual network function component VNFC priority and event type priority, successively trigger the place of N number of life cycle events Reason, wherein the collision event group includes at least two life cycle events, and at least two life cycle events are directed toward same One VNFC.
In the third aspect in the first possible implementation, in conjunction with the third aspect, the processor is also used to obtaining After the same virtual network function VNF concurrent N number of life cycle events, if existing extremely in N number of life cycle events Few one group of collision event group abandons the life cycle events at least one set of collision event group, so that N number of life Remaining life cycle events are directed to different VNFC in periodic event;
The processor is also used to successively trigger institute according to VNFC priority predetermined and event type priority State the processing of remaining life cycle events.
In second of the third aspect possible implementation, the first possible implementation, institute in conjunction with the third aspect Processor is stated, is also used to obtain concurrent N number of of the same virtual network function VNF in the virtual network function manager VNFM After life cycle events, effective life cycle events in N number of life cycle events are determined, wherein effective life Ordering periodic event is the service condition for meeting hardware resource and virtual resource, and its parameter meets virtual network function descriptor The defined life cycle events of VNFD;
The processor abandons institute if being also used to have at least one set of collision event group in N number of life cycle events The life cycle events at least one set of collision event group are stated, so that remaining Life Cycle in N number of life cycle events Phase event is directed to different virtual network function component VNFC, specifically includes:
If there is at least one set of collision event group in effective life cycle events, at least one set of conflict thing is abandoned Life cycle events in part group, so that remaining life cycle events are directed to difference in N number of life cycle events Virtual network function component VNFC.
In the third aspect in the third possible implementation, the first possible implementation or in conjunction with the third aspect Three second of possible implementation of aspect, the VNFM further include: transmitter;
The processor is also used to abandon the life cycle events at least one set of collision event group, so that institute It states remaining life cycle events in N number of life cycle events and is directed to different virtual network function component VNFC, it is specific to wrap It includes:
All life cycle events at least one set of collision event group are abandoned, so that N number of life cycle Remaining life cycle events are directed to different virtual network function component VNFC in event;
The transmitter virtualizes composer NFVO to network function for sending first message, so that the NFVO The processing of all life cycle events at least one set collision event group described in administrator is notified to malfunction;And
Second message is sent to the sender of all life cycle events at least one set of collision event group, so that It obtains described sender and state confirmation is carried out to the VNF, and send new life cycle events.
In the 4th kind of possible implementation of the third aspect, the first possible implementation or in conjunction with the third aspect Three second of possible implementation of aspect, the processor are also used to abandon the life at least one set of collision event group Periodic event is ordered, so that remaining life cycle events are directed to different virtual networks in N number of life cycle events Functional unit VNFC, specifically includes:
According to the priority of the initiator of life cycle events, every group of conflict at least one set of collision event group is determined The Dai-ichi Mutual Life Insurance periodic event of highest priority in event group;
All life cycle events in every group of collision event group in addition to the Dai-ichi Mutual Life Insurance periodic event are abandoned, So that remaining life cycle events are directed to different VNFC in N number of life cycle events.
In the 5th kind of possible implementation of the third aspect, the first possible implementation or in conjunction with the third aspect Three second of possible implementation of aspect, the processor are also used to abandon the life at least one set of collision event group Periodic event is ordered, so that remaining life cycle events are directed to different virtual networks in N number of life cycle events Functional unit VNFC, specifically includes:
According to the receiving time of life cycle events, every group of collision event group at least one set of collision event group is determined In the second life cycle events for being finally received;
All life cycle events in every group of collision event group in addition to the second life cycle events are abandoned, so that It obtains remaining life cycle events in N number of life cycle events and is directed to different VNFC.
In the 6th kind of possible implementation of the third aspect, the first possible implementation or in conjunction with the third aspect Three second of possible implementation of aspect, the processor are also used to abandon the life at least one set of collision event group Periodic event is ordered, so that remaining life cycle events are directed to different virtual networks in N number of life cycle events Functional unit VNFC, specifically includes:
According to VNFC priority predetermined, determine at least one set of collision event group in every group of collision event group The third life periodic event of highest priority;
All life cycle events in every group of collision event group in addition to third life periodic event are abandoned, so that It obtains remaining life cycle events in N number of life cycle events and is directed to different VNFC.
In the 7th kind of possible implementation of the third aspect, in conjunction with the 6th kind of possible reality of the third aspect to the third aspect Existing mode, the processor are also used to according to VNFC priority predetermined and event type priority, successively described in triggering The processing of N number of life cycle events, specifically includes:
According to VNFC priority predetermined, the priority of N number of life cycle events is determined, obtain described N number of First trigger sequence of life cycle events;
According to event type priority predetermined, it is identical to determine in N number of life cycle events that there are priority At least two life cycle events, determine the priority of at least two life cycle events, obtain N number of Life Cycle Second trigger sequence of phase event;
According to second trigger sequence, the processing of N number of life cycle events is successively triggered.
In the 8th kind of possible implementation of the third aspect, in conjunction with the 7th kind of possible reality of the third aspect to the third aspect Existing mode, the VNFM further include: receiver;
The receiver, for obtaining the concurrent N number of life cycle of the same virtual network function VNF in the processor Before event, the concurrent N number of life cycle events of the same VNF are received;
The processor is also used to for N number of life cycle events being added in event queue;
The processor, it is specific to wrap for obtaining the concurrent N number of life cycle events of the same virtual network function VNF It includes:
N number of life cycle events are obtained from the event queue;
The processor receives in the treatment process of N number of life cycle events if being also used to the receiver The new life cycle events are added in the event queue by new life cycle events.
In the 9th kind of possible implementation of the third aspect, in conjunction with the 8th kind of possible implementation of the third aspect, institute Processor is stated, for obtaining the concurrent N number of life cycle events of the same virtual network function VNF, is specifically included:
If preceding primary concurrent life cycle events are disposed, or, the default triggered time is reached, or, the event team The quantity of life cycle events in column reaches preset value, obtains the concurrent N number of life cycle of the same virtual network function VNF Event.
In the tenth kind of possible implementation of the third aspect, in conjunction with the 9th kind of possible reality of the third aspect to the third aspect Existing mode, the processor are also used to successively trigger institute according to VNFC priority predetermined and event type priority Before the processing for stating N number of life cycle events, if currently there are the life cycle events handled, N number of Life Cycle is determined With the presence or absence of the life cycle events to conflict with the life cycle events handled in phase event;
Locating processor, is also used to:
If there is the life cycle to conflict with the life cycle events handled in N number of life cycle events Event determines whether the life cycle events to conflict with the life cycle events handled are emergency,
If the life cycle events to conflict with the life cycle events handled are emergencies, termination is worked as The preceding life cycle events handled;
If the life cycle events to conflict with the life cycle events handled are not emergencies, abandon The life cycle events to conflict with the life cycle events handled;
The transmitter is also used to the life cycle events to conflict with the life cycle events handled Sender send message, notify the life cycle that conflicts with the life cycle events handled described in described sender Event has abandoned.
It is possible in conjunction with the tenth kind of the third aspect to the third aspect in a kind of possible implementation of the third aspect the tenth Implementation, the processor are also used to successively trigger institute according to VNFC priority predetermined and event type priority The processing for stating N number of life cycle events, specifically includes:
If currently without the life cycle events handled, or,
If in the life cycle events for currently having the life cycle events handled, and being presently processing there is no with The life cycle events of the life cycle events conflict handled, or,
If existing and institute in the life cycle events for currently having the life cycle events handled, and being presently processing The life cycle events of the life cycle events conflict handled are stated, it is described to be rushed with the life cycle events handled Prominent life cycle events are emergencies,
According to VNFC priority predetermined and event type priority, N number of life cycle events are successively triggered Processing.
In the 12nd kind of possible implementation of the third aspect, in conjunction with a kind of third aspect to the possibility of the third aspect the tenth Implementation, the processor is also used to:
According to VNFC priority predetermined and event type priority, N number of life cycle thing is successively triggered Before the processing of part, if currently there are the life cycle events handled, judge whether N number of life cycle events will affect The life cycle events handled;
The processor is also used to successively trigger institute according to VNFC priority predetermined and event type priority The processing for stating N number of life cycle events, specifically includes:
If N number of life cycle events will not influence the life cycle events being presently processing, according to preparatory The VNFC priority and event type priority of definition, successively trigger the processing of N number of life cycle events.
In NFV system, the case where existing standard does not consider VNF while encountering multiple life cycle events.And In practical application, it is possible that VNF encounters the feelings of multiple life cycle events (i.e. multiple life cycle events are concurrent) simultaneously Shape, if not considering the problems of processing order at this time, it is possible that ambiguity, causes the processing of life cycle events mistake occur. And the processing method and VNFM of life cycle events based on the embodiment of the present invention, in concurrent multiple life cycle events In when collision event group is not present, by VNFC priority predetermined and event type priority come successively concurrent multiple The processing of life cycle events, thus the processing mistake for avoiding multi-lifecycle event from may cause.That is, the embodiment of the present invention mentions The processing method and VNFM of the life cycle events of confession, the solution for providing a kind of multi-lifecycle event while occurring, It can be avoided the processing mistake that multi-lifecycle event may cause.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this Some embodiments of invention for those of ordinary skill in the art without creative efforts, can be with It obtains other drawings based on these drawings.
Fig. 1 is a kind of NFV configuration diagram provided in an embodiment of the present invention;
Fig. 2 is a kind of flow diagram of the processing method of life cycle events provided in an embodiment of the present invention;
Fig. 3 is the flow diagram of the processing method of another life cycle events provided in an embodiment of the present invention;
Fig. 4 is the flow diagram of the processing method of another life cycle events provided in an embodiment of the present invention;
Fig. 5 is the flow diagram of the processing method of another life cycle events provided in an embodiment of the present invention;
Fig. 6 is the flow diagram of the processing method of another life cycle events provided in an embodiment of the present invention;
Fig. 7 is the flow diagram of the processing method of another life cycle events provided in an embodiment of the present invention;
Fig. 8 is the flow diagram of the processing method of another life cycle events provided in an embodiment of the present invention;
Fig. 9 is the flow diagram of the processing method of another life cycle events provided in an embodiment of the present invention;
Figure 10 is the connection relationship diagram for forming the VNFC of VNF;
Figure 11 is the flow diagram of the processing method of another life cycle events provided in an embodiment of the present invention;
Figure 12 is the flow diagram of the processing method of another life cycle events provided in an embodiment of the present invention;
Figure 13 is the flow diagram of the processing method of another life cycle events provided in an embodiment of the present invention;
Figure 14 is a kind of VNFM structural schematic diagram provided in an embodiment of the present invention;
Figure 15 is another kind VNFM structural schematic diagram provided in an embodiment of the present invention;
Figure 16 is another VNFM structural schematic diagram provided in an embodiment of the present invention;
Figure 17 is another VNFM structural schematic diagram provided in an embodiment of the present invention;
Figure 18 is another VNFM structural schematic diagram provided in an embodiment of the present invention;
Figure 19 is another VNFM structural schematic diagram provided in an embodiment of the present invention;
Figure 20 is another VNFM structural schematic diagram provided in an embodiment of the present invention;
Figure 21 is a kind of VNFM structural schematic diagram provided in an embodiment of the present invention;
Figure 22 is another kind VNFM structural schematic diagram provided in an embodiment of the present invention;
Figure 23 is another VNFM structural schematic diagram provided in an embodiment of the present invention.
Specific embodiment
In order to facilitate understanding, a kind of NFV framework is provided first, as shown in Figure 1, the functional unit in the framework includes:
(1) VNF unit: corresponding to physical network function (the Physical Network in the non-virtualized network of tradition Function, PNF), VNF unit can be the packet-based core networks (Evolved Packet Core, EPC) of the evolution of virtualization Node (such as mobile management entity (Mobile Management Entity, MME), gateway (Serving Gatewa, SGW), packet data gateway (Packet Data Network-Gateway, PGW) etc.).In general, VNF unit is by multiple virtual Network function component (VNF Component, VNFC) composition.
(2) Element management system unit (Element Management System, EMS): executing fault management to VNF, Configuration management, accounting management, performance management, safety management (FaultManagement, Configuration Management, Accounting Management, Performance Management, Security Management, FCAPS) function.
(3) NFV infrastructure element (NFV Infrastructure, NFVI): NFVI by hardware resource, virtual resource with And virtual level composition.
Wherein, the virtual resource refers to the resource with hardware system function simulated by software;The virtual level Refer to the fictitious host computer platform with advanced resource management function.
In general, the combination of virtual level and hardware resource is one can provide the entity of required virtual resource for VNF.
(4) Virtual base facilities management unit (Virtualised Infrastructure Manager (s), VIM): packet It includes for controlling, managing calculating and store virtual network resource and the virtualisation entity of the virtual network resource.
(5) NFV composer (NFV Orchestrator, NFVO): be responsible for network server (Network Service, NS life cycle management) is carried out, and layout and management are carried out to the resource of entire NFV system (including NFVI and VNF resource).
(6) VNF administrative unit (VNF Manager (s), VNFM): it is responsible for VNF and carries out life cycle management.
(7) operation/operational support system (Operations Support Systems/Business Support Systems, OSS/BSS): refer to the shared support system of the integration of telecom operators, resource information, it is mainly by network pipe The part such as reason, system administration, charging, business, account and customer service forms.
Wherein, NFVO, VNFM and VIM collectively constitute management and network arrangements (Management and network Orchestrator, MANO) framework.
It should be noted that for the ease of clearly describing the technical solution of the embodiment of the present invention, in the embodiment of the present invention In, it uses the printed words such as " first ", " second " and function and the essentially identical identical entry of effect or similar item is distinguished, ability Field technique personnel are understood that the printed words such as " first ", " second " are not defined quantity and execution order.
Embodiment one,
The embodiment of the present invention provides a kind of processing method of life cycle events, specific as shown in Figure 2, comprising:
S201, VNFM obtain the concurrent N number of life cycle events of the same VNF.
Wherein, N >=2, N are integer.The life cycle events specifically can be VNF instantiation (instantiate), VNF dynamic retractility (scale in/out/up/down), VNF self-healing (heal), VNF software upgrading (upgrade), VNF software Update (update), modification VNF configuration (configure), inquiry VNF state (query), deletion VNF (terminate) etc..
In general, when OSS/BSS or NFVO issues operation requests, or when the state of EMS, VNF notice VNFM VNF become Change, or when the relevant resource status of VIM notice VNFMVNF changes, can trigger life cycle events.
If collision event group is not present in S202, N number of life cycle events, the VNFM is according to void predetermined Quasi- network function component VNFC priority and event type priority, successively trigger the processing of N number of life cycle events, In, the collision event group includes at least two life cycle events, and at least two life cycle events are directed toward same VNFC。
Illustratively, it is assumed that 8 life cycle events that N number of life cycle events are specifically as follows:
(1) VNFC1 expands 128M memory
(2) VNFC3 expands 256 MB of memory
(3) VNFC5 expands 1 CPU
(4) VNFC2 expands 1 CPU
(5) VNFC4 reduces 2 CPU
(6) VNFC1 expands 512M memory
(7) VNFC5 reduces 1 CPU
(8) VNFC1 expands 512M memory
Then, there are two groups of collision event groups in this 8 life cycle events, wherein life cycle events 1,6,8 are one group Collision event group (is directed to VNFC1), and life cycle events 3 and life cycle events 7 are that one group of collision event group (is directed to VNFC5)。
Wherein, it should be noted that for each VNFC in the same VNF due to function difference, importance is also different.Cause And in the concurrent multiple life cycle events of processing, the life cycle events for the VNFC for answering priority processing important prolong to prevent it Cause to malfunction late.The processing method of life cycle events provided in an embodiment of the present invention, according to the difference of the importance of VNFC Corresponding priority is defined for it, in this way, when multiple life cycle events are concurrent, the higher Life Cycle of priority processing priority Phase event can prevent important life cycle events to be delayed by, and avoid processing mistake.
Specifically, can be by extending virtual network function descriptor (Virtualized Network Function Descriptor, VNFD) in VDU project VNFC priority is defined, such as at VDU increase VNFC project, that is, pass through VNFD:VDU:VNFC realizes the definition to VNFC priority;New project can also be increased in VNFD to carry out VNFC priority Definition increases VNFC_priority project such as in VNFD.In addition, when being defined to VNFC priority, in addition to indicating Except the priority of VNFC, it is also necessary to indicate the mark (IDentity, ID) and the priority scope of application of VNFC.Wherein, ID is fixed It is adopted consistent with existing standard;Priority can be indicated by number, character or other modes;The priority scope of application is in order into one Step refines the parameter that priority is defined and introduced, and possible values includes Host, VNF etc..When being appointed as Host, show that this is preferential Grade is only applicable to priority ratio between the different VNFC on the same physical server compared with and being not particularly suited for different physical services The comparison of priority between VNFC on device;When being appointed as VNF, then it represents that the priority is suitable for owning under the same VNF VNFC priority ratio compared with the case where.By specifying the scope of application, administrator or VNF provider can specify place in thinner granularity Priority is managed, thus the situation that reply is more special.
In general, the different types of life cycle events of difference VNFC will not influence each other in the same VNF, therefore not It needs stringent to execute sequence.But under certain special screnes, certain form of life cycle events is needed preferentially to execute.Example Such as, when needing Quick thread to service, the priority of instantiate, scaleout/up life cycle events is higher than Terminate, scale in/down life cycle events;And when resource anxiety, or difference VNFC belong to same physics clothes Be engaged in device, occur when resource re-allocation, terminate, scale in/down life cycle events priority will height In instantiate, scale out/up life cycle events.For this purpose, life cycle events provided in an embodiment of the present invention Processing method can meet the needs of special screne, avoid by holding by the priority different to different event type definitions Row sequence causes processing mistake.
Similarly, can be by defining event type priority in VNFD:lifecycle_event, it can also be by adding The new projects of such as VNFD:lifecycle_event_priority etc are added to define event type priority.The content of definition It may include deployment scenario, life cycle events title or ID, priority and the priority scope of application etc., the embodiment of the present invention pair This is not especially limited.
It should be noted that, in addition to VNFC priority and event type priority, can also be certain lifes in actual deployment Order periodic event assigned priority.For example, being the difference on same physical equipment to balance the processing load of physical equipment VNFC sets priority;For another example, to cope with special circumstances, setting priority is forced.If being set in advance for certain life cycle events Priority is determined, then when triggering the processing of life cycle events, should also take into account.
In practical applications, when some VNF encounters multiple life cycle events simultaneously, (i.e. multiple life cycle events are simultaneously When hair), since certain life cycle events execute sequence in the presence of inevitable, it is therefore desirable to consider concurrent multiple life cycle things The problem of how part is handled, is otherwise likely to occur ambiguity, causes to handle mistake.For this purpose, Life Cycle provided in an embodiment of the present invention The processing method of phase event, when collision event group being not present in concurrent multiple life cycle events, by predetermined VNFC priority and event type priority successively trigger the processing of concurrent multiple life cycle events, to avoid giving birth to more The processing mistake that life periodic event may cause.
Further, as shown in figure 3, the processing method of life cycle events provided in an embodiment of the present invention, described After VNFM obtains the concurrent N number of life cycle events (S201) of the same VNF, can also include:
If there is at least one set of collision event group in S203, N number of life cycle events, the VNFM discarding is described extremely Life cycle events in few one group of collision event group, so that remaining life cycle thing in N number of life cycle events Part is directed to different VNFC.
S204, the VNFM are successively triggered described surplus according to VNFC priority predetermined and event type priority The processing of remaining life cycle events.
That is, when two or more life cycle events (the conflict thing that there is conflict in concurrent multiple life cycle events Part group) when, the processing method of life cycle events provided in an embodiment of the present invention, by abandoning the life in every group of collision event group Periodic event is ordered so that remaining life cycle events are directed to different VNFC, to guarantee remaining life cycle events not Conflict, and under the premise of guaranteeing that remaining life cycle does not conflict, according to VNFC priority predetermined and event type Priority successively triggers the processing of the remaining life cycle events, avoids the occurrence of processing mistake.
Further, as shown in figure 4, the processing method of life cycle events provided in an embodiment of the present invention, described After VNFM obtains the concurrent N number of life cycle events (i.e. S201) of the same virtual network function VNF, can also include:
S205, the VNFM determine effective life cycle events in N number of life cycle events, wherein described to have Imitating life cycle events is the service condition for meeting hardware resource and virtual resource, and its parameter meets the defined life of VNFD Periodic event.
Then, if there is at least one set of collision event group in N number of life cycle events, at least one set is abandoned Life cycle events in collision event group, so that remaining life cycle events refer both in N number of life cycle events To different VNFC (i.e. S203), can specifically include:
If there is at least one set of collision event group in S203a, effective life cycle events, described in the VNFM discarding Life cycle events at least one set of collision event group, so that remaining life cycle in N number of life cycle events Event is directed to different VNFC.
That is, the processing method of life cycle events provided in an embodiment of the present invention, got in the VNFM concurrent more After a life cycle events, effective life cycle events therein are first determined, to only handle concurrent multiple life cycle things Effective life cycle events in part.So, it is ensured that the reliability of subsequent processing, while the subsequent processing time can be saved, Improve treatment effeciency.
It should be added that VNFM is determining effective life cycle events in concurrent multiple life cycle events Afterwards, while handling effective life cycle events, invalid life cycle events therein can be directly abandoned, and send Message notifies administrator's mistake to NFVO;Alternatively, relevant event sponsors are sent messages to, with notification event initiator It modifies to related life cycle events, and retransmits life cycle events, the present invention is not especially limit this.
In a kind of possible implementation, as shown in figure 5, the VNFM is abandoned at least one set of collision event group Life cycle events, so that remaining life cycle events are directed to different VNFC (i.e. in N number of life cycle events S203), can specifically include:
S203b, the VNFM abandon all life cycle events at least one set of collision event group, so that institute It states remaining life cycle events in N number of life cycle events and is directed to different VNFC.
Then, the method can also include:
S206, the VNFM send first message and virtualize composer NFVO to network function, so that the NFVO is logical Know the processing error of all life cycle events at least one set collision event group described in administrator.
Alternatively,
S207, the VNFM send second message to all life cycle events at least one set of collision event group Sender and send new life cycle events so that described sender carries out state confirmation to the VNF.
Wherein, it should be noted that there is no inevitable to execute sequence by step S206 or step S207 and step S204, can With as shown in figure 5, first carry out step S204, then step S206 or step S207 is executed, step S206 or step can also be first carried out Rapid S207, then execute step S204.
In a kind of possible implementation, as shown in fig. 6, the VNFM is abandoned at least one set of collision event group Life cycle events, so that remaining life cycle events are directed to different VNFC (i.e. in N number of life cycle events S203), can specifically include:
S203c, the VNFM determine at least one set of conflict thing according to the priority of the initiator of life cycle events In part group in every group of collision event group highest priority Dai-ichi Mutual Life Insurance periodic event.
S203d, the VNFM abandon all lifes in every group of collision event group in addition to Dai-ichi Mutual Life Insurance periodic event Periodic event is ordered, so that remaining life cycle events are directed to different VNFC in N number of life cycle events.
In a kind of possible implementation, as shown in fig. 7, the VNFM is abandoned at least one set of collision event group Life cycle events, so that remaining life cycle events are directed to different VNFC (i.e. in N number of life cycle events S203), can specifically include:
S203e, the VNFM are determined at least one set of collision event group according to the receiving time of life cycle events The second life cycle events being finally received in every group of collision event group.
S203f, the VNFM abandon all lifes in every group of collision event group in addition to the second life cycle events Periodic event is ordered, so that remaining life cycle events are directed to different VNFC in N number of life cycle events.
In a kind of possible implementation, as shown in figure 8, the VNFM is abandoned at least one set of collision event group Life cycle events, so that remaining life cycle events are directed to different VNFC in N number of life cycle events, tool Body may include:
S203g, the VNFM are determined every at least one set of collision event group according to VNFC priority predetermined The third life periodic event of highest priority in group collision event group.
S203h, the VNFM abandon all lifes in every group of collision event group in addition to third life periodic event Periodic event is ordered, so that remaining life cycle events are directed to different VNFC in N number of life cycle events.
In addition, the VNFM can also be according to specific life cycle events in every group of collision event group, and combine the shape of VNF State, selection need the life cycle events abandoned.For example, when the pause that the life cycle events clashed are the same VNFC When requesting (stop) and terminating request (terminate), termination request life cycle events can be retained, abandon pause request life Periodic event;For another example, when the dynamic retractility that the life cycle events clashed are the same VNFC requests (scale) and updates When requesting (update), there is performance bottleneck in the system of can determine whether, needs to retain dynamic retractility request life cycle events at this time, loses It abandons and updates request life cycle events.
As described above, the present invention is real when the concurrent multiple life cycle events of appearance are directed toward the situation of the same VNFC The processing method for applying the life cycle events of example offer provides a variety of alternative processing strategies.It needs to illustrate herein It is in practical applications, every group of conflict in every group of collision event group after relevant life cycle events to be abandoned according to above-mentioned strategy In event group still may there are two or above life cycle events, therefore above-mentioned processing strategie can phase in appropriate instances Mutually combine.Which kind of, it will appreciated by the skilled person that processing strategie no matter taken, finally only have extremely for each VNFC More life cycle events.Since actual conditions are complex, the embodiment of the present invention wouldn't be described this.
Preferably, as shown in figure 9, in the processing method of life cycle events provided in an embodiment of the present invention, if the institute It states and collision event group is not present in N number of life cycle events, the VNFM is according to VNFC priority predetermined and event class Type priority successively triggers the processing (i.e. S202) of N number of life cycle events, can specifically include:
If collision event group is not present in S202a, N number of life cycle events, the VNFM is according to predetermined VNFC priority determines the priority of N number of life cycle events, obtains the first triggering of N number of life cycle events Sequentially.
S202b, the VNFM are determined in N number of life cycle events according to event type priority predetermined There are identical at least two life cycle events of priority, determine the priority of at least two life cycle events, obtain Obtain the second trigger sequence of N number of life cycle events.
S202c, the VNFM successively trigger the processing of N number of life cycle events according to second trigger sequence.
It should be noted that the second trigger sequence by above-mentioned steps acquisition is possible to, there are still priority identical two A or above life cycle events, life cycle events identical for priority can be randomly choosed and be handled.
Illustratively, below in conjunction with specific example to the process of above-mentioned the first trigger sequence of acquisition, the second trigger sequence into Row detailed description:
Assuming that VNF is E-Tree type, VNF is made of five VNFC of VNFC1, VNFC2, VNFC3, VNFC4 and VNFC5 (connection relationship is as shown in Figure 10), concurrent 5 life cycle events of a certain moment VNF, it is specific as follows shown in (when according to receiving Between successively sort):
1. VNFC1 expands 128M memory
2. VNFC3 expands 256 MB of memory
3. VNFC5 expands 1 CPU
4. VNFC2 expands 1 CPU
5. VNFC4 reduces 2 CPU
S1: it according to VNFC priority, determines the priority of 5 life cycle events, obtains the first trigger sequence.
Assuming that it is contemplated herein that topology influence, it is believed that the VNFC1 priority in root node is higher, and remaining is in leaf section The VNFC2-VNFC5 priority of point is lower.Then, according to the priority of VNFC, the first trigger sequence for determining are as follows: 1. > 2.=3. =4.=5..
S2: according to event type priority predetermined, it is identical to determine in 5 life cycle events that there are priority At least two life cycle events determine the priority of at least two life cycle events, obtain the second trigger sequence.
By S1 it is found that the priority of second life cycle events to the 5th life cycle events is identical, root is answered at this time The priority of life cycle events is further discriminated between according to event type priority.Assuming that it is contemplated herein that the situation of resource anxiety, recognizes Priority for terminate, scale in/down life cycle events is just higher than instantiate, scale out/up Life cycle events, then the priority of the 5th life cycle events is higher than its excess-three life cycle events.At this point, determining The second trigger sequence be are as follows: 1. > 5. > 2.=3.=4..
Further, for balance physics apparatus of load the considerations of, for the time of the VNFC on same physical equipment Priority can be further discriminated between again.Specifically, referring to Figure 10, since VNFC2, VNFC3 are on same physical equipment, VNFC4, VNFC5 are on same physical equipment, therefore second life cycle events and the 4th life cycle events can be with Priority is distinguished, third life cycle events and the 5th life cycle events can distinguish priority.Assuming that herein second The priority of a life cycle events is higher than the 4th life cycle events, the then trigger sequence finally obtained are as follows: 1. > 5. > 2.=3. > is 4..
Preferably, as shown in figure 11, the processing method of life cycle events provided in an embodiment of the present invention, in the VNFM Before obtaining the concurrent N number of life cycle events (i.e. S201) of the same VNF, can also include:
S208, the VNFM receive the concurrent N number of life cycle events of the same VNF, and by N number of life cycle thing Part is added in event queue.
Then, the VNFM obtains the concurrent N number of life cycle events (i.e. S201) of the same VNF, can specifically include:
S201a, the VNFM obtain N number of life cycle events from the event queue.
The method can also include:
If S209, the VNFM receive new life cycle thing in the treatment process of N number of life cycle events The new life cycle events are added in the event queue by part, the VNFM.
That is, the processing method of life cycle events provided in an embodiment of the present invention, can specifically be managed by event queue Concurrent multiple life cycle events.In this way, which the VNFM can still connect during the processing of this secondary life cycle events New life cycle events are received, by being first added to new life cycle events in event queue, the case where to conditions permit New life cycle events can be handled down.
It should be noted that also needing consideration event when managing concurrent multiple life cycle events by event queue The parameters such as the quantity for the life cycle events that the length of queue, VNFM are once capable of handling need to increase relevant configuration parameter. In addition, when obtaining the life cycle events in event queue, it is also contemplated that emergency and time out event, properly increase Its priority.
Preferably, in the processing method of life cycle events provided in an embodiment of the present invention, the VNFM obtains same VNF concurrent N number of life cycle events (i.e. S201), can specifically include:
If preceding primary concurrent life cycle events are disposed, or, the default triggered time is reached, or, the event team The quantity of life cycle events in column reaches preset value, and the VNFM obtains the concurrent N number of life cycle thing of the same VNF Part.
That is, the processing method of life cycle events provided in an embodiment of the present invention, can trigger VNF by a variety of triggering modes The processing of concurrent multiple life cycle events can such as be triggered according to the disposition of preceding primary concurrent life cycle events, Can also be according to pre-set time interval clocked flip, it can also be according to the number of life cycle events to be processed in event queue Amount triggering, the present invention is not especially limit this.
Preferably, as shown in figure 12, the processing method of life cycle events provided in an embodiment of the present invention, in the VNFM According to VNFC priority predetermined and event type priority, successively trigger N number of life cycle events processing it Before, can also include:
If S210, currently having the life cycle events handled, the VNFM is determined in N number of life cycle events With the presence or absence of the life cycle events to conflict with the life cycle events handled.
S211, if it exists, the VNFM determine the Life Cycle to conflict with the life cycle events handled Whether phase event is emergency.
If S212, the life cycle events to conflict with the life cycle events handled are emergencies, The VNFM terminates the life cycle events being presently processing.
If S213, the life cycle events to conflict with the life cycle events handled are not urgent things Part, the VNFM abandon the life cycle events to conflict with the life cycle events handled, and to described and The sender of the life cycle events of the life cycle events conflict handled sends message, notifies described sender institute The life cycle events to conflict with the life cycle events handled are stated to have abandoned.
Further, in the processing method of life cycle events provided in an embodiment of the present invention, the VNFM is according in advance The VNFC priority and event type priority of definition, successively trigger the processing of N number of life cycle events, specifically can wrap It includes:
If currently without the life cycle events handled, or,
If in the life cycle events for currently having the life cycle events handled, and being presently processing there is no with The life cycle events of the life cycle events conflict handled, or,
If existing and institute in the life cycle events for currently having the life cycle events handled, and being presently processing The life cycle events of the life cycle events conflict handled are stated, it is described to be rushed with the life cycle events handled Prominent life cycle events are emergencies,
According to VNFC priority predetermined and event type priority, N number of life cycle events are successively triggered Processing.
That is, the VNFM is currently likely to be at sky when the VNFM triggers the processing of N number of life cycle events Spare time can directly trigger the processing of N number of life cycle events at this time;The VNFM may also currently have the life handled Periodic event is ordered, at this point, if life cycle events in life cycle events to be processed and the life cycle handled Event does not conflict, although conflicting alternatively, existing in life cycle events to be processed with the life cycle events handled Life cycle events, but the life cycle events to conflict with the life cycle events handled are emergencies, it should The life cycle events being presently processing are terminated, N number of life cycle events are triggered.If life cycle thing to be processed There is the life cycle events to conflict with the life cycle events handled, and described and life cycle that is handling in part The life cycle events of events conflict are not emergency, then should abandon and described conflict with the life cycle events handled Life cycle events, and the side of being sent to it sends message, notifies to conflict described in sender with the life cycle events handled Life cycle events abandoned.
It should be noted that the processing time due to certain life cycle events is longer, it can during managing at which The processing of multiple life cycle events can be triggered again, change so as to cause other VNFC states or certain configuration parameters are sent out Changing, this may will affect the life cycle events handled.For this purpose, as shown in figure 13, it is provided in an embodiment of the present invention The processing method of life cycle events, if collision event group, the VNFM are not present in N number of life cycle events According to VNFC priority predetermined and event type priority, the processing of N number of life cycle events is successively triggered (i.e. S202 before), can also include:
If S214, currently having the life cycle events handled, the VNFM judges that N number of life cycle events are It is no to will affect the life cycle events handled.
If collision event group is not present in N number of life cycle events, the VNFM is excellent according to VNFC predetermined First grade and event type priority successively trigger the processing (i.e. S202) of N number of life cycle events, can specifically include:
If collision event group is not present in S202d, N number of life cycle events, and the remaining life cycle events It will not influence the life cycle events being presently processing, the VNFM is according to VNFC priority predetermined and event Type priority grade successively triggers the processing of N number of life cycle events.
It should be noted that in some special cases, it may be necessary to relevant parameter is forced, and these parameters will affect The life cycle events handled should interrupt the life cycle events being presently processing at this time, return back to reset condition.
In addition, it is worth noting that, as it was noted above, can be using VNFM as dominating, in conjunction with predefined preferential in VNFD Grade realizes the processing to life cycle events;Corresponding place can also be added directly in VNFD:lifecycle_event project Script is managed, and is responsible for the judgement of life cycle events priority and the entire processing stream of life cycle events by processing script Journey, and no longer need to pre-define VNFC priority or part type priority grade of making trouble in VNFD.The embodiment of the present invention compares not Make specific limit.
In NFV system, the case where existing standard does not consider VNF while encountering multiple life cycle events.And In practical application, it is possible that VNF encounters the feelings of multiple life cycle events (i.e. multiple life cycle events are concurrent) simultaneously Shape, if not considering the problems of processing order at this time, it is possible that ambiguity, causes the processing of life cycle events mistake occur. And the processing method of life cycle events based on the embodiment of the present invention, it is not deposited in concurrent multiple life cycle events In collision event group, by VNFC priority predetermined and event type priority come successively concurrent multiple Life Cycles The processing of phase event, thus the processing mistake for avoiding multi-lifecycle event from may cause.That is, life provided in an embodiment of the present invention The processing method of life periodic event provides a kind of solution of multi-lifecycle event appearance simultaneously, can be avoided more life The processing mistake that periodic event may cause.
Embodiment two,
The embodiment of the present invention provides a kind of VNFM140, specific as shown in figure 14, comprising: acquiring unit 1401, first triggers Unit 1402.
Wherein, the acquiring unit 1401, for obtaining the concurrent N number of life cycle events of the same VNF, wherein N >= 2, N be integer.
First trigger unit 1402, if for collision event group to be not present in N number of life cycle events, according to VNFC priority and event type priority predetermined, successively trigger the processing of N number of life cycle events, wherein The collision event group includes at least two life cycle events, and at least two life cycle events are directed toward same VNFC。
Further, as shown in figure 15, VNFM140 provided in an embodiment of the present invention can also include: the first discarding unit 1403, the second trigger unit 1404.
Wherein, first discarding unit 1403, for obtaining the concurrent N of the same VNF in the acquiring unit 1401 After a life cycle events, if there is at least one set of collision event group in N number of life cycle events, discarding is described at least Life cycle events in one group of collision event group, so that remaining life cycle events in N number of life cycle events It is directed to different VNFC.
Second trigger unit 1404, for according to VNFC priority predetermined and event type priority, according to The processing of the secondary triggering remaining life cycle events.
Further, as shown in figure 16, the VNFM140 can also include: the first determination unit 1405.
First determination unit 1405, for obtaining the concurrent N number of life of the same VNF in the acquiring unit 1401 After periodic event, effective life cycle events in N number of life cycle events are determined, wherein effective Life Cycle Phase event is to meet the service condition of hardware resource and virtual resource, and its parameter meets virtual network function descriptor VNFD's Defined life cycle events.
First discarding unit 1403, if being specifically used for having at least one set of conflict in effective life cycle events Event group abandons the life cycle events at least one set of collision event group, so that in N number of life cycle events Remaining life cycle events are directed to different VNFC.
Preferably, as shown in figure 17, VNFM140 provided in an embodiment of the present invention can also include: the first transmission unit 1406。
First discarding unit 1403 specifically can be used for:
All life cycle events at least one set of collision event group are abandoned, so that N number of life cycle Remaining life cycle events are directed to different VNFC in event.
First transmission unit 1406, for sending first message to NFVO, so that the NFVO notifies administrator The processing error of all life cycle events in at least one set collision event group, and,
Second message is sent to the sender of all life cycle events at least one set of collision event group, so that It obtains described sender and state confirmation is carried out to the VNF, and send new life cycle events.
In a kind of possible implementation, in VNFM140 provided in an embodiment of the present invention, first discarding unit 1403 Specifically it can be used for:
According to the priority of the initiator of life cycle events, every group of conflict at least one set of collision event group is determined The Dai-ichi Mutual Life Insurance periodic event of highest priority in event group;It abandons in every group of collision event group except the Dai-ichi Mutual Life Insurance week All life cycle events except phase event, so that remaining life cycle events are equal in N number of life cycle events It is directed toward different VNFC.
In a kind of possible implementation, in VNFM140 provided in an embodiment of the present invention, first discarding unit 1403 Specifically it can be used for:
According to the receiving time of life cycle events, every group of collision event group at least one set of collision event group is determined In the second life cycle events for being finally received;It abandons in every group of collision event group in addition to the second life cycle events All life cycle events so that in N number of life cycle events remaining life cycle events be directed to it is different VNFC。
In a kind of possible implementation, in VNFM140 provided in an embodiment of the present invention, first discarding unit 1403 Specifically it can be used for:
According to VNFC priority predetermined, determine at least one set of collision event group in every group of collision event group The third life periodic event of highest priority;It abandons in every group of collision event group in addition to third life periodic event All life cycle events so that in N number of life cycle events remaining life cycle events be directed to it is different VNFC。
Preferably, in VNFM140 provided in an embodiment of the present invention, first trigger unit 1402 specifically can be used for:
According to VNFC priority predetermined, the priority of N number of life cycle events is determined, obtain described N number of First trigger sequence of life cycle events;According to event type priority predetermined, N number of life cycle thing is determined There are identical at least two life cycle events of priority in part, the preferential of at least two life cycle events is determined Grade obtains the second trigger sequence of N number of life cycle events;According to second trigger sequence, successively trigger described N number of The processing of life cycle events.
Preferably, as shown in figure 18, VNFM140 provided in an embodiment of the present invention can also include: receiving unit 1407, add Add unit 1408.
Wherein, the receiving unit 1407, for obtaining the concurrent N number of life of the same VNF in the acquiring unit 1401 Before ordering periodic event, the concurrent N number of life cycle events of the same VNF are received.
The adding unit 1408, for N number of life cycle events to be added in event queue.
The acquiring unit 1401, specifically can be used for:
N number of life cycle events are obtained from the event queue.
The adding unit 1408, can be also used for:
If the receiving unit 1407 receives new life cycle in the treatment process of N number of life cycle events The new life cycle events are added in the event queue by event.
Preferably, in VNFM140 provided in an embodiment of the present invention, the acquiring unit 1401 specifically can be used for:
If preceding primary concurrent life cycle events are disposed, or, the default triggered time is reached, or, the event team The quantity of life cycle events in column reaches preset value, obtains the concurrent N number of life cycle events of the same VNF.
Preferably, as shown in figure 19, VNFM140 provided in an embodiment of the present invention can also include: the second determination unit 1409, third determination unit 1410, termination unit 1411, the second discarding unit 1412, the second transmission unit 1413.
Wherein, second determination unit 1409, in first trigger unit 1402 according to predetermined VNFC priority and event type priority, before the processing for successively triggering N number of life cycle events, if currently having The life cycle events of processing, determining in N number of life cycle events whether there is and the life cycle handled The life cycle events of events conflict.
The third determination unit 1410, if determining N number of life cycle thing for second determination unit 1409 There are the life cycle events to conflict with the life cycle events handled in part, determination is described to be handled with described The life cycle events of life cycle events conflict whether be emergency.
The termination unit 1411, if determining the described and life handled for the third determination unit 1410 The life cycle events for ordering periodic event conflict are emergencies, terminate the life cycle events being presently processing.
Second discarding unit 1412, if for being handled described in the third determination unit 1410 determination with described The life cycle events of life cycle events conflict be not emergency, abandon described with the life cycle handled The life cycle events of events conflict.
Second transmission unit 1413, for the life to conflict with the life cycle events handled The sender of periodic event sends message, conflicts described in notice described sender with the life cycle events handled Life cycle events have abandoned.
Preferably, in VNFM140 provided in an embodiment of the present invention, first trigger unit 1402 specifically can be used for:
If currently without the life cycle events handled, or,
If in the life cycle events for currently having the life cycle events handled, and being presently processing there is no with The life cycle events of the life cycle events conflict handled, or,
If existing and institute in the life cycle events for currently having the life cycle events handled, and being presently processing The life cycle events of the life cycle events conflict handled are stated, it is described to be rushed with the life cycle events handled Prominent life cycle events are emergencies,
According to VNFC priority predetermined and event type priority, N number of life cycle events are successively triggered Processing.
Preferably, as shown in figure 20, VNFM140 provided in an embodiment of the present invention can also include: judging unit 1414.
The judging unit 1414, for first trigger unit 1402 according to VNFC priority predetermined and Event type priority, before the processing for successively triggering N number of life cycle events, if currently there is the Life Cycle handled Phase event, judges whether N number of life cycle events will affect the life cycle events handled.
First trigger unit 1402, if specifically for N number of life cycle events will not influence it is described it is current just It is successively triggered described N number of in the life cycle events of processing according to VNFC priority predetermined and event type priority The processing of life cycle events.
Specifically, being handled using VNFM140 provided in an embodiment of the present invention concurrent multiple life cycle events Method can refer to the description of embodiment one, details are not described herein for the embodiment of the present invention.
In NFV system, the case where existing standard does not consider VNF while encountering multiple life cycle events.And In practical application, it is possible that VNF encounters the feelings of multiple life cycle events (i.e. multiple life cycle events are concurrent) simultaneously Shape, if not considering the problems of processing order at this time, it is possible that ambiguity, causes the processing of life cycle events mistake occur. And VNFM based on the embodiment of the present invention, when collision event group being not present in concurrent multiple life cycle events, lead to The processing that VNFC priority and event type priority predetermined carry out successively concurrent multiple life cycle events is crossed, thus The processing mistake for avoiding multi-lifecycle event from may cause.That is, VNFM provided in an embodiment of the present invention can be avoided more life The processing mistake that periodic event may cause.
Embodiment three,
The embodiment of the present invention provides a kind of VNFM210, specific as shown in figure 21, comprising: processor 2010.
The processor 2010, for obtaining the concurrent N number of life cycle events of the same VNF, wherein N >=2, N are whole Number.
The processor 2010, if being also used in N number of life cycle events, there is no collision event groups, according to preparatory The VNFC priority and event type priority of definition, successively trigger the processing of N number of life cycle events, wherein described Collision event group includes at least two life cycle events, and at least two life cycle events are directed toward the same VNFC.
Further, the processor 2010, be also used to obtain the concurrent N number of life cycle events of same VNF it Afterwards, it if there is at least one set of collision event group in N number of life cycle events, abandons at least one set of collision event group Life cycle events so that remaining life cycle events are directed to different VNFC in N number of life cycle events.
The processor 2010 is also used to successively be touched according to VNFC priority predetermined and event type priority The processing for sending out remaining life cycle events described.
Preferably, the processor 2010 is also used to obtain the concurrent N number of Life Cycle of the same VNF in the VNFM210 After phase event, effective life cycle events in N number of life cycle events are determined, wherein effective life cycle Event is to meet the service condition of hardware resource and virtual resource, and its parameter meets the rule of virtual network function descriptor VNFD Fixed life cycle events.
Preferably, the processor 2010, if being also used to have at least one set of conflict thing in N number of life cycle events Part group abandons the life cycle events at least one set of collision event group, so that remaining in N number of life cycle events Remaining life cycle events are directed to different VNFC, can specifically include:
If there is at least one set of collision event group in effective life cycle events, at least one set of conflict thing is abandoned Life cycle events in part group, so that remaining life cycle events are directed to difference in N number of life cycle events VNFC.
Further, as shown in figure 22, the VNFM210 can also include: transmitter 2102.
The processor 2010 is also used to abandon the life cycle events at least one set of collision event group, so that It obtains remaining life cycle events in N number of life cycle events and is directed to different VNFC, can specifically include:
All life cycle events at least one set of collision event group are abandoned, so that N number of life cycle Remaining life cycle events are directed to different VNFC in event.
The transmitter 2102, for sending first message to NFVO, so that the NFVO is notified described in administrator extremely The processing error of all life cycle events in few one group of collision event group;And
Second message is sent to the sender of all life cycle events at least one set of collision event group, so that It obtains described sender and state confirmation is carried out to the VNF, and send new life cycle events.
In a kind of possible implementation, the processor 2010 is also used to abandon at least one set of collision event group In life cycle events so that in N number of life cycle events remaining life cycle events be directed to it is different VNFC is specifically included:
According to the priority of the initiator of life cycle events, every group of conflict at least one set of collision event group is determined The Dai-ichi Mutual Life Insurance periodic event of highest priority in event group;It abandons in every group of collision event group except the Dai-ichi Mutual Life Insurance week All life cycle events except phase event, so that remaining life cycle events are equal in N number of life cycle events It is directed toward different VNFC.
In a kind of possible implementation, the processor 2010 is also used to abandon at least one set of collision event group In life cycle events so that in N number of life cycle events remaining life cycle events be directed to it is different VNFC is specifically included:
According to the receiving time of life cycle events, every group of collision event group at least one set of collision event group is determined In the second life cycle events for being finally received;It abandons in every group of collision event group in addition to the second life cycle events All life cycle events so that in N number of life cycle events remaining life cycle events be directed to it is different VNFC。
In a kind of possible implementation, the processor 2010 is also used to abandon at least one set of collision event group In life cycle events so that in N number of life cycle events remaining life cycle events be directed to it is different VNFC is specifically included:
According to VNFC priority predetermined, determine at least one set of collision event group in every group of collision event group The third life periodic event of highest priority;It abandons in every group of collision event group in addition to third life periodic event All life cycle events so that in N number of life cycle events remaining life cycle events be directed to it is different VNFC。
Preferably, the processor 2010 is also used to according to VNFC priority predetermined and event type priority, The processing for successively triggering N number of life cycle events, can specifically include:
According to VNFC priority predetermined, the priority of N number of life cycle events is determined, obtain described N number of First trigger sequence of life cycle events;According to event type priority predetermined, N number of life cycle thing is determined There are identical at least two life cycle events of priority in part, the preferential of at least two life cycle events is determined Grade obtains the second trigger sequence of N number of life cycle events;According to second trigger sequence, successively trigger described N number of The processing of life cycle events.
Further, as shown in figure 23, the VNFM210 can also include: receiver 2103.
The receiver 2103, for obtaining the concurrent N number of life cycle events of the same VNF in the processor 2010 Before, the concurrent N number of life cycle events of the same VNF are received.
The processor 2010 is also used to for N number of life cycle events being added in event queue.
The processor 2010 can specifically include for obtaining the concurrent N number of life cycle events of the same VNF: from N number of life cycle events are obtained in the event queue.
The processor 2010, if being also used to the receiver 2103 in the treatment process of N number of life cycle events In receive new life cycle events, the new life cycle events are added in the event queue.
Preferably, the processor 2010 specifically can be with for obtaining the concurrent N number of life cycle events of the same VNF Include:
If preceding primary concurrent life cycle events are disposed, or, the default triggered time is reached, or, the event team The quantity of life cycle events in column reaches preset value, obtains the concurrent N number of life cycle events of the same VNF.
Further, the processor 2010 is also used to excellent according to VNFC priority predetermined and event type First grade, before the processing for successively triggering N number of life cycle events, if currently having the life cycle events handled, really With the presence or absence of the life cycle thing to conflict with the life cycle events handled in fixed N number of life cycle events Part.
Locating processor 2010, is also used to:
If there is the life cycle to conflict with the life cycle events handled in N number of life cycle events Event determines whether the life cycle events to conflict with the life cycle events handled are emergency,
If the life cycle events to conflict with the life cycle events handled are emergencies, termination is worked as The preceding life cycle events handled;
If the life cycle events to conflict with the life cycle events handled are not emergencies, abandon The life cycle events to conflict with the life cycle events handled.
The transmitter 2102 is also used to the life cycle to conflict with the life cycle events handled The sender of event sends message, notifies the life to conflict described in described sender with the life cycle events handled Periodic event has abandoned.
Preferably, the processor 2010 is also used to according to VNFC priority predetermined and event type priority, The processing for successively triggering N number of life cycle events, specifically includes:
If currently without the life cycle events handled, or,
If in the life cycle events for currently having the life cycle events handled, and being presently processing there is no with The life cycle events of the life cycle events conflict handled, or,
If existing and institute in the life cycle events for currently having the life cycle events handled, and being presently processing The life cycle events of the life cycle events conflict handled are stated, it is described to be rushed with the life cycle events handled Prominent life cycle events are emergencies,
According to VNFC priority predetermined and event type priority, N number of life cycle events are successively triggered Processing.
Preferably, the processor 2010 is also used to:
According to VNFC priority predetermined and event type priority, N number of life cycle thing is successively triggered Before the processing of part, if currently there are the life cycle events handled, judge whether N number of life cycle events will affect The life cycle events handled.
The processor 2010 is also used to successively be touched according to VNFC priority predetermined and event type priority The processing for sending out N number of life cycle events described, can specifically include:
If N number of life cycle events will not influence the life cycle events being presently processing, according to preparatory The VNFC priority and event type priority of definition, successively trigger the processing of N number of life cycle events.
In NFV system, the case where existing standard does not consider VNF while encountering multiple life cycle events.And In practical application, it is possible that VNF encounters the feelings of multiple life cycle events (i.e. multiple life cycle events are concurrent) simultaneously Shape, if not considering the problems of processing order at this time, it is possible that ambiguity, causes the processing of life cycle events mistake occur. And VNFM based on the embodiment of the present invention, when collision event group being not present in concurrent multiple life cycle events, lead to The processing that VNFC priority and event type priority predetermined carry out successively concurrent multiple life cycle events is crossed, thus The processing mistake for avoiding multi-lifecycle event from may cause.That is, VNFM provided in an embodiment of the present invention can be avoided more life The processing mistake that periodic event may cause.
It is apparent to those skilled in the art that for convenience and simplicity of description, the device of foregoing description, Only the example of the division of the above functional modules, it in practical application, can according to need and by above-mentioned function distribution It is completed by different functional modules, i.e., the internal structure of device is divided into different functional modules, it is described above to complete All or part of function.System, the specific work process of device and unit of foregoing description can be implemented with reference to preceding method Corresponding process in example, details are not described herein.
In several embodiments provided herein, it should be understood that disclosed system, device and method can be with It realizes by another way.For example, the apparatus embodiments described above are merely exemplary, for example, the module or The division of unit, only a kind of logical function partition, there may be another division manner in actual implementation, such as multiple units Or component can be combined or can be integrated into another system, or some features can be ignored or not executed.Another point, institute Display or the mutual coupling, direct-coupling or communication connection discussed can be through some interfaces, device or unit Indirect coupling or communication connection can be electrical property, mechanical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme 's.
It, can also be in addition, the functional units in various embodiments of the present invention may be integrated into one processing unit It is that each unit physically exists alone, can also be integrated in one unit with two or more units.Above-mentioned integrated list Member both can take the form of hardware realization, can also realize in the form of software functional units.
If the integrated unit is realized in the form of SFU software functional unit and sells or use as independent product When, it can store in a computer readable storage medium.Based on this understanding, technical solution of the present invention is substantially The all or part of the part that contributes to existing technology or the technical solution can be in the form of software products in other words It embodies, which is stored in a storage medium, including some instructions are used so that a computer It is each that equipment (can be personal computer, server or the network equipment etc.) or processor (processor) execute the present invention The all or part of the steps of embodiment the method.And storage medium above-mentioned includes: USB flash disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic or disk Etc. the various media that can store program code.
The above description is merely a specific embodiment, but scope of protection of the present invention is not limited thereto, any Those familiar with the art in the technical scope disclosed by the present invention, can easily think of the change or the replacement, and should all contain Lid is within protection scope of the present invention.Therefore, protection scope of the present invention should be based on the protection scope of the described claims.

Claims (26)

1. a kind of processing method of life cycle events, which is characterized in that the described method includes:
Virtual network function manager VNFM obtains the concurrent N number of life cycle events of the same virtual network function VNF, In, N >=2, N are integer;
If collision event group is not present in N number of life cycle events, according to virtual network function component predetermined VNFC priority and event type priority successively trigger the processing of N number of life cycle events, wherein the conflict thing Part group includes at least two life cycle events, and at least two life cycle events are directed toward the same VNFC.
2. the method according to claim 1, wherein being obtained in the virtual network function manager VNFM same After a virtual network function VNF concurrent N number of life cycle events, further includes:
If there is at least one set of collision event group in N number of life cycle events, at least one set of collision event group is abandoned In life cycle events so that in N number of life cycle events remaining life cycle events be directed to it is different VNFC;
According to VNFC priority predetermined and event type priority, the remaining life cycle events are successively triggered Processing.
3. according to the method described in claim 2, it is characterized in that, being obtained in the virtual network function manager VNFM same After a virtual network function VNF concurrent N number of life cycle events, further includes:
Determine effective life cycle events in N number of life cycle events, wherein effective life cycle events are symbol The service condition of hardware resource and virtual resource is closed, and its parameter meets the defined life of virtual network function descriptor VNFD Periodic event;
If there is at least one set of collision event group in N number of life cycle events, at least one set of conflict thing is abandoned Life cycle events in part group, so that remaining life cycle events are directed to difference in N number of life cycle events Virtual network function component VNFC, comprising:
If there is at least one set of collision event group in effective life cycle events, at least one set of collision event group is abandoned In life cycle events so that remaining life cycle events are directed to different void in N number of life cycle events Quasi- network function component VNFC.
4. according to the method described in claim 3, it is characterized in that, the life abandoned at least one set of collision event group Periodic event is ordered, so that remaining life cycle events are directed to different virtual networks in N number of life cycle events Functional unit VNFC, comprising:
All life cycle events at least one set of collision event group are abandoned, so that N number of life cycle events In remaining life cycle events be directed to different virtual network function component VNFC;
The method also includes:
It sends first message and virtualizes composer NFVO to network function, so that the NFVO is notified at least one described in administrator The processing error of all life cycle events in group collision event group;Alternatively,
Second message is sent to the sender of all life cycle events at least one set of collision event group, so that institute It states sender and state confirmation is carried out to the VNF, and send new life cycle events.
5. according to the method described in claim 3, it is characterized in that, the life abandoned at least one set of collision event group Periodic event is ordered, so that remaining life cycle events are directed to different virtual networks in N number of life cycle events Functional unit VNFC, comprising:
According to the priority of the initiator of life cycle events, every group of collision event at least one set of collision event group is determined The Dai-ichi Mutual Life Insurance periodic event of highest priority in group;
All life cycle events in every group of collision event group in addition to the Dai-ichi Mutual Life Insurance periodic event are abandoned, so that It obtains remaining life cycle events in N number of life cycle events and is directed to different VNFC.
6. according to the method described in claim 3, it is characterized in that, the life abandoned at least one set of collision event group Periodic event is ordered, so that remaining life cycle events are directed to different virtual networks in N number of life cycle events Functional unit VNFC, comprising:
According to the receiving time of life cycle events, determine at least one set of collision event group in every group of collision event group most The second life cycle events being received afterwards;
All life cycle events in every group of collision event group in addition to the second life cycle events are abandoned, so that institute It states remaining life cycle events in N number of life cycle events and is directed to different VNFC.
7. according to the method described in claim 3, it is characterized in that, the life abandoned at least one set of collision event group Periodic event is ordered, so that remaining life cycle events are directed to different virtual networks in N number of life cycle events Functional unit VNFC, comprising:
According to VNFC priority predetermined, determine preferential in every group of collision event group at least one set of collision event group The highest third life periodic event of grade;
All life cycle events in every group of collision event group in addition to third life periodic event are abandoned, so that institute It states remaining life cycle events in N number of life cycle events and is directed to different VNFC.
8. method according to claim 1-7, which is characterized in that described according to VNFC priority predetermined And event type priority, successively trigger the processing of N number of life cycle events, comprising:
According to VNFC priority predetermined, the priority of N number of life cycle events is determined, obtain N number of life First trigger sequence of periodic event;
According to event type priority predetermined, it is identical extremely to determine in N number of life cycle events that there are priority Few two life cycle events, determine the priority of at least two life cycle events, obtain N number of life cycle thing Second trigger sequence of part;
According to second trigger sequence, the processing of N number of life cycle events is successively triggered.
9. method according to claim 1-7, which is characterized in that obtain the same virtual network in the VNFM Before function VNF concurrent N number of life cycle events, further includes:
The VNFM receives the concurrent N number of life cycle events of the same VNF, and N number of life cycle events are added to In event queue;
The VNFM obtains the concurrent N number of life cycle events of the same virtual network function VNF, comprising:
The VNFM obtains N number of life cycle events from the event queue;
The method also includes:
If the VNFM receives new life cycle events in the treatment process of N number of life cycle events, described The new life cycle events are added in the event queue by VNFM.
10. according to the method described in claim 9, it is characterized in that, virtual network function manager VNFM acquisition is same A virtual network function VNF concurrent N number of life cycle events, comprising:
If preceding primary concurrent life cycle events are disposed, or, the default triggered time is reached, or, in the event queue The quantity of life cycle events reach preset value, virtual network function manager VNFM obtains the same virtual network function VNF concurrent N number of life cycle events.
11. according to the method described in claim 10, it is characterized in that, described according to VNFC priority predetermined and thing Part type priority grade, before the processing for successively triggering N number of life cycle events, further includes:
If currently there is the life cycle events handled, determine in N number of life cycle events with the presence or absence of with it is described just In the life cycle events of the life cycle events conflict of processing;
If it exists, determine whether the life cycle events to conflict with the life cycle events handled are urgent thing Part,
If the life cycle events to conflict with the life cycle events handled are emergencies, terminate currently just In the life cycle events of processing;
If the life cycle events to conflict with the life cycle events handled are not emergencies, described in discarding The life cycle events to conflict with the life cycle events handled, and to described with the Life Cycle handled The senders of the life cycle events of phase events conflict sends message, notify described in described sender with the life handled The life cycle events of life periodic event conflict have abandoned.
12. according to the method for claim 11, which is characterized in that described according to VNFC priority predetermined and event Type priority grade successively triggers the processing of N number of life cycle events, comprising:
If currently without the life cycle events handled, or,
If in the life cycle events for currently having the life cycle events handled, and being presently processing there is no with it is described The life cycle events of the life cycle events conflict handled, or,
If in the life cycle events for currently having the life cycle events handled, and being presently processing exist with it is described just It is described to conflict with the life cycle events handled in the life cycle events of the life cycle events conflict of processing Life cycle events are emergencies,
According to VNFC priority predetermined and event type priority, the place of N number of life cycle events is successively triggered Reason.
13. the described in any item methods of 0-12 according to claim 1, which is characterized in that described according to VNFC predetermined Priority and event type priority, before the processing for successively triggering N number of life cycle events, further includes:
If currently there are the life cycle events handled, judges whether N number of life cycle events will affect and handling Life cycle events;
It is described according to VNFC priority predetermined and event type priority, successively trigger N number of life cycle events Processing, comprising:
If N number of life cycle events will not influence the life cycle events being presently processing, according to pre-defined VNFC priority and event type priority, successively trigger the processing of N number of life cycle events.
14. a kind of virtual network function manager VNFM, which is characterized in that the VNFM includes: acquiring unit, the first triggering list Member;
The acquiring unit, for obtaining the concurrent N number of life cycle events of the same virtual network function VNF, wherein N >= 2, N be integer;
First trigger unit, if for collision event group to be not present in N number of life cycle events, according to pre-defined Virtual network function component VNFC priority and event type priority, successively trigger the place of N number of life cycle events Reason, wherein the collision event group includes at least two life cycle events, and at least two life cycle events are directed toward same One VNFC.
15. VNFM according to claim 14, which is characterized in that the VNFM further include: the first discarding unit, the second touching Bill member;
First discarding unit, for obtaining the concurrent N number of life of the same virtual network function VNF in the acquiring unit After periodic event, if there is at least one set of collision event group in N number of life cycle events, at least one set of punching is abandoned Life cycle events in prominent event group, so that remaining life cycle events are directed in N number of life cycle events Different VNFC;
Second trigger unit, for successively triggering institute according to VNFC priority predetermined and event type priority State the processing of remaining life cycle events.
16. VNFM according to claim 15, which is characterized in that the VNFM further include: the first determination unit;
First determination unit, for obtaining the concurrent N number of life of the same virtual network function VNF in the acquiring unit After periodic event, effective life cycle events in N number of life cycle events are determined, wherein effective Life Cycle Phase event is to meet the service condition of hardware resource and virtual resource, and its parameter meets virtual network function descriptor VNFD's Defined life cycle events;
First discarding unit, if being specifically used for having at least one set of collision event group in effective life cycle events, The life cycle events at least one set of collision event group are abandoned, so that remaining in N number of life cycle events Life cycle events are directed to different virtual network function component VNFC.
17. VNFM according to claim 16, which is characterized in that the VNFM further include: the first transmission unit;
First discarding unit is specifically used for:
All life cycle events at least one set of collision event group are abandoned, so that N number of life cycle events In remaining life cycle events be directed to different virtual network function component VNFC;
First transmission unit virtualizes composer NFVO to network function for sending first message, so that described NFVO notifies the processing of all life cycle events at least one set collision event group described in administrator to malfunction, and,
Second message is sent to the sender of all life cycle events at least one set of collision event group, so that institute It states sender and state confirmation is carried out to the VNF, and send new life cycle events.
18. VNFM according to claim 16, which is characterized in that first discarding unit is specifically used for:
According to the priority of the initiator of life cycle events, every group of collision event at least one set of collision event group is determined The Dai-ichi Mutual Life Insurance periodic event of highest priority in group;
All life cycle events in every group of collision event group in addition to the Dai-ichi Mutual Life Insurance periodic event are abandoned, so that It obtains remaining life cycle events in N number of life cycle events and is directed to different VNFC.
19. VNFM according to claim 16, which is characterized in that first discarding unit is specifically used for:
According to the receiving time of life cycle events, determine at least one set of collision event group in every group of collision event group most The second life cycle events being received afterwards;
All life cycle events in every group of collision event group in addition to the second life cycle events are abandoned, so that institute It states remaining life cycle events in N number of life cycle events and is directed to different VNFC.
20. VNFM according to claim 16, which is characterized in that first discarding unit is specifically used for:
According to VNFC priority predetermined, determine preferential in every group of collision event group at least one set of collision event group The highest third life periodic event of grade;
All life cycle events in every group of collision event group in addition to third life periodic event are abandoned, so that institute It states remaining life cycle events in N number of life cycle events and is directed to different VNFC.
21. the described in any item VNFM of 4-20 according to claim 1, which is characterized in that first trigger unit is specifically used for:
According to VNFC priority predetermined, the priority of N number of life cycle events is determined, obtain N number of life First trigger sequence of periodic event;
According to event type priority predetermined, it is identical extremely to determine in N number of life cycle events that there are priority Few two life cycle events, determine the priority of at least two life cycle events, obtain N number of life cycle thing Second trigger sequence of part;
According to second trigger sequence, the processing of N number of life cycle events is successively triggered.
22. the described in any item VNFM of 4-20 according to claim 1, which is characterized in that the VNFM further include: receiving unit, Adding unit;
The receiving unit, for obtaining the concurrent N number of life cycle of the same virtual network function VNF in the acquiring unit Before event, the concurrent N number of life cycle events of the same VNF are received;
The adding unit, for N number of life cycle events to be added in event queue;
The acquiring unit, is specifically used for:
N number of life cycle events are obtained from the event queue;
The adding unit, is also used to:
It, will if the receiving unit receives new life cycle events in the treatment process of N number of life cycle events The new life cycle events are added in the event queue.
23. VNFM according to claim 22, which is characterized in that the acquiring unit is specifically used for:
If preceding primary concurrent life cycle events are disposed, or, the default triggered time is reached, or, in the event queue The quantity of life cycle events reach preset value, obtain the concurrent N number of life cycle thing of the same virtual network function VNF Part.
24. VNFM according to claim 23, which is characterized in that the VNFM further include: the second determination unit, third are true Order member terminates unit, the second discarding unit, the second transmission unit;
Second determination unit is used in first trigger unit according to VNFC priority predetermined and event type Priority, before the processing for successively triggering N number of life cycle events, if currently having the life cycle events handled, It determines in N number of life cycle events with the presence or absence of the life cycle thing to conflict with the life cycle events handled Part;
The third determination unit, if determining in N number of life cycle events exist and institute for second determination unit The life cycle events of the life cycle events conflict handled are stated, determine the described and life cycle thing handled Whether the life cycle events of part conflict are emergency;
The termination unit, if determining that the described and described life cycle events handled rush for the third determination unit Prominent life cycle events are emergencies, terminate the life cycle events being presently processing;
Second discarding unit, if determining the described and life cycle thing handled for the third determination unit The life cycle events of part conflict are not emergencies, abandon the life to conflict with the life cycle events handled Order periodic event;
Second transmission unit, for the life cycle events to conflict with the life cycle events handled Sender send message, notify the life cycle that conflicts with the life cycle events handled described in described sender Event has abandoned.
25. VNFM according to claim 24, which is characterized in that first trigger unit is specifically used for:
If currently without the life cycle events handled, or,
If in the life cycle events for currently having the life cycle events handled, and being presently processing there is no with it is described The life cycle events of the life cycle events conflict handled, or,
If in the life cycle events for currently having the life cycle events handled, and being presently processing exist with it is described just It is described to conflict with the life cycle events handled in the life cycle events of the life cycle events conflict of processing Life cycle events are emergencies,
According to VNFC priority predetermined and event type priority, the place of N number of life cycle events is successively triggered Reason.
26. according to the described in any item VNFM of claim 23-25, which is characterized in that the VNFM further include: judging unit;
The judging unit, for preferential according to VNFC priority predetermined and event type in first trigger unit Grade, before the processing for successively triggering N number of life cycle events, if currently having the life cycle events handled, judgement Whether N number of life cycle events will affect the life cycle events handled;
First trigger unit, if will not influence described be presently processing specifically for N number of life cycle events Life cycle events successively trigger N number of life cycle according to VNFC priority predetermined and event type priority The processing of event.
CN201580059258.1A 2015-03-26 2015-03-26 A kind of processing method and VNFM of life cycle events Active CN107155403B (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2015/075159 WO2016149945A1 (en) 2015-03-26 2015-03-26 Life cycle event processing method and vnfm

Publications (2)

Publication Number Publication Date
CN107155403A CN107155403A (en) 2017-09-12
CN107155403B true CN107155403B (en) 2019-11-29

Family

ID=56977759

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201580059258.1A Active CN107155403B (en) 2015-03-26 2015-03-26 A kind of processing method and VNFM of life cycle events

Country Status (2)

Country Link
CN (1) CN107155403B (en)
WO (1) WO2016149945A1 (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10608907B2 (en) 2018-05-11 2020-03-31 At&T Intellectual Property I, L.P. Open-loop control assistant to guide human-machine interaction
CN109450715B (en) * 2018-12-26 2022-01-25 新华三技术有限公司 Message processing method and device
CN109714239B (en) * 2018-12-27 2021-04-27 新华三技术有限公司 Management message issuing method, VNFM (virtual network management frequency) equipment and server
CN113010012A (en) * 2021-03-09 2021-06-22 湖北亿咖通科技有限公司 Method for configuring virtual character in vehicle-mounted entertainment system and computer storage medium
CN113778711B (en) * 2021-09-09 2024-04-16 恒安嘉新(北京)科技股份公司 Event processing method and device, electronic equipment and storage medium

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8887227B2 (en) * 2010-03-23 2014-11-11 Citrix Systems, Inc. Network policy implementation for a multi-virtual machine appliance within a virtualization environtment
CN102710488B (en) * 2012-06-07 2015-02-18 北京邮电大学 Method for realizing virtual network mapping

Also Published As

Publication number Publication date
WO2016149945A1 (en) 2016-09-29
CN107155403A (en) 2017-09-12

Similar Documents

Publication Publication Date Title
EP3461087B1 (en) Network-slice resource management method and apparatus
CN107155403B (en) A kind of processing method and VNFM of life cycle events
EP3455728B1 (en) Orchestrator for a virtual network platform as a service (vnpaas)
CN105808316B (en) Virtual network loading method and device
EP3200393B1 (en) Method and device for virtual network function management
US20220004410A1 (en) Method For Deploying Virtual Machine And Container, And Related Apparatus
KR20210020084A (en) Alarm method and device
CN108370328B (en) Management method and device of NFV MANO policy descriptor
CN107689882A (en) The method and apparatus of service deployment in a kind of virtualization network
CN112153700A (en) Network slice resource management method and equipment
CN106663012B (en) Hardware acceleration method and related equipment
CN107769932B (en) Charging method, device and system
CN106302074A (en) A kind of moving method virtualizing network function VNF and device
CN107251486A (en) A kind of method for extending linkage, apparatus and system
CN112583615B (en) VNF instantiation method, NFVO, VIM, VNFM and system
CN109358967A (en) A kind of ME platform APP instantiation moving method and server
CN103677983B (en) The dispatching method and device of application
WO2016197301A1 (en) Policy coordination method and apparatus in nfv system
CN108696373B (en) Virtual resource allocation method, NFVO and system
CN106464541B (en) Fault handling method and equipment based on network function virtualization
CN112448833B (en) Multi-management-domain communication method and device
CN107426109A (en) A kind of traffic scheduling method, VNF modules and flow scheduling server
CN107408058B (en) Virtual resource deployment method, device and system
US20240036926A1 (en) Resource Allocation Method, Electronic Device and Storage Medium
CN109218259B (en) License management method and device, APPLM functional entity and computer readable storage medium

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