A kind of sending method and device of License
Technical field
This application involves technical field of virtualization more particularly to the sending methods and device of a kind of License.
Background technique
October in 2012 13 brand operators (including AT&T, Verizon, VDF, DT, T-Mobile, BT,
Telefonica etc.) joint initiation establishment ETSI (European Telecommunications Standards
Institute, European Telecommunication Standardization Association) and NFV ISG (Industry Specification Group, referred to as: NFV row
Industry specification group), target is the virtualization technology based on modernization, and the network equipment can be based on common hardware, such as measured
Large capacity service area, storage and Ethernet, in a software form, Long-range Automatic Deployment is in unification for the application that different suppliers provide
On cloud virtualized infrastructure, to reduce cost, improves efficiency, increases quick ability.
In network function virtualization (Network Functions Virtualization, NFV) environment, each function
The management and use to virtual resource are realized by machine machine interface between example.Further, NFV example is by by network element software
Change, may operate in network element on various general hardware, and by MANO (Management and orchestration,
Management and layout) system, by network element deployment process automation;Operator can need quickly dynamically to carry out according to business scalable
Hold.
The use of usual software needs authorization, and currently used license method is real by licensing (License)
Now permit.The License is a kind of mode of software marketing, is carried out according to characteristic, version, capacity and using modes such as times
It licenses, such as the respective right promised to undertake of customer acquisition equipment vendor and the License certificate of authority.
One License is used for multiple control items, and each control item can be understood as a kind of function, for example,
Control mobile phone in phone software License control item include: outbound calling, receive calls, caller identification and calling turn
Move etc..In order to realize the use to these control items, mobile phone manufacturer needs to pre-purchase the License of the phone software,
Similarly, a VNF example needs to pre-purchase different Licenses and is just able to achieve controling and useing for various software functions.
Under NFV environment, License Management process needs to automate, License meeting between the VNF example of disaster tolerance networking
There is certain relevance, when some VNF example in networking breaks down, other VNF in networking need to share the generation
The function and business of the VNF example of failure.But it cannot achieve the resource of License in the existing administrative mechanism to License
It is shared, and then need to configure and be used to backup to the more License of VNF example, lead to the waste of License, for and
It cannot achieve sharing for load between VNF example with certain relevance, reduce the utilization rate of License resource.
Summary of the invention
This application provides the sending method of License a kind of and devices, to solve between different VNF examples
The association of License and sharing problem.
In a first aspect, this application provides the sending methods of licensing License a kind of, method includes the following steps:
First network equipment obtains the first request message for applying for License, and first request message includes the first virtualization
At least one control item function corresponding to the identity of network function VNF example and the License;According to the identity
Mark determines the incidence relation of the first VNF example;It is true according to the incidence relation and at least one described control item function
License needed for the fixed first VNF example;The License is sent to the first VNF example.Wherein, the pass
Connection relationship includes: active and standby mutual-aid relation and load sharing relationship.
The License sending method that present aspect provides, the association of the VNF example is determined by the identity of VNF example
Relationship, since License can be shared between the VNF example with incidence relation, so can permit the shared License
To the VNF example of request, to realize the License association between different VNF examples and share, reduce unnecessary
License waste, improves the utilization rate of License resource.
With reference to first aspect, in a kind of implementation of first aspect, if the incidence relation is active and standby mutual assistance pass
System, then needed for determining the first VNF example according to the incidence relation and at least one described control item function
License, comprising: the determining 2nd VNF example with the first VNF example with active and standby mutual-aid relation;Judge described second
Whether VNF example has applied for License, and the License meets shared condition;If it is, described in obtaining
License;If it is not, then first network equipment needs the License new for the first VNF example allocation.
In this implementation, in the case where active and standby mutual-aid relation, closed with the first VNF example with active and standby mutual assistance determining
After the VNF example of system, by obtaining the shared License, realizes License and be quickly shared.
With reference to first aspect, in another implementation of first aspect, if the incidence relation is load sharing
Relationship, then needed for determining the first VNF example according to the incidence relation and at least one described control item function
License, comprising:
Determine that sharing policy, the sharing policy include for each VNF example application one according to the load sharing relationship
A License, or be multiple one shared License of VNF example application, it include described in the shared License
All control item functions of multiple VNF examples;
If the sharing policy is for each one License of VNF example application, according to the first VNF example
Identity and at least one described control item function lookup matched License, and match described
License is as License needed for the first VNF example;
If the sharing policy is for multiple one shared License of VNF example application, from described shared
At least one control item function needed for License extracts the first VNF example, and according at least one control of the extraction
License needed for item function processed generates the first VNF example.
In this implementation, in the case where load sharing, the sharing mode of two kinds of License is configured, one is be every
A one License of VNF example application, another kind are realized for all one common License of VNF example application
License's is shared, shares to the greatest extent to realize License between the example of load sharing relationship.
With reference to first aspect, in another implementation of first aspect, described is determined according to the identity
The incidence relation of one VNF example, comprising: according to the identity, network service NS example and network service description template NSD
Determine the incidence relation of the first VNF example.Wherein, the incidence relation of each VNF example and processing capacity can be preparatory
It is stored in NSD information model, to the VNF for first network equipment or policy decision point PDP judgement transmission request message
The incidence relation of example.
With reference to first aspect, in another implementation of first aspect, the License includes License file
Or the authorization message in License, the License is sent to the first VNF example, comprising: by the License text
Part is sent to the first VNF example, alternatively, after the authorization message in the License is converted into message parameter, by institute
It states message parameter and is sent to the first VNF example.In addition, the License can also be a License identification information,
First VNF example is after obtaining the identification information, needed for obtaining it into first network equipment according to the content of the identification information
The License wanted.
With reference to first aspect, in another implementation of first aspect, the method also includes: acquisition is used to indicate
The instruction information that the first VNF example breaks down or migrates, the body indicated in information including the first VNF example
Part mark;Whether meet shared condition according to License corresponding to identity determination and the first VNF example;
If meeting the shared condition, License corresponding to the first VNF example is not discharged;Otherwise, described first is discharged
License corresponding to VNF example.
In this implementation, when with incidence relation, such as when the VNF example of active and standby mutual-aid relation is abnormal,
License will not be released, and be to continue with and continued to use to shared example, and real load sharing is realized.
With reference to first aspect, in another implementation of first aspect, the method also includes: described in storage
License;Shared resource pond is established according to the License, includes the pass of the first VNF example in the shared resource pond
Connection relationship;In the case where obtaining the instruction information for breaking down or migrating of the first VNF example, refresh the shared money
The incidence relation information of the first VNF example recorded in the pond of source.Wherein, the shared resource pond can be by Policy Enforcement Point
PEP is established, and realizes quick license and transmission to shared License.
With reference to first aspect, in another implementation of first aspect, the method also includes: obtain the second request
Message includes at least one needed for the identity and the 3rd VNF example of the 3rd VNF example in second request message
A control item function;According to the identity of the 3rd VNF example and at least one described control item function, judge described total
Whether enjoy in resource pool can be the 3rd VNF example allocation License;If it is not, then expanding the shared resource pond
Hold, the License needed for sending it to the 3rd VNF example after dilatation;If it is, determining the 3rd VNF example
License corresponding at least one control item function, and the License is sent to the 3rd VNF example.
Second aspect, this application provides the sending methods of another License, the described method comprises the following steps: obtaining
The first message from Policy Enforcement Point PDP is fetched, includes at least one control needed for the first VNF example in the first message
Item function;Whether judge in shared resource pond comprising at least one control item function needed for the first VNF example;If packet
Contain, it is determined that License corresponding at least one described control item function, and the License is sent to described first
VNF example.This method can be executed by Policy Enforcement Point PEP or other network equipments.
The method that present aspect provides, by establishing the shared resource pond of License, to the VNF example with incidence relation
License quickly permit and issue, the License realized between example shares to the greatest extent, reduce it is unnecessary
License waste, saves system resource.
In conjunction with second aspect, in a kind of implementation of second aspect, the method also includes: if do not included,
Dilatation is carried out to the shared resource pond;Optionally, a kind of method carrying out dilatation to the shared resource pond includes:
The instruction information for being used to indicate shared resource pond dilatation is generated, includes described first in the instruction information
At least one control item function needed for VNF example;The instruction information is sent to the PDP;It receives from the PDP's
License, the License are that at least one control item function institute according to needed for the first VNF example is true as the PDP
It is fixed;The License from PDP is added in the shared resource pond, to increase the control item function in shared resource pond
Energy.Furthermore it is also possible to the License of dilatation be obtained from other network elements, for example, directly obtaining from License catalog.
In conjunction with second aspect, in another implementation of second aspect, the method also includes: it establishes described shared
Resource pool, it is described to establish the shared resource pond, comprising: at least one second message from the PDP is obtained, it is each described
It include the License of a VNF example in second message;Count the License in all second messages;By the institute of statistics
The shared resource pond is formed by the License in the second message;Alternatively, by each second message
License, which merges, generates a shared License, and establishes the shared resource pond including the shared License.
In conjunction with second aspect, in another implementation of second aspect, the method also includes: described first
In the case that VNF example breaks down or migrates, judge in the shared resource pond and corresponding to the first VNF example
Whether License meets shared condition;If meeting the shared condition, do not discharge corresponding to the first VNF example
License;Otherwise, License corresponding to the first VNF example is discharged, and the association for refreshing the first VNF example is closed
It is information.
The third aspect, present invention also provides the sending device of License a kind of, which includes for executing above-mentioned
On the one hand the unit or module of the step in various implementations, further, the device include acquiring unit, processing unit and
Transmission unit etc..Specifically, which is configurable in first network equipment, and the first network equipment includes policy decision point
PDP, Policy Enforcement Point PEP and License catalogue etc..
Fourth aspect, the application also provide the sending device of another kind License, which includes for executing above-mentioned
The unit or module of step in the two various implementations of aspect, further, the device include acquiring unit, processing unit and
Transmission unit etc..Further, which can be only fitted in second network equipment, and second network equipment is held including strategy
Row point PEP and License catalogue etc..
5th aspect, the application provide a kind of network equipment, including transceiver, processor and memory, the processor
The program or instruction stored in the memory can be executed, to realize described in the various implementations of first aspect
The sending method of License.
6th aspect, the application also provide a kind of License and send system, which includes first network equipment and at least
One VNF example, the first network equipment is for realizing License's described in each implementation of above-mentioned first aspect
Sending method, the VNF example is used to send the first request message to first network equipment, and receives and come from first net
The License of network equipment.
7th aspect, present invention also provides a kind of computer storage medium, which can be stored with journey
Sequence, the program some or all of can be realized in each embodiment of sending method including License provided by the present application when executing
Step.
Eighth aspect, present invention also provides a kind of computer program products comprising instruction, when it is transported on computers
When row, so that the computer executes method and step described in above-mentioned various aspects.
The sending method and device of License provided by the present application, by establishing being total to for the VNF example with incidence relation
Resource pool is enjoyed, to realize that the License between different VNF examples is shared, then further according to determining shared License license point
The VNF example of dispensing request, improves the utilization rate of License resource.
In addition, when some VNF example is abnormal, such as when failure or migration, by the VNF for judging the failure or migration
Whether example has applied for License, and to License disassociation relationship in shared resource pond or is released according to court verdict
It puts, to guarantee the validity of License in shared resource pond.Wherein, exist when between the VNF example for judging and being abnormal
When other VNF examples with incidence relation, the shared License is not discharged, and being to continue with for License to be supplied to has
Other VNF examples of incidence relation use, to realize real load sharing, avoid applying reallocating newly again
License causes unnecessary License to waste.
Detailed description of the invention
In order to illustrate more clearly of the technical solution of the application, letter will be made to attached drawing needed in the embodiment below
Singly introduce, it should be apparent that, for those of ordinary skills, without any creative labor,
It is also possible to obtain other drawings based on these drawings.
Fig. 1 is a kind of schematic diagram of NFV framework provided by the embodiments of the present application;
Fig. 2 is a kind of logical abstraction figure of License Management provided by the embodiments of the present application;
Fig. 3 is the logical abstraction figure of another License Management provided by the embodiments of the present application;
Fig. 4 is the logical abstraction figure of another License Management provided by the embodiments of the present application;
Fig. 5 is a kind of relation schematic diagram in disaster tolerance group VNF example off the net provided by the embodiments of the present application;
Fig. 6 is a kind of flow diagram of License sending method provided by the embodiments of the present application;
Fig. 7 is the process signal of the License sending method under a kind of active and standby mutual-aid relation provided by the embodiments of the present application
Figure;
Fig. 8 is a kind of schematic diagram in the shared resource pond of active and standby mutual-aid relation provided by the embodiments of the present application;
Fig. 9 is the process signal of the License sending method under a kind of load sharing relationship provided by the embodiments of the present application
Figure;
Figure 10 is a kind of schematic diagram in the shared resource pond of load sharing relationship provided by the embodiments of the present application;
Figure 11 is the schematic diagram in the shared resource pond of another load sharing relationship provided by the embodiments of the present application;
Figure 12 is the flow diagram of another kind License sending method provided by the embodiments of the present application;
Figure 13 is a kind of structural schematic diagram of License sending device provided by the embodiments of the present application;
Figure 14 is a kind of hardware structural diagram of the network equipment provided by the embodiments of the present application.
Specific embodiment
Technical solution in embodiment in order to enable those skilled in the art to better understand the present invention, and make of the invention real
The above objects, features, and advantages for applying example can be more obvious and easy to understand, with reference to the accompanying drawing to the technology in the embodiment of the present invention
Scheme is described in further detail.
Before the technical solution explanation to the embodiment of the present invention, first in conjunction with attached drawing to the applied field of the embodiment of the present invention
Scape is illustrated.Referring to Fig. 1, a kind of schematic diagram of NFV framework provided by the embodiments of the present application.The NFV framework includes NFV ISG
A series of network elements of definition, specifically, network element involved in the NFV framework and its function are as follows:
OSS (Operations Support Systems, Operation Support System) or BSS (Business Support
System, business support system) include traditional management function, and for virtualization applications realize with composer (English:
Orchestrator it) interacts, to complete the operation and maintenance to network.
NFVO (NFV Orchestrator, NFV composer) major function is the network service realized in provider domain
The infrastructure layer of (Network Service, NS) life cycle management (such as deployment/dilatation/capacity reducing/offline) and NFV
The function such as (Network Functions Virtualization Infrastructure, NFVI) resource layout, tactical management
Energy;Wherein, NFVO decomposites the demand to each VNF, cooperation VNF management according to NS description template (NS Descriptor, NSD)
The deployment of (VNF Management, VNFM) realization VNF.
VNFM major function is the life cycle management realized to VNF, such as deployment/dilatation/capacity reducing/offline automation energy
Power;VNFM decomposites the demand to virtual resources such as virtual machines according to template and VNF capacity requirement, with Orchestrator,
The instantiation of VNF is completed in VIM cooperation.
VIM (Virtualised Infrastructure Manager, Virtual base facility resource manager) main function
It can be the management and monitoring realized to entire infrastructure layer resource (such as calculating, storage, Internet resources).
EM (Element Management, NE management) or EMS (Element Management System, network element
Management system) major function is to be managed to conventional network elements, such as manage each VNF example etc..
NFVI (infrastructure layer of Network Functions Virtualization Infrastructure, NFV)
It may include (Virtual Computing) in NFVI specifically for the infrastructure construction to NFV,
Virtualisation Layer and hardware resource (Hardware resources).
The core concept of NFV technology is network function in logic to decouple away among example hardware equipment, with
Its network construction cost that basic telecommunication network operator can be greatly reduced and operation cost.NFV example passes through net
Meta software may operate in network element on various general hardware;It is and by MANO system, network element deployment process is automatic
Change, operator can need quickly dynamically to carry out scalable appearance according to business.
Further include in the License Management of NFV framework PDP (Policy Decision Point, policy decision point),
The functions moulds such as PEP (Policy Enforcement Point, Policy Enforcement Point) and License catalog (licensing catalogue)
Block, wherein PDP is for generating scheduling strategy, such as determines whether are the VNF example with incidence relation and each VNF example
License is applied for and the License can share.PEP is used to execute the scheduling strategy of PDP and obtains License.Institute
License catalog is stated for storing the License of all VNF examples, and needed for the VNF example newly to apply issues it
License。
According to above-mentioned analysis and introduction to NFV framework, from PDP, PEP and License catalog's of License
The NFV framework of reference can be taken out following 4 kinds of models, as shown in Figures 2 to 4 by angle.
A kind of logical abstraction figure of License Management is shown referring to fig. 2, includes NFVO and at least one in the abstract graph
VNF example, wherein including the functions such as PDP, PEP and License catalog in the NFVO, for VNF example
License is managed and permits.In addition, it is optional, PDP, PEP and catalogue can also be separately positioned on different network elements
In.Such as shown in Fig. 3, by PDP and License catalog configuration in OSS, the management function to License is realized, it will
PEP is configured in MANO, is distributed corresponding License for implementation strategy and license and is given VNF example.Or as shown in figure 4,
By PDP configuration in NFVO, by functional configuration such as PEP, company-information and License catalog in License Manager.This
Outside, different structures can also be divided to the network element in NFV framework according to demand, and is not limited to three kinds of sides provided in this embodiment
Formula not limits this application.
In order to realize association between different VNF examples and shared in each embodiment of the application, it is thus necessary to determine that a VNF
Whether have incidence relation between example and others VNF example, the incidence relation having between VNF example is described below.
The first relationship: active and standby mutual-aid relation
The active and standby mutual-aid relation, or referred to as master-slave redundancy backs up, that is, includes that a main VNF example and one are standby
The VNF example of part, and one or more License is shared between the main VNF example and the VNF example of backup, and
Synchronization only has the License of main VNF example to come into force.
Second of relationship: load sharing relationship
The load sharing relationship refers in two or more VNF examples that each VNF example has one
License, each License can control or authorize multiple control items.Multiple VNF examples share out equally the business of system.Such as
All business of the fruit network system are indicated by total capacity, then under normal circumstances, each VNF example or each equipment
Processing capacity=total capacity/equipment number.When wherein some VNF example breaks down or migrates, service cannot be provided
When, other VNF examples with load sharing relationship share the control item of the VNF example, at this time remaining VNF example
Processing capacity=total capacity/(equipment number -1).
In load sharing relationship, it is known as Pool networking there are also a kind of special relationship, the Pool networking relationship can be with
It is interpreted as, under normal circumstances, N number of VNF example or equipment form a pond, and equipment is worked in pond with load sharing mode, and one
When some VNF example of denier or equipment fault are failed, then its business is taken over by other available devices in pond.
As shown in figure 5, showing a kind of relation schematic diagram in disaster tolerance group VNF example off the net, including above-mentioned independence (English
Text: standalone) VNF example, such as VNF1 and VNF4 further includes the VNF2-1 and VNF2- with active and standby mutual-aid relation
2, VNF3-1 and VNF3-2 with load sharing relationship.Wherein, VNF2 and load sharing relationship with active and standby mutual-aid relation
VNF3 between also interconnect.By establishing different incidence relations to different VNF examples, play the role of redundancy backup,
To guarantee the safety and stability of communication network.
The technical solution of the application will be provided with the VNF of the incidence relation based on the incidence relation between above-mentioned VNF example
License corresponding to example forms a resource pool, and realizes that License's is shared.To License policy enforcement procedure
In, according to the incidence relation of the VNF example of application, the License whether again operation such as application or release is determined, to reduce
The waste of License.Specifically, for above-mentioned Fig. 2 into Fig. 4 difference NFV framework abstract model, to provided by the present application
License sending method is described in detail.
Embodiment one
In the present embodiment, be applied to technology scene shown in Fig. 2, the scene include PDP, PEP, License catalog,
At least one VNF example, wherein PDP, PEP and License catalog is configured in first network equipment, example
In NFVO equipment, the sending method of License is included the following steps:
As shown in fig. 7, step 101: first network equipment obtains the first request message for applying for License, described
First request message include the first VNF example identity and the License corresponding at least one control item function.
Wherein, the identity is used for the first VNF example of unique identification, and each VNF example is one corresponding
Identity, such as ID.First request message is for applying for that first network equipment distributes License.Optionally, described
One request message can directly have the initiation of the first VNF example, other network entities, such as NFVO can also be entrusted to replace first
VNF example removes application License, not limits this present embodiment.
Step 102: the incidence relation of the first VNF example is determined according to the identity.Wherein, the association is closed
System includes: active and standby mutual-aid relation and load sharing relationship.
In one implementation, first network equipment determines that the association of the first VNF example is closed according to the identity
The process of system include: first network equipment according to the identity, network service (Network Service, NS) example and
Network service description template (NS Descriptor, NSD) determines the incidence relation of the first VNF example.
Since NSD is the presentation after network design/planning, and the incidence relation between VNF example is the network planning/design
As a result, therefore can determine the incidence relation of VNF example by NSD.Specifically, comprising multiple in the NSD information model
Ns Deployment Flavour (referred to as: NsDf), each NsDf represents the network topology knot under some network throughput
The processing capacity of structure and each VNF/PNF, the link processing ability etc. between network element.
Further, the incidence relation of the first VNF example can be indicated by the following table 1.
Table 1
Wherein, include following information in redundancy relationship group:
Table 2
Can be according in redundant group in PDP or PEP, whether VNF Profile belongs to same producer, and whether NE type
Consistent etc. condition determines whether the redundant group of isomery can share License.
Optionally, in another implementation, the information that first network equipment also passes through that the first VNF example reports determines
The incidence relation of first VNF example.For example, ES/EMS can obtain other during executing the business configuration to VNF example
Redundancy mutual-aid relation between network element, therefore ES/EMS can be by the information reporting of mutual-aid relation to OSS, or passes through on VNFM
NFVO is offered, so that first network equipment can obtain the incidence relation information of the first VNF example.
Step 103: needed for determining the first VNF example according to the incidence relation and at least one described control item function
License。
Specifically, if the incidence relation is active and standby mutual-aid relation, according to the incidence relation and described at least one
License needed for a control item function determines the first VNF example, comprising: determining and the first VNF example has active and standby mutual
Help the 2nd VNF example of relationship;Judge whether the 2nd VNF example has applied for License, and the License meets
Shared condition, it can it is shared, if it is, obtain the License, if it is not, then need for the first VNF example allocation it is new
License.
Optionally, if the incidence relation is load sharing relationship, according to the incidence relation and described at least one
License needed for a control item function determines the first VNF example, comprising:
Determine that sharing policy, the sharing policy include for each VNF example application one according to the load sharing relationship
A License, or be multiple one shared License of VNF example application, it include described in the shared License
All control item functions of multiple VNF examples.
If the sharing policy is for each one License of VNF example application, according to the first VNF example
Identity and at least one described control item function lookup matched License, and match described
License needed for License is determined as the first VNF example;
If the sharing policy is for multiple one shared License of VNF example application, from described shared
At least one control item function needed for License extracts the first VNF example, and according at least one control of the extraction
License needed for item function processed generates the first VNF example.
Step 104: the License is sent to the first VNF example.
If License needed for the first VNF example can share in step 103, the shared License is obtained,
For example, obtaining from shared resource pond, the License is then distributed into the first VNF example.
Wherein, the License includes authorization message, the identification information etc. in License file or License, such as
Fruit is License file, then the License is sent to the process of the first VNF example are as follows: first network is set in step 104
It is standby that the License file is sent to the first VNF example.First VNF example is downloaded after receiving the License file, so
The License of downloading is loaded and used again afterwards.
Another implementation includes, if the shared License is the authorization message in License, first
The process of network equipment transmission License are as follows: the authorization message in the License is first converted into message parameter, then again
The message parameter is sent to the first VNF example.In this case, first network equipment only sends conversion
Authorization message in License gives the first VNF example, avoids sending or distributing a big License file, only sends message
Parameter has saved transfer resource, and transmission speed is fast, the time is short.
Optionally, further include a kind of implementation: the shared License be a License identification information, first
The identification information is sent to the first VNF example by the network equipment, after the first VNF example receives the identification information, according to this
The content of identification information obtains corresponding License into the first network equipment.
In the present embodiment, first network equipment specifically permit or send License to the mode of the first VNF example include but
Above-mentioned three kinds are not limited to, can also include other possible implementations, the present embodiment not limits this.
License sending method provided in this embodiment, the pass of the VNF example is determined by the identity of VNF example
Connection relationship, since License can be shared between the VNF example with incidence relation, so the shared License can be permitted
, to realize the License association between different VNF examples and share, it can reduce unnecessary to the VNF example of request
License waste, improves the utilization rate of License resource.
Optionally, in the step 102 of above-described embodiment: determining that the association of the first VNF example is closed according to the identity
Before system, this method further include: judge whether the first VNF example has applied for License and the License is full
The shared condition of foot;If having applied for that the License of License and this application can share, execute described according to
Identity determines that the step of incidence relation of the first VNF example, (including step 102 was to step 104);If it is not, then determining one
A new License, and the new License is sent to the first VNF example.
Further, first network equipment determines that the process of a new License includes: to obtain the first VNF reality
At least one control item information required for example;The new License is determined according at least one described control item information, and
The new License supports at least one control item function required for the first VNF example.Specifically, described first
The network equipment can obtain the new License from License catalog, and the new License is licensed to institute
State the first VNF example.For example, first network equipment obtains needed for the first VNF example from License catalog
Then the License is sent to the first VNF example of requesting party by License.
In addition, optional, first network equipment should also after obtaining new License in License catalog
New License is stored in shared resource pond, in case license uses when next first VNF example request.
In the present embodiment mode, there is the shared resource pond of the VNF example of incidence relation by establishing, to realize difference
License between VNF example is shared, and the VNF example of request is then distributed to further according to determining shared License license,
Improve the utilization rate of License resource.
In the present embodiment, the method also includes how using shared when the first VNF example breaks down or migrates
The step of License in resource pool, specifically, method further include:
Step 105: first network equipment, which obtains, is used to indicate the instruction letter that the first VNF example breaks down or migrates
Breath, the identity indicated in information including the first VNF example.
Step 106: determining whether meet with License corresponding to the first VNF example according to the identity
Whether shared condition judges in shared resource pond comprising sharable License needed for the first VNF example.
Step 107: if meeting the shared condition, not discharging License corresponding to the first VNF example;
Otherwise, License corresponding to the first VNF example is discharged, while refreshing the incidence relation information in shared resource pond.
Method provided in this embodiment should by judgement when some VNF example is abnormal, such as when failure or migration
Whether failure or the VNF example of migration have applied for License, and are released according to court verdict to License in shared resource pond
Incidence relation or release, to guarantee the validity of License in shared resource pond.Wherein, when judgement be abnormal
Between VNF example exist with incidence relation other VNF examples when, do not discharge the shared License, and be to continue with by
License is supplied to the use of other VNF examples with incidence relation, to realize real load sharing, avoids again
The new License of application reallocation, causes unnecessary License to waste.
Optionally, method provided in this embodiment further include: dilatation is carried out to shared resource pond.Specifically, the dilatation
The step of it is as follows:
First network equipment obtains the second request message, includes the identity of the 3rd VNF example in second request message
At least one control item function needed for mark and the 3rd VNF example.
According to the identity of the 3rd VNF example and at least one described control item function, the shared resource pond is judged
In whether can be the 3rd VNF example allocation License, that is, judge the control of the License stored in current shared resource pool
Item function processed whether include the 3rd VNF example request at least one control item function.
If not including, need to carry out the shared resource pond dilatation, a kind of method of dilatation includes: PEP to PDP
The instruction information for being used to indicate shared resource pond dilatation is sent, includes that the 3rd VNF example needs to expand in the instruction information
At least one the control item function of holding.PDP receives the instruction information, and as needed the control item of dilatation from License
License needed for obtaining the 3rd VNF example in catalog, and the License is sent to PEP, PEP receives the License
Afterwards, it is added in shared resource pond, the License needed for sending it to the 3rd VNF example after dilatation;If packet
It includes, it is determined that License corresponding at least one control item function of the 3rd VNF example, and the License is sent out
Give the 3rd VNF example.
In the present embodiment, by carrying out dilatation to more than the control item stored in shared resource pond, and then increase shared
The License of resource pool improves the utilization rate in shared resource pond, and works as in these shared License and occur some
When VNF example breaks down, the License corresponding to it can be distributed to other VNF examples with mutual-aid relation, realized
License's shares and shares between each example.
Embodiment two
Method provided in this embodiment can be applied to above-mentioned technology scene as shown in Figure 3, the NFV that PEP is separated with PDP
Framework, wherein PDP and License catalog can be configured in OSS or NFVO, PEP can be configured in MANO or
In person's License Management device, specifically as shown in fig. 7, this method comprises:
Step 201:PDP obtains the first request message of VNF2-1 example request application License, and first request disappears
Identity in breath including VNF2-1 example and at least one control item function needed for it.
Optionally, the VNF2-1 example directly can initiate first request message to PDP, can also be by other
Network element, such as NFVO replace VNF2-1 example to go to send the first request message of application License.
Wherein, when VNF2-1 is instantiated to PDP application License, it should be noted that in each embodiment of the application,
VNF example can according to specific embodiment instantiate it is forward and backward, send the first request message in the process, the application refuses
Limitation.In addition, triggering VNF2-1 example initiation License request message can be NFVO or VNFM etc., the application couple
This is not limited.
Step 202:PDP receives first request message, judges that it is according to the identity of the VNF2-1 example
The no License for having applied for License and the application can share.
Step 203: if it is not, then needing for one new License of VNF2-1 example allocation.
Detailed process includes: the incidence relation that PDP determines VNF2-1 example according to NSD and NS example.Specifically, judgement should
VNF2-1 example is active and standby mutual-aid relation or load sharing relationship.If it is determined that being between VNF2-2 example and VNF2-1 example
Active and standby mutual-aid relation, but VNF2-2 example does not create currently or cannot share License according to the two regular examples, then
It needs for one new License of VNF2-1 example allocation.
Further, the process that new License is distributed in step 203 includes: that PDP is obtained required for VNF2-1 example
At least one control item function determines according at least one described control item function and supports these control item function services
License, and the License is obtained from License catalog.Wherein, it is stored in advance in the License catalog
The License of all control item functions in network.
The message for carrying the new License is sent to PEP by step 204:PDP, includes VNF2- in the message
At least one control item function needed for the identity and/or VNF2-1 example of 1 example.
The new License is sent to VNF2-1 example by step 205:PDP.
Wherein, the mode for sending License includes following at least two mode: a kind of mode is: PDP is by License
File is sent to the VNF2-1 example, alternatively, another way, the authorization message in the License is converted into disappearing by PDP
Parameter is ceased, these message parameters are then sent to VNF2-1 example again.
Above step 202 to step 205 be PDP to the application of VNF2-1 example and distribute new License process (letter
Claim: process 1), judge whether VNF2-1 example has applied for License in above-mentioned steps 202, and the License can be with
It further include the method and step of following process 2 when shared.
Step 206: if VNF2-1 example has applied for License, and the License can share, then according to NSD
The incidence relation of VNF2-1 example is determined with NS example information.
PDP determines VNF2-1 example and VNF2-2 example according to the identity of VNF2-1 example, NSD and NS example information
Between be active and standby mutual assistance relationship, and VNF2-1 example and VNF2-2 example share License-2.
Step 207:PDP is sent to the message that VNF2-1 example shares License-2 with VNF2-2 example is carried
PEP, and notify PEP, it is active and standby mutual-aid relation between VNF2-1 example and VNF2-2 example.
Step 208:PEP receives the information, and establishes shared resource pond according to License-2, in the shared resource pond
License-2 is shared including VNF2-1 example and VNF2-2 example, and is the information such as active and standby mutual-aid relation between the two examples.
As shown in figure 8, for the schematic diagram in the shared resource pond established.Information recorded in the shared resource pond includes: 1.
Shared License-2;2. sharable example, VNF2-1 example and VNF2-2 example;3. present mode, active and standby mutual-aid relation
Etc. information.
The shared License-2 is sent to VNF2-1 example by step 209:PEP so that VNF2-1 example according to
The content of License-2 carries out authorization control to control item function.
Optionally, in step 209, PEP also replys a sound to PDP after receiving the License shared information from PDP
Answer message.
Step 210: when VNF2-1 example or VNF2-2 example are abnormal, such as termination (English: termination)
When, instruction information can be sent to PDP, include the identity of requesting party VNF example in the instruction information.Wherein, the hair
Raw exception includes that VNF example breaks down or migrates.It is abnormal in the present embodiment with VNF2-1 example in order to carry out
Explanation.
Step 211:PDP receives the instruction information, and judges whether VNF2-1 example has applied for License and institute
The License for stating application can share.
Step 212: if so, License-2 corresponding to such as VNF2-1 example can be shared with VNF2-2 example, then
The shared License-2 is not discharged, because the License-2 can continue to be used by VNF2-2 example, but needs to refresh
The shared record in shared resource pond, such as record VNF2-1 example are abnormal, and no longer share License- with VNF2-2 example
2, release the binding relationship between two examples.
Wherein, release License described in the embodiment of the present application is it is to be understood that be returned to License for the License
It is that subsequent allocations are used to other examples in catalog;Alternatively, the License is returned to supplier, so that being released with this
VNF example corresponding to the License put does not use.
VNF2-1 example is abnormal and cannot share the message of License-2 or instruction is sent to by step 213:PDP
PEP。
Step 214:PEP receives the message or instruction and updates information in shared resource pond.
Wherein, in above-mentioned steps 212, if it is determined that VNF2-1 example does not share License, then VNF2-1 example is discharged
This do not share License because will not influence other examples using License after the shared License of release, and save
About certain memory space.
Optionally, when VNF2-1 example is abnormal, which can be rebuild, such as
The healing stage rebuilds VNF2-1 example later and the process of above-mentioned steps 207 to step 210 (i.e. process 2) can be performed, so as to
New License is obtained, while License resource pool refreshes the new License shared information.
A kind of License sending method under active and standby mutual-aid relation is present embodiments provided, by establishing shared resource
Pond, so that can continue to make with its another VNF example with active and standby mutual-aid relation when a VNF example is abnormal
With the License of the VNF example of the exception, utmostly sharing for License between VNF example is realized, is reduced unnecessary
License waste.
Embodiment three
Method provided in this embodiment can be applied in the NFV framework that PEP is separated with PDP, wherein PDP and License
Catalog can be configured in the same network element, such as in OSS or NFVO, PEP can be configured in License Management
In device, such as MANO.The difference between the present embodiment and the second embodiment lies in that the present embodiment is the VNF reality for load sharing relationship
The association of License and shared between example, specifically as shown in figure 9, this method comprises:
Step 301:PDP obtains the first request message, includes the identity mark of VNF3-1 example in first request message
Know and at least one control item function needed for VNF3-1 example.
Optionally, PDP can obtain first request message by NFVO application License.
Step 302:PDP receives first request message, according to the identity of the VNF3-1, NSD, NS example etc.
Information judges whether it has load sharing relationship.
Step 303: if it is load sharing relationship, then judging whether VNF3-1 example is to apply for License for the first time.
Step 304: if it is applying for the first time, then control needed for PDP sends VNF3-1 example to License catalog
The information of function, then PDP License needed for obtaining the VNF3-1 example in License catalog, such as
License-3。
Optionally, the identity for the License-3 and VNF3-1 example that PDP will acquire, the message such as incidence relation hair
PEP is given, so that PEP can establish the shared resource pond of License-3 according to these information.
The License-3 is sent to VNF3-1 example by step 305:PDP.
Step 306: if VNF3-1 example is not to apply for License for the first time, being determined according to the load sharing relationship
Sharing policy determines that VNF3-1 example shares License using which kind of sharing mode.
Specifically, following two sharing mode is provided in the present embodiment.
Mode one: the License of preparatory each VNF example application oneself, PDP control according to needed for each VNF example
Item function is one License of each VNF example allocation in License catalog, and these License are stored
In shared resource pond.
Mode two: a big License, the License are established for control item function needed for all each VNF examples
For controlling all control item functions of the multiple VNF example, and it is shared by multiple VNF examples.
It realizes that License's is shared if it is employing mode one, thens follow the steps 307a: then according to the body of VNF3-1 example
Part mark and the matched License of at least one described control item function lookup, and by the License to match
License needed for being determined as VNF3-1 example.The License for referring to and being prestored in the shared resource pond that matches, with
And the information such as control item function possessed by the License are identical as License needed for the VNF3-1 example, or
The License for applying and storing for it in advance in License needed for VNF3-1 example, that is, shared resource pond.
In the present embodiment, PDP combination NSD and NS example information determines between VNF3-1 example and VNF3-2 example it is negative
Lotus shares relationship, and License needed for determining VNF3-1 example is the License-3 in shared resource pond, VNF3-2 example
Required License is the License-3 ' in shared resource pond, and by VNF3-1 example and VNF3-2 example sharing mode are as follows:
The information such as License-3 and License-3 ' are sent to PEP, so that PEP establishes the shared resource pond of License.
It realizes that License's is shared if it is employing mode two, thens follow the steps 307b: being not required to apply for new License,
At least one control item function needed for extracting VNF3-1 example from the shared License, and the control that these are extracted
Item function processed is generated corresponding to License needed for VNF3-1 example, then the License is licensed to VNF3-1 example and is used.
For example, the License shared described in mode two includes 100 control item functions, VNF3-1 example application
It only include 10 control item functions in License, and this 10 control item functions are comprised in 100 shared control item function
Among energy, then from 10 control item functions needed for extraction VNF3-1 example in this 100 control item functions, and this 10 are controlled
Item function processed generates a License, and the License is sent to VNF3-1 example.
Step 308: establishing the shared resource pond of License-3 and/or License-3 ', as shown in FIG. 10 and 11, VNF3-
It is load sharing relationship between 1 example and VNF3-2 example, and shares License-3 or License-3/3 '.
Step 309: License needed for the VNF3-1 example is sent to VNF3-1 example.Specific license method
Identical as the mode of previous embodiment one and embodiment two, this embodiment is not repeated.
Optionally, the above method further include: PEP replys the shared response message of License to PDP, so that in subsequent mistake
Cheng Zhong, PEP can carry out authorization control based on License sharing policy.
At this point on the authentication control method of mode one and mode two, can slightly have difference: for example, for mode one:
Each sub- License in resource pool has the right to use of priority requisition, i.e. the VNF example of first to file License first obtains and makes
With license.When there is multiple VNF examples all to apply for License, the total amount of the License of these applications may be more than shared money
The License stored in the pond of source, at this point, first network equipment can determine that application is more than shared resource pond according to request message
License plussage and its corresponding VNF example, then further according to License plussage to the dilatation of shared resource pond.
Such as PDP is according to control item function included in the request message of each VNF example, it is determined whether carries out to shared resource pond
Dilatation.
For mode two: can be whole be managed to the License in shared resource pond and dilatation with License.
Since all VNF examples all share a License, so, when the License demand of application is more than to share in resource pool
When License capacity, increases the capacity of the shared License, i.e., dilatation is continued to the resource pool, it is real to meet multiple VNF
The control item demand of example.
Wherein, the mode of dilatation can obtain new License from License catalog, to increase resource pool
Capacity;Alternatively, can also obtain new License by other network elements carries out dilatation, the present embodiment not limits this.
Similarly, as multiple VNF example request License with load sharing relationship, above-mentioned steps can be used
306 are handled to the mode of step 309 (process 2).
In addition, the above method further include: step 310: when VNF3-1 example or VNF3-2 example are abnormal, such as sending out
When sending failure or migration, then License is discharged to PDP application.Specially VNF3-1 example sends instruction information to PDP, is used for
Instruction discharges License to it, wherein includes the identity of VNF3-1 example in the instruction information.
Whether step 311:PDP receives the instruction information, and determine the VNF3-1 example and other examples with load point
Load relationship, and determine whether that the License to VNF3-1 example is done and discharge or update.It specifically, can be according to shared money
The creation mode in source pond does different decisions:
A kind of decision mode is shared for the License of mode one: PDP decides whether that release should according to strategy or business
The License of VNF3-1 example application, while refreshing shared information.Another decision mode is the License for mode two
It is shared: not discharge License, the shared information only refreshed.
Shared information after refreshing is sent to PEP by message by step 312:PDP, to inform that PEP VNF3-1 example is sent out
Raw abnormal, shared relationship changes.For example, VNF3-2 example and VNF3-1 example are no longer total when VNF3-1 Instance failure
With License-3, the binding relationship of VNF3-1 example is released.
Step 313:PEP receives the message and updates the related information in resource pool.
Optionally, when a certain VNF example is abnormal, and carries out treatment reconstruction to it, the step of the present embodiment can be performed
Rapid 306 to step 309 (process 2) process, but if employing mode one in step 311, have shared condition and do not release
When putting some License, then it can no longer apply new and issue new License, but be directly bound the VNF being abnormal
The original License of example simultaneously refreshes resource pool information.
Method provided in this embodiment solves the automatic problem of management of License under load sharing mode, realizes mutual assistance
License between example shares to the greatest extent, reduces unnecessary License waste;When the License exception of mutual assistance,
License will not be released, and be allocated to other examples with incidence relation and used, and realize real load sharing.
In addition, the shared and mutual-aid relation that PEP gives according to PDP in the present embodiment, establishes License shared resource pond,
The License being managed as unit of pond is realized, mutually enjoys resource between the example of mutual assistance.And not according to the mode of resource pool
Together, when being more than the total capacity of License in resource pool to business, dilatation is carried out to shared resource pond, to meet multiple VNF examples
Authorization control demand, improve the utilization rate in shared resource pond.
It should be noted that License catalog also can be only fitted in above-mentioned the present embodiment two and embodiment three
In PEP perhaps in other License Management devices for do not create or in resource pool not stored License VNF example
Distribute new License.Specifically catalog is configured in PEP or PDP, can voluntarily be configured according to technical solution, the application
This is not limited.
Present invention also provides the sending methods of license a kind of, for building for all VNF examples with incidence relation
Shared license is found, and is realized shared.This method can be executed by Policy Enforcement Point PEP, or be set by other networks
It is standby.Specifically, as shown in figure 12, this method includes such as figure step:
Step 401:PEP obtains the first message from Policy Enforcement Point PDP, includes the first VNF in the first message
At least one control item function needed for example, in addition, in first message can also include the first VNF example identity,
The information such as incidence relation.Wherein, the administrative relationships include active and standby mutual-aid relation and load sharing relationship.
Step 402: whether judging in shared resource pond comprising at least one control item function needed for the first VNF example
Energy.
Step 403: if comprising, it is determined that License corresponding at least one described control item function, and will be described
License is sent to the first VNF example.
If judging at least one control item needed for not including the first VNF example in shared resource pond in above-mentioned steps 402
Function then generates and is used to indicate the instruction information of shared resource pond dilatation, and described in the instruction information is sent to
PDP, to obtain the License for needing dilatation.
Further, specifically include to shared resource pond dilatation: PEP generation is used to indicate the shared resource pond and expands
The instruction information of appearance includes at least one control item function needed for the first VNF example in the instruction information, and by institute
It states instruction information and is sent to the PDP;The License from the PDP is received, the License is by the PDP according to institute
At least one control item function needed for the first VNF example is stated to be determined;The License from PDP is added to described
In shared resource pond.
Wherein, the PDP can obtain the first VNF example after receiving instruction information from License catalog
Required License, can also obtain License from other network element devices, and the present embodiment not limits this.
Further, the method also includes: establish the shared resource pond.Specifically, the shared resource pond is established
Method include: to obtain at least one second message from the PDP, include a VNF reality in each second message
The License of example, each License correspond at least one control item function, count in all second messages
License;License in all second messages of statistics is formed into the shared resource pond;Alternatively, by each described second
License in message, which merges, generates a shared License, and establishes the shared money including the shared License
Source pond.
Optionally, in the present embodiment further include: when some VNF example is abnormal, if in shared resource pond
License carries out release or capacity reducing operation.Specifically process is as follows: being used to indicate the first VNF example in PDP acquisition
In the case where the instruction information for breaking down or migrating, it is shared whether determination meets with License corresponding to the first VNF example
Condition;If meeting the shared condition, License corresponding to the first VNF example is not discharged;Otherwise, release the
License corresponding to one VNF example, and refresh the incidence relation information of the first VNF example, such as release the first VNF example
With the incidence relation of other VNF examples.
Method provided in this embodiment, by the shared resource for establishing License for the VNF example with incidence relation
Pond, maximum License is shared between realizing VNF example, reduces unnecessary License waste.
Relative to above method embodiment, the embodiment of the present application also provides corresponding Installation practices.
It is a kind of structural schematic diagram of the sending device of License provided by the embodiments of the present application referring to Figure 13.The device
For executing the sending method such as Fig. 6, Fig. 7 and License shown in Fig. 9.The apparatus may include acquiring units 1301, processing
Module 1302 and transmission unit 1303.
Wherein, acquiring unit 1301 is used to obtain the first request message for applying for License, and first request disappears
At least one control item function corresponding to identity and the License of the breath including the first VNF example.
Processing unit 1302 is used to determine the incidence relation of the first VNF example according to the identity, according to institute
State incidence relation and at least one described control item function determine the first VNF example needed for License.
Transmission unit 1303 is used to the License being sent to the first VNF example.
Optionally, in a kind of specific implementation of the present embodiment, the processing unit 1302 is specifically used for described
In the case that incidence relation is active and standby mutual-aid relation, determining 2nd VNF with the first VNF example with active and standby mutual-aid relation
Example, judges whether the 2nd VNF example has applied for License, and the License meets shared condition.
The acquiring unit 1301 is also used to apply in the VNF example with active and standby mutual-aid relation
License, and in the case where the shared condition of License satisfaction, obtain the License.
Optionally, in a kind of specific implementation of the present embodiment, the processing unit 1302 is specifically used for described
In the case that incidence relation is load sharing relationship, sharing policy, the sharing policy are determined according to the load sharing relationship
It including for each one License of VNF example application, or is multiple one shared License of VNF example application, it is described
It include all control item functions of the multiple VNF example in shared License.
If the processing unit 1302 specifically is also used to the sharing policy to be to be each the application of VNF example one
License then matches according to the identity of the first VNF example and at least one described control item function lookup with it
License, and using the License to match as License needed for the first VNF example;If described total
It enjoys strategy and is as multiple one shared License of VNF example application, then extract described first from the shared License
At least one control item function needed for VNF example, and described the is generated according at least one control item function of the extraction
License needed for one VNF example.
Optionally, in a kind of specific implementation of the present embodiment, the processing unit 1302 is specifically used for according to institute
State the incidence relation that identity, NS example and NSD determine the first VNF example.
Optionally, in a kind of specific implementation of the present embodiment, License includes License file or License
In authorization message.
The transmission unit 1303 is specifically used for the License file being sent to the first VNF example, alternatively,
After the authorization message in the License is converted into message parameter, it is real that the message parameter is sent to the first VNF
Example.
Optionally, in a kind of specific implementation of the present embodiment, the acquiring unit 1301 is also used to obtain and be used for
It indicates the instruction information that the first VNF example breaks down or migrates, includes the first VNF example in the instruction information
Identity.
The processing unit 1302 is also used to according to corresponding to identity determination and the first VNF example
Whether License meets shared condition, if meeting the shared condition, does not discharge corresponding to the first VNF example
License;Otherwise, License corresponding to the first VNF example is discharged.
Optionally, in a kind of specific implementation of the present embodiment, described device further include: storage unit, for depositing
Store up the License of the License and other VNF examples.
The processing unit 1302 is also used to establish shared money according to the relevant information of the License and License of acquisition
Source pond includes the incidence relation of the first VNF example in the shared resource pond;And obtaining the first VNF example
The instruction information for breaking down or migrating in the case where, refresh the first VNF example recorded in the shared resource pond
Incidence relation information.
Optionally, in a kind of specific implementation of the present embodiment, the processing unit 1302 is also used to according to
At least one control item function corresponding to License in first request message, judge in the shared resource pond whether can be
The first VNF example allocation License;If it is not, then dilatation is carried out to the shared resource pond, to described first after dilatation
License described in VNF example allocation;If it is, for License described in the first VNF example allocation.
Wherein, the method for the dilatation can be then forwarded to by obtaining new License in License catalog
First VNF example.
License sharing means provided in this embodiment, the pass of the VNF example is determined by the identity of VNF example
Connection relationship, since License can be shared between the VNF example with incidence relation, so the shared License can be permitted
, to realize the License association between different VNF examples and share, it can reduce unnecessary to the VNF example of request
License waste, improves the utilization rate of License resource.
In addition, when some VNF example is abnormal, such as when failure or migration, by the VNF for judging the failure or migration
Whether example has applied for License, and to License disassociation relationship in shared resource pond or is released according to court verdict
It puts, to guarantee the validity of License in shared resource pond.
Optionally, in a kind of specific implementation of the present embodiment, the acquiring unit 1301 comes from plan for obtaining
The slightly first message of execution point PDP includes the identity of the first VNF example, the first VNF example in the first message
Incidence relation information and the first VNF example corresponding to License.
Acquiring unit 1301 is for obtaining the first message from Policy Enforcement Point PDP, including the in the first message
At least one control item function needed for one VNF example.
Whether processing unit 1302 is for judging in shared resource pond to include at least one needed for the first VNF example
Control item function, if comprising, it is determined that License corresponding at least one described control item function.
Transmission unit 1303 is used for comprising at least one described control item function, and the License is sent out
Give the first VNF example.
Optionally, in a kind of specific implementation of the present embodiment, processing unit 1302 is also used in the shared money
In the case where not including at least one described control item function in the pond of source, dilatation is carried out to the shared resource pond.
Further, the processing unit 1302 is specifically used for generating the instruction for being used to indicate shared resource pond dilatation
Information includes at least one control item function needed for the first VNF example in the instruction information;Transmission unit 1303 is also
For the instruction information to be sent to the PDP;Acquiring unit 1301 is also used to receive the License from the PDP, institute
Stating License is determined as the PDP at least one control item function according to needed for the first VNF example;Processing is single
Member 1302 is also used to for the License from PDP being added in the shared resource pond.
Optionally, in a kind of specific implementation of the present embodiment, processing unit 1302 is also used to establish described shared
Resource pool, specifically, the acquiring unit 1301 are also used to obtain at least one second message from the PDP, Mei Gesuo
State the License in second message comprising a VNF example;The processing unit 1302 is specifically used for statistics all described second
License in all second messages of statistics is formed the shared resource pond by the License in message;Alternatively, will
License in each second message, which merges, generates a shared License, and it includes described shared for establishing
The shared resource pond of License.
Optionally, in a kind of specific implementation of the present embodiment, the acquiring unit 1301 is also used to obtain second
Request message, include in second request message needed for the identity and the 3rd VNF example of the 3rd VNF example extremely
A few control item function.
The processing unit 1302 is also used to identity and at least one described control according to the 3rd VNF example
Whether item function, judge in the shared resource pond be the 3rd VNF example allocation License;If it is not, then to described
Shared resource pond carries out dilatation;If it is, determining corresponding at least one control item function of the 3rd VNF example
License。
The transmission unit 1303 be also used to send it to the 3rd VNF example after dilatation needed for License, or
The License is sent to the 3rd VNF example in the case where determining the License of the 3rd VNF example by person.
In the concrete realization, present invention also provides a kind of network equipments, are provided in this embodiment one as shown in figure 14
The structural schematic diagram of the kind network equipment.The network equipment can be the sharing means of the License in aforementioned any embodiment,
For realizing the method and step in previous embodiment.
Wherein, the network equipment can be made of elements such as transceiver 141, processor 142 and memories 143.
Processor 142 is the control centre of the network equipment, utilizes each of various interfaces and connection whole network equipment
A part by running or execute the software program and/or module that are stored in memory, and calls and is stored in memory
Data in 143, to execute the various functions and/or processing data of the network equipment.The processor 142 can be central processing
Device (central processing unit, abbreviation CPU), network processing unit (network processor, abbreviation NP) or
The combination of CPU and NP.Processor can further include hardware chip.Above-mentioned hardware chip can be specific integrated circuit
(application-specific integrated circuit, abbreviation ASIC), programmable logic device
(programmable logic device, abbreviation PLD) or combinations thereof.Above-mentioned PLD can be Complex Programmable Logic Devices
(complex programmable logic device, abbreviation CPLD), field programmable gate array (field-
Programmable gate array, abbreviation FPGA), Universal Array Logic (generic array logic, abbreviation GAL) or
Any combination thereof.
The memory 143 may include volatile memory (volatile memory), such as random access memory
(random access memory, abbreviation RAM);Can also include nonvolatile memory (non-volatile memory),
Such as flash memory (flash memory), hard disk (hard disk drive, abbreviation HDD) or solid state hard disk (solid-
State drive, abbreviation SSD);The memory can also include the combination of the memory of mentioned kind.In the memory
Journey logic bomb is can store, the processor 142 in the network equipment may be implemented described by execution described program or code
The function of the network equipment.
The transceiver 141 can be used for receiving or sending data, and the transceiver can be in the control of the processor
It is lower to send data to terminal device or other network equipments;Transceiver receiving terminal apparatus under the control of the processor
Or the data that other network equipments are sent.
In embodiments of the present invention, transceiver 141 can be used to implement one of above-mentioned each embodiment License's
Sending method step.In conjunction with shown in above-mentioned Figure 13, the acquiring unit 1301 and the function to be realized of transmission unit 1303 can
To be realized by the transceiver 141 of the network equipment, or the transceiver 141 controlled by processor 142 is realized;The processing is single
First 1302 functions to be realized can then be realized that memory 143 is for storing License by the processor 142.
In the specific implementation, the present invention also provides a kind of computer storage mediums, wherein the computer storage medium can store
There is program, which may include the part or complete in each embodiment of the sending method of License provided by the invention when executing
Portion's step.The storage medium can for magnetic disk, CD, read-only memory (English: read-only memory, referred to as:
ROM) or random access memory (English: random access memory, referred to as: RAM) etc..
It is required that those skilled in the art can be understood that the technology in the embodiment of the present invention can add by software
The mode of general hardware platform realize.Based on this understanding, the technical solution in the embodiment of the present invention substantially or
Say that the part that contributes to existing technology can be embodied in the form of software products, which can deposit
Storage is in storage medium, such as ROM/RAM, magnetic disk, CD, including some instructions are used so that computer equipment (can be with
It is personal computer, server or the network equipment etc.) execute certain part institutes of each embodiment of the present invention or embodiment
The method stated.
Same and similar part may refer to each other between each embodiment in this specification.Especially for above-mentioned each reality
For applying example, since it is substantially similar to the method embodiment, so being described relatively simple, related place is referring to embodiment of the method
In explanation.
Invention described above embodiment is not intended to limit the scope of the present invention..