[go: up one dir, main page]

CN109257201A - A kind of sending method and device of License - Google Patents

A kind of sending method and device of License Download PDF

Info

Publication number
CN109257201A
CN109257201A CN201710574901.5A CN201710574901A CN109257201A CN 109257201 A CN109257201 A CN 109257201A CN 201710574901 A CN201710574901 A CN 201710574901A CN 109257201 A CN109257201 A CN 109257201A
Authority
CN
China
Prior art keywords
license
vnf instance
vnf
control item
shared
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.)
Granted
Application number
CN201710574901.5A
Other languages
Chinese (zh)
Other versions
CN109257201B (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
Priority to CN201710574901.5A priority Critical patent/CN109257201B/en
Priority to PCT/CN2018/094699 priority patent/WO2019011180A1/en
Publication of CN109257201A publication Critical patent/CN109257201A/en
Application granted granted Critical
Publication of CN109257201B publication Critical patent/CN109257201B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/10Protecting distributed programs or content, e.g. vending or licensing of copyrighted material ; Digital rights management [DRM]
    • G06F21/105Arrangements for software license management or administration, e.g. for managing licenses at corporate level
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/10Protecting distributed programs or content, e.g. vending or licensing of copyrighted material ; Digital rights management [DRM]
    • G06F21/12Protecting executable software
    • G06F21/121Restricting unauthorised execution of programs
    • 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/06Management of faults, events, alarms or notifications
    • H04L41/0654Management of faults, events, alarms or notifications using network fault recovery
    • H04L41/0663Performing the actions predefined by failover planning, e.g. switching to standby network elements

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • General Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Multimedia (AREA)
  • Computer Hardware Design (AREA)
  • Technology Law (AREA)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Storage Device Security (AREA)
  • Telephonic Communication Services (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

本申请公开一种许可证License的发送方法和装置,所述方法包括:获取用于申请License的第一请求消息,所述第一请求消息包括第一虚拟化网络功能VNF实例的身份标识和所述License所对应的至少一个控制项功能;根据所述身份标识确定所述第一VNF实例的关联关系;根据所述关联关系和所述至少一个控制项功能确定所述第一VNF实例所需的License;将所述License发送给所述第一VNF实例。本申请提供的方法解决了互助关系下License的自动管理问题,实现具有关联关系的VNF实例间的License最大程度的共享,减少不必要的License浪费,实现真正的负荷分担。

The present application discloses a method and device for sending a license. The method includes: acquiring a first request message for applying for a license, where the first request message includes an identity of a first virtualized network function VNF instance and all at least one control item function corresponding to the License; determine the association relationship of the first VNF instance according to the identity identifier; determine the required VNF instance according to the association relationship and the at least one control item function License; sending the License to the first VNF instance. The method provided by the present application solves the problem of automatic management of licenses in a mutual aid relationship, realizes the maximum sharing of licenses among VNF instances with an association relationship, reduces unnecessary license waste, and realizes real load sharing.

Description

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..

Claims (24)

1.一种许可证License的发送方法,其特征在于,所述方法包括:1. the sending method of a license, is characterized in that, described method comprises: 获取用于申请License的第一请求消息,所述第一请求消息包括第一虚拟化网络功能VNF实例的身份标识和所述License所对应的至少一个控制项功能;obtaining a first request message for applying for a license, where the first request message includes the identity of the first virtualized network function VNF instance and at least one control item function corresponding to the license; 根据所述身份标识确定所述第一VNF实例的关联关系;Determine the association relationship of the first VNF instance according to the identity identifier; 根据所述关联关系和所述至少一个控制项功能确定所述第一VNF实例所需的License;Determine the License required by the first VNF instance according to the association relationship and the at least one control item function; 将所述License发送给所述第一VNF实例。Send the License to the first VNF instance. 2.根据权利要求1所述的方法,其特征在于,所述关联关系包括主备互助关系,2. The method according to claim 1, wherein the association relationship comprises an active-standby mutual assistance relationship, 如果所述关联关系为主备互助关系,则根据所述关联关系和所述至少一个控制项功能确定所述第一VNF实例所需的License,包括:If the association relationship is an active/standby mutual assistance relationship, then determine the license required by the first VNF instance according to the association relationship and the function of the at least one control item, including: 确定与所述第一VNF实例具有主备互助关系的第二VNF实例;determining a second VNF instance that has an active-standby mutual assistance relationship with the first VNF instance; 判断所述第二VNF实例是否已经申请了License,且所述License满足共享条件;如果是,则获取所述License。Determine whether the second VNF instance has applied for a license, and the license meets the sharing conditions; if so, obtain the license. 3.根据权利要求1所述的方法,其特征在于,所述关联关系包括负荷分担关系,3. The method according to claim 1, wherein the association relationship comprises a load sharing relationship, 如果所述关联关系为负荷分担关系,则根据所述关联关系和所述至少一个控制项功能确定所述第一VNF实例所需的License,包括:If the association relationship is a load sharing relationship, determining the license required by the first VNF instance according to the association relationship and the function of the at least one control item, including: 根据所述负荷分担关系确定共享策略,所述共享策略包括为每个VNF实例申请一个License,或者为多个VNF实例申请一个共享的License,所述共享的License中包括所述多个VNF实例的所有控制项功能;A sharing policy is determined according to the load sharing relationship, where the sharing policy includes applying for a license for each VNF instance, or applying for a shared license for multiple VNF instances, where the shared license includes the licenses of the multiple VNF instances. All control item functions; 如果所述共享策略是为每个VNF实例申请一个License,则根据所述第一VNF实例的身份标识和所述至少一个控制项功能查找与其相匹配的License,并将所述相匹配的License作为所述第一VNF实例所需的License;If the sharing policy is to apply for a license for each VNF instance, search for a matching license according to the identity of the first VNF instance and the function of the at least one control item, and use the matching license as the license required by the first VNF instance; 如果所述共享策略是为多个VNF实例申请一个共享的License,则从所述共享的License提取所述第一VNF实例所需的至少一个控制项功能,并根据所述提取的至少一个控制项功能生成所述第一VNF实例所需的License。If the sharing policy is to apply for a shared license for multiple VNF instances, extract at least one control item function required by the first VNF instance from the shared license, and extract at least one control item function according to the extracted at least one control item The function generates the license required by the first VNF instance. 4.根据权利要求1-3任一项所述的方法,其特征在于,根据所述身份标识确定所述第一VNF实例的关联关系,包括:4. The method according to any one of claims 1-3, wherein determining the association relationship of the first VNF instance according to the identity identifier, comprising: 根据所述身份标识、网络业务NS实例和网络业务描述模板NSD确定所述第一VNF实例的关联关系。The association relationship of the first VNF instance is determined according to the identity identifier, the network service NS instance and the network service description template NSD. 5.根据权利要求1-3任一项所述的方法,其特征在于,所述License包括License文件或License中的授权信息,5. The method according to any one of claims 1-3, wherein the License comprises the authorization information in the License file or the License, 将所述License发送给所述第一VNF实例,包括:Send the License to the first VNF instance, including: 将所述License文件发送给所述第一VNF实例,或者,在所述License中的授权信息转换成消息参数之后,将所述消息参数发送给所述第一VNF实例。The license file is sent to the first VNF instance, or, after the authorization information in the license is converted into message parameters, the message parameters are sent to the first VNF instance. 6.根据权利要求1-5任一项所述的方法,其特征在于,所述方法还包括:6. The method according to any one of claims 1-5, wherein the method further comprises: 获取用于指示所述第一VNF实例发生故障或迁移的指示信息,所述指示信息中包括所述第一VNF实例的身份标识;Obtaining indication information for indicating that the first VNF instance is faulty or migrating, where the indication information includes the identity of the first VNF instance; 根据所述身份标识确定与所述第一VNF实例所对应的License是否满足共享条件;Determine whether the license corresponding to the first VNF instance satisfies the sharing condition according to the identity identifier; 如果满足所述共享条件,则不释放所述第一VNF实例所对应的License;否则,释放所述第一VNF实例所对应的License。If the sharing condition is satisfied, the license corresponding to the first VNF instance is not released; otherwise, the license corresponding to the first VNF instance is released. 7.根据权利要求6所述的方法,其特征在于,所述方法还包括:7. The method according to claim 6, wherein the method further comprises: 存储所述License;store the License; 根据所述License建立共享资源池,所述共享资源池中包括所述第一VNF实例的关联关系;Establish a shared resource pool according to the License, where the shared resource pool includes the association relationship of the first VNF instance; 在获取所述第一VNF实例的发生故障或迁移的指示信息的情况下,刷新所述共享资源池中记录的所述第一VNF实例的关联关系信息。In the case of acquiring the indication information of the failure or migration of the first VNF instance, refresh the association relationship information of the first VNF instance recorded in the shared resource pool. 8.根据权利要求7所述的方法,其特征在于,所述方法还包括:8. The method according to claim 7, wherein the method further comprises: 获取第二请求消息,所述第二请求消息中包括第三VNF实例的身份标识和所述第三VNF实例所需的至少一个控制项功能;Obtain a second request message, where the second request message includes the identity of the third VNF instance and at least one control item function required by the third VNF instance; 根据所述第三VNF实例的身份标识和所述至少一个控制项功能,判断所述共享资源池中是否能为所述第三VNF实例分配License;According to the identity of the third VNF instance and the function of the at least one control item, determine whether a license can be allocated to the third VNF instance in the shared resource pool; 如果否,则对所述共享资源池进行扩容,扩容后向所述第三VNF实例发送其所需的License;如果是,则确定所述第三VNF实例的至少一个控制项功能所对应的License,并将所述License发送给所述第三VNF实例。If not, expand the capacity of the shared resource pool, and send the required license to the third VNF instance after the capacity expansion; if yes, determine the license corresponding to at least one control item function of the third VNF instance , and send the License to the third VNF instance. 9.一种license的发送方法,其特征在于,所述方法包括:9. A method for sending a license, wherein the method comprises: 获取来自策略执行点PDP的第一消息,所述第一消息中包括第一VNF实例所需的至少一个控制项功能;obtaining a first message from the policy enforcement point PDP, where the first message includes at least one control item function required by the first VNF instance; 判断共享资源池中是否包含所述第一VNF实例所需的至少一个控制项功能;Judging whether the shared resource pool contains at least one control item function required by the first VNF instance; 如果包含,则确定所述至少一个控制项功能所对应的License,并将所述License发送给所述第一VNF实例。If yes, determine the license corresponding to the at least one control item function, and send the license to the first VNF instance. 10.根据权利要求9所述的方法,其特征在于,所述方法还包括:如果不包含,则对所述共享资源池进行扩容;10. The method according to claim 9, wherein the method further comprises: if not included, expanding the shared resource pool; 其中,所述对所述共享资源池进行扩容,包括:Wherein, the expansion of the shared resource pool includes: 生成用于指示所述共享资源池扩容的指示信息,所述指示信息中包括所述第一VNF实例所需的至少一个控制项功能;generating indication information for instructing the expansion of the shared resource pool, where the indication information includes at least one control item function required by the first VNF instance; 将所述指示信息发送给所述PDP;sending the indication information to the PDP; 接收来自所述PDP的License,所述License是由所述PDP根据所述第一VNF实例所需的至少一个控制项功能所确定;receiving a License from the PDP, where the License is determined by the PDP according to at least one control item function required by the first VNF instance; 将所述来自PDP的License添加到所述共享资源池中。Add the license from the PDP to the shared resource pool. 11.根据权利要求9所述的方法,其特征在于,所述方法还包括:建立所述共享资源池,11. The method according to claim 9, wherein the method further comprises: establishing the shared resource pool, 所述建立所述共享资源池,包括:The establishing the shared resource pool includes: 获取来自所述PDP的至少一个第二消息,每个所述第二消息中包含一个VNF实例的License;Obtain at least one second message from the PDP, where each second message includes a license for a VNF instance; 统计所有所述第二消息中的License;count the licenses in all the second messages; 将统计的所有所述第二消息中的License组成所述共享资源池;或者,将所有所述第二消息中的License合并生成一个共享的License,并建立包括所述共享的License的共享资源池。Form the shared resource pool with the licenses in all the second messages that are counted; or, combine the licenses in all the second messages to generate a shared license, and establish a shared resource pool including the shared license . 12.根据权利要求9-11任一项所述的方法,其特征在于,所述方法还包括:12. The method according to any one of claims 9-11, wherein the method further comprises: 在所述第一VNF实例发生故障或迁移的情况下,判断所述共享资源池中与所述第一VNF实例所对应的License是否满足共享条件;In the case of failure or migration of the first VNF instance, determining whether the license corresponding to the first VNF instance in the shared resource pool satisfies the sharing conditions; 如果满足所述共享条件,则不释放所述第一VNF实例所对应的License;否则,释放所述第一VNF实例所对应的License,并刷新所述第一VNF实例的关联关系信息。If the sharing condition is satisfied, the license corresponding to the first VNF instance is not released; otherwise, the license corresponding to the first VNF instance is released, and the association relationship information of the first VNF instance is refreshed. 13.一种License的发送装置,其特征在于,所述装置包括:13. A device for sending a License, wherein the device comprises: 获取单元,用于获取用于申请License的第一请求消息,所述第一请求消息包括第一VNF实例的身份标识和所述License所对应的至少一个控制项功能;an obtaining unit, configured to obtain a first request message for applying for a license, where the first request message includes the identity of the first VNF instance and at least one control item function corresponding to the license; 处理单元,用于根据所述身份标识确定所述第一VNF实例的关联关系,根据所述关联关系和所述至少一个控制项功能确定所述第一VNF实例所需的License;a processing unit, configured to determine the association relationship of the first VNF instance according to the identity identifier, and determine the license required by the first VNF instance according to the association relationship and the function of the at least one control item; 发送单元,用于将所述License发送给所述第一VNF实例。A sending unit, configured to send the License to the first VNF instance. 14.根据权利要求13所述的装置,其特征在于,14. The apparatus of claim 13, wherein 所述处理单元,具体用于在所述关联关系为主备互助关系的情况下,确定与所述第一VNF实例具有主备互助关系的第二VNF实例,判断所述第二VNF实例是否已经申请了License,且所述License满足共享条件;The processing unit is specifically configured to determine a second VNF instance that has an active-standby mutual aid relationship with the first VNF instance in the case of the association relationship being an active-standby mutual aid relationship, and determine whether the second VNF instance has Apply for a license, and the license meets the sharing conditions; 所述获取单元,还用于在所述第二VNF实例已经申请了License,且所述License满足共享条件的情况下,获取所述License。The obtaining unit is further configured to obtain the license when the second VNF instance has applied for a license and the license meets the sharing condition. 15.根据权利要求13所述的装置,其特征在于,15. The apparatus of claim 13, wherein 所述处理单元,具体用于在所述关联关系为负荷分担关系的情况下,根据所述负荷分担关系确定共享策略,所述共享策略包括为每个VNF实例申请一个License,或者为多个VNF实例申请一个共享的License,所述共享的License中包括所述多个VNF实例的所有控制项功能;The processing unit is specifically configured to determine a sharing policy according to the load sharing relationship when the association relationship is a load sharing relationship, where the sharing policy includes applying for a license for each VNF instance, or for multiple VNFs The instance applies for a shared license, and the shared license includes all control item functions of the multiple VNF instances; 所述处理单元,具体还用于如果所述共享策略是为每个VNF实例申请一个License,则根据所述第一VNF实例的身份标识和所述至少一个控制项功能查找与其相匹配的License,并将所述相匹配的License作为所述第一VNF实例所需的License;如果所述共享策略是为多个VNF实例申请一个共享的License,则从所述共享的License提取所述第一VNF实例所需的至少一个控制项功能,并根据所述提取的至少一个控制项功能生成所述第一VNF实例所需的License。The processing unit is further configured to, if the sharing policy is to apply for a license for each VNF instance, search for a matching license according to the identity of the first VNF instance and the function of the at least one control item, Use the matching license as the license required by the first VNF instance; if the sharing policy is to apply for a shared license for multiple VNF instances, extract the first VNF from the shared license at least one control item function required by the instance, and a License required by the first VNF instance is generated according to the extracted at least one control item function. 16.根据权利要求13-15任一项所述的装置,其特征在于,16. The device according to any one of claims 13-15, characterized in that, 所述处理单元,具体用于根据所述身份标识、网络业务NS实例和网络业务描述模板NSD确定所述第一VNF实例的关联关系。The processing unit is specifically configured to determine the association relationship of the first VNF instance according to the identity identifier, the network service NS instance and the network service description template NSD. 17.根据权利要求13-15任一项所述的装置,其特征在于,所述License包括License文件或License中的授权信息,17. The device according to any one of claims 13-15, wherein the License comprises a License file or authorization information in the License, 所述发送单元,具体用于将所述License文件发送给所述第一VNF实例,或者,在所述License中的授权信息转换成消息参数之后,将所述消息参数发送给所述第一VNF实例。The sending unit is specifically configured to send the License file to the first VNF instance, or, after the authorization information in the License is converted into message parameters, send the message parameters to the first VNF instance. 18.根据权利要求13-17任一项所述的装置,其特征在于,18. The device according to any one of claims 13-17, characterized in that, 所述获取单元,还用于获取用于指示所述第一VNF实例发生故障或迁移的指示信息,所述指示信息中包括所述第一VNF实例的身份标识;The obtaining unit is further configured to obtain indication information for indicating that the first VNF instance is faulty or migrated, where the indication information includes the identity of the first VNF instance; 所述处理单元,还用于根据所述身份标识确定与所述第一VNF实例所对应的License是否满足共享条件,如果满足所述共享条件,则不释放所述第一VNF实例所对应的License;否则,释放所述第一VNF实例所对应的License。The processing unit is further configured to determine, according to the identity identifier, whether the license corresponding to the first VNF instance satisfies the sharing condition, and if the sharing condition is satisfied, the license corresponding to the first VNF instance is not released ; otherwise, release the license corresponding to the first VNF instance. 19.根据权利要求18所述的装置,其特征在于,所述装置还包括:19. The apparatus of claim 18, wherein the apparatus further comprises: 存储单元,用于存储所述License;a storage unit for storing the License; 所述处理单元,还用于根据所述License建立共享资源池,所述共享资源池中包括所述第一VNF实例的关联关系;以及,在获取所述第一VNF实例的发生故障或迁移的指示信息的情况下,刷新所述共享资源池中记录的所述第一VNF实例的关联关系信息。The processing unit is further configured to establish a shared resource pool according to the License, and the shared resource pool includes the association relationship of the first VNF instance; In the case of the indication information, the association relationship information of the first VNF instance recorded in the shared resource pool is refreshed. 20.根据权利要求19所述的装置,其特征在于,20. The apparatus of claim 19, wherein 所述获取单元,还用于获取第二请求消息,所述第二请求消息中包括第三VNF实例的身份标识和所述第三VNF实例所需的至少一个控制项功能;The obtaining unit is further configured to obtain a second request message, where the second request message includes the identity of the third VNF instance and at least one control item function required by the third VNF instance; 所述处理单元,还用于根据所述第三VNF实例的身份标识和所述至少一个控制项功能,判断所述共享资源池中是否能为所述第三VNF实例分配License;如果否,则对所述共享资源池进行扩容;如果是,则确定所述第三VNF实例的至少一个控制项功能所对应的License;The processing unit is further configured to determine whether a license can be allocated to the third VNF instance in the shared resource pool according to the identity of the third VNF instance and the function of the at least one control item; if not, then Expand the shared resource pool; if yes, determine the license corresponding to at least one control item function of the third VNF instance; 所述发送单元,还用于扩容后向所述第三VNF实例发送其所需的License,或者,在确定所述第三VNF实例的License的情况下,将所述License发送给所述第三VNF实例。The sending unit is further configured to send the required license to the third VNF instance after capacity expansion, or, in the case of determining the license of the third VNF instance, send the license to the third VNF instance. VNF instance. 21.一种license的发送装置,其特征在于,所述装置包括:21. A device for sending a license, wherein the device comprises: 获取单元,用于获取来自策略执行点PDP的第一消息,所述第一消息中包括第一VNF实例所需的至少一个控制项功能;an obtaining unit, configured to obtain a first message from the policy enforcement point PDP, where the first message includes at least one control item function required by the first VNF instance; 处理单元,用于判断共享资源池中是否包含所述第一VNF实例所需的至少一个控制项功能,如果包含,则确定所述至少一个控制项功能所对应的License;a processing unit, configured to judge whether the shared resource pool contains at least one control item function required by the first VNF instance, and if so, determine the license corresponding to the at least one control item function; 发送单元,用于将所述License发送给所述第一VNF实例。A sending unit, configured to send the License to the first VNF instance. 22.根据权利要求21所述的装置,其特征在于,所述处理单元,还用于在所述共享资源池中不包含所述至少一个控制项功能的情况下,对所述共享资源池进行扩容;22 . The apparatus according to claim 21 , wherein the processing unit is further configured to perform processing on the shared resource pool when the at least one control item function is not included in the shared resource pool. 23 . expansion; 所述处理单元,具体用于生成用于指示所述共享资源池扩容的指示信息,所述指示信息中包括所述第一VNF实例所需的至少一个控制项功能;The processing unit is specifically configured to generate indication information for indicating expansion of the shared resource pool, where the indication information includes at least one control item function required by the first VNF instance; 所述发送单元,还用于将所述指示信息发送给所述PDP;the sending unit, further configured to send the indication information to the PDP; 所述获取单元,还用于接收来自所述PDP的License,所述License是由所述PDP根据所述第一VNF实例所需的至少一个控制项功能所确定;The obtaining unit is further configured to receive a License from the PDP, where the License is determined by the PDP according to at least one control item function required by the first VNF instance; 所述处理单元,还用于将所述来自PDP的License添加到所述共享资源池中。The processing unit is further configured to add the license from the PDP to the shared resource pool. 23.根据权利要求21所述的装置,其特征在于,所述处理单元,还用于建立所述共享资源池,23. The apparatus according to claim 21, wherein the processing unit is further configured to establish the shared resource pool, 所述获取单元,还用于获取来自所述PDP的至少一个第二消息,每个所述第二消息中包含一个VNF实例的License;The obtaining unit is further configured to obtain at least one second message from the PDP, where each second message includes a license of a VNF instance; 所述处理单元,具体用于统计所有所述第二消息中的License,将统计的所有所述第二消息中的License组成所述共享资源池;或者,将每个所述第二消息中的License合并生成一个共享的License,并建立包括所述共享的License的所述共享资源池。The processing unit is specifically configured to count the licenses in all the second messages, and combine the counted licenses in all the second messages to form the shared resource pool; or, combine the licenses in each of the second messages. The licenses are merged to generate a shared license, and the shared resource pool including the shared license is established. 24.根据权利要求21-23任一项所述的装置,其特征在于,24. The device according to any one of claims 21-23, characterized in that, 所述处理单元,还用于在所述第一VNF实例发生故障或迁移的情况下,判断所述共享资源池中与所述第一VNF实例所对应的License是否满足共享条件;如果满足所述共享条件,则不释放所述第一VNF实例所对应的License;否则,释放所述第一VNF实例所对应的License,并刷新所述第一VNF实例的关联关系信息。The processing unit is further configured to determine whether the license corresponding to the first VNF instance in the shared resource pool satisfies the sharing condition in the case of failure or migration of the first VNF instance; If the sharing condition is satisfied, the license corresponding to the first VNF instance is not released; otherwise, the license corresponding to the first VNF instance is released, and the association relationship information of the first VNF instance is refreshed.
CN201710574901.5A 2017-07-14 2017-07-14 A kind of license sending method and device Active CN109257201B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201710574901.5A CN109257201B (en) 2017-07-14 2017-07-14 A kind of license sending method and device
PCT/CN2018/094699 WO2019011180A1 (en) 2017-07-14 2018-07-05 Method and device for sending license

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710574901.5A CN109257201B (en) 2017-07-14 2017-07-14 A kind of license sending method and device

Publications (2)

Publication Number Publication Date
CN109257201A true CN109257201A (en) 2019-01-22
CN109257201B CN109257201B (en) 2021-10-19

Family

ID=65001041

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710574901.5A Active CN109257201B (en) 2017-07-14 2017-07-14 A kind of license sending method and device

Country Status (2)

Country Link
CN (1) CN109257201B (en)
WO (1) WO2019011180A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112925604A (en) * 2019-11-20 2021-06-08 北京华耀科技有限公司 Virtualization management platform and implementation method

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112929875B (en) * 2019-11-21 2025-05-06 中兴通讯股份有限公司 Configuration data permission application and control method, device, equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101119317A (en) * 2007-08-31 2008-02-06 华为技术有限公司 Method, device and system for assigning licenses
CN104134122A (en) * 2014-07-30 2014-11-05 华为技术有限公司 Method and device for applying for license
US20160057234A1 (en) * 2014-08-20 2016-02-25 At&T Intellectual Property I, L.P. Service Compiler Component and Service Controller for Open Systems Interconnection Layer 4 Through Layer 7 Services in a Cloud Computing System
CN105450601A (en) * 2014-08-19 2016-03-30 华为技术有限公司 Method and device for sharing license
US20160323200A1 (en) * 2015-05-01 2016-11-03 Futurewei Technologies, Inc. System and Method for Resource Management

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101119317A (en) * 2007-08-31 2008-02-06 华为技术有限公司 Method, device and system for assigning licenses
CN104134122A (en) * 2014-07-30 2014-11-05 华为技术有限公司 Method and device for applying for license
CN105450601A (en) * 2014-08-19 2016-03-30 华为技术有限公司 Method and device for sharing license
US20160057234A1 (en) * 2014-08-20 2016-02-25 At&T Intellectual Property I, L.P. Service Compiler Component and Service Controller for Open Systems Interconnection Layer 4 Through Layer 7 Services in a Cloud Computing System
US20160323200A1 (en) * 2015-05-01 2016-11-03 Futurewei Technologies, Inc. System and Method for Resource Management

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112925604A (en) * 2019-11-20 2021-06-08 北京华耀科技有限公司 Virtualization management platform and implementation method
CN112925604B (en) * 2019-11-20 2024-04-19 北京华耀科技有限公司 Virtualization management platform and implementation method

Also Published As

Publication number Publication date
CN109257201B (en) 2021-10-19
WO2019011180A1 (en) 2019-01-17

Similar Documents

Publication Publication Date Title
EP3455728B1 (en) Orchestrator for a virtual network platform as a service (vnpaas)
CN105955824B (en) A kind of virtual resource configuration method and device
CN103703724B (en) A method of distributing resources
CN105190558B (en) Method and system for creating logical resources
EP3761170A1 (en) Virtual machine creation method and apparatus
WO2019184967A1 (en) Method and apparatus for deploying network slice
KR20210020084A (en) Alarm method and device
CN111641515B (en) VNF life cycle management method and device
CN108574593B (en) License management system and management method in a NFV network
CN105429780A (en) Virtualized network service business automatic generation and dynamic monitoring method
CN107924383A (en) Systems and methods for network function virtualization resource management
CN109213567B (en) Method and equipment for managing VNF instantiation
CN109845192B (en) Computer system and method for dynamically adapting a network and computer readable medium
CN109792393A (en) Virtualize the software upgrading in off-line accounting system
CN106610871A (en) Cloud operating system architecture
CN108551399A (en) Dispositions method, system and the relevant apparatus serviced under a kind of cloud environment
CN113254152B (en) Service deployment method and device, electronic equipment and storage medium
CN107005435A (en) Method and device for uploading network service descriptor
EP3442201B1 (en) Cloud platform construction method and cloud platform
CN108075917A (en) The management method and system of a kind of data center
CN108471373B (en) A resource application, VNF instance creation method and device
CN112187864A (en) Load balancing method and device, storage medium and electronic equipment
CN115883283A (en) A containerized VNF deployment method and device
KR102623631B1 (en) Method for automatically configuring virtualized network function, and network function virtualization management and orchestration for the same
CN112799970A (en) Test data processing method, device, electronic equipment and 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