WO2015168834A1 - Method for allocating network resources in virtual network function, composer and manager - Google Patents
Method for allocating network resources in virtual network function, composer and manager Download PDFInfo
- Publication number
- WO2015168834A1 WO2015168834A1 PCT/CN2014/076745 CN2014076745W WO2015168834A1 WO 2015168834 A1 WO2015168834 A1 WO 2015168834A1 CN 2014076745 W CN2014076745 W CN 2014076745W WO 2015168834 A1 WO2015168834 A1 WO 2015168834A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- resource
- type
- performance
- information
- vnf
- 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.)
- Ceased
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L9/00—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
- H04L9/40—Network security protocols
Definitions
- the present invention relates to the field of communications technologies, and in particular, to a method, an arranger, and a manager for allocating network resources in a virtual network function.
- BACKGROUND OF THE INVENTION Network Function Virtulization is an organization initiated by 13 major telecom operators around the world, involving many equipment vendors and IT vendors. FV aims to define the requirements of operator network virtualization and related technical reports. It hopes to use IT's virtualization technology to realize the softwareization of some network functions by using common high-performance large-capacity servers, switches and storage.
- NS Network Service
- the present invention provides a method, an orchestrator, and a manager for allocating network resources in a virtual network function, which can implement dynamic adjustment of available resources of the NS after the NS is generated, and ensure the availability and continuity of the NS.
- an organizer comprising:
- a receiving unit configured to receive a network service descriptor NSD sent by the operation support system OSS or the service support system BSS;
- the NSD includes the subscription resource information of the network service NS and the network service availability identifier NSAI information;
- the NSAI is used to indicate the location Information about the alternate resources of the NS;
- a processing unit configured to acquire performance abnormal data of a virtual network function VNF that is currently abnormal; when it is determined that the VNF is performance overload or is too low, according to the contract resource information of the NS and the information of the standby resource indicated by the NSAI And the performance abnormal data of the VNF, and formulate a corresponding network service reservation resource processing strategy NSRRHP;
- the NSAI information includes: a network service identifier NSID, an alternate resource usage time limit, an alternate resource type, and a quantity;
- the NSID is used to indicate an NS to which the standby resource is applicable
- the usage time limit of the standby resource is used to indicate the maximum time that the standby resource can be used from the time of opening;
- the processing unit is specifically configured to:
- the VNF When the VNF is a performance overload, determining, according to the performance abnormal data of the VNF, a type of a resource that currently has a performance overload;
- the NSRRHP is formulated to enable the type of spare resources such that the number of available resources of the type is the number of spare resources of the type plus the number of subscriptions of the type.
- the orchestrator further includes: a timing unit, configured to start timing when the type of the standby resource is enabled;
- the processing unit is further configured to: when the timing of the timing unit reaches a usage time limit of the standby resource of the type, formulating the NSRRHP to release the spare resource of the type, so that the quantity of the available resources of the type is a contract value of the type;
- the sending unit is further configured to send the NSRRHP to the virtual network function manager V FM and the virtualization infrastructure manager VIM.
- the processing unit is specifically configured to:
- the NSRRHP is formulated to release the spare resources of the type such that the number of available resources of the type is a subscription value of the type.
- the receiving unit unit is further configured to: Receiving NS abnormal alarm information sent by the V FM; the abnormal alarm information includes performance abnormal data;
- the processing unit is further configured to: when the abnormal alarm information is that the resource usage rate is higher than a preset first threshold, determine that the VNF is a performance overload; or, when the abnormal alarm information is a resource usage rate is lower than When the second threshold is preset, it is determined that the VNF is too low in performance.
- the receiving unit is further configured to receive The network service reservation resource request message NSRRR sent by the V FM; the NSRRR includes performance abnormal data and a network resource operation identifier;
- the processing unit is further configured to: when the network resource operation identifier is to enable the standby resource, determine that the VNF is a performance overload; or, when the network resource operation identifier is to release the standby resource, determine the VNF as a performance Too low.
- the first aspect provides a method for allocating network resources in a virtual network function VNF, the method comprising: receiving an operation support system OSS or a network service descriptor NSD sent by a service support system BSS; and the NSD includes a network service NS
- the NSAI information includes: a network service identifier NSID, an alternate resource usage time limit, an alternate resource type, and a quantity;
- the NSID is used to indicate an NS to which the standby resource is applicable
- the usage time limit of the standby resource is used to indicate the maximum time that the standby resource can be used from the time of opening;
- the type and quantity of the standby resource are used to indicate the type of the spare resource included in the NSAI and the quantity corresponding to each type of the spare resource.
- the formulating the corresponding NSRRHP according to the contract resource information of the NS, the information of the standby resource indicated by the NSAI, and the performance abnormal data of the VNF includes:
- the NSRRHP is formulated to enable the type of spare resources such that the number of available resources of the type is the number of spare resources of the type plus the number of subscriptions of the type.
- the method further includes:
- the NSRRHP is configured to release the spare resource of the type, so that the quantity of the available resources of the type is the subscription value of the type;
- the NSRRHP is sent to the Virtual Network Function Manager VFM and the Virtualization Infrastructure Manager VIM, respectively.
- VFM Virtual Network Function Manager
- VIM Virtualization Infrastructure Manager
- the formulating the corresponding NSRRHP according to the contract resource information of the NS, the information of the standby resource indicated by the NSAI, and the performance abnormal data of the VNF includes:
- the NSRRHP is formulated to release the spare resources of the type such that the number of available resources of the type is a subscription value of the type.
- the abnormal alarm information includes performance abnormal data
- the acquiring the virtual network function that is currently abnormal includes:
- the NSRRR includes performance abnormality data and a network resource operation identifier
- a virtual network function manager is provided, and the virtual network function manager VNFM includes:
- a receiving unit configured to receive performance abnormal data of a virtual network function VNF that is currently abnormal
- a processing unit configured to acquire network service availability identifier NSAI information sent by the orchestrator Orchestrato; the NSAI is used to indicate an alternate resource of the NS And determining, according to the contracted resource information of the NS, the information of the standby resource indicated by the NSAI, and the performance abnormal data of the VNF, the corresponding network service reserved resource is determined, when the VNF is determined to be overloaded or too low.
- Processing strategy NSRRHP
- the NSAI information includes: a network service identifier NSID, an alternate resource usage time limit, an alternate resource type, and a quantity;
- the NSID is used to indicate an NS to which the standby resource is applicable
- the usage time limit of the standby resource is used to indicate the maximum time that the standby resource can be used from the time of opening;
- the processing unit is specifically configured to:
- the VNF When the VNF is a performance overload, determining, according to the performance abnormal data of the VNF, a type of a resource that currently has a performance overload;
- the NSRRHP is formulated to enable the type of spare resources such that the number of available resources of the type is the number of spare resources of the type plus the number of subscriptions of the type.
- the manager further includes: a timing unit, configured to start timing when the type of the standby resource is enabled;
- the processing unit is further configured to: when the timing of the timing unit reaches a usage time limit of the backup resource of the type, formulating the NSRRHP to release the spare resource of the type, so that the quantity of the available resources of the type is the type Signing value;
- the sending unit is further configured to send the NSRRHP to the virtualization infrastructure manager VIM.
- the processing unit is specifically configured to:
- the NSRRHP is formulated to release the spare resources of the type such that the number of available resources of the type is a subscription value of the type.
- the sending unit is further configured to send request information to the Orchestrator, where the request information is used to request to acquire the NSAI information;
- the receiving unit is further configured to receive the NSAI information returned by the Orchestrator.
- the receiving unit is further configured to receive NS abnormal alarm information sent by the VNF; the abnormal alarm information includes performance abnormal data;
- the processing unit is further configured to: when the abnormal alarm information is that the resource usage rate is higher than a preset first threshold, determine that the VNF is a performance overload; or, when the abnormal alarm information is a resource usage rate is lower than When the second threshold is preset, it is determined that the VNF is too low in performance.
- a fourth aspect provides a method for allocating network resources in a virtual network function VNF, where the method includes: acquiring performance abnormal data of a virtual network function VNF that is currently abnormal;
- NSAI Network service availability identifier NSAI information sent by the orchestrator Orchestrato; the NSAI is used to indicate information of the standby resource of the NS;
- a corresponding network service reservation resource processing strategy is formulated.
- the NSAI information includes: a network service identifier NSID, an alternate resource usage time limit, an alternate resource type, and a quantity;
- the NSID is used to indicate an NS to which the standby resource is applicable
- the usage time limit of the standby resource is used to indicate the maximum time that the standby resource can be used from the time of opening;
- the type and quantity of the standby resource are used to indicate the type of the standby resource included in the NSAI and the corresponding quantity of each type of the spare resource.
- the formulating the corresponding NSRRHP according to the contract resource information of the NS, the information of the standby resource indicated by the NSAI, and the performance abnormal data of the VNF includes:
- the NSRRHP is formulated to enable the type of spare resources such that the number of available resources of the type is the number of spare resources of the type plus the number of subscriptions of the type.
- the NSRRHP is configured to release the spare resource of the type, so that the quantity of the available resources of the type is the subscription value of the type;
- the contract resource information according to the NS the information of the standby resource indicated by the NSAI, and the
- VNF performance anomaly data the corresponding NSRRHP is formulated to include:
- the NSRRHP is formulated to release the spare resources of the type such that the number of available resources of the type is a subscription value of the type.
- the acquiring the virtual network that is currently abnormal Functional anomaly data for functional VNFs include:
- the abnormal alarm information includes performance abnormal data
- the network service availability identifier NSAL for indicating the information of the standby resource of the NS is added according to the NS subscription resource information when determining that the VNF has an abnormal performance of performance overload or performance degradation.
- FIG. 1 is a flowchart of a method for allocating network resources in a virtual network function according to Embodiment 1 of the present invention
- FIG. 2 is a flowchart of a method for allocating network resources in a virtual network function according to Embodiment 2 of the present invention
- FIG. 4 is a flowchart of a method for allocating network resources in a virtual network function according to Embodiment 4 of the present invention
- FIG. 5 is a schematic diagram of a virtual network function according to Embodiment 5 of the present invention
- Flow chart of a method for allocating network resources
- Figure 6 is a structural view of an organizer according to an embodiment of the present invention
- FIG. 7 is a structural diagram of a virtual network function according to an embodiment of the present invention.
- Figure 8 is a structural diagram of an organizer according to an embodiment of the present invention.
- FIG. 9 is a structural diagram of a virtual network function according to an embodiment of the present invention.
- the embodiment of the invention provides a network resource allocation method, an orchestrator and a manager in a virtual network function, which can dynamically adjust the available resources of the NS after the NS is generated, and ensure the availability and continuity of the NS.
- the method and the device in the embodiment of the present invention propose that, in the FV environment, when the NS is generated, an NSAI is added to the NSD to indicate that the NS can use the resource information exceeding the subscription value, that is, the information of the standby resource, in the operator and When the customer signs up, determine the time limit, type and quantity of the spare resources.
- FIG. 1 is a flowchart of a method for allocating network resources in a virtual network function according to Embodiment 1 of the present invention, where the method includes:
- Step S101 NSD sent by the OSS or the BSS; the NSD includes the subscription resource information of the NS and the NSAI information; the NSAI is used to indicate the information of the standby resource of the NS;
- Step S102 Obtain performance abnormal data of the VNF that is currently abnormal.
- Step S103 When it is determined that the V F is performance overload or performance is too low, according to the contract resource information of the NS, the information of the standby resource indicated by the NSAI, and the performance abnormal data of the V F, a corresponding NSRRHP is formulated;
- Step S104 Send the NSRRHP to the VNFM and the VIM respectively.
- the abnormality alarm of the performance overload or the performance of the VF is determined according to the contract resource information of the NS and the NSAI indication.
- the information of the standby resource and the performance abnormal data of the VNF are used to formulate a corresponding NSRRHP, and dynamically adjust the available resources of the NS for the VNF to ensure the availability and continuity of the NS.
- the method of the first embodiment of the present invention is applied to the scenario of Orchestrator decision making.
- V FM is responsible for analyzing and judging the abnormal alarms reported by the EMS (Element Management System) to determine whether the current NS resources are too small or too much. If not, take other fault management mechanisms. Recover; if yes, send the exception alert to Orchestrator Process it.
- EMS Event Management System
- the Orchestrator makes a reservation resource processing decision based on the V F anomaly type and the NSAI information, and delivers the corresponding action to V FM and VIM.
- Embodiment 2 is a signaling flowchart of a method for allocating network resources in a V F according to Embodiment 2 of the present invention. As shown in FIG. 2, the method includes the following steps:
- Step S201 The 0SS/BSS sends the NSD to the Orchestrator.
- the NSD includes the NS subscription resource information and the NSAI information.
- the NSAI information is used to indicate the condition of the standby resource of the NS, and the standby resource is a resource that the NS can use exceeding the subscription value.
- the contract value refers to the number of the NS contract resources.
- the operator signs a contract with the client
- the information of the resource required for the normal use of the NS is determined, which is also referred to as the contracted resource information.
- it can also determine the information of the resources that NS can use, which is the backup resource information.
- the operator deploys the network resources, and pre-defines a part of the resources as reserved resources.
- the reserved resources are used to provide backup resources for the VNF in the event that the VNF causes a network failure due to a shortage of NS resources. For example, you can set the resource deployment as: 90 ⁇ 95% for operational resources and 5 ⁇ 10% for reserved resources.
- an NSAL is added to the NSD to indicate the situation of the standby resource.
- the NSD containing the NSAI is sent to Orchestrator by 0SS/BSS.
- the NSAI information may include at least: an NSID, an alternate resource usage time limit, a spare resource type, and a quantity.
- the NSID is used to identify the NS, and is used to indicate the NS to which the standby resource is applicable.
- the usage time limit of the standby resource which is used to indicate the maximum time that the standby resource can be used from the time of opening. For example, it can be hours or days, etc.
- the backup resources are mainly used when the customer suddenly needs a lot of resources, and generally the duration of this situation is not too long. For example, if customers need a lot of resources for a long time, they will usually sign up for a large amount of traffic. Therefore, the occupation time of the standby resource is generally not too long, so that the backup resource is not occupied for a long time after being opened, and the backup resource is released in time to meet the customer demand, so as to avoid waste of resources.
- the type and quantity of the standby resource which is used to indicate the type of the spare resource included in the NSAI, and the corresponding number of each type of the spare resource.
- the types of alternate resources can be: Software resources and hardware resources.
- the software resources may include bandwidth resources, virtual link resources, and the like; the hardware resources may include VM resources, PF resources, and the like.
- the NSAI information may include multiple types of spare resources, and respectively set the number corresponding to each type of spare resources. For example, for a VF resource, assuming that its subscription value is 30 MHz, the maximum number that is expected to grow in the NS is 100 MHz.
- the NSAI information includes the following information:
- the spare resource type is a VF resource, and the quantity is 100 MHz.
- Step S202 The EMS obtains the running performance of each VNF in the NS.
- the EMS can periodically monitor the running performance of each V F in the NS.
- the EMS can periodically receive the running performance information reported by each VNF in the NS.
- the operating performance of the V F may include: bandwidth usage, throughput, delay, and the like.
- Step S203 When the EMS finds a performance abnormality alarm of the VNF, the performance abnormality alarm information of the VNF is reported to the VFM.
- Step S204 After receiving the performance abnormality alarm information of the VNF reported by the EMS, the VFM determines whether the performance is overloaded according to the performance abnormality alarm information. If yes, the process proceeds to step S205; if not, the performance is abnormal according to the normal process. The alarm is processed.
- the VFM analyzes and determines the abnormal alarm to determine whether the abnormality is caused by the NS performance overload, and whether the NS resource is added to solve the problem, if yes, then The VNF starts the standby resource and solves the abnormal alarm by adding NS resources.
- the abnormal alarm information includes performance abnormal data, and is analyzed according to the performance abnormal data.
- the performance abnormal alarm information may be determined as the VNF performance. overload.
- Step S205 The VNFM sends an NSRRR message to the Orchestrator.
- the NSRRR includes the network resource operation identifier and the performance abnormal data of the VNF.
- the NSRRR may include a network resource operation identifier.
- the operation identifier of the network resource of the NSRRR may be set to Increasing, meaning to enable Alternate resources.
- Step S206 The Orchestrator receives the NSRRR message sent by the VNFM, and determines that the current abnormality is a performance overload according to the network resource operation identifier, and the Orchestrator determines according to the NS subscription resource information, the NSAI indicated alternate resource information, and the VNF performance abnormal data.
- the network service reserves the resource processing policy NSRRHP, and proceeds to steps S207a and S207b.
- the corresponding NSRRHP is formulated to include:
- the Orchestrator determines the type of the resource that is currently overloaded with the performance, that is, it determines the current type of resources that are in short supply and causes an abnormal report.
- the Orchestrator queries the information of the alternate resource indicated by the NSAI to obtain the number of spare resources of the type in which the performance overload occurs. In other words, the Orchestrator queries the alternate resource information indicated by the NSAI to determine which types of backup resources can be enabled for the VNF.
- the Orchestrator also queries the contracted resource information of the NS to obtain the number of subscriptions of the resource of the type that currently has performance overload.
- the Orchestrator formulates the NSRRHP as: enabling the backup resource of the type in which the performance overload is currently occurring, such that the number of available resources of the type is the number of spare resources of the type plus the number of subscriptions of the type.
- the data of the NS performance overload in the NSRRR message received by the current Orchestrator indicates that the VNF resource required by the VNF is 80 MHz, and the VNF subscription value of the client is only 30 MHz.
- the Orchestrator can know from the NSAI received from the OSS/BSS in step S201 that the V F backup resource of the client is 100 MHz.
- Orchestrator sets NSRRHP to: Enable V F standby resources for the V F, so that the number of available resources of the V F is 130 MHz to solve the current fault.
- the VFM performs analysis and judgment according to the performance abnormality alarm information of a VF reported by the EMS.
- the network resource operation identifier included in the NSRRR is determined. Tell Orchestrator that the exception is a performance overload and need to turn on alternate resources for the VNF.
- the method may further include: sending, by the VFM, the performance abnormality alarm information of a certain V F reported by the EMS to the Orchestrator.
- the Orchestrator analyzes and determines the performance abnormality alarm information. When the resource usage rate included in the information is higher than the preset first threshold, the Orchestrator determines that the V F is a performance overload, and needs to open the standby resource for the VNF.
- Step S207 The Orchestrator sends the NSRRHP message to the VNFM, and proceeds to step S208a.
- the NSRRHP message includes policy information for expanding the VNF resource.
- the VF resource refers to the software resources of the NS, for example, bandwidth resources, virtual link resources, and the like.
- Step S207b The Orchestrator sends the NSRRHP message to the VIM, and proceeds to step S208b.
- the NSRRHP message includes the NFVI (FV Infrastructure, Network Function Virtualization Infrastructure). Policy information for resource expansion.
- NFVI FV Infrastructure, Network Function Virtualization Infrastructure
- the FVI resource refers to the hardware resources of the NS, for example, VM resources, PNF resources, and the like.
- Step S208a After receiving the NSRRHP message, the VNFM performs an extended operation on the VNF resource according to the policy in the NSRRHP message, that is, the standby resource of the VNF is enabled.
- Step S208b After receiving the NSRRHP message, the VIM performs an extended operation on the FVI resource according to the policy in the NSRRHP message, that is, the standby resource of the NFVI is enabled.
- the customer can not only use the normal use resources specified in the contract, but also use the spare resources specified in the NSAI, thereby eliminating the overload abnormality of the NS, avoiding the abnormal interruption of the service, and satisfying the use requirements of the customer. Improve the usability and continuity of NS.
- the method of the embodiment of the present invention further includes: releasing the standby resource occupied by the VNF after the NS overload abnormality of the VNF is eliminated or the usage time of the standby resource is reached, in order to avoid the NS resource waste and the use of the backup resource.
- the method further includes:
- Step S209 The EMS obtains the running performance of each VNF in the NS.
- the EMS can periodically monitor the running performance of each V F in the NS.
- the EMS can periodically receive the running performance information reported by each VNF in the NS.
- the operating performance of the V F may include: bandwidth usage, data throughput, latency, and the like.
- Step S210 When the EMS finds a performance abnormality alarm of the VNF, the performance abnormality alarm information of the VNF is reported to the VFM.
- Step S211 After receiving the performance abnormality alarm information of the VF reported by the EMS, the VFM determines whether it is necessary to release the standby resource of the NS for the VF. If the release is required, the process proceeds to step S212; otherwise, the performance is abnormal according to the normal procedure. The alarm is processed.
- the VNFM determines whether the performance is too low and the standby resource is turned on according to the performance abnormality alarm information. If yes, the process proceeds to step S212; if not, the The normal process handles this performance anomaly alarm.
- the VNFM analyzes the abnormal alarm to determine whether the abnormality is caused by the NS performance of the VF being too low, for example, analyzing and judging according to the performance abnormal data in the performance abnormal alarm information.
- the resource usage of the VF is lower than the preset second threshold, it may be determined that the alarm is too low for the VNF performance.
- the standby resource is enabled before the VNF, if it is turned on, it is determined that the standby resource of the NS needs to be released for the VF; if not, the performance abnormality alarm is performed according to a normal process. deal with.
- the VFM determines whether the standby resource is enabled before the VNF according to the NS performance parameter of the VNF and the parameter information in the NSAI.
- the V FM determines that the V F subscription value is only 30 MHz, but the actual available resource value of the VNF is currently 130 MHz. Meanwhile, the NS has the standby VNF resource of 100 MHz. From this it can be determined that the VNF has opened the standby resource.
- the VNF Since the current resource usage of the VNF is too low, it can be known that the VNF does not need to continue to occupy the standby resource, and thus the standby resource can be released to avoid resource waste.
- Step S212 The VNFM sends an NSRRR message to the Orchestrator.
- the NSRRR includes the network resource operation identifier and the performance abnormal data of the VNF.
- the NSRRR may include a network resource operation identifier.
- the operation identifier of the network resource of the NSRRR may be set to Decreasing, meaning Release the alternate resource.
- Step S213 The Orchestrator receives the NSRRR message sent by the VNFM, determines that the network resource operation identifier determines that the current abnormality is too low, and the Orchestrator formulates the contract resource information according to the NS, the information of the standby resource indicated by the NSAI, and the performance abnormal data of the VNF.
- the corresponding network service reservation resource processing policy NSRRHP proceeds to steps S214a and S214b.
- the formulating the corresponding NSRRHP according to the contract resource information of the NS, the information of the standby resource indicated by the NSAI, and the performance abnormal data of the VNF includes:
- the Orchestrator determines the type of the resource that is currently under-performing according to the performance abnormality data of the V F included in the NSRRR message, that is, to determine which types of resources are currently used, and the usage rate is too low, causing an abnormal alarm.
- the Orchestrator queries the contracted resource information of the NS to obtain the number of subscriptions of the currently underperforming type of resources.
- the Orchestrator formulates the NSRRHP as: releasing the spare resources of the type such that the number of available resources of the type is a subscription value of the type.
- the NS performance of the NSRRR message received by the current Orchestrator is too low, and the VNF resource required by the VNF is only 10 MHz, and the VNF resource currently available to the client is 130 MHz, and the VNF subscription value is 30MHz.
- Orchestrator knows through NSAI that the customer's VNF The spare resource is 100MHz.
- Orchestrator formulates an alternate resource processing strategy, and determines to release the VNF backup resource for the VNF, so that the VNF itself can meet the current requirements to avoid resource waste.
- the VFM may perform analysis and judgment according to the performance abnormality alarm information of a certain VNF reported by the EMS, and when it is determined that the abnormal alarm is too low, the network resources included in the NSRRR are included.
- the operation identifier tells Orchestrator that the exception is a performance overload and needs to release spare resources for the VNF.
- the method may further include: sending, by the VFM, the performance abnormality alarm information of a certain V F reported by the EMS to the Orchestrator.
- the performance abnormality alarm information is analyzed and judged by the Orchestrator.
- the Orchestrator determines that the V F is too low and needs to release the standby resource for the VNF.
- Step S214a The Orchestrator sends the NSRRHP message to the VNFM, and proceeds to step S215a.
- the NSRRHP message includes policy information for releasing the VNF backup resource.
- Step S214b The Orchestrator sends the NSRRHP message to the VIM, and proceeds to step S215b.
- the NSRRHP message includes policy information for releasing the NFVI backup resource.
- Step S215a After receiving the NSRRHP message, the VNFM performs a release operation on the VNF resource according to the policy in the NSRRHP message.
- Step S215b After receiving the NSRRHP message, the VIM performs release of the FVI resource according to the policy in the NSRRHP message.
- the Orchestrator may also initiate a release operation of the standby resource.
- FIG. 3 is a flowchart of a method for allocating network resources in a virtual network function V F according to Embodiment 3 of the present invention. As shown in FIG. 3, the method may include the following steps:
- Step S301 Obtain performance abnormal data of the VNF in which the abnormality is currently occurring
- Step S302 Receive NSAI information sent by Orchestrato; the NSAI is used to indicate the NS Information about alternate resources;
- Step S303 When it is determined that the V F is performance overload or is too low, according to the subscription resource information of the NS, the information of the standby resource indicated by the NSAI, and the performance abnormal data of the VNF, formulating a corresponding NSRRHP;
- Step S304 Send the NSRRHP to the VIM.
- the NSAI when the NSAL for indicating the information about the standby resource of the NS is added to determine the abnormality alarm of the performance overload or the performance of the VF, the NSAI indicates the subscription resource information and the NSAI indicates the standby.
- the information of the resource and the performance abnormal data of the VNF are formulated, and the corresponding NSRRHP is formulated, and the available resources of the NS are dynamically adjusted for the VNF to ensure the availability and continuity of the NS.
- Embodiment 3 of the present invention is applied to a scenario of V FM decision.
- V FM the overload alarm is sent to Orchestrator for processing.
- the VNFM is responsible for analyzing and judging the overload alarm reported by the EMS, and determining whether the current NS resource shortage is caused. If not, the other fault management mechanism is used for recovery; if yes, according to the abnormal type of the VNF and The NSAI information is made to reserve resource processing decisions and is sent to VIM to perform the corresponding actions.
- Embodiment 4 is a signaling flowchart of a method for allocating network service resources according to Embodiment 4 of the present invention. As shown in FIG. 4, the method includes the following steps:
- Step S401 The OSS/BSS sends the NSD to the Orchestrator.
- the NSD includes the contracted resource information and the NSAI information of the NS.
- Step S402 The EMS obtains the running performance of each VNF in the NS.
- the EMS can periodically monitor the running performance of each V F in the NS.
- the EMS can periodically receive the running performance information reported by each VNF in the NS.
- the operating performance of the V F may include: bandwidth usage, data throughput, latency, and the like.
- Step S403 When the EMS finds a performance abnormality alarm of the VNF, the performance abnormality alarm information of the VNF is reported to the VNFM, and the abnormal alarm information includes the performance abnormality data.
- Step S404 After receiving the performance abnormality alarm information of the VNF reported by the EMS, the VNFM determines whether the performance is overloaded according to the performance abnormality data. If yes, the process proceeds to step S405; if not, the performance abnormality alarm is performed according to a normal process. deal with.
- the VNFM After receiving the performance abnormality alarm information of the VNF, the VNFM analyzes and determines the abnormal alarm to determine whether the abnormality is caused by the NS overload, whether it can be solved by adding the NS resource, and if so, the VF Enable the standby resource and solve the abnormal alarm by adding NS resources.
- the abnormal alarm information is that the resource usage rate is higher than a preset first threshold, determining that the VNF is a performance overload.
- Step S405 The VNFM sends a request message to the Orchestrator for requesting to acquire the NSAI information, and receives a response message including the NSAI information returned by the Orchestrator.
- Step S406 The VNFM establishes a corresponding NSRRHP according to the contract resource information of the NS, the information of the standby resource indicated by the NSAI, and the performance abnormal data of the VNF, and proceeds to step S407.
- the VNFM determines, according to the data information of the NS performance overload of the VNF, which types of resources of the VNF are scarce, resulting in an abnormal alarm. At the same time, the VNFM determines which types of spare resources can be enabled for the V F based on the availability of the alternate resources in the NSAI information received from Orchestrator. Then, the VNFM formulates an alternate resource processing strategy, and makes a decision to open the standby resource of the type that is included in the NSAI information and the V F is in short supply.
- the formulating the corresponding NSRRHP according to the subscription resource information of the NS, the information of the standby resource indicated by the NSAI, and the performance abnormal data of the VNF includes:
- the VNFM determines the type of resource that is currently experiencing performance overload based on the performance anomaly data of the VNF. Querying the information of the standby resource indicated by the NSAI, obtaining the quantity of the spare resource of the type; querying the subscription resource information of the NS, and obtaining the subscription quantity of the type.
- the NSRRHP is formulated to enable the type of spare resources such that the number of available resources of the type is the number of spare resources of the type plus the number of subscriptions of the type.
- VNFM determines that the NS performance overload data indicates that the VNF required for the VNF is 80 MHz, and the VNF subscription value of the customer is only 30 MHz. VNFM knows through NSAI that the customer's VNF backup resource is 100MHz.
- the VNFM formulates an alternate resource processing strategy, and determines to enable the VNF backup resource for the V F, so that the VNF can have a 130 MHz resource to solve the current fault.
- Step S407 The VNFM sends the NSRRHP message to the VIM, and proceeds to step S408b.
- the NSRRHP message includes policy information for extending FVI resources.
- Step S408a The VNFM performs an extended operation on the VNF backup resource, that is, a backup resource for enabling the VNF.
- Step S408b After receiving the NSRRHP message, the VIM performs an extended operation on the FVI backup resource according to the policy in the NSRRHP message, that is, the FVI standby resource is enabled.
- the customer can not only use the normal use resources specified at the time of signing, but also use
- the standby resources specified in the NSAI can eliminate the overload abnormality of the NS, avoid the abnormal interruption of the service, meet the customer's use requirements, and improve the availability and continuity of the NS.
- the method of the embodiment of the present invention further includes: releasing the standby resources occupied by the VNF after the NS overload abnormality of the VNF is eliminated or the usage time of the standby resource is reached.
- the method further includes:
- Step S409 The EMS obtains the running performance of each VNF in the NS.
- the EMS can periodically monitor the running performance of each V F in the NS.
- the EMS can periodically receive the running performance information reported by each VNF in the NS.
- the operating performance of the V F may include: bandwidth usage, data throughput, latency, and the like.
- Step S410 When the EMS finds a performance abnormality alarm of the VNF, the performance abnormality alarm information of the VNF is reported to the VFM.
- Step S411 After receiving the performance abnormality alarm information of a certain V F reported by the EMS, the V FM determines whether the performance is too low. If yes, the process goes to step S412; otherwise, the performance abnormality alarm is processed according to a normal process.
- the VFM after receiving the performance abnormality alarm information of the VF reported by the EMS, the VFM first determines whether the alarm is an alarm whose VNF performance is too low, and if yes, further determines whether the standby resource is enabled before the VNF; , the performance exception alarm is processed according to the normal process.
- the VNFM analyzes the performance abnormality alarm information of the VNF.
- the alarm may be determined to be an alarm that the VNF performance is too low.
- the standby resource is enabled before the VNF, if it is turned on, it is determined that the standby resource of the NS needs to be released for the V F; if not, the performance abnormality alarm is processed according to a normal procedure.
- the VNFM determines whether the standby resource is enabled before the VNF according to the NS performance parameter of the VNF and the parameter information in the NSAI.
- the VNFM determines that the V F subscription value is only 30 MHz, but the actual available resource value of the VNF is currently 130 MHz. Meanwhile, the NS has a standby VNF resource of 100 MHz. From this it can be determined that the VNF has opened the standby resource.
- the VNF Since the current resource usage of the VNF is too low, it can be known that the VNF does not need to continue to occupy the standby resource, and thus the standby resource can be released to avoid resource waste.
- Step S412 The VNFM sends a request message to the Orchestrator for requesting acquisition of the NSAI information; Receives a response message including NSAI information returned by Orchestrator.
- Step S413 The VFM formulates a corresponding NSRRHP according to the subscription resource information of the NS, the information of the standby resource indicated by the NSAI, and the performance abnormality data of the VNF, and proceeds to step S414.
- the formulating the corresponding NSRRHP according to the contract resource information of the NS, the information of the standby resource indicated by the NSAI, and the performance abnormal data of the VNF includes:
- the type of the resource that is currently under-performing is determined.
- the data information of the current NS performance is too low, indicating that the VNF resource required by the VNF is only 10 MHz, and the VNF resource currently available to the client is 130 MHz, and the VNF subscription value is 30 MHz.
- VNFM knows through NSAI that the customer's VNF backup resource is 100MHz.
- the VNFM formulates an alternate resource processing policy, and determines to release the VNF backup resource for the V F, so that the VNF
- the signing value of the VNF itself can meet the current needs to avoid waste of resources.
- Step S414 The VNFM sends the NSRRHP message to the VIM, and proceeds to step S415b.
- the NSRRHP message includes policy information for releasing the FVI backup resource.
- Step S415a The VNFM performs a release operation on the VNF resource.
- Step S415b After receiving the NSRRHP message, the VIM performs release of the FVI resource according to the policy in the NSRRHP message.
- the VNFM may also initiate a release operation of the standby resource.
- the VNFM determines whether the currently used backup resource usage time exceeds the usage time of the standby resource according to the usage time limit of the standby resource in the NSAI information received from the Orchestrator. If exceeded, the VNFM actively formulates a reserved resource processing policy. Release this part of the spare resource.
- the method of Embodiment 5 of the present invention is still applied to the scenario of VNFM decision.
- the difference between the fifth embodiment and the fourth embodiment is that when the Orchestrator receives the NSD sent by the OSS/BSS, it immediately includes the NSAI included therein. The information is sent to the VNFM, and the process of requesting the NSAI from the VNFM to the Orchestrator is no longer needed.
- FIG. 5 it is a signaling flowchart of a method for allocating network service resources according to Embodiment 5 of the present invention. As shown in FIG. 5, the method includes the following steps:
- Step S501 The OSS/BSS sends the NSD to the Orchestrator.
- the NSD includes the NS subscription resource information and the NSAI information.
- the Orchestrator After receiving the NSD, the Orchestrator sends the NSAI information to the VFM.
- Step S502 The EMS obtains the running performance of each VNF in the NS.
- the EMS can periodically monitor the running performance of each V F in the NS.
- the EMS can periodically receive the running performance information reported by each VNF in the NS.
- the operating performance of the V F may include: bandwidth usage, data throughput, latency, and the like.
- Step S503 When the EMS finds a performance abnormality alarm of the VNF, the performance abnormality alarm information of the VNF is reported to the VFM.
- Step S504 After receiving the performance abnormality alarm information of the VNF reported by the EMS, the VNFM determines whether the performance is overloaded according to the performance abnormality data. If yes, the process proceeds to step S505; if not, the performance abnormality alarm is performed according to a normal process. deal with.
- the VNFM After receiving the performance abnormality alarm information of the VNF, the VNFM analyzes and determines the abnormal alarm to determine whether the abnormality is caused by the NS overload, whether it can be solved by adding the NS resource, and if so, opening the standby resource to the VF.
- the abnormal alarm is solved by adding NS resources.
- the abnormal alarm information is that the resource usage rate is higher than a preset first threshold, determining that the VNF is a performance overload.
- Step S505 The VNFM according to the NS resource information of the NS, the information of the standby resource indicated by the NSAI, and
- step S506 If the performance of the VNF is abnormal, the corresponding NSRRHP is formulated, and the process proceeds to step S506.
- the VNFM determines, according to the data information of the NS performance overload of the VNF, which types of resources of the VNF are scarce, resulting in an abnormal alarm. At the same time, the VNFM determines which types of spare resources can be enabled for the V F based on the availability of the alternate resources in the NSAI information received from Orchestrator. Then, the VNFM formulates an alternate resource processing strategy, and makes a decision to open the standby resource of the type that is included in the NSAI information and the V F is in short supply.
- the formulating the corresponding NSRRHP according to the subscription resource information of the NS, the information of the standby resource indicated by the NSAI, and the performance abnormal data of the VNF includes:
- the VNFM determines the type of resource currently experiencing performance overload based on the performance abnormal data of the VNF. Querying the information of the standby resource indicated by the NSAI, and obtaining the quantity of the backup resource of the type; querying the subscription resource information of the NS, and acquiring the subscription quantity of the type.
- the NSRRHP is formulated to enable the type of spare resources such that the number of available resources of the type is the number of spare resources of the type plus the number of subscriptions of the type.
- VNFM knows through NSAI that the customer's VNF backup resource is 100MHz.
- the VNFM formulates an alternate resource processing strategy, and determines to enable the VNF backup resource for the V F, so that the VNF can have a 130 MHz resource to solve the current fault.
- Step S506 The VNFM sends the NSRRHP message to the VIM, and proceeds to step S507b.
- the NSRRHP message includes policy information for extending the FVI resource.
- Step S507a The VNFM performs an extended operation on the VNF backup resource, that is, a backup resource for enabling the VNF.
- Step S507b After receiving the NSRRHP message, the VIM performs an extended operation on the FVI backup resource according to the policy in the NSRRHP message, that is, the FVI standby resource is enabled.
- the customer can not only use the normal use resources specified in the contract, but also use the spare resources specified in the NSAI, thereby eliminating the overload abnormality of the NS, avoiding the abnormal interruption of the service, and satisfying the use requirements of the customer. Improve the usability and continuity of NS.
- the method of the embodiment of the present invention further includes: releasing the standby resources occupied by the VNF after the NS overload abnormality of the VNF is eliminated or the usage time of the standby resource is reached.
- the method further includes:
- Step S508 The EMS obtains the running performance of each VNF in the NS.
- the EMS can periodically monitor the running performance of each V F in the NS.
- the EMS can periodically receive the running performance information reported by each VNF in the NS.
- the operating performance of the V F may include: bandwidth usage, data throughput, latency, and the like.
- Step S509 When the EMS finds a performance abnormality alarm of the VNF, the performance abnormality alarm information of the VNF is reported to the VFM.
- Step S510 After receiving the performance abnormality alarm information of a VNF reported by the EMS, the VNFM determines whether the performance is too low. If yes, the process goes to step S511; otherwise, the performance abnormality alarm is processed according to a normal process.
- the VNFM after receiving the performance abnormality alarm information of the VF reported by the EMS, the VNFM first determines whether the alarm is too low for the VNF performance, and if yes, further determines whether the VNF is turned on before the standby. Resource; if no, the performance exception alert is processed according to the normal process.
- the VFM analyzes the performance abnormality alarm information of the VNF.
- the alarm may be determined to be an alarm with a low VNF performance.
- the standby resource is enabled before the VNF, if it is turned on, it is determined that the standby resource of the NS needs to be released for the V F; if not, the performance abnormality alarm is processed according to a normal procedure.
- the VNFM determines whether the standby resource is enabled before the VNF according to the NS performance parameter of the VNF and the parameter information in the NSAI.
- the VNFM determines that the V F subscription value is only 30 MHz, but the actual available resource value of the VNF is currently 130 MHz. Meanwhile, the NS has a standby VNF resource of 100 MHz. From this it can be determined that the VNF has opened the standby resource.
- the VNF Since the current resource usage of the VNF is too low, it can be known that the VNF does not need to continue to occupy the standby resource, and thus the standby resource can be released to avoid resource waste.
- Step S511 The VNFM formulates an alternate resource processing policy according to the data information of the VNF whose NS performance is too low, and the situation of the standby resource in the NSAI information, and proceeds to step S512.
- the VNFM determines which types of resources of the VNF are too low to cause an abnormal alarm. At the same time, the VNFM determines which types of spare resources can be released for the VNF based on the conditions of the alternate resources in the NSAI information. Then, the VNFM formulates an alternate resource processing policy, and makes a decision to release the spare resource of the type that is included in the NSAI information and the usage rate of the VNF is too low.
- the data information of the current NS performance is too low, indicating that the VNF resource required by the VNF is only 10 MHz, and the VNF resource currently available to the client is 130 MHz, and the VNF subscription value is 30 MHz.
- VNFM knows through NSAI that the customer's VNF backup resource is 100MHz.
- the VNFM formulates an alternate resource processing policy, and determines to release the VNF backup resource for the VF, so that the subscription value of the VNF itself can meet the current requirement, thereby avoiding waste of resources.
- Step S512 The VNFM sends the NSRRHP message to the VIM, and proceeds to step S513b.
- the NSRRHP message includes policy information for releasing the FVI backup resource.
- Step S513a The VNFM performs a release operation on the VNF resource.
- Step S513b After receiving the NSRRHP message, the VIM performs release of the FVI resource according to the policy in the NSRRHP message.
- the VFM may also initiate a release operation of the standby resource.
- FIG. 6 is a structural diagram of an organizer according to Embodiment 1 of the present invention.
- the orchestrator Orchestrator includes: a receiving unit 601, a processing unit 602, and a transmitting unit 603.
- the receiving unit 601 is configured to receive the NSD sent by the 0SS or the BSS; the NSD includes the subscription resource information of the NS and the NSAI information; and the NSAI is used to indicate the information of the standby resource of the NS.
- the processing unit 602 is configured to obtain the performance abnormal data of the VF that is currently abnormal.
- the VNF is determined to be overloaded or too low
- the information about the subscription resource of the NS and the information of the standby resource indicated by the NSAI are determined.
- the performance abnormal data of the VNF, the corresponding NSRRHP is formulated.
- the sending unit 603 is configured to send the NSRRHP to the VNFM and the VIM, respectively.
- the NSAI for indicating the information of the standby resource of the NS is used according to the contracted resource information of the NS and the standby resource indicated by the NSAI when the abnormality alarm of the performance overload or the performance of the VNF is determined.
- the information and the performance abnormal data of the VNF are used to formulate a corresponding network service reservation resource processing strategy NSRRHP, and dynamically adjust the available resources of the NS for the VNF to ensure the availability and continuity of the NS.
- the NSAI information may include: an NSID, an alternate resource usage time limit, an alternate resource type, and a quantity;
- the NSID is used to indicate an NS to which the standby resource is applicable
- the usage time limit of the standby resource is used to indicate the maximum time that the standby resource can be used from the time of opening;
- the type and quantity of the standby resource are used to indicate the type of the spare resource included in the NSAI and the quantity corresponding to each type of the spare resource.
- the processing unit 602 is specifically configured to: when the VF is a performance overload, determine, according to the performance abnormal data of the VNF, a type of a resource that currently has a performance overload; query the standby indicated by the NSAI The information of the resource, the quantity of the backup resource of the type is obtained; the information about the subscription resource of the NS is also obtained, and the number of subscriptions of the type is obtained; and the NSRRHP is set to enable the backup resource of the type, so that the The number of available resources of the type is the number of spare resources of the type plus the number of subscriptions of the type.
- the arranger may further include: a timing unit (not shown) for starting timing from turning on the type of spare resource.
- the processing unit 602 is further configured to: when the timing of the timing unit reaches a usage time limit of the backup resource of the type, formulating the NSRRHP to release the spare resource of the type, so that the quantity of the available resources of the type is The type of contract value.
- the sending unit 601 is further configured to send the NSRRHP to the V FM and the VIM respectively.
- the processing unit 602 is specifically configured to determine, according to the performance abnormal data of the VNF, the type of the resource that is currently under-performing according to the performance abnormality data of the VNF; and query the subscription resource information of the NS. Obtaining the number of subscriptions of the type; when the number of available resources of the type is greater than the number of subscriptions of the type, determining that the resource of the type opens the standby resource; and formulating the NSRRHP to release the spare resource of the type The number of available resources of the type is such that the type of subscription value.
- the sending unit 601 is further configured to receive the NS abnormal alarm information sent by the V FM, where the abnormal alarm information includes performance abnormality data;
- the processing unit 602 is further configured to: when the abnormal alarm information is that the resource usage rate is higher than a preset first threshold, determine that the VNF is a performance overload; or, when the abnormal alarm information is a resource When the usage rate is lower than the preset second threshold, it is determined that the VNF is too low in performance.
- the sending unit 601 is further configured to receive an NSRRR sent by the VNFM, where the NSRRR includes performance abnormality data and a network resource operation identifier.
- the processing unit 602 is further configured to: when the network resource operation identifier is to enable the standby resource, determine that the VNF is a performance overload; or, when the network resource operation identifier is to release the standby resource, determine The VNF is too low in performance.
- FIG. 7 is a structural diagram of a virtual network function manager according to Embodiment 1 of the present invention.
- the virtual network function manager VNFM may include: a receiving unit 701, a processing unit 702, and a sending unit 703.
- the receiving unit 701 is configured to receive performance abnormal data of a VNF that currently has an abnormality.
- the processing unit 702 is configured to obtain NSAI information sent by the Orchestrato; the NSAI is used to indicate information about the standby resource of the NS; and when determining that the VNF is performance overload or too low, according to the NS
- the contracted resource information, the information of the standby resource indicated by the NSAI, and the abnormal data of the performance of the VF, and the corresponding NSRRHP is formulated;
- the sending unit 703 is configured to send the NSRRHP to the VIM.
- the NSAI for indicating the information of the standby resource of the NS is used according to the contracted resource information of the NS and the standby resource indicated by the NSAI when the abnormality alarm of the performance overload or the performance of the VNF is determined.
- the information and the abnormal data of the VNF are formulated, and the corresponding NSRRHP is formulated to dynamically adjust the available resources of the NS for the VNF to ensure the availability and continuity of the NS.
- the NSAI information may include: an NSID, an alternate resource usage time limit, an alternate resource type, and a quantity;
- the NSID is used to indicate an NS to which the standby resource is applicable
- the usage time limit of the standby resource is used to indicate the maximum time that the standby resource can be used from the time of opening;
- the type and quantity of the standby resource used to indicate the type of the standby resource included in the NSAI, and the number of each type of the spare resource respectively
- the processing unit 702 is specifically configured to: when the VF is a performance overload, determine, according to the performance abnormal data of the VNF, a type of a resource that is currently performing performance overload; and query information about the standby resource indicated by the NSAI. Obtaining the quantity of the backup resource of the type; querying the subscription resource information of the NS, obtaining the subscription quantity of the type; formulating the NSRRHP to enable the backup resource of the type, so that the quantity of the available resources of the type The number of subscriptions of the type is added to the number of backup resources of the type described.
- the manager may further include: a timing unit (not shown) for starting timing from the opening of the type of spare resource.
- the processing unit 702 is further configured to: when the timing of the timing unit reaches a usage time limit of the backup resource of the type, formulating the NSRRHP to release the spare resource of the type, so that the quantity of the available resources of the type is The type of contract value.
- the sending unit 703 is further configured to send the NSRRHP to the VIM.
- the processing unit 702 is specifically configured to determine, according to the performance abnormal data of the VNF, the type of the resource that is currently under-performing according to the performance abnormality data of the VNF; and query the subscription resource information of the NS. Obtaining the number of subscriptions of the type; when the number of available resources of the type is greater than the number of subscriptions of the type, determining that the resource of the type opens the standby resource; and formulating the NSRRHP to release the spare resource of the type The number of available resources of the type is such that the type of subscription value.
- the sending unit 703 is further configured to send request information to the Orchestrator, where The information is used to request to acquire the NSAI information.
- the receiving unit 701 is further configured to receive the NSAI information returned by the Orchestrator.
- the receiving unit 701 is further configured to: receive the NS abnormal alarm information sent by the V F; and include abnormal performance data in the abnormal alarm information.
- the processing unit 702 is further configured to: when the abnormal alarm information is that the resource usage rate is higher than a preset first threshold, determine that the VNF is a performance overload; or, when the abnormal alarm information is a resource When the usage rate is lower than the preset second threshold, it is determined that the VNF is too low in performance.
- an embodiment of the present invention further provides an orchestrator.
- FIG. 8 is a structural diagram of a organizer according to Embodiment 2 of the present invention.
- the orchestrator Orchestrator includes: a receiver 801, a processor 802, and a transmitter 803.
- the receiver 801 is configured to receive an NSD sent by the 0SS or the BSS.
- the NSD includes the subscription resource information of the NS and the NSAI information.
- the NSAI is used to indicate information about the standby resource of the NS.
- the processor 802 is configured to acquire performance abnormal data of a VNF that currently has an abnormality; when determining the
- the corresponding NSRRHP is formulated according to the contract resource information of the NS, the information of the backup resource indicated by the NSAI, and the performance abnormal data of the VNF.
- the transmitter 803 is configured to send the NSRRHP to the V FM and the VIM respectively.
- the NSAI for indicating the information of the standby resource of the NS is used according to the contracted resource information of the NS and the standby resource indicated by the NSAI when the abnormality alarm of the performance overload or the performance of the VNF is determined.
- the information and the abnormal data of the VNF are formulated, and the corresponding NSRRHP is formulated, and the available resources of the NS are dynamically adjusted for the VF to ensure the availability and continuity of the NS.
- the NSAI information may include: an NSID, an alternate resource usage time limit, an alternate resource type, and a quantity;
- the NSID is used to indicate an NS to which the standby resource is applicable
- the usage time limit of the standby resource is used to indicate the maximum time that the standby resource can be used from the time of opening;
- the type and quantity of the standby resource are used to indicate the type of the spare resource included in the NSAI and the quantity corresponding to each type of the spare resource.
- the processor 802 is specifically configured to: when the VF is a performance overload, determine, according to the performance abnormal data of the VNF, a type of a resource that currently has a performance overload; query the standby indicated by the NSAI The information of the resource, the quantity of the backup resource of the type is obtained; the information about the subscription resource of the NS is also obtained, and the number of subscriptions of the type is obtained; and the NSRRHP is set to enable the backup resource of the type, so that the The number of available resources of the type is the number of spare resources of the type plus the number of subscriptions of the type.
- the organizer may further include: a timer (not shown) for starting timing when the standby resource of the type is turned on.
- the processor 802 is further configured to: when the timing of the timer reaches a usage time limit of the type of the standby resource, the NSRRHP is configured to release the spare resource of the type, so that the quantity of the available resources of the type is The type of contract value.
- the transmitter 803 is configured to send the NSRRHP to the V FM and the VIM respectively.
- the processor 802 is specifically configured to: when the VF is too low, determine, according to the performance abnormal data of the VNF, a type of a resource that is currently under-performing; and query the subscription resource information of the NS. Obtaining the number of subscriptions of the type; when the number of available resources of the type is greater than the number of subscriptions of the type, determining that the resource of the type opens the standby resource; and formulating the NSRRHP to release the spare resource of the type The number of available resources of the type is such that the type of subscription value.
- the receiver 801 is further configured to receive the NS abnormal alarm information sent by the VNFM, where the abnormal alarm information includes performance abnormality data;
- the processor 802 is further configured to: when the abnormal alarm information is that the resource usage rate is higher than a preset first threshold, determine that the VNF is a performance overload; or, when the abnormal alarm information is a resource When the usage rate is lower than the preset second threshold, it is determined that the VNF is too low in performance.
- the receiver 801 is further configured to receive a network service reservation resource request message NSRRR sent by the VNFM, where the NSRRR includes performance abnormal data and a network resource operation identifier.
- the processor 802 is further configured to: when the network resource operation identifier is to enable the standby resource, determine that the VNF is a performance overload; or, when the network resource operation identifier is to release the standby resource, determine The VNF is too low in performance.
- FIG. 9 is a structural diagram of a virtual network function manager according to Embodiment 2 of the present invention.
- the virtual network function manager VNFM may include: a receiver 901, a processor 902, and a transmitter 903.
- the receiver 901 is configured to receive performance abnormal data of a VNF that currently has an abnormality.
- the processor 902 is configured to obtain NSAI information sent by the Orchestrato; the NSAI is used to indicate information about the standby resource of the NS; and when determining that the VF is performance overload or too low, according to the NS
- the contracted resource information, the information of the standby resource indicated by the NSAI, and the abnormal data of the performance of the VF, and the corresponding NSRRHP is formulated;
- the transmitter 903 is configured to send the NSRRHP to the VIM.
- the NSAI for indicating the information of the standby resource of the NS is used according to the contracted resource information of the NS and the standby resource indicated by the NSAI when the abnormality alarm of the performance overload or the performance of the VNF is determined.
- the information and the abnormal data of the VNF are formulated, and the corresponding NSRRHP is formulated to dynamically adjust the available resources of the NS for the VNF to ensure the availability and continuity of the NS.
- the NSAI information may include: an NSID, an alternate resource usage time limit, an alternate resource type, and a quantity;
- the NSID is used to indicate an NS to which the standby resource is applicable
- the usage time limit of the standby resource is used to indicate the maximum time that the standby resource can be used from the time of opening;
- the type and quantity of the standby resource used to indicate the type of the standby resource included in the NSAI, and the number of each type of the spare resource respectively
- the processor 902 is specifically configured to: when the VF is a performance overload, determine, according to the performance abnormal data of the VNF, a type of a resource that currently has a performance overload; and query information about the standby resource indicated by the NSAI. Obtaining the quantity of the backup resource of the type; querying the subscription resource information of the NS, obtaining the subscription quantity of the type; formulating the NSRRHP to enable the backup resource of the type, so that the quantity of the available resources of the type The number of subscriptions of the type is added to the number of backup resources of the type described.
- the manager may further include: a timer (not shown) for starting timing when the backup resource of the type is turned on.
- the processor 902 is further configured to: when the timing of the timer reaches a usage time limit of the backup resource of the type, the NSRRHP is configured to release the spare resource of the type, so that the quantity of the available resources of the type is The type of contract value.
- the transmitter 903 is further configured to send the NSRRHP to the VIM.
- the processor 902 is specifically configured to: when the performance of the VF is too low, determine, according to performance abnormal data of the VNF, a type of a resource that is currently under-performing; and query the subscription of the NS. Resource information, obtaining the number of subscriptions of the type; when the number of available resources of the type is greater than the number of subscriptions of the type, determining that the resource of the type opens the standby resource; and formulating the NSRRHP to release the type An alternate resource such that the number of available resources of the type is a subscription value of the type.
- the sender 903 is further configured to send request information to the Orchestrator, where the request is The information is used to request to acquire the NS AI information.
- the receiver 901 is further configured to receive the NSAI information returned by the Orchestrator.
- the receiver 901 is further configured to: receive the NS abnormal alarm information sent by the V F; and include abnormal performance data in the abnormal alarm information.
- the processor 902 is further configured to: when the abnormal alarm information is that the resource usage rate is higher than a preset first threshold, determine that the VNF is a performance overload; or, when the abnormal alarm information is a resource When the usage rate is lower than the preset second threshold, it is determined that the VNF is too low in performance.
Landscapes
- Engineering & Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
Description
虚拟网络功能中网络资源的分配方法、 编排器及管理器 Network resource allocation method, orchestrator and manager in virtual network function
技术领域 本发明涉及通信技术领域, 特别涉及一种虚拟网络功能中网络资源的分配方法、 编排器及管理器。 背景技术 FV (Network Function Virtulization, 网络功能虚拟化)是由全球 13个主要电信 运营商发起的, 众多设备商、 IT厂商参与的组织。 FV旨在定义运营商网络功能虚 拟化的需求和相关的技术报告, 希望借鉴 IT的虚拟化技术, 利用通用的高性能大容 量服务器、 交换机和存储来实现部分网络功能的软件化。 The present invention relates to the field of communications technologies, and in particular, to a method, an arranger, and a manager for allocating network resources in a virtual network function. BACKGROUND OF THE INVENTION Network Function Virtulization (FV) is an organization initiated by 13 major telecom operators around the world, involving many equipment vendors and IT vendors. FV aims to define the requirements of operator network virtualization and related technical reports. It hopes to use IT's virtualization technology to realize the softwareization of some network functions by using common high-performance large-capacity servers, switches and storage.
现有技术中, 运营商会在 NS (Network Service, 网络服务) 生成的时候就确定 了客户可以使用的资源数量, 之后就无法再对资源进行自动调整了。 In the prior art, when the NS (Network Service) is generated, the operator determines the amount of resources that the customer can use, and then the resource can be automatically adjusted.
由此使得, 在 NS生成后, 当 NS对资源的需求突然增加, 并超过签约规定的值 时, NS无法通过自动调整来得到更多的资源, 除非中断正在进行的业务, 但是这样 会给用户带来很大的不变, 影响 NS的可用性和连续性。 发明内容 本发明提供一种虚拟网络功能中网络资源的分配方法、编排器及管理器, 能够实 现在 NS生成后, NS可用资源的动态调整, 保证 NS的可用性和连续性。 Therefore, after the NS is generated, when the NS's demand for resources suddenly increases and exceeds the value specified by the contract, the NS cannot automatically adjust to obtain more resources unless the ongoing service is interrupted, but this will give the user Brings a lot of change, affecting the availability and continuity of NS. SUMMARY OF THE INVENTION The present invention provides a method, an orchestrator, and a manager for allocating network resources in a virtual network function, which can implement dynamic adjustment of available resources of the NS after the NS is generated, and ensure the availability and continuity of the NS.
第一方面, 提供一种编排器, 所述编排器包括: In a first aspect, an organizer is provided, the arranger comprising:
接收单元, 用于接收运营支撑系统 OSS或业务支撑系统 BSS发送的网络服务描 述器 NSD; 所述 NSD 中包括网络服务 NS 的签约资源信息和网络服务可用性标识 NSAI信息; 所述 NSAI用于指示所述 NS的备用资源的信息; a receiving unit, configured to receive a network service descriptor NSD sent by the operation support system OSS or the service support system BSS; the NSD includes the subscription resource information of the network service NS and the network service availability identifier NSAI information; the NSAI is used to indicate the location Information about the alternate resources of the NS;
处理单元, 用于获取当前发生异常的虚拟网络功能 VNF的性能异常数据; 当确 定所述 VNF为性能过载或过低时,根据所述 NS的签约资源信息、所述 NSAI指示的 备用资源的信息和所述 VNF的性能异常数据, 制定相应的网络服务预留资源处理策 略 NSRRHP; a processing unit, configured to acquire performance abnormal data of a virtual network function VNF that is currently abnormal; when it is determined that the VNF is performance overload or is too low, according to the contract resource information of the NS and the information of the standby resource indicated by the NSAI And the performance abnormal data of the VNF, and formulate a corresponding network service reservation resource processing strategy NSRRHP;
发送单元, 用于将所述 NSRRHP分别发送至虚拟网络功能管理器 V FM和虚拟 化基础设施管理器 VIM。 结合第一方面, 在第一方面第一种可能的实现方式中, 所述 NSAI信息包括: 网 络服务标识 NSID、 备用资源使用时限、 备用资源类型和数量; And a sending unit, configured to separately send the NSRRHP to the virtual network function manager V FM and the virtualization infrastructure manager VIM. With reference to the first aspect, in a first possible implementation manner of the first aspect, the NSAI information includes: a network service identifier NSID, an alternate resource usage time limit, an alternate resource type, and a quantity;
所述 NSID用于指示所述备用资源适用的 NS; The NSID is used to indicate an NS to which the standby resource is applicable;
所述备用资源的使用时限,用于指示所述备用资源从开启时刻起,可以使用的最 长时间; The usage time limit of the standby resource is used to indicate the maximum time that the standby resource can be used from the time of opening;
所述备用资源的类型和数量, 用于指示所述 NSAI包括的备用资源的类型、 以及 各类型的备用资源分别对应的数量。 结合第一方面第一种可能的实现方式,在第一方面第二种可能的实现方式中,所 述处理单元具体用于: The type and quantity of the standby resource are used to indicate the type of the spare resource included in the NSAI and the quantity corresponding to each type of the spare resource. In conjunction with the first possible implementation of the first aspect, in a second possible implementation manner of the first aspect, the processing unit is specifically configured to:
当所述 VNF为性能过载时,根据所述 VNF的性能异常数据,确定当前发生性能 过载的资源的类型; When the VNF is a performance overload, determining, according to the performance abnormal data of the VNF, a type of a resource that currently has a performance overload;
查询所述 NSAI指示的备用资源的信息, 获取所述类型的备用资源的数量; 查询所述 NS的签约资源信息, 获取所述类型的签约数量; Querying information about the backup resource indicated by the NSAI, and obtaining the quantity of the backup resource of the type; querying the subscription resource information of the NS, and obtaining the subscription quantity of the type;
制定所述 NSRRHP为开启所述类型的备用资源, 使得所述类型的可用资源的数 量为所述类型的备用资源的数量加上所述类型的签约数量。 结合第一方面第二种可能的实现方式,在第一方面第三种可能的实现方式中,所 述编排器还包括: 计时单元, 用于从开启所述类型的备用资源起开始计时; The NSRRHP is formulated to enable the type of spare resources such that the number of available resources of the type is the number of spare resources of the type plus the number of subscriptions of the type. In conjunction with the second possible implementation of the first aspect, in a third possible implementation manner of the first aspect, the orchestrator further includes: a timing unit, configured to start timing when the type of the standby resource is enabled;
所述处理单元还用于,当所述计时单元的计时达到所述类型的备用资源的使用时 限时, 制定所述 NSRRHP为释放所述类型的备用资源, 使得所述类型的可用资源的 数量为所述类型的签约值; The processing unit is further configured to: when the timing of the timing unit reaches a usage time limit of the standby resource of the type, formulating the NSRRHP to release the spare resource of the type, so that the quantity of the available resources of the type is a contract value of the type;
所述发送单元还用于, 将所述 NSRRHP分别发送至虚拟网络功能管理器 V FM 和虚拟化基础设施管理器 VIM。 结合第一方面第一种可能的实现方式,在第一方面第四种可能的实现方式中,所 述处理单元具体用于: The sending unit is further configured to send the NSRRHP to the virtual network function manager V FM and the virtualization infrastructure manager VIM. In conjunction with the first possible implementation of the first aspect, in a fourth possible implementation manner of the first aspect, the processing unit is specifically configured to:
当所述 VNF为性能过低时,根据所述 VNF的性能异常数据,确定当前发生性能 过低的资源的类型; When the VNF is too low in performance, determining the type of the resource that is currently under-performing according to the performance abnormal data of the VNF;
查询所述 NS的签约资源信息, 获取所述类型的签约数量; 当所述类型的可用资源的数量大于所述类型的签约数量时,确定所述类型的资源 开启过备用资源; Querying the subscription resource information of the NS, and obtaining the number of subscriptions of the type; When the number of available resources of the type is greater than the number of subscriptions of the type, determining that the resource of the type opens the standby resource;
制定所述 NSRRHP为释放所述类型的备用资源, 使得所述类型的可用资源的数 量为所述类型的签约值。 结合第一方面或第一方面第一种、第二种、第三种或第四种可能的实现方式, 在 第一方面第五种可能的实现方式中, 所述接收单元单元还用于, 接收所述 V FM发 送的 NS异常报警信息; 所述异常报警信息中包括性能异常数据; The NSRRHP is formulated to release the spare resources of the type such that the number of available resources of the type is a subscription value of the type. With reference to the first aspect, or the first, second, third or fourth possible implementation manner of the first aspect, in a fifth possible implementation manner of the first aspect, the receiving unit unit is further configured to: Receiving NS abnormal alarm information sent by the V FM; the abnormal alarm information includes performance abnormal data;
所述处理单元还用于, 当所述异常报警信息为资源使用率高于预设的第一阈值 时, 确定所述 VNF为性能过载; 或者, 当所述异常报警信息为资源使用率低于预设 的第二阈值时, 确定所述 VNF为性能过低。 结合第一方面或第一方面第一种、第二种、第三种或第四种可能的实现方式, 在 第一方面第六种可能的实现方式中, 所述接收单元还用于, 接收所述 V FM发送的 网络服务预留资源请求消息 NSRRR; 所述 NSRRR中包括性能异常数据和网络资源 操作标识; The processing unit is further configured to: when the abnormal alarm information is that the resource usage rate is higher than a preset first threshold, determine that the VNF is a performance overload; or, when the abnormal alarm information is a resource usage rate is lower than When the second threshold is preset, it is determined that the VNF is too low in performance. With reference to the first aspect, or the first, second, third or fourth possible implementation manner of the first aspect, in the sixth possible implementation manner of the first aspect, the receiving unit is further configured to receive The network service reservation resource request message NSRRR sent by the V FM; the NSRRR includes performance abnormal data and a network resource operation identifier;
所述处理单元还用于, 当所述网络资源操作标识为开启备用资源时, 确定所述 VNF为性能过载;或者,当所述网络资源操作标识为释放备用资源时,确定所述 VNF 为性能过低。 第一方面,提供一种虚拟网络功能 VNF中网络资源的分配方法,所述方法包括: 接收运营支撑系统 OSS或业务支撑系统 BSS发送的网络服务描述器 NSD;所述 NSD中包括网络服务 NS 的签约资源信息和网络服务可用性标识 NSAI信息; 所述 NSAI用于指示所述 NS的备用资源的信息; The processing unit is further configured to: when the network resource operation identifier is to enable the standby resource, determine that the VNF is a performance overload; or, when the network resource operation identifier is to release the standby resource, determine the VNF as a performance Too low. The first aspect provides a method for allocating network resources in a virtual network function VNF, the method comprising: receiving an operation support system OSS or a network service descriptor NSD sent by a service support system BSS; and the NSD includes a network service NS The contract resource information and the network service availability identifier NSAI information; the NSAI is used to indicate information of the standby resource of the NS;
获取当前发生异常的虚拟网络功能 VNF的性能异常数据; Obtaining the abnormal performance data of the virtual network function VNF that is currently abnormal;
当确定所述 V F为性能过载或性能过低时, 根据所述 NS的签约资源信息、 所 述 NSAI指示的备用资源的信息和所述 V F的性能异常数据, 制定相应的网络服务 预留资源处理策略 NSRRHP; When it is determined that the VF is performance overload or performance is too low, according to the contract resource information of the NS, the information of the standby resource indicated by the NSAI, and the performance abnormal data of the VF, the corresponding network service reserved resource processing is formulated. Strategy NSRRHP;
将所述 NSRRHP分别发送至虚拟网络功能管理器 VNFM和虚拟化基础设施管理 器 VIM。 结合第二方面, 在第二方面第一种可能的实现方式中, 所述 NSAI信息包括: 网 络服务标识 NSID、 备用资源使用时限、 备用资源类型和数量; The NSRRHP is sent to the virtual network function manager VNFM and the virtualization infrastructure manager VIM, respectively. With reference to the second aspect, in a first possible implementation manner of the second aspect, the NSAI information includes: a network service identifier NSID, an alternate resource usage time limit, an alternate resource type, and a quantity;
所述 NSID用于指示所述备用资源适用的 NS; The NSID is used to indicate an NS to which the standby resource is applicable;
所述备用资源的使用时限,用于指示所述备用资源从开启时刻起,可以使用的最 长时间; The usage time limit of the standby resource is used to indicate the maximum time that the standby resource can be used from the time of opening;
所述备用资源的类型和数量, 用于指示所述 NSAI包括的备用资源的类型、 以及 各类型的备用资源分别对应的数量。 结合第二方面第一种可能的实现方式,在第二方面第二种可能的实现方式中, 当 所述 VNF为性能过载时, The type and quantity of the standby resource are used to indicate the type of the spare resource included in the NSAI and the quantity corresponding to each type of the spare resource. With reference to the first possible implementation manner of the second aspect, in the second possible implementation manner of the second aspect, when the VNF is performance overload,
所述根据所述 NS 的签约资源信息、 所述 NSAI指示的备用资源的信息和所述 VNF的性能异常数据, 制定相应的 NSRRHP包括: The formulating the corresponding NSRRHP according to the contract resource information of the NS, the information of the standby resource indicated by the NSAI, and the performance abnormal data of the VNF includes:
根据所述 VNF的性能异常数据, 确定当前发生性能过载的资源的类型; 查询所述 NSAI指示的备用资源的信息, 获取所述类型的备用资源的数量; 查询所述 NS的签约资源信息, 获取所述类型的签约数量; Determining, according to the performance abnormal data of the VNF, the type of the resource that is currently performing the performance overload; querying the information of the standby resource indicated by the NSAI, acquiring the quantity of the spare resource of the type; querying the subscription resource information of the NS, acquiring The number of subscriptions of the type;
制定所述 NSRRHP为开启所述类型的备用资源, 使得所述类型的可用资源的数 量为所述类型的备用资源的数量加上所述类型的签约数量。 结合第二方面第二种可能的实现方式,在第二方面第三种可能的实现方式中,所 述方法还包括: The NSRRHP is formulated to enable the type of spare resources such that the number of available resources of the type is the number of spare resources of the type plus the number of subscriptions of the type. With reference to the second possible implementation of the second aspect, in a third possible implementation manner of the second aspect, the method further includes:
从开启所述类型的备用资源起开始计时; Start timing when the backup resource of the type is turned on;
当计时达到所述类型的备用资源的使用时限时, 制定所述 NSRRHP为释放所述 类型的备用资源, 使得所述类型的可用资源的数量为所述类型的签约值; When the time limit of the backup resource of the type is reached, the NSRRHP is configured to release the spare resource of the type, so that the quantity of the available resources of the type is the subscription value of the type;
将所述 NSRRHP分别发送至虚拟网络功能管理器 V FM和虚拟化基础设施管理 器 VIM。 结合第二方面第一种可能的实现方式,在第二方面第四种可能的实现方式中, 当 所述 VNF为性能过低时, The NSRRHP is sent to the Virtual Network Function Manager VFM and the Virtualization Infrastructure Manager VIM, respectively. With reference to the first possible implementation manner of the second aspect, in the fourth possible implementation manner of the second aspect, when the VNF is too low,
所述根据所述 NS 的签约资源信息、 所述 NSAI指示的备用资源的信息和所述 VNF的性能异常数据, 制定相应的 NSRRHP包括: The formulating the corresponding NSRRHP according to the contract resource information of the NS, the information of the standby resource indicated by the NSAI, and the performance abnormal data of the VNF includes:
根据所述 VNF的性能异常数据, 确定当前发生性能过低的资源的类型; 查询所述 NS的签约资源信息, 获取所述类型的签约数量; Determining the type of the resource that is currently under-performing according to the performance abnormal data of the VNF; Querying the subscription resource information of the NS, and obtaining the number of subscriptions of the type;
当所述类型的可用资源的数量大于所述类型的签约数量时,确定所述类型的资源 开启过备用资源; When the number of available resources of the type is greater than the number of subscriptions of the type, determining that the resource of the type opens the standby resource;
制定所述 NSRRHP为释放所述类型的备用资源, 使得所述类型的可用资源的数 量为所述类型的签约值。 结合第二方面或第二方面第一种、第二种第三种或第四种可能的实现方式,在第 二方面第五种可能的实现方式中, 所述获取当前发生异常的虚拟网络功能 VNF的性 能异常数据包括: The NSRRHP is formulated to release the spare resources of the type such that the number of available resources of the type is a subscription value of the type. With reference to the second aspect, or the first, the second, the third or the fourth possible implementation manner of the second aspect, in the fifth possible implementation manner of the second aspect, the acquiring the virtual network function that is currently abnormal The performance anomaly data of the VNF includes:
接收所述 V FM发送的 NS异常报警信息; 所述异常报警信息中包括性能异常 数据; Receiving NS abnormal alarm information sent by the V FM; the abnormal alarm information includes performance abnormal data;
贝 U, 当所述异常报警信息为资源使用率高于预设的第一阈值时, 确定所述 VNF 为性能过载; 或者, 当所述异常报警信息为资源使用率低于预设的第二阈值时, 确定 所述 VNF为性能过低。 结合第二方面或第二方面第一种、第二种第三种或第四种可能的实现方式,在第 二方面第六种可能的实现方式中, 所述获取当前发生异常的虚拟网络功能 VNF的性 能异常数据包括: When the abnormal alarm information is that the resource usage rate is higher than a preset first threshold, determining that the VNF is a performance overload; or, when the abnormal alarm information is a resource usage rate lower than a preset second At the threshold, it is determined that the VNF is too low in performance. With reference to the second aspect, or the first, the second, the third, or the fourth possible implementation manner of the second aspect, in the sixth possible implementation manner of the second aspect, the acquiring the virtual network function that is currently abnormal The performance anomaly data of the VNF includes:
接收所述 V FM发送的网络服务预留资源请求消息 NSRRR; 所述 NSRRR中包 括性能异常数据和网络资源操作标识; Receiving a network service reservation resource request message NSRRR sent by the VFM; the NSRRR includes performance abnormality data and a network resource operation identifier;
贝 U, 当所述网络资源操作标识为开启备用资源时, 确定所述 VNF为性能过载; 或者, 当所述网络资源操作标识为释放备用资源时, 确定所述 VNF为性能过低。 第三方面, 提供一种虚拟网络功能管理器, 所述虚拟网络功能管理器 VNFM包 括: When the network resource operation identifier is to enable the standby resource, the VNF is determined to be a performance overload; or when the network resource operation identifier is to release the standby resource, determining that the VNF is too low. In a third aspect, a virtual network function manager is provided, and the virtual network function manager VNFM includes:
接收单元, 用于接收当前发生异常的虚拟网络功能 VNF的性能异常数据; 处理单元, 用于获取编排器 Orchestrato发送的网络服务可用性标识 NSAI信息; 所述 NSAI用于指示所述 NS的备用资源的信息;当确定所述 VNF为性能过载或过低 时, 根据所述 NS 的签约资源信息、 所述 NSAI指示的备用资源的信息和所述 VNF 的性能异常数据, 制定相应的网络服务预留资源处理策略 NSRRHP; a receiving unit, configured to receive performance abnormal data of a virtual network function VNF that is currently abnormal; a processing unit, configured to acquire network service availability identifier NSAI information sent by the orchestrator Orchestrato; the NSAI is used to indicate an alternate resource of the NS And determining, according to the contracted resource information of the NS, the information of the standby resource indicated by the NSAI, and the performance abnormal data of the VNF, the corresponding network service reserved resource is determined, when the VNF is determined to be overloaded or too low. Processing strategy NSRRHP;
发送单元, 用于将所述 NSRRHP发送至虚拟化基础设施管理器 VIM。 结合第三方面, 在第三方面第一种可能的实现方式中, 所述 NSAI信息包括: 网 络服务标识 NSID、 备用资源使用时限、 备用资源类型和数量; And a sending unit, configured to send the NSRRHP to the virtualization infrastructure manager VIM. With reference to the third aspect, in a first possible implementation manner of the third aspect, the NSAI information includes: a network service identifier NSID, an alternate resource usage time limit, an alternate resource type, and a quantity;
所述 NSID用于指示所述备用资源适用的 NS; The NSID is used to indicate an NS to which the standby resource is applicable;
所述备用资源的使用时限,用于指示所述备用资源从开启时刻起,可以使用的最 长时间; The usage time limit of the standby resource is used to indicate the maximum time that the standby resource can be used from the time of opening;
所述备用资源的类型和数量, 用于指示所述 NSAI包括的备用资源的类型、 以及 各类型的备用资源分别对应的数量。 结合第三方面第一种可能的实现方式,在第三方面第二种可能的实现方式中,所 述处理单元具体用于: The type and quantity of the standby resource are used to indicate the type of the spare resource included in the NSAI and the quantity corresponding to each type of the spare resource. With reference to the first possible implementation manner of the third aspect, in a second possible implementation manner of the third aspect, the processing unit is specifically configured to:
当所述 VNF为性能过载时,根据所述 VNF的性能异常数据,确定当前发生性能 过载的资源的类型; When the VNF is a performance overload, determining, according to the performance abnormal data of the VNF, a type of a resource that currently has a performance overload;
查询所述 NSAI指示的备用资源的信息, 获取所述类型的备用资源的数量; 查询所述 NS的签约资源信息, 获取所述类型的签约数量; Querying information about the backup resource indicated by the NSAI, and obtaining the quantity of the backup resource of the type; querying the subscription resource information of the NS, and obtaining the subscription quantity of the type;
制定所述 NSRRHP为开启所述类型的备用资源, 使得所述类型的可用资源的数 量为所述类型的备用资源的数量加上所述类型的签约数量。 结合第三方面第二种可能的实现方式,在第三方面第三种可能的实现方式中,所 述管理器还包括: 计时单元, 用于从开启所述类型的备用资源起开始计时; The NSRRHP is formulated to enable the type of spare resources such that the number of available resources of the type is the number of spare resources of the type plus the number of subscriptions of the type. In conjunction with the second possible implementation of the third aspect, in a third possible implementation manner of the third aspect, the manager further includes: a timing unit, configured to start timing when the type of the standby resource is enabled;
所述处理单元还用于当计时单元的计时达到所述类型的备用资源的使用时限时, 制定所述 NSRRHP为释放所述类型的备用资源, 使得所述类型的可用资源的数量为 所述类型的签约值; The processing unit is further configured to: when the timing of the timing unit reaches a usage time limit of the backup resource of the type, formulating the NSRRHP to release the spare resource of the type, so that the quantity of the available resources of the type is the type Signing value;
所述发送单元还用于将所述 NSRRHP发送至虚拟化基础设施管理器 VIM。 结合第三方面第一种可能的实现方式,在第三方面第四种可能的实现方式中,所 述处理单元具体用于: The sending unit is further configured to send the NSRRHP to the virtualization infrastructure manager VIM. In conjunction with the first possible implementation of the third aspect, in a fourth possible implementation manner of the third aspect, the processing unit is specifically configured to:
当所述 VNF为性能过低时,根据所述 VNF的性能异常数据,确定当前发生性能 过低的资源的类型; When the VNF is too low in performance, determining the type of the resource that is currently under-performing according to the performance abnormal data of the VNF;
查询所述 NS的签约资源信息, 获取所述类型的签约数量; Querying the subscription resource information of the NS, and obtaining the number of subscriptions of the type;
当所述类型的可用资源的数量大于所述类型的签约数量时,确定所述类型的资源 开启过备用资源; Determining a resource of the type when the number of available resources of the type is greater than the number of subscriptions of the type Opened backup resources;
制定所述 NSRRHP为释放所述类型的备用资源, 使得所述类型的可用资源的数 量为所述类型的签约值。 结合第三方面或第三方面第一种、第二种、第三种或第四种可能的实现方式, 在 第三方面第五种可能的实现方式中, The NSRRHP is formulated to release the spare resources of the type such that the number of available resources of the type is a subscription value of the type. With reference to the third aspect or the first, second, third or fourth possible implementation manner of the third aspect, in a fifth possible implementation manner of the third aspect,
所述发送单元还用于, 向所述 Orchestrator发送请求信息, 所述请求信息用于请 求获取所述 NSAI信息; The sending unit is further configured to send request information to the Orchestrator, where the request information is used to request to acquire the NSAI information;
所述接收单元还用于, 接收所述 Orchestrator返回的 NSAI信息。 结合第三方面或第三方面第一种、第二种、第三种或第四种可能的实现方式, 在 第三方面第六种可能的实现方式中,所述接收单元还用于,接收所述 VNF发送的 NS 异常报警信息; 所述异常报警信息中包括性能异常数据; The receiving unit is further configured to receive the NSAI information returned by the Orchestrator. With reference to the third aspect, or the first, second, third or fourth possible implementation manner of the third aspect, in a sixth possible implementation manner of the third aspect, the receiving unit is further configured to receive NS abnormal alarm information sent by the VNF; the abnormal alarm information includes performance abnormal data;
所述处理单元还用于, 当所述异常报警信息为资源使用率高于预设的第一阈值 时, 确定所述 VNF为性能过载; 或者, 当所述异常报警信息为资源使用率低于预设 的第二阈值时, 确定所述 VNF为性能过低。 第四方面,提供一种虚拟网络功能 VNF中网络资源的分配方法,所述方法包括: 获取当前发生异常的虚拟网络功能 VNF的性能异常数据; The processing unit is further configured to: when the abnormal alarm information is that the resource usage rate is higher than a preset first threshold, determine that the VNF is a performance overload; or, when the abnormal alarm information is a resource usage rate is lower than When the second threshold is preset, it is determined that the VNF is too low in performance. A fourth aspect provides a method for allocating network resources in a virtual network function VNF, where the method includes: acquiring performance abnormal data of a virtual network function VNF that is currently abnormal;
接收编排器 Orchestrato发送的网络服务可用性标识 NSAI信息;所述 NSAI用于 指示所述 NS的备用资源的信息; Receiving network service availability identifier NSAI information sent by the orchestrator Orchestrato; the NSAI is used to indicate information of the standby resource of the NS;
当确定所述 V F为性能过载或过低时,根据所述 NS的签约资源信息、所述 NSAI 指示的备用资源的信息和所述 VNF的性能异常数据, 制定相应的网络服务预留资源 处理策略 NSRRHP; When it is determined that the VF is performance overload or is too low, according to the contract resource information of the NS, the information of the standby resource indicated by the NSAI, and the performance abnormal data of the VNF, a corresponding network service reservation resource processing strategy is formulated. NSRRHP;
将所述 NSRRHP发送至虚拟化基础设施管理器 VIM。 结合第四方面, 在第四方面第一种可能的实现方式中, 所述 NSAI信息包括: 网 络服务标识 NSID、 备用资源使用时限、 备用资源类型和数量; Send the NSRRHP to the Virtualization Infrastructure Manager VIM. With reference to the fourth aspect, in a first possible implementation manner of the fourth aspect, the NSAI information includes: a network service identifier NSID, an alternate resource usage time limit, an alternate resource type, and a quantity;
所述 NSID用于指示所述备用资源适用的 NS; The NSID is used to indicate an NS to which the standby resource is applicable;
所述备用资源的使用时限,用于指示所述备用资源从开启时刻起,可以使用的最 长时间; 所述备用资源的类型和数量, 用于指示所述 NSAI包括的备用资源的类型、 以及 各类型的备用资源分别对应的数量。 结合第四方面第一种可能的实现方式,在第四方面第二种可能的实现方式中, 当 所述 VNF为性能过载时, The usage time limit of the standby resource is used to indicate the maximum time that the standby resource can be used from the time of opening; The type and quantity of the standby resource are used to indicate the type of the standby resource included in the NSAI and the corresponding quantity of each type of the spare resource. With reference to the first possible implementation manner of the fourth aspect, in a second possible implementation manner of the fourth aspect, when the VNF is a performance overload,
所述根据所述 NS 的签约资源信息、 所述 NSAI指示的备用资源的信息和所述 VNF的性能异常数据, 制定相应的 NSRRHP包括: The formulating the corresponding NSRRHP according to the contract resource information of the NS, the information of the standby resource indicated by the NSAI, and the performance abnormal data of the VNF includes:
根据所述 VNF的性能异常数据, 确定当前发生性能过载的资源的类型; 查询所述 NSAI指示的备用资源的信息, 获取所述类型的备用资源的数量; 查询所述 NS的签约资源信息, 获取所述类型的签约数量; Determining, according to the performance abnormal data of the VNF, the type of the resource that is currently performing the performance overload; querying the information of the standby resource indicated by the NSAI, acquiring the quantity of the spare resource of the type; querying the subscription resource information of the NS, acquiring The number of subscriptions of the type;
制定所述 NSRRHP为开启所述类型的备用资源, 使得所述类型的可用资源的数 量为所述类型的备用资源的数量加上所述类型的签约数量。 结合第四方面第二种可能的实现方式,在第四方面第三种可能的实现方式中,所 述方法还包括: The NSRRHP is formulated to enable the type of spare resources such that the number of available resources of the type is the number of spare resources of the type plus the number of subscriptions of the type. With reference to the second possible implementation of the fourth aspect, in a third possible implementation manner of the fourth aspect, the method further includes:
从开启所述类型的备用资源起开始计时; Start timing when the backup resource of the type is turned on;
当计时达到所述类型的备用资源的使用时限时, 制定所述 NSRRHP为释放所述 类型的备用资源, 使得所述类型的可用资源的数量为所述类型的签约值; When the time limit of the backup resource of the type is reached, the NSRRHP is configured to release the spare resource of the type, so that the quantity of the available resources of the type is the subscription value of the type;
将所述 NSRRHP发送至虚拟化基础设施管理器 VIM。 结合第四方面, 在第四方面第四种可能的实现方式中, 当所述 VNF为性能过低 时, Send the NSRRHP to the Virtualization Infrastructure Manager VIM. With reference to the fourth aspect, in a fourth possible implementation manner of the fourth aspect, when the VNF is too low,
所述根据所述 NS 的签约资源信息、 所述 NSAI指示的备用资源的信息和所述 The contract resource information according to the NS, the information of the standby resource indicated by the NSAI, and the
VNF的性能异常数据, 制定相应的 NSRRHP包括: VNF performance anomaly data, the corresponding NSRRHP is formulated to include:
根据所述 VNF的性能异常数据, 确定当前发生性能过低的资源的类型; 查询所述 NS的签约资源信息, 获取所述类型的签约数量; Determining, according to the performance abnormal data of the VNF, a type of the resource that is currently under-performing; querying the contracted resource information of the NS, and acquiring the number of the contract of the type;
当所述类型的可用资源的数量大于所述类型的签约数量时,确定所述类型的资源 开启过备用资源; When the number of available resources of the type is greater than the number of subscriptions of the type, determining that the resource of the type opens the standby resource;
制定所述 NSRRHP为释放所述类型的备用资源, 使得所述类型的可用资源的数 量为所述类型的签约值。 结合第四方面或第四方面第一种、第二种、第三种或第四种可能的实现方式, 在 第四方面第五种可能的实现方式中, 在所述接收 Orchestrate)发送的 NSAI信息之前, 所述方法还包括: The NSRRHP is formulated to release the spare resources of the type such that the number of available resources of the type is a subscription value of the type. With reference to the fourth aspect, or the first, second, third or fourth possible implementation manner of the fourth aspect, in a fifth possible implementation manner of the fourth aspect, the receiving the NSAI sent by the Orchestrate Before the information, the method further includes:
向所述 Orchestrator发送请求信息,所述请求信息用于请求获取所述 NSAI信息。 结合第四方面或第四方面第一种、第二种、第三种或第四种可能的实现方式, 在 第四方面第六种可能的实现方式中, 所述获取当前发生异常的虚拟网络功能 VNF的 性能异常数据包括: Sending request information to the Orchestrator, the request information being used to request acquisition of the NSAI information. With reference to the fourth aspect, or the first, the second, the third, or the fourth possible implementation manner of the fourth aspect, in the sixth possible implementation manner of the fourth aspect, the acquiring the virtual network that is currently abnormal Functional anomaly data for functional VNFs include:
接收所述 V F发送的 NS异常报警信息; 所述异常报警信息中包括性能异常数 据; Receiving NS abnormal alarm information sent by the V F; the abnormal alarm information includes performance abnormal data;
贝 U, 当所述异常报警信息为资源使用率高于预设的第一阈值时, 确定所述 VNF 为性能过载; 或者, 当所述异常报警信息为资源使用率低于预设的第二阈值时, 确定 所述 VNF为性能过低。 本发明提供的所述方法及装置中, 增加用于指示所述 NS的备用资源的信息的网 络服务可用性标识 NSAL在确定 VNF发生性能过载或性能过低的异常报警时,根据 NS的签约资源信息、所述 NSAI指示的备用资源的信息和所述 V F的性能异常数据, 制定相应的网络服务预留资源处理策略 NSRRHP, 为所述 VNF动态调整其 NS的可 用资源, 以保证 NS的可用性和连续性。 When the abnormal alarm information is that the resource usage rate is higher than a preset first threshold, determining that the VNF is a performance overload; or, when the abnormal alarm information is a resource usage rate lower than a preset second At the threshold, it is determined that the VNF is too low in performance. In the method and apparatus provided by the present invention, the network service availability identifier NSAL for indicating the information of the standby resource of the NS is added according to the NS subscription resource information when determining that the VNF has an abnormal performance of performance overload or performance degradation. And the information about the standby resource indicated by the NSAI and the performance abnormal data of the VF, and formulating a corresponding network service reservation resource processing policy NSRRHP, dynamically adjusting the available resources of the NS for the VNF to ensure the availability and continuity of the NS. Sex.
附图说明 为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现 有技术描述中所需要使用的附图作简单地介绍, 显而易见地, 下面描述中的附图仅仅 是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前 提下, 还可以根据这些附图获得其他的附图。 BRIEF DESCRIPTION OF THE DRAWINGS In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the embodiments or the description of the prior art will be briefly described below, and obviously, in the following description The drawings are only some of the embodiments of the present invention, and other drawings may be obtained from those of ordinary skill in the art without departing from the scope of the invention.
图 1为本发明实施例一的虚拟网络功能中网络资源的分配方法的流程图; 图 2为本发明实施例二的虚拟网络功能中网络资源的分配方法的流程图; 图 3为本发明实施例三的虚拟网络功能中网络资源的分配方法的流程图; 图 4为本发明实施例四的虚拟网络功能中网络资源的分配方法的流程图; 图 5为本发明实施例五的虚拟网络功能中网络资源的分配方法的流程图; 图 6为本发明实施例 的编排器的结构图; 1 is a flowchart of a method for allocating network resources in a virtual network function according to Embodiment 1 of the present invention; FIG. 2 is a flowchart of a method for allocating network resources in a virtual network function according to Embodiment 2 of the present invention; FIG. 4 is a flowchart of a method for allocating network resources in a virtual network function according to Embodiment 4 of the present invention; FIG. 5 is a schematic diagram of a virtual network function according to Embodiment 5 of the present invention; Flow chart of a method for allocating network resources; Figure 6 is a structural view of an organizer according to an embodiment of the present invention;
图 7为本发明实施例 的虚拟网络功能的结构图; FIG. 7 is a structural diagram of a virtual network function according to an embodiment of the present invention; FIG.
图 8为本发明实施例 的编排器的结构图; Figure 8 is a structural diagram of an organizer according to an embodiment of the present invention;
图 9为本发明实施例 的虚拟网络功能的结构图。 具体实施方式 为了使本技术领域的人员更好地理解本发明实施例中的技术方案,并使本发明实 施例的上述目的、特征和优点能够更加明显易懂, 下面结合附图对本发明实施例中技 术方案作进一步详细的说明。 Figure 9 is a structural diagram of a virtual network function according to an embodiment of the present invention. The above described objects, features and advantages of the embodiments of the present invention will become more apparent and understood. The technical solution is described in further detail.
本发明实施例提供一种虚拟网络功能中网络资源的分配方法、 编排器及管理器, 能够实现在 NS生成后, NS可用资源的动态调整, 保证 NS的可用性和连续性。 The embodiment of the invention provides a network resource allocation method, an orchestrator and a manager in a virtual network function, which can dynamically adjust the available resources of the NS after the NS is generated, and ensure the availability and continuity of the NS.
本发明实施例所述方法及装置提出, 在 FV环境下, NS生成时, 在 NSD中增 加一个 NSAI来指示 NS可以使用超过签约值的资源信息情况,即为备用资源的信息, 在运营商和客户签约时, 确定这部分备用资源的使用时限、 类型和数量。 The method and the device in the embodiment of the present invention propose that, in the FV environment, when the NS is generated, an NSAI is added to the NSD to indicate that the NS can use the resource information exceeding the subscription value, that is, the information of the standby resource, in the operator and When the customer signs up, determine the time limit, type and quantity of the spare resources.
参照图 1, 为本发明实施例一所述的虚拟网络功能中网络资源的分配方法的流程 图, 所述方法包括: FIG. 1 is a flowchart of a method for allocating network resources in a virtual network function according to Embodiment 1 of the present invention, where the method includes:
步骤 S101 : OSS或 BSS发送的 NSD; 所述 NSD中包括 NS的签约资源信息和 NSAI信息; 所述 NSAI用于指示所述 NS的备用资源的信息; Step S101: NSD sent by the OSS or the BSS; the NSD includes the subscription resource information of the NS and the NSAI information; the NSAI is used to indicate the information of the standby resource of the NS;
步骤 S102: 获取当前发生异常的 VNF的性能异常数据; Step S102: Obtain performance abnormal data of the VNF that is currently abnormal.
步骤 S103 : 当确定所述 V F为性能过载或性能过低时, 根据所述 NS的签约资 源信息、 所述 NSAI指示的备用资源的信息和所述 V F的性能异常数据, 制定相应 的 NSRRHP; Step S103: When it is determined that the V F is performance overload or performance is too low, according to the contract resource information of the NS, the information of the standby resource indicated by the NSAI, and the performance abnormal data of the V F, a corresponding NSRRHP is formulated;
步骤 S104: 将所述 NSRRHP分别发送至 VNFM和 VIM。 Step S104: Send the NSRRHP to the VNFM and the VIM respectively.
:本发明实施例所述方法, 增加用于指示所述 NS的备用资源的信息的 NSAL 在 确定 V F发生性能过载或性能过低的异常报警时, 根据 NS的签约资源信息、 所述 NSAI指示的备用资源的信息和所述 VNF的性能异常数据, 制定相应的 NSRRHP, 为所述 VNF动态调整其 NS的可用资源, 以保证 NS的可用性和连续性。 According to the method of the embodiment of the present invention, when the NSAL for indicating the information about the standby resource of the NS is added, the abnormality alarm of the performance overload or the performance of the VF is determined according to the contract resource information of the NS and the NSAI indication. The information of the standby resource and the performance abnormal data of the VNF are used to formulate a corresponding NSRRHP, and dynamically adjust the available resources of the NS for the VNF to ensure the availability and continuity of the NS.
本发明实施例一的方法应用于 Orchestrator (编排器) 决策的场景。 The method of the first embodiment of the present invention is applied to the scenario of Orchestrator decision making.
该场景下, V FM负责对 EMS (Element Management System, 网元管理系统) 上报的异常报警进行分析判断, 判断是否是当前 NS资源过少或过多造成的, 如果不 是,则采取其他故障管理机制进行恢复; 如果是,则将该异常报警发送到 Orchestrator 进行处理。 In this scenario, V FM is responsible for analyzing and judging the abnormal alarms reported by the EMS (Element Management System) to determine whether the current NS resources are too small or too much. If not, take other fault management mechanisms. Recover; if yes, send the exception alert to Orchestrator Process it.
该实施例中, 由 Orchestrator根据 V F的异常类型以及 NSAI的信息作出预留资 源处理决策, 并下发至 V FM和 VIM执行相应的动作。 In this embodiment, the Orchestrator makes a reservation resource processing decision based on the V F anomaly type and the NSAI information, and delivers the corresponding action to V FM and VIM.
下面结合图 2和本发明实施例二, 对实施例一所述的方法进行详细的介绍。 参照图 2, 为本发明实施例二的 V F中网络资源的分配方法的信令流程图。 如 图 2所示, 所述方法包括以下步骤: The method described in Embodiment 1 will be described in detail below with reference to FIG. 2 and Embodiment 2 of the present invention. 2 is a signaling flowchart of a method for allocating network resources in a V F according to Embodiment 2 of the present invention. As shown in FIG. 2, the method includes the following steps:
步骤 S201: 0SS/BSS发送 NSD至 Orchestrator; 其中, 所述 NSD中包括 NS的 签约资源信息和 NSAI信息。 Step S201: The 0SS/BSS sends the NSD to the Orchestrator. The NSD includes the NS subscription resource information and the NSAI information.
所述 NSAI信息用于指示该 NS的备用资源的情况, 该备用资源即为该 NS可以 使用的超过签约值的资源。 其中, 该签约值是指该 NS签约资源的数量。 The NSAI information is used to indicate the condition of the standby resource of the NS, and the standby resource is a resource that the NS can use exceeding the subscription value. The contract value refers to the number of the NS contract resources.
本发明实施例中,在运营商与客户签约时,确定 NS正常使用需要的资源的信息, 亦称为签约资源信息。 同时还可以确定 NS额外可以使用的资源的信息, 即为备用资 源信息。 In the embodiment of the present invention, when the operator signs a contract with the client, the information of the resource required for the normal use of the NS is determined, which is also referred to as the contracted resource information. At the same time, it can also determine the information of the resources that NS can use, which is the backup resource information.
相应的, 运营商对网络资源进行部署, 预先划定一部分资源为预留资源, 该预留 资源用于在 VNF因为 NS资源短缺造成网络故障的情况下, 为 VNF提供备用资源。 例如, 可以设定资源部署为: 90~95%为运营资源, 5~10%为预留资源。 Correspondingly, the operator deploys the network resources, and pre-defines a part of the resources as reserved resources. The reserved resources are used to provide backup resources for the VNF in the event that the VNF causes a network failure due to a shortage of NS resources. For example, you can set the resource deployment as: 90~95% for operational resources and 5~10% for reserved resources.
具体的, 本发明实施例中, 在 NSD中增加 NSAL 用于指示该备用资源的情况。 由 0SS/BSS将包含 NSAI的 NSD发送至 Orchestrator。 Specifically, in the embodiment of the present invention, an NSAL is added to the NSD to indicate the situation of the standby resource. The NSD containing the NSAI is sent to Orchestrator by 0SS/BSS.
需要说明的是, 该 NSAI信息中至少可以包括: NSID、 备用资源使用时限、 备 用资源类型和数量等。 It should be noted that the NSAI information may include at least: an NSID, an alternate resource usage time limit, a spare resource type, and a quantity.
具体的, 该 NSID用于标识 NS, 用于指示该备用资源适用的 NS。 Specifically, the NSID is used to identify the NS, and is used to indicate the NS to which the standby resource is applicable.
备用资源的使用时限,用于指示该备用资源从开启时刻起,可以使用的最长时间。 例如, 可以为几小时或者几天等。 The usage time limit of the standby resource, which is used to indicate the maximum time that the standby resource can be used from the time of opening. For example, it can be hours or days, etc.
需要说明的是, 备用资源主要用于客户突然需要大量资源的情况下, 一般这种情 况持续时间不会太长。例如, 客户如果长时间需要大量资源, 一般都会直接签约大流 量了。 因此, 该备用资源的占用时间一般都不太长, 以保证该备用资源在开启后不会 被长时间占用, 保证备用资源在满足客户需求后被及时释放, 以免造成资源浪费。 It should be noted that the backup resources are mainly used when the customer suddenly needs a lot of resources, and generally the duration of this situation is not too long. For example, if customers need a lot of resources for a long time, they will usually sign up for a large amount of traffic. Therefore, the occupation time of the standby resource is generally not too long, so that the backup resource is not occupied for a long time after being opened, and the backup resource is released in time to meet the customer demand, so as to avoid waste of resources.
备用资源的类型和数量, 用于指示该 NSAI包括的备用资源的类型、 以及各类型 的备用资源分别对应的数量。 例如, 备用资源的类型可以为: 软件资源和硬件资源。 其中, 软件资源可以包括带宽资源、 虚拟链接资源等; 硬件资源可以包括 VM资源、 P F资源等。 该 NSAI信息中可以包括多种备用资源的类型, 并分别设定各类型的备用资源对 应的数量。 例如, 对于 V F资源, 假设其签约值为 30MHz, 在 NS中希望能够增长 的最大数量为 100MHz。 则该 NSAI信息中包括如下信息: 备用资源类型为 V F资 源, 数量为 100MHz。 The type and quantity of the standby resource, which is used to indicate the type of the spare resource included in the NSAI, and the corresponding number of each type of the spare resource. For example, the types of alternate resources can be: Software resources and hardware resources. The software resources may include bandwidth resources, virtual link resources, and the like; the hardware resources may include VM resources, PF resources, and the like. The NSAI information may include multiple types of spare resources, and respectively set the number corresponding to each type of spare resources. For example, for a VF resource, assuming that its subscription value is 30 MHz, the maximum number that is expected to grow in the NS is 100 MHz. The NSAI information includes the following information: The spare resource type is a VF resource, and the quantity is 100 MHz.
需要说明的是, 该 NSAI中包括的各项信息, 都可以由客户在签约时根据实际的 需要具体设定。 It should be noted that all the information included in the NSAI can be specifically set by the customer according to actual needs when signing the contract.
步骤 S202: EMS获取 NS中各个 VNF的运行性能情况。 Step S202: The EMS obtains the running performance of each VNF in the NS.
具体的, EMS可以周期性的监测 NS中各个 V F的运行性能; 或者, EMS还可 以定期接收 NS中各个 VNF上报的运行性能信息。 Specifically, the EMS can periodically monitor the running performance of each V F in the NS. Alternatively, the EMS can periodically receive the running performance information reported by each VNF in the NS.
其中, V F的运行性能可以包括: 带宽使用量、 吞吐量、 时延等。 The operating performance of the V F may include: bandwidth usage, throughput, delay, and the like.
步骤 S203 : 当 EMS发现某个 VNF发生性能异常报警时, 将该 VNF的性能异常 报警信息上报至 V FM。 Step S203: When the EMS finds a performance abnormality alarm of the VNF, the performance abnormality alarm information of the VNF is reported to the VFM.
步骤 S204: V FM接收到 EMS上报的某 VNF的性能异常报警信息后, 根据该 性能异常报警信息判断是否为性能过载, 如果是, 则进入步骤 S205; 如果不是, 则 按照常规流程对该性能异常报警进行处理。 Step S204: After receiving the performance abnormality alarm information of the VNF reported by the EMS, the VFM determines whether the performance is overloaded according to the performance abnormality alarm information. If yes, the process proceeds to step S205; if not, the performance is abnormal according to the normal process. The alarm is processed.
具体的, V FM接收到该 VNF的性能异常报警信息后, 对该异常报警进行分析 判断, 确定该异常是否为 NS性能过载造成的, 能否通过增加 NS资源来解决, 如果 是的话, 则对该 VNF开启备用资源, 通过增加 NS资源解决该异常报警。 Specifically, after receiving the performance abnormality alarm information of the VNF, the VFM analyzes and determines the abnormal alarm to determine whether the abnormality is caused by the NS performance overload, and whether the NS resource is added to solve the problem, if yes, then The VNF starts the standby resource and solves the abnormal alarm by adding NS resources.
具体的,该异常报警信息中包括有性能异常数据,根据该性能异常数据进行分析, 当该 VNF的资源使用率高于预设的第一阈值时, 可以确定该性能异常报警信息为该 VNF性能过载。 Specifically, the abnormal alarm information includes performance abnormal data, and is analyzed according to the performance abnormal data. When the resource usage rate of the VNF is higher than a preset first threshold, the performance abnormal alarm information may be determined as the VNF performance. overload.
步骤 S205: VNFM向 Orchestrator发送 NSRRR消息; 其中, NSRRR中包括网 络资源操作标识和该 VNF的性能异常数据。 Step S205: The VNFM sends an NSRRR message to the Orchestrator. The NSRRR includes the network resource operation identifier and the performance abnormal data of the VNF.
具体的, 该 NSRRR中可以包括网络资源操作标识, 当 VNFM确定当前异常为 性能过载, 需要为该 VNF开启 NS的备用资源时,可以设定该 NSRRR的网络资源的 操作标识为 Increasing, 意为开启备用资源。 Specifically, the NSRRR may include a network resource operation identifier. When the VNFM determines that the current abnormality is a performance overload, and the NS resource needs to be enabled for the VNF, the operation identifier of the network resource of the NSRRR may be set to Increasing, meaning to enable Alternate resources.
步骤 S206: Orchestrator接收到 VNFM发送的 NSRRR消息, 根据该网络资源操 作标识确定当前异常为性能过载, 则 Orchestrator根据 NS的签约资源信息、 NSAI指 示的备用资源的信息和 VNF的性能异常数据, 制定相应的网络服务预留资源处理策 略 NSRRHP, 进入步骤 S207a和 S207b。 Step S206: The Orchestrator receives the NSRRR message sent by the VNFM, and determines that the current abnormality is a performance overload according to the network resource operation identifier, and the Orchestrator determines according to the NS subscription resource information, the NSAI indicated alternate resource information, and the VNF performance abnormal data. The network service reserves the resource processing policy NSRRHP, and proceeds to steps S207a and S207b.
具体的, 所述根据所述 NS的签约资源信息、 所述 NSAI指示的备用资源的信息 和所述 VNF的性能异常数据, 制定相应的 NSRRHP包括: Specifically, the information about the subscription resource according to the NS and the information about the standby resource indicated by the NSAI And the performance abnormal data of the VNF, the corresponding NSRRHP is formulated to include:
Orchestrator根据该 NSRRR消息中包括的该 V F的性能异常数据, 确定当前发 生性能过载的资源的类型,即为确定当前是哪些类型的资源出现紧缺导致发生异常报 舊。 Based on the performance exception data of the V F included in the NSRRR message, the Orchestrator determines the type of the resource that is currently overloaded with the performance, that is, it determines the current type of resources that are in short supply and causes an abnormal report.
Orchestrator查询所述 NSAI指示的备用资源的信息,获取所述当前发生性能过载 的类型的备用资源的数量; 换言之, Orchestrator查询 NSAI指示的备用资源信息, 确 定可以为该 VNF开启哪些类型的备用资源。 The Orchestrator queries the information of the alternate resource indicated by the NSAI to obtain the number of spare resources of the type in which the performance overload occurs. In other words, the Orchestrator queries the alternate resource information indicated by the NSAI to determine which types of backup resources can be enabled for the VNF.
同时, Orchestrator还查询所述 NS的签约资源信息, 获取所述当前发生性能过载 的类型的资源的签约数量。 At the same time, the Orchestrator also queries the contracted resource information of the NS to obtain the number of subscriptions of the resource of the type that currently has performance overload.
Orchestrator制定所述 NSRRHP为: 开启所述当前发生性能过载的类型的备用资 源,使得所述类型的可用资源的数量为所述类型的备用资源的数量加上所述类型的签 约数量 The Orchestrator formulates the NSRRHP as: enabling the backup resource of the type in which the performance overload is currently occurring, such that the number of available resources of the type is the number of spare resources of the type plus the number of subscriptions of the type.
具体的,假设当前 Orchestrator接收到的 NSRRR消息中的 NS性能过载的数据信 息指出, 该 VNF所需的 VNF资源为 80MHz, 而该客户的 VNF签约值仅为 30MHz。 Orchestrator通过步骤 S201中接收自 OSS/BSS的 NSAI可知, 该客户的 V F备用资 源为 100MHz。 Specifically, it is assumed that the data of the NS performance overload in the NSRRR message received by the current Orchestrator indicates that the VNF resource required by the VNF is 80 MHz, and the VNF subscription value of the client is only 30 MHz. The Orchestrator can know from the NSAI received from the OSS/BSS in step S201 that the V F backup resource of the client is 100 MHz.
则 Orchestrator制定 NSRRHP为: 为该 V F开启 V F备用资源, 使得该 V F 可用资源的数量为 130MHz, 以解决当前的故障。 Orchestrator sets NSRRHP to: Enable V F standby resources for the V F, so that the number of available resources of the V F is 130 MHz to solve the current fault.
需要说明的是, 本发明实施例二中, 由 V FM根据 EMS上报的某 V F的性能 异常报警信息进行分析判断, 当确定该异常报警为性能过载时, 通过在 NSRRR中包 括的网络资源操作标识告知 Orchestrator该异常为性能过载,需要为该 VNF开启备用 资源。 It should be noted that, in the second embodiment of the present invention, the VFM performs analysis and judgment according to the performance abnormality alarm information of a VF reported by the EMS. When it is determined that the abnormal alarm is a performance overload, the network resource operation identifier included in the NSRRR is determined. Tell Orchestrator that the exception is a performance overload and need to turn on alternate resources for the VNF.
进一步的, 在本发明其他实施例中, 该方法还可以包括: V FM直接将 EMS上 报的某 V F的性能异常报警信息发送给 Orchestrator。 由 Orchestrator对该性能异常 报警信息进行分析判断; 当该信息中包括的资源使用率高于预设的第一阈值时, Orchestrator确定该 V F为性能过载, 需要为该 VNF开启备用资源。 Further, in other embodiments of the present invention, the method may further include: sending, by the VFM, the performance abnormality alarm information of a certain V F reported by the EMS to the Orchestrator. The Orchestrator analyzes and determines the performance abnormality alarm information. When the resource usage rate included in the information is higher than the preset first threshold, the Orchestrator determines that the V F is a performance overload, and needs to open the standby resource for the VNF.
步骤 S207a: Orchestrator发送 NSRRHP消息至 VNFM, 进入步骤 S208a; 其中, 所述 NSRRHP消息中包括对 VNF资源进行扩展的策略信息。 Step S207: The Orchestrator sends the NSRRHP message to the VNFM, and proceeds to step S208a. The NSRRHP message includes policy information for expanding the VNF resource.
其中, V F资源是指 NS的软件资源, 例如, 带宽资源、 虚拟链接资源等。 步骤 S207b: Orchestrator发送 NSRRHP消息至 VIM, 进入步骤 S208b; 其中, 所述 NSRRHP消息中包括对 NFVI ( FV Infrastructure, 网络功能虚拟化基础设施) 资源进行扩展的策略信息。 The VF resource refers to the software resources of the NS, for example, bandwidth resources, virtual link resources, and the like. Step S207b: The Orchestrator sends the NSRRHP message to the VIM, and proceeds to step S208b. The NSRRHP message includes the NFVI (FV Infrastructure, Network Function Virtualization Infrastructure). Policy information for resource expansion.
其中, FVI资源是指 NS的硬件资源, 例如, VM资源、 PNF资源等。 The FVI resource refers to the hardware resources of the NS, for example, VM resources, PNF resources, and the like.
步骤 S208a: VNFM接收到该 NSRRHP消息后,根据该 NSRRHP消息中的策略, 执行对 VNF资源的扩展操作, 即为开启 VNF的备用资源。 Step S208a: After receiving the NSRRHP message, the VNFM performs an extended operation on the VNF resource according to the policy in the NSRRHP message, that is, the standby resource of the VNF is enabled.
步骤 S208b: VIM接收到该 NSRRHP消息后, 根据该 NSRRHP消息中的策略, 执行对 FVI资源的扩展操作, 即为开启 NFVI的备用资源。 Step S208b: After receiving the NSRRHP message, the VIM performs an extended operation on the FVI resource according to the policy in the NSRRHP message, that is, the standby resource of the NFVI is enabled.
通过上述方法, 使得客户不仅能够使用签约时规定的正常使用的资源,还能使用 NSAI中所规定的备用资源, 由此可以消除 NS的过载异常, 避免业务的异常中断, 满足客户的使用需求, 提高 NS的可用性和持续性。 Through the above method, the customer can not only use the normal use resources specified in the contract, but also use the spare resources specified in the NSAI, thereby eliminating the overload abnormality of the NS, avoiding the abnormal interruption of the service, and satisfying the use requirements of the customer. Improve the usability and continuity of NS.
为避免 NS资源浪费以及保证其他 V F使用备用资源, 本发明实施例所述方法 还包括: 在该 VNF的 NS过载异常消除或达到备用资源的使用时限后, 对该 VNF占 用的备用资源进行释放。 The method of the embodiment of the present invention further includes: releasing the standby resource occupied by the VNF after the NS overload abnormality of the VNF is eliminated or the usage time of the standby resource is reached, in order to avoid the NS resource waste and the use of the backup resource.
仍结合图 2, 在步骤 S208a和 S208b之后, 所述方法还包括: Still in conjunction with FIG. 2, after steps S208a and S208b, the method further includes:
步骤 S209: EMS获取 NS中各个 VNF的运行性能情况。 Step S209: The EMS obtains the running performance of each VNF in the NS.
具体的, EMS可以周期性的监测 NS中各个 V F的运行性能; 或者, EMS还可 以定期接收 NS中各个 VNF上报的运行性能信息。 Specifically, the EMS can periodically monitor the running performance of each V F in the NS. Alternatively, the EMS can periodically receive the running performance information reported by each VNF in the NS.
其中, V F的运行性能可以包括: 带宽使用量、 数据吞吐量、 时延等。 The operating performance of the V F may include: bandwidth usage, data throughput, latency, and the like.
步骤 S210: 当 EMS发现某个 VNF发生性能异常报警时, 将该 VNF的性能异常 报警信息上报至 V FM。 Step S210: When the EMS finds a performance abnormality alarm of the VNF, the performance abnormality alarm information of the VNF is reported to the VFM.
步骤 S211 : V FM接收到 EMS上报的某 V F的性能异常报警信息后, 判断是 否需要为该 V F释放 NS的备用资源, 如果需要释放, 则进入步骤 S212; 否则, 则 按照常规流程对该性能异常报警进行处理。 Step S211: After receiving the performance abnormality alarm information of the VF reported by the EMS, the VFM determines whether it is necessary to release the standby resource of the NS for the VF. If the release is required, the process proceeds to step S212; otherwise, the performance is abnormal according to the normal procedure. The alarm is processed.
具体的, VNFM接收到该 EMS上报的某 V F的性能异常报警信息后, 根据该 性能异常报警信息判断是否为性能过低且开启过备用资源, 如果是, 则进入步骤 S212; 如果不是, 则按照常规流程对该性能异常报警进行处理。 Specifically, after receiving the performance abnormality alarm information of the VF reported by the EMS, the VNFM determines whether the performance is too low and the standby resource is turned on according to the performance abnormality alarm information. If yes, the process proceeds to step S212; if not, the The normal process handles this performance anomaly alarm.
具体的, VNFM接收到 VNF的性能异常报警信息后, 对该异常报警进行分析, 确定该异常是否为 V F的 NS性能过低造成的, 例如, 根据性能异常报警信息中的 性能异常数据进行分析判断, 当 V F的资源使用率低于预设的第二阈值时, 可以确 定该报警为 VNF性能过低。 Specifically, after receiving the performance abnormality alarm information of the VNF, the VNFM analyzes the abnormal alarm to determine whether the abnormality is caused by the NS performance of the VF being too low, for example, analyzing and judging according to the performance abnormal data in the performance abnormal alarm information. When the resource usage of the VF is lower than the preset second threshold, it may be determined that the alarm is too low for the VNF performance.
然后进一步判断该 VNF之前是否开启过备用资源时, 如果开启过, 则确定需要 为该 V F释放 NS的备用资源; 如果没有, 则按照常规流程对该性能异常报警进行 处理。 Then, if it is further determined whether the standby resource is enabled before the VNF, if it is turned on, it is determined that the standby resource of the NS needs to be released for the VF; if not, the performance abnormality alarm is performed according to a normal process. deal with.
具体的, V FM根据该 VNF的 NS性能参数和 NSAI中的参数信息, 来判断该 VNF之前是否开启过备用资源。 Specifically, the VFM determines whether the standby resource is enabled before the VNF according to the NS performance parameter of the VNF and the parameter information in the NSAI.
例如, V FM通过查询该 V F 的 NS 性能参数, 确定该 V F 的签约值仅为 30MHz, 但是当前该 VNF的实际可用资源值为 130MHz, 同时, 通过 NSAI可知, 该 NS具有 100MHz的备用 VNF资源。 由此可以确定, 该 VNF开启过备用资源。 For example, by querying the NS performance parameter of the V F , the V FM determines that the V F subscription value is only 30 MHz, but the actual available resource value of the VNF is currently 130 MHz. Meanwhile, the NS has the standby VNF resource of 100 MHz. From this it can be determined that the VNF has opened the standby resource.
由于当前该 VNF的资源使用率过低,可知,该 VNF不需要继续占用该备用资源, 由此, 可对该备用资源进行释放操作, 以避免资源浪费。 Since the current resource usage of the VNF is too low, it can be known that the VNF does not need to continue to occupy the standby resource, and thus the standby resource can be released to avoid resource waste.
步骤 S212: VNFM向 Orchestrator发送 NSRRR消息; 其中, NSRRR中包括网 络资源操作标识和该 VNF的性能异常数据。 Step S212: The VNFM sends an NSRRR message to the Orchestrator. The NSRRR includes the network resource operation identifier and the performance abnormal data of the VNF.
具体的, 该 NSRRR中可以包括网络资源操作标识, 当 VNFM确定当前异常为 性能过低, 需要为该 VNF释放 NS的备用资源时,可以设定该 NSRRR的网络资源的 操作标识为 Decreasing, 意为释放备用资源。 Specifically, the NSRRR may include a network resource operation identifier. When the VNFM determines that the current abnormality is too low and needs to release the NS standby resource for the VNF, the operation identifier of the network resource of the NSRRR may be set to Decreasing, meaning Release the alternate resource.
步骤 S213 : Orchestrator接收到 VNFM发送的 NSRRR消息, 确定该网络资源操 作标识确定当前异常为性能过低, 则 Orchestrator根据 NS的签约资源信息、 NSAI指 示的备用资源的信息和 VNF的性能异常数据, 制定相应的网络服务预留资源处理策 略 NSRRHP, 进入步骤 S214a和 S214b。 Step S213: The Orchestrator receives the NSRRR message sent by the VNFM, determines that the network resource operation identifier determines that the current abnormality is too low, and the Orchestrator formulates the contract resource information according to the NS, the information of the standby resource indicated by the NSAI, and the performance abnormal data of the VNF. The corresponding network service reservation resource processing policy NSRRHP proceeds to steps S214a and S214b.
所述根据所述 NS 的签约资源信息、 所述 NSAI指示的备用资源的信息和所述 VNF的性能异常数据, 制定相应的 NSRRHP包括: The formulating the corresponding NSRRHP according to the contract resource information of the NS, the information of the standby resource indicated by the NSAI, and the performance abnormal data of the VNF includes:
Orchestrator根据该 NSRRR消息中包括的该 V F的性能异常数据, 确定当前发 生性能过低的资源的类型,即为确定当前是哪些类型的资源出现使用率过低而导致发 生异常报警。 The Orchestrator determines the type of the resource that is currently under-performing according to the performance abnormality data of the V F included in the NSRRR message, that is, to determine which types of resources are currently used, and the usage rate is too low, causing an abnormal alarm.
Orchestrator查询所述 NS的签约资源信息,获取所述当前发生性能过低的类型的 资源的签约数量。 The Orchestrator queries the contracted resource information of the NS to obtain the number of subscriptions of the currently underperforming type of resources.
当所述类型的可用资源的数量大于所述类型的签约数量时,确定所述类型的资源 开启过备用资源。 When the number of available resources of the type is greater than the number of subscriptions of the type, it is determined that the resource of the type has opened the standby resource.
Orchestrator制定所述 NSRRHP为: 释放所述类型的备用资源, 使得所述类型的 可用资源的数量为所述类型的签约值。 The Orchestrator formulates the NSRRHP as: releasing the spare resources of the type such that the number of available resources of the type is a subscription value of the type.
具体的,假设当前 Orchestrator接收到的 NSRRR消息中的 NS性能过低的数据信 息指出, 该 VNF所需的 VNF资源仅为 10MHz, 而该客户当前可以使用的 VNF资源 为 130MHz, 该 VNF签约值为 30MHz。 Orchestrator通过 NSAI可知, 该客户的 VNF 备用资源为 100MHz。 Specifically, it is assumed that the NS performance of the NSRRR message received by the current Orchestrator is too low, and the VNF resource required by the VNF is only 10 MHz, and the VNF resource currently available to the client is 130 MHz, and the VNF subscription value is 30MHz. Orchestrator knows through NSAI that the customer's VNF The spare resource is 100MHz.
则 Orchestrator制定备用资源处理策略, 确定为该 VNF释放 VNF备用资源, 使 得该 VNF本身的签约值即可满足当前的需求, 以避免资源的浪费。 Orchestrator formulates an alternate resource processing strategy, and determines to release the VNF backup resource for the VNF, so that the VNF itself can meet the current requirements to avoid resource waste.
需要说明的是, 本发明实施例二中, 可以由 V FM根据 EMS上报的某 VNF的 性能异常报警信息进行分析判断, 当确定该异常报警为性能过低时, 通过在 NSRRR 中包括的网络资源操作标识告知 Orchestrator该异常为性能过载,需要为该 VNF释放 备用资源。 It should be noted that, in the second embodiment of the present invention, the VFM may perform analysis and judgment according to the performance abnormality alarm information of a certain VNF reported by the EMS, and when it is determined that the abnormal alarm is too low, the network resources included in the NSRRR are included. The operation identifier tells Orchestrator that the exception is a performance overload and needs to release spare resources for the VNF.
进一步的, 在本发明其他实施例中, 该方法还可以包括: V FM直接将 EMS上 报的某 V F的性能异常报警信息发送给 Orchestrator。 由 Orchestrator对该性能异常 报警信息进行分析判断; 当该信息中包括的资源使用率低于预设的第二阈值时, Orchestrator确定该 V F为性能过低, 需要为该 VNF释放备用资源。 Further, in other embodiments of the present invention, the method may further include: sending, by the VFM, the performance abnormality alarm information of a certain V F reported by the EMS to the Orchestrator. The performance abnormality alarm information is analyzed and judged by the Orchestrator. When the resource usage rate included in the information is lower than the preset second threshold, the Orchestrator determines that the V F is too low and needs to release the standby resource for the VNF.
步骤 S214a: Orchestrator发送 NSRRHP消息至 VNFM, 进入步骤 S215a; 其中, 所述 NSRRHP消息中包括对 VNF备用资源进行释放的策略信息。 Step S214a: The Orchestrator sends the NSRRHP message to the VNFM, and proceeds to step S215a. The NSRRHP message includes policy information for releasing the VNF backup resource.
步骤 S214b: Orchestrator发送 NSRRHP消息至 VIM, 进入步骤 S215b; 其中, 所述 NSRRHP消息中包括对 NFVI备用资源进行释放的策略信息。 Step S214b: The Orchestrator sends the NSRRHP message to the VIM, and proceeds to step S215b. The NSRRHP message includes policy information for releasing the NFVI backup resource.
步骤 S215a: VNFM接收到该 NSRRHP消息后,根据该 NSRRHP消息中的策略, 执行对 VNF资源的释放操作。 Step S215a: After receiving the NSRRHP message, the VNFM performs a release operation on the VNF resource according to the policy in the NSRRHP message.
步骤 S215b: VIM接收到该 NSRRHP消息后, 根据该 NSRRHP消息中的策略, 执行对 FVI资源的释放作。 Step S215b: After receiving the NSRRHP message, the VIM performs release of the FVI resource according to the policy in the NSRRHP message.
通过上述方法, 使得当客户的签约值即可满足运行需求时,释放该客户占用的备 用资源, 以免造成资源浪费。 Through the above method, when the customer's subscription value can meet the running requirement, the standby resource occupied by the customer is released, so as to avoid waste of resources.
进一步的, 本发明实施例所述的方法中, Orchestrator还可以主动发起对备用资 源的释放操作。 Further, in the method of the embodiment of the present invention, the Orchestrator may also initiate a release operation of the standby resource.
具体的, Orchestrator根据 NSAI信息中备用资源的使用时限,判断当前开启的备 用资源的使用时间是否超过了该备用资源的使用时限, 如果超过, 则 Orchestrator主 动制定预留资源处理策略, 释放该部分备用资源。 参照图 3, 为本发明实施例三所述的虚拟网络功能 V F中网络资源的分配方法 的流程图。 如图 3所示, 所述方法可以包括以下步骤: Specifically, the Orchestrator determines whether the currently used standby resource usage time exceeds the usage time of the standby resource according to the usage time limit of the NSAI information in the NSAI information. If the usage exceeds, the Orchestrator actively formulates a reserved resource processing policy, and releases the spare part. Resources. FIG. 3 is a flowchart of a method for allocating network resources in a virtual network function V F according to Embodiment 3 of the present invention. As shown in FIG. 3, the method may include the following steps:
步骤 S301 : 获取当前发生异常的 VNF的性能异常数据; Step S301: Obtain performance abnormal data of the VNF in which the abnormality is currently occurring;
步骤 S302: 接收 Orchestrato发送的 NSAI信息; 所述 NSAI用于指示所述 NS的 备用资源的信息; Step S302: Receive NSAI information sent by Orchestrato; the NSAI is used to indicate the NS Information about alternate resources;
步骤 S303 : 当确定所述 V F为性能过载或过低时, 根据所述 NS的签约资源信 息、 所述 NSAI指示的备用资源的信息和所述 VNF 的性能异常数据, 制定相应的 NSRRHP; Step S303: When it is determined that the V F is performance overload or is too low, according to the subscription resource information of the NS, the information of the standby resource indicated by the NSAI, and the performance abnormal data of the VNF, formulating a corresponding NSRRHP;
步骤 S304: 将所述 NSRRHP发送至 VIM。 Step S304: Send the NSRRHP to the VIM.
本发明实施例所述方法, 增加用于指示所述 NS的备用资源的信息的 NSAL 在 确定 V F发生性能过载或性能过低的异常报警时, 根据 NS的签约资源信息、 所述 NSAI指示的备用资源的信息和所述 VNF的性能异常数据, 制定相应的 NSRRHP, 为所述 VNF动态调整其 NS的可用资源, 以保证 NS的可用性和连续性。 In the method of the embodiment of the present invention, when the NSAL for indicating the information about the standby resource of the NS is added to determine the abnormality alarm of the performance overload or the performance of the VF, the NSAI indicates the subscription resource information and the NSAI indicates the standby. The information of the resource and the performance abnormal data of the VNF are formulated, and the corresponding NSRRHP is formulated, and the available resources of the NS are dynamically adjusted for the VNF to ensure the availability and continuity of the NS.
本发明实施例三的方法应用于 V FM决策的场景。 The method of Embodiment 3 of the present invention is applied to a scenario of V FM decision.
该场景下, V FM如果是, 则将该过载报警发送到 Orchestrator进行处理。 该实施例中, 由 VNFM负责对 EMS上报的过载报警进行分析判断, 判断是否是 当前 NS资源紧缺导致的, 如果不是, 则采取其他故障管理机制进行恢复; 如果是, 则根据 VNF的异常类型以及 NSAI的信息作出预留资源处理决策, 并下发至 VIM执 行相应的动作。 In this scenario, if V FM is, the overload alarm is sent to Orchestrator for processing. In this embodiment, the VNFM is responsible for analyzing and judging the overload alarm reported by the EMS, and determining whether the current NS resource shortage is caused. If not, the other fault management mechanism is used for recovery; if yes, according to the abnormal type of the VNF and The NSAI information is made to reserve resource processing decisions and is sent to VIM to perform the corresponding actions.
下面结合图 4和本发明实施例四, 对实施例二所述的方法进行详细的介绍。 参照图 4, 为本发明实施例四的网络服务资源的分配方法的信令流程图。 如图 4 所示, 所述方法包括以下步骤: The method described in Embodiment 2 will be described in detail below with reference to FIG. 4 and Embodiment 4 of the present invention. 4 is a signaling flowchart of a method for allocating network service resources according to Embodiment 4 of the present invention. As shown in FIG. 4, the method includes the following steps:
步骤 S401: OSS/BSS发送 NSD至 Orchestrator; 其中, 所述 NSD中包括 NS的 签约资源信息和 NSAI信息。 Step S401: The OSS/BSS sends the NSD to the Orchestrator. The NSD includes the contracted resource information and the NSAI information of the NS.
步骤 S402: EMS获取 NS中各个 VNF的运行性能情况。 Step S402: The EMS obtains the running performance of each VNF in the NS.
具体的, EMS可以周期性的监测 NS中各个 V F的运行性能; 或者, EMS还可 以定期接收 NS中各个 VNF上报的运行性能信息。 Specifically, the EMS can periodically monitor the running performance of each V F in the NS. Alternatively, the EMS can periodically receive the running performance information reported by each VNF in the NS.
其中, V F的运行性能可以包括: 带宽使用量、 数据吞吐量、 时延等。 The operating performance of the V F may include: bandwidth usage, data throughput, latency, and the like.
步骤 S403 : 当 EMS发现某个 VNF发生性能异常报警时, 将该 VNF的性能异常 报警信息上报至 VNFM, 所述异常报警信息中包括性能异常数据。 Step S403: When the EMS finds a performance abnormality alarm of the VNF, the performance abnormality alarm information of the VNF is reported to the VNFM, and the abnormal alarm information includes the performance abnormality data.
步骤 S404: VNFM接收到 EMS上报的某 VNF的性能异常报警信息后, 根据该 性能异常数据判断是否为性能过载, 如果是, 则进入步骤 S405; 如果不是, 则按照 常规流程对该性能异常报警进行处理。 Step S404: After receiving the performance abnormality alarm information of the VNF reported by the EMS, the VNFM determines whether the performance is overloaded according to the performance abnormality data. If yes, the process proceeds to step S405; if not, the performance abnormality alarm is performed according to a normal process. deal with.
VNFM接收到该 VNF的性能异常报警信息后, 对该异常报警进行分析判断, 确 定该异常是否为 NS过载造成的,能否通过增加 NS资源来解决,如果是,则对该 V F 开启备用资源, 通过增加 NS资源解决该异常报警。 After receiving the performance abnormality alarm information of the VNF, the VNFM analyzes and determines the abnormal alarm to determine whether the abnormality is caused by the NS overload, whether it can be solved by adding the NS resource, and if so, the VF Enable the standby resource and solve the abnormal alarm by adding NS resources.
具体的, 当所述异常报警信息为资源使用率高于预设的第一阈值时, 确定所述 VNF为性能过载。 Specifically, when the abnormal alarm information is that the resource usage rate is higher than a preset first threshold, determining that the VNF is a performance overload.
步骤 S405: VNFM向 Orchestrator发送请求消息, 用于请求获取 NSAI信息; 并 接收 Orchestrator返回的包括 NSAI信息的响应消息。 Step S405: The VNFM sends a request message to the Orchestrator for requesting to acquire the NSAI information, and receives a response message including the NSAI information returned by the Orchestrator.
步骤 S406: VNFM根据 NS 的签约资源信息、 NSAI指示的备用资源的信息和 VNF的性能异常数据, 制定相应的 NSRRHP, 进入步骤 S407。 Step S406: The VNFM establishes a corresponding NSRRHP according to the contract resource information of the NS, the information of the standby resource indicated by the NSAI, and the performance abnormal data of the VNF, and proceeds to step S407.
本发明实施例三中, 由 VNFM根据该 VNF的 NS性能过载的数据信息, 确定该 VNF的哪些类型资源出现紧缺导致异常报警。 同时, VNFM根据接收自 Orchestrator 的 NSAI信息中备用资源的情况, 确定可以为该 V F开启哪些类型的备用资源。 然 后, VNFM制定备用资源处理策略, 对该 NSAI信息中包括的、 且该 V F出现紧缺 的资源类型, 做出开启该类型备用资源的决策。 In the third embodiment of the present invention, the VNFM determines, according to the data information of the NS performance overload of the VNF, which types of resources of the VNF are scarce, resulting in an abnormal alarm. At the same time, the VNFM determines which types of spare resources can be enabled for the V F based on the availability of the alternate resources in the NSAI information received from Orchestrator. Then, the VNFM formulates an alternate resource processing strategy, and makes a decision to open the standby resource of the type that is included in the NSAI information and the V F is in short supply.
具体的, 所述根据所述 NS的签约资源信息、 所述 NSAI指示的备用资源的信息 和所述 VNF的性能异常数据, 制定相应的 NSRRHP包括: Specifically, the formulating the corresponding NSRRHP according to the subscription resource information of the NS, the information of the standby resource indicated by the NSAI, and the performance abnormal data of the VNF includes:
VNFM根据所述 VNF的性能异常数据, 确定当前发生性能过载的资源的类型。 查询所述 NSAI指示的备用资源的信息, 获取所述类型的备用资源的数量; 查询 所述 NS的签约资源信息, 获取所述类型的签约数量。 The VNFM determines the type of resource that is currently experiencing performance overload based on the performance anomaly data of the VNF. Querying the information of the standby resource indicated by the NSAI, obtaining the quantity of the spare resource of the type; querying the subscription resource information of the NS, and obtaining the subscription quantity of the type.
制定所述 NSRRHP为开启所述类型的备用资源, 使得所述类型的可用资源的数 量为所述类型的备用资源的数量加上所述类型的签约数量。 The NSRRHP is formulated to enable the type of spare resources such that the number of available resources of the type is the number of spare resources of the type plus the number of subscriptions of the type.
假设当前 VNFM确定 NS性能过载的数据信息指出, 该 VNF所需的 VNF资源 为 80MHz, 而该客户的 VNF签约值仅为 30MHz。 VNFM通过 NSAI可知, 该客户的 VNF备用资源为 100MHz。 Assume that the current VNFM determines that the NS performance overload data indicates that the VNF required for the VNF is 80 MHz, and the VNF subscription value of the customer is only 30 MHz. VNFM knows through NSAI that the customer's VNF backup resource is 100MHz.
则 VNFM制定备用资源处理策略, 确定为该 V F开启 VNF备用资源, 使得该 VNF可以具备 130MHz的资源量, 以解决当前的故障。 Then, the VNFM formulates an alternate resource processing strategy, and determines to enable the VNF backup resource for the V F, so that the VNF can have a 130 MHz resource to solve the current fault.
步骤 S407: VNFM发送 NSRRHP消息至 VIM, 进入步骤 S408b; 其中, 所述 Step S407: The VNFM sends the NSRRHP message to the VIM, and proceeds to step S408b.
NSRRHP消息中包括对 FVI资源进行扩展的策略信息。 The NSRRHP message includes policy information for extending FVI resources.
步骤 S408a: VNFM执行对 VNF备用资源的扩展操作, 即为开启 VNF的备用资 源。 Step S408a: The VNFM performs an extended operation on the VNF backup resource, that is, a backup resource for enabling the VNF.
步骤 S408b: VIM接收到该 NSRRHP消息后, 根据该 NSRRHP消息中的策略, 执行对 FVI备用资源的扩展操作, 即为开启 FVI的备用资源。 Step S408b: After receiving the NSRRHP message, the VIM performs an extended operation on the FVI backup resource according to the policy in the NSRRHP message, that is, the FVI standby resource is enabled.
通过上述方法, 使得客户不仅能够使用签约时规定的正常使用的资源,还能使用 NSAI中所规定的备用资源, 由此可以消除 NS的过载异常, 避免业务的异常中断, 满足客户的使用需求, 提高 NS的可用性和持续性。 Through the above method, the customer can not only use the normal use resources specified at the time of signing, but also use The standby resources specified in the NSAI can eliminate the overload abnormality of the NS, avoid the abnormal interruption of the service, meet the customer's use requirements, and improve the availability and continuity of the NS.
为避免 NS资源浪费以及其他 VNF的资源使用, 本发明实施例所述方法还包括: 在该 VNF的 NS过载异常消除或达到备用资源的使用时限后, 对该 VNF占用的备用 资源进行释放。 In order to avoid the waste of NS resources and the use of resources of other VNFs, the method of the embodiment of the present invention further includes: releasing the standby resources occupied by the VNF after the NS overload abnormality of the VNF is eliminated or the usage time of the standby resource is reached.
仍结合图 4, 在步骤 S408a和 S408b之后, 所述方法还包括: Still referring to FIG. 4, after steps S408a and S408b, the method further includes:
步骤 S409: EMS获取 NS中各个 VNF的运行性能情况。 Step S409: The EMS obtains the running performance of each VNF in the NS.
具体的, EMS可以周期性的监测 NS中各个 V F的运行性能; 或者, EMS还可 以定期接收 NS中各个 VNF上报的运行性能信息。 Specifically, the EMS can periodically monitor the running performance of each V F in the NS. Alternatively, the EMS can periodically receive the running performance information reported by each VNF in the NS.
其中, V F的运行性能可以包括: 带宽使用量、 数据吞吐量、 时延等。 The operating performance of the V F may include: bandwidth usage, data throughput, latency, and the like.
步骤 S410: 当 EMS发现某个 VNF发生性能异常报警时, 将该 VNF的性能异常 报警信息上报至 V FM。 Step S410: When the EMS finds a performance abnormality alarm of the VNF, the performance abnormality alarm information of the VNF is reported to the VFM.
步骤 S411 : V FM接收到 EMS上报的某 V F的性能异常报警信息后, 判断是 否需要为性能过低, 如果是, 则进入步骤 S412; 否则, 则按照常规流程对该性能异 常报警进行处理。 Step S411: After receiving the performance abnormality alarm information of a certain V F reported by the EMS, the V FM determines whether the performance is too low. If yes, the process goes to step S412; otherwise, the performance abnormality alarm is processed according to a normal process.
具体的, V FM接收到该 EMS上报的某 V F的性能异常报警信息后, 首先判 断该报警是否为 VNF性能过低的报警, 如果是, 则进一步判断该 VNF之前是否开启 过备用资源; 如果否, 则按照常规流程对该性能异常报警进行处理。 Specifically, after receiving the performance abnormality alarm information of the VF reported by the EMS, the VFM first determines whether the alarm is an alarm whose VNF performance is too low, and if yes, further determines whether the standby resource is enabled before the VNF; , the performance exception alarm is processed according to the normal process.
具体的, VNFM对该 VNF的性能异常报警信息进行分析, 当该 V F的资源使 用率低于预设的第二阈值时, 可以确定该报警为 VNF性能过低的报警。 Specifically, the VNFM analyzes the performance abnormality alarm information of the VNF. When the resource usage rate of the V F is lower than a preset second threshold, the alarm may be determined to be an alarm that the VNF performance is too low.
再进一步判断该 VNF之前是否开启过备用资源时, 如果开启过, 则确定需要为 该 V F释放 NS的备用资源; 如果没有, 则按照常规流程对该性能异常报警进行处 理。 If it is further determined whether the standby resource is enabled before the VNF, if it is turned on, it is determined that the standby resource of the NS needs to be released for the V F; if not, the performance abnormality alarm is processed according to a normal procedure.
具体的, VNFM根据该 VNF的 NS性能参数和 NSAI中的参数信息, 来判断该 VNF之前是否开启过备用资源。 Specifically, the VNFM determines whether the standby resource is enabled before the VNF according to the NS performance parameter of the VNF and the parameter information in the NSAI.
例如, VNFM通过查询该 V F 的 NS 性能参数, 确定该 V F 的签约值仅为 30MHz, 但是当前该 VNF的实际可使用资源值为 130MHz, 同时, 通过 NSAI可知, 该 NS具有 100MHz的备用 VNF资源。 由此可以确定, 该 VNF开启过备用资源。 For example, by querying the NS performance parameter of the V F, the VNFM determines that the V F subscription value is only 30 MHz, but the actual available resource value of the VNF is currently 130 MHz. Meanwhile, the NS has a standby VNF resource of 100 MHz. From this it can be determined that the VNF has opened the standby resource.
由于当前该 VNF的资源使用率过低,可知,该 VNF不需要继续占用该备用资源, 由此, 可对该备用资源进行释放操作, 以避免资源浪费。 Since the current resource usage of the VNF is too low, it can be known that the VNF does not need to continue to occupy the standby resource, and thus the standby resource can be released to avoid resource waste.
步骤 S412: VNFM向 Orchestrator发送请求消息, 用于请求获取 NSAI信息; 并 接收 Orchestrator返回的包括 NSAI信息的响应消息。 Step S412: The VNFM sends a request message to the Orchestrator for requesting acquisition of the NSAI information; Receives a response message including NSAI information returned by Orchestrator.
步骤 S413 : V FM根据所述 NS的签约资源信息、所述 NSAI指示的备用资源的 信息和所述 VNF的性能异常数据, 制定相应的 NSRRHP, 进入步骤 S414。 Step S413: The VFM formulates a corresponding NSRRHP according to the subscription resource information of the NS, the information of the standby resource indicated by the NSAI, and the performance abnormality data of the VNF, and proceeds to step S414.
所述根据所述 NS 的签约资源信息、 所述 NSAI指示的备用资源的信息和所述 VNF的性能异常数据, 制定相应的 NSRRHP包括: The formulating the corresponding NSRRHP according to the contract resource information of the NS, the information of the standby resource indicated by the NSAI, and the performance abnormal data of the VNF includes:
根据所述 VNF的性能异常数据, 确定当前发生性能过低的资源的类型。 According to the performance abnormal data of the VNF, the type of the resource that is currently under-performing is determined.
查询所述 NS的签约资源信息, 获取所述类型的签约数量。 Querying the subscription resource information of the NS, and obtaining the number of subscriptions of the type.
当所述类型的可用资源的数量大于所述类型的签约数量时,确定所述类型的资源 开启过备用资源。 When the number of available resources of the type is greater than the number of subscriptions of the type, it is determined that the resource of the type has opened the standby resource.
制定所述 NSRRHP为释放所述类型的备用资源, 使得所述类型的可用资源的数 量为所述类型的签约值 Determining that the NSRRHP is to release an alternate resource of the type such that the number of available resources of the type is a subscription value of the type
具体的, 假设当前 NS性能过低的数据信息指出, 该 VNF所需的 VNF资源仅为 10MHz, 而该客户当前可以使用的 VNF资源为 130MHz, 该 VNF签约值为 30MHz。 VNFM通过 NSAI可知, 该客户的 VNF备用资源为 100MHz。 Specifically, the data information of the current NS performance is too low, indicating that the VNF resource required by the VNF is only 10 MHz, and the VNF resource currently available to the client is 130 MHz, and the VNF subscription value is 30 MHz. VNFM knows through NSAI that the customer's VNF backup resource is 100MHz.
则 VNFM制定备用资源处理策略, 确定为该 V F释放 VNF备用资源, 使得该 The VNFM formulates an alternate resource processing policy, and determines to release the VNF backup resource for the V F, so that the VNF
VNF本身的签约值即可满足当前的需求, 以避免资源的浪费。 The signing value of the VNF itself can meet the current needs to avoid waste of resources.
步骤 S414: VNFM发送 NSRRHP消息至 VIM, 进入步骤 S415b; 其中, 所述 NSRRHP消息中包括对 FVI备用资源进行释放的策略信息。 Step S414: The VNFM sends the NSRRHP message to the VIM, and proceeds to step S415b. The NSRRHP message includes policy information for releasing the FVI backup resource.
步骤 S415a: VNFM执行对 VNF资源的释放操作。 Step S415a: The VNFM performs a release operation on the VNF resource.
步骤 S415b: VIM接收到该 NSRRHP消息后, 根据该 NSRRHP消息中的策略, 执行对 FVI资源的释放作。 Step S415b: After receiving the NSRRHP message, the VIM performs release of the FVI resource according to the policy in the NSRRHP message.
通过上述方法, 使得当客户的签约值即可满足运行需求时,释放该客户占用的备 用资源, 以免造成资源浪费。 Through the above method, when the customer's subscription value can meet the running requirement, the standby resource occupied by the customer is released, so as to avoid waste of resources.
进一步的, 本发明实施例所述的方法中, VNFM还可以主动发起对备用资源的 释放操作。 Further, in the method of the embodiment of the present invention, the VNFM may also initiate a release operation of the standby resource.
具体的, VNFM根据接收自 Orchestrator的 NSAI信息中备用资源的使用时限, 判断当前开启的备用资源的使用时间是否超过了该备用资源的使用时限, 如果超过, VNFM则主动制定预留资源处理策略, 释放该部分备用资源。 本发明实施例五的方法仍应用于 VNFM决策的场景。 实施例五与实施例四的区 别在于, 当 Orchestrator接收到 OSS/BSS发送的 NSD后, 立即将其中包括的 NSAI 信息发送至 VNFM, 而不再需要 VNFM向 Orchestrator请求该 NSAI的过程。 Specifically, the VNFM determines whether the currently used backup resource usage time exceeds the usage time of the standby resource according to the usage time limit of the standby resource in the NSAI information received from the Orchestrator. If exceeded, the VNFM actively formulates a reserved resource processing policy. Release this part of the spare resource. The method of Embodiment 5 of the present invention is still applied to the scenario of VNFM decision. The difference between the fifth embodiment and the fourth embodiment is that when the Orchestrator receives the NSD sent by the OSS/BSS, it immediately includes the NSAI included therein. The information is sent to the VNFM, and the process of requesting the NSAI from the VNFM to the Orchestrator is no longer needed.
参照图 5, 为本发明实施例五的网络服务资源的分配方法的信令流程图。 如图 5 所示, 所述方法包括以下步骤: Referring to FIG. 5, it is a signaling flowchart of a method for allocating network service resources according to Embodiment 5 of the present invention. As shown in FIG. 5, the method includes the following steps:
步骤 S501: OSS/BSS发送 NSD至 Orchestrator; 其中, 所述 NSD中包括 NS的 签约资源信息和 NSAI信息; Orchestrator接收到 NSD后,将 NSAI信息发送至 V FM。 Step S501: The OSS/BSS sends the NSD to the Orchestrator. The NSD includes the NS subscription resource information and the NSAI information. After receiving the NSD, the Orchestrator sends the NSAI information to the VFM.
步骤 S502: EMS获取 NS中各个 VNF的运行性能情况。 Step S502: The EMS obtains the running performance of each VNF in the NS.
具体的, EMS可以周期性的监测 NS中各个 V F的运行性能; 或者, EMS还可 以定期接收 NS中各个 VNF上报的运行性能信息。 Specifically, the EMS can periodically monitor the running performance of each V F in the NS. Alternatively, the EMS can periodically receive the running performance information reported by each VNF in the NS.
其中, V F的运行性能可以包括: 带宽使用量、 数据吞吐量、 时延等。 The operating performance of the V F may include: bandwidth usage, data throughput, latency, and the like.
步骤 S503 : 当 EMS发现某个 VNF发生性能异常报警时, 将该 VNF的性能异常 报警信息上报至 V FM。 Step S503: When the EMS finds a performance abnormality alarm of the VNF, the performance abnormality alarm information of the VNF is reported to the VFM.
步骤 S504: VNFM接收到 EMS上报的某 VNF的性能异常报警信息后, 根据该 性能异常数据判断是否为性能过载, 如果是, 则进入步骤 S505; 如果不是, 则按照 常规流程对该性能异常报警进行处理。 Step S504: After receiving the performance abnormality alarm information of the VNF reported by the EMS, the VNFM determines whether the performance is overloaded according to the performance abnormality data. If yes, the process proceeds to step S505; if not, the performance abnormality alarm is performed according to a normal process. deal with.
VNFM接收到该 VNF的性能异常报警信息后, 对该异常报警进行分析判断, 确 定该异常是否为 NS过载造成的,能否通过增加 NS资源来解决,如果是,则对该 V F 开启备用资源, 通过增加 NS资源解决该异常报警。 After receiving the performance abnormality alarm information of the VNF, the VNFM analyzes and determines the abnormal alarm to determine whether the abnormality is caused by the NS overload, whether it can be solved by adding the NS resource, and if so, opening the standby resource to the VF. The abnormal alarm is solved by adding NS resources.
具体的, 当所述异常报警信息为资源使用率高于预设的第一阈值时, 确定所述 VNF为性能过载。 Specifically, when the abnormal alarm information is that the resource usage rate is higher than a preset first threshold, determining that the VNF is a performance overload.
步骤 S505: VNFM根据 NS 的签约资源信息、 NSAI指示的备用资源的信息和 Step S505: The VNFM according to the NS resource information of the NS, the information of the standby resource indicated by the NSAI, and
VNF的性能异常数据, 制定相应的 NSRRHP, 进入步骤 S506。 If the performance of the VNF is abnormal, the corresponding NSRRHP is formulated, and the process proceeds to step S506.
本发明实施例四中, 由 VNFM根据该 VNF的 NS性能过载的数据信息, 确定该 VNF的哪些类型资源出现紧缺导致异常报警。 同时, VNFM根据接收自 Orchestrator 的 NSAI信息中备用资源的情况, 确定可以为该 V F开启哪些类型的备用资源。 然 后, VNFM制定备用资源处理策略, 对该 NSAI信息中包括的、 且该 V F出现紧缺 的资源类型, 做出开启该类型备用资源的决策。 In the fourth embodiment of the present invention, the VNFM determines, according to the data information of the NS performance overload of the VNF, which types of resources of the VNF are scarce, resulting in an abnormal alarm. At the same time, the VNFM determines which types of spare resources can be enabled for the V F based on the availability of the alternate resources in the NSAI information received from Orchestrator. Then, the VNFM formulates an alternate resource processing strategy, and makes a decision to open the standby resource of the type that is included in the NSAI information and the V F is in short supply.
具体的, 所述根据所述 NS的签约资源信息、 所述 NSAI指示的备用资源的信息 和所述 VNF的性能异常数据, 制定相应的 NSRRHP包括: Specifically, the formulating the corresponding NSRRHP according to the subscription resource information of the NS, the information of the standby resource indicated by the NSAI, and the performance abnormal data of the VNF includes:
VNFM根据所述 VNF的性能异常数据, 确定当前发生性能过载的资源的类型。 查询所述 NSAI指示的备用资源的信息, 获取所述类型的备用资源的数量; 查询 所述 NS的签约资源信息, 获取所述类型的签约数量。 制定所述 NSRRHP为开启所述类型的备用资源, 使得所述类型的可用资源的数 量为所述类型的备用资源的数量加上所述类型的签约数量。 The VNFM determines the type of resource currently experiencing performance overload based on the performance abnormal data of the VNF. Querying the information of the standby resource indicated by the NSAI, and obtaining the quantity of the backup resource of the type; querying the subscription resource information of the NS, and acquiring the subscription quantity of the type. The NSRRHP is formulated to enable the type of spare resources such that the number of available resources of the type is the number of spare resources of the type plus the number of subscriptions of the type.
假设当前 V FM确定 NS性能过载的数据信息指出, 该 VNF所需的 VNF资源 为 80MHz, 而该客户的 VNF签约值仅为 30MHz。 VNFM通过 NSAI可知, 该客户的 VNF备用资源为 100MHz。 Assume that the current V FM determines that the NS performance overload data indicates that the VNF required for the VNF is 80 MHz, and the VNF subscription value of the customer is only 30 MHz. VNFM knows through NSAI that the customer's VNF backup resource is 100MHz.
则 VNFM制定备用资源处理策略, 确定为该 V F开启 VNF备用资源, 使得该 VNF可以具备 130MHz的资源量, 以解决当前的故障。 Then, the VNFM formulates an alternate resource processing strategy, and determines to enable the VNF backup resource for the V F, so that the VNF can have a 130 MHz resource to solve the current fault.
步骤 S506: VNFM发送 NSRRHP消息至 VIM, 进入步骤 S507b; 其中, 所述 NSRRHP消息中包括对 FVI资源进行扩展的策略信息。 Step S506: The VNFM sends the NSRRHP message to the VIM, and proceeds to step S507b. The NSRRHP message includes policy information for extending the FVI resource.
步骤 S507a: VNFM执行对 VNF备用资源的扩展操作, 即为开启 VNF的备用资 源。 Step S507a: The VNFM performs an extended operation on the VNF backup resource, that is, a backup resource for enabling the VNF.
步骤 S507b: VIM接收到该 NSRRHP消息后, 根据该 NSRRHP消息中的策略, 执行对 FVI备用资源的扩展操作, 即为开启 FVI的备用资源。 Step S507b: After receiving the NSRRHP message, the VIM performs an extended operation on the FVI backup resource according to the policy in the NSRRHP message, that is, the FVI standby resource is enabled.
通过上述方法, 使得客户不仅能够使用签约时规定的正常使用的资源,还能使用 NSAI中所规定的备用资源, 由此可以消除 NS的过载异常, 避免业务的异常中断, 满足客户的使用需求, 提高 NS的可用性和持续性。 Through the above method, the customer can not only use the normal use resources specified in the contract, but also use the spare resources specified in the NSAI, thereby eliminating the overload abnormality of the NS, avoiding the abnormal interruption of the service, and satisfying the use requirements of the customer. Improve the usability and continuity of NS.
为避免 NS资源浪费以及其他 VNF的资源使用, 本发明实施例所述方法还包括: 在该 VNF的 NS过载异常消除或达到备用资源的使用时限后, 对该 VNF占用的备用 资源进行释放。 In order to avoid the waste of NS resources and the use of resources of other VNFs, the method of the embodiment of the present invention further includes: releasing the standby resources occupied by the VNF after the NS overload abnormality of the VNF is eliminated or the usage time of the standby resource is reached.
仍结合图 5, 在步骤 S507a和 S507b之后, 所述方法还包括: Still referring to FIG. 5, after steps S507a and S507b, the method further includes:
步骤 S508: EMS获取 NS中各个 VNF的运行性能情况。 Step S508: The EMS obtains the running performance of each VNF in the NS.
具体的, EMS可以周期性的监测 NS中各个 V F的运行性能; 或者, EMS还可 以定期接收 NS中各个 VNF上报的运行性能信息。 Specifically, the EMS can periodically monitor the running performance of each V F in the NS. Alternatively, the EMS can periodically receive the running performance information reported by each VNF in the NS.
其中, V F的运行性能可以包括: 带宽使用量、 数据吞吐量、 时延等。 The operating performance of the V F may include: bandwidth usage, data throughput, latency, and the like.
步骤 S509: 当 EMS发现某个 VNF发生性能异常报警时, 将该 VNF的性能异常 报警信息上报至 V FM。 Step S509: When the EMS finds a performance abnormality alarm of the VNF, the performance abnormality alarm information of the VNF is reported to the VFM.
步骤 S510: VNFM接收到 EMS上报的某 VNF的性能异常报警信息后, 判断是 否需要为性能过低, 如果是, 则进入步骤 S511 ; 否则, 则按照常规流程对该性能异 常报警进行处理。 Step S510: After receiving the performance abnormality alarm information of a VNF reported by the EMS, the VNFM determines whether the performance is too low. If yes, the process goes to step S511; otherwise, the performance abnormality alarm is processed according to a normal process.
具体的, VNFM接收到该 EMS上报的某 V F的性能异常报警信息后, 首先判 断该报警是否为 VNF性能过低, 如果是, 则进一步判断该 VNF之前是否开启过备用 资源; 如果否, 则按照常规流程对该性能异常报警进行处理。 Specifically, after receiving the performance abnormality alarm information of the VF reported by the EMS, the VNFM first determines whether the alarm is too low for the VNF performance, and if yes, further determines whether the VNF is turned on before the standby. Resource; if no, the performance exception alert is processed according to the normal process.
具体的, V FM对该 VNF的性能异常报警信息进行分析, 当该 V F的资源使 用率低于预设的第二阈值时, 可以确定该报警为 VNF性能过低的报警。 Specifically, the VFM analyzes the performance abnormality alarm information of the VNF. When the resource usage rate of the VF is lower than a preset second threshold, the alarm may be determined to be an alarm with a low VNF performance.
再进一步判断该 VNF之前是否开启过备用资源时, 如果开启过, 则确定需要为 该 V F释放 NS的备用资源; 如果没有, 则按照常规流程对该性能异常报警进行处 理。 If it is further determined whether the standby resource is enabled before the VNF, if it is turned on, it is determined that the standby resource of the NS needs to be released for the V F; if not, the performance abnormality alarm is processed according to a normal procedure.
具体的, VNFM根据该 VNF的 NS性能参数和 NSAI中的参数信息, 来判断该 VNF之前是否开启过备用资源。 Specifically, the VNFM determines whether the standby resource is enabled before the VNF according to the NS performance parameter of the VNF and the parameter information in the NSAI.
例如, VNFM通过查询该 V F 的 NS 性能参数, 确定该 V F 的签约值仅为 30MHz, 但是当前该 VNF的实际可使用资源值为 130MHz, 同时, 通过 NSAI可知, 该 NS具有 100MHz的备用 VNF资源。 由此可以确定, 该 VNF开启过备用资源。 For example, by querying the NS performance parameter of the V F, the VNFM determines that the V F subscription value is only 30 MHz, but the actual available resource value of the VNF is currently 130 MHz. Meanwhile, the NS has a standby VNF resource of 100 MHz. From this it can be determined that the VNF has opened the standby resource.
由于当前该 VNF的资源使用率过低,可知,该 VNF不需要继续占用该备用资源, 由此, 可对该备用资源进行释放操作, 以避免资源浪费。 Since the current resource usage of the VNF is too low, it can be known that the VNF does not need to continue to occupy the standby resource, and thus the standby resource can be released to avoid resource waste.
步骤 S511: VNFM根据该 VNF的 NS性能过低的数据信息, 以及 NSAI信息中 备用资源的情况, 制定备用资源处理策略, 进入步骤 S512。 Step S511: The VNFM formulates an alternate resource processing policy according to the data information of the VNF whose NS performance is too low, and the situation of the standby resource in the NSAI information, and proceeds to step S512.
VNFM根据该 VNF的 NS性能过低的数据信息,确定该 VNF的哪些类型资源出 现使用率过低导致异常报警。 同时, VNFM根据 NSAI信息中备用资源的情况, 确定 可以为该 VNF释放哪些类型的备用资源。 然后, VNFM制定备用资源处理策略, 对 该 NSAI信息中包括的、 且该 VNF出现使用率过低的资源类型, 做出释放该类型备 用资源的决策。 Based on the data information of the VNF whose NS performance is too low, the VNFM determines which types of resources of the VNF are too low to cause an abnormal alarm. At the same time, the VNFM determines which types of spare resources can be released for the VNF based on the conditions of the alternate resources in the NSAI information. Then, the VNFM formulates an alternate resource processing policy, and makes a decision to release the spare resource of the type that is included in the NSAI information and the usage rate of the VNF is too low.
具体的, 假设当前 NS性能过低的数据信息指出, 该 VNF所需的 VNF资源仅为 10MHz, 而该客户当前可以使用的 VNF资源为 130MHz, 该 VNF签约值为 30MHz。 VNFM通过 NSAI可知, 该客户的 VNF备用资源为 100MHz。 Specifically, the data information of the current NS performance is too low, indicating that the VNF resource required by the VNF is only 10 MHz, and the VNF resource currently available to the client is 130 MHz, and the VNF subscription value is 30 MHz. VNFM knows through NSAI that the customer's VNF backup resource is 100MHz.
则 VNFM制定备用资源处理策略, 确定为该 V F释放 VNF备用资源, 使得该 VNF本身的签约值即可满足当前的需求, 以避免资源的浪费。 Then, the VNFM formulates an alternate resource processing policy, and determines to release the VNF backup resource for the VF, so that the subscription value of the VNF itself can meet the current requirement, thereby avoiding waste of resources.
步骤 S512: VNFM发送 NSRRHP消息至 VIM, 进入步骤 S513b; 其中, 所述 NSRRHP消息中包括对 FVI备用资源进行释放的策略信息。 Step S512: The VNFM sends the NSRRHP message to the VIM, and proceeds to step S513b. The NSRRHP message includes policy information for releasing the FVI backup resource.
步骤 S513a: VNFM执行对 VNF资源的释放操作。 Step S513a: The VNFM performs a release operation on the VNF resource.
步骤 S513b: VIM接收到该 NSRRHP消息后, 根据该 NSRRHP消息中的策略, 执行对 FVI资源的释放作。 Step S513b: After receiving the NSRRHP message, the VIM performs release of the FVI resource according to the policy in the NSRRHP message.
通过上述方法, 使得当客户的签约值即可满足运行需求时,释放该客户占用的备 用资源, 以免造成资源浪费。 Through the above method, when the customer's contract value can meet the running demand, the standby occupied by the customer is released. Use resources to avoid wasting resources.
进一步的, 本发明实施例所述的方法中, V FM还可以主动发起对备用资源的 释放操作。 Further, in the method of the embodiment of the present invention, the VFM may also initiate a release operation of the standby resource.
具体的, V FM根据接收自 Orchestrator的 NSAI信息中备用资源的使用时限, 判断当前开启的备用资源的使用时间是否超过了该备用资源的使用时限, 如果超过, VNFM则主动制定预留资源处理策略, 释放该部分备用资源。 对应于本发明实施例一和二所述的方法,本发明实施例还提供一种编排器。参照 图 6, 为本发明实施例一提供的编排器的结构图。 Specifically, the VFM determines whether the currently used backup resource usage time exceeds the usage time of the standby resource according to the usage time limit of the standby resource in the NSAI information received from the Orchestrator. If exceeded, the VNFM actively formulates a reserved resource processing policy. , release this part of the spare resource. Corresponding to the methods described in Embodiments 1 and 2 of the present invention, an embodiment of the present invention further provides an orchestrator. FIG. 6 is a structural diagram of an organizer according to Embodiment 1 of the present invention.
如图 6所示, 所述编排器 Orchestrator包括: 接收单元 601、 处理单元 602以及 发送单元 603。 As shown in FIG. 6, the orchestrator Orchestrator includes: a receiving unit 601, a processing unit 602, and a transmitting unit 603.
所述接收单元 601, 用于接收 0SS或 BSS发送的 NSD; 所述 NSD中包括 NS的 签约资源信息和 NSAI信息; 所述 NSAI用于指示所述 NS的备用资源的信息。 The receiving unit 601 is configured to receive the NSD sent by the 0SS or the BSS; the NSD includes the subscription resource information of the NS and the NSAI information; and the NSAI is used to indicate the information of the standby resource of the NS.
所述处理单元 602, 用于获取当前发生异常的 V F的性能异常数据; 当确定所 述 VNF为性能过载或过低时,根据所述 NS的签约资源信息、所述 NSAI指示的备用 资源的信息和所述 VNF的性能异常数据, 制定相应的 NSRRHP。 The processing unit 602 is configured to obtain the performance abnormal data of the VF that is currently abnormal. When the VNF is determined to be overloaded or too low, the information about the subscription resource of the NS and the information of the standby resource indicated by the NSAI are determined. And the performance abnormal data of the VNF, the corresponding NSRRHP is formulated.
所述发送单元 603, 用于将所述 NSRRHP分别发送至 VNFM和 VIM。 The sending unit 603 is configured to send the NSRRHP to the VNFM and the VIM, respectively.
本发明实施例中,增加用于指示所述 NS的备用资源的信息的 NSAI,在确定 VNF 发生性能过载或性能过低的异常报警时, 根据 NS的签约资源信息、 所述 NSAI指示 的备用资源的信息和所述 VNF的性能异常数据, 制定相应的网络服务预留资源处理 策略 NSRRHP, 为所述 VNF动态调整其 NS的可用资源, 以保证 NS的可用性和连 续性。 In the embodiment of the present invention, the NSAI for indicating the information of the standby resource of the NS is used according to the contracted resource information of the NS and the standby resource indicated by the NSAI when the abnormality alarm of the performance overload or the performance of the VNF is determined. The information and the performance abnormal data of the VNF are used to formulate a corresponding network service reservation resource processing strategy NSRRHP, and dynamically adjust the available resources of the NS for the VNF to ensure the availability and continuity of the NS.
优选的, 所述 NSAI信息可以包括: NSID、 备用资源使用时限、 备用资源类型 和数量; Preferably, the NSAI information may include: an NSID, an alternate resource usage time limit, an alternate resource type, and a quantity;
所述 NSID用于指示所述备用资源适用的 NS; The NSID is used to indicate an NS to which the standby resource is applicable;
所述备用资源的使用时限,用于指示所述备用资源从开启时刻起,可以使用的最 长时间; The usage time limit of the standby resource is used to indicate the maximum time that the standby resource can be used from the time of opening;
所述备用资源的类型和数量, 用于指示所述 NSAI包括的备用资源的类型、 以及 各类型的备用资源分别对应的数量。 The type and quantity of the standby resource are used to indicate the type of the spare resource included in the NSAI and the quantity corresponding to each type of the spare resource.
优选的,所述处理单元 602具体用于:当所述 V F为性能过载时,根据所述 VNF 的性能异常数据, 确定当前发生性能过载的资源的类型; 查询所述 NSAI指示的备用 资源的信息,获取所述类型的备用资源的数量;还用于查询所述 NS的签约资源信息, 获取所述类型的签约数量; 制定所述 NSRRHP为开启所述类型的备用资源, 使得所 述类型的可用资源的数量为所述类型的备用资源的数量加上所述类型的签约数量。 Preferably, the processing unit 602 is specifically configured to: when the VF is a performance overload, determine, according to the performance abnormal data of the VNF, a type of a resource that currently has a performance overload; query the standby indicated by the NSAI The information of the resource, the quantity of the backup resource of the type is obtained; the information about the subscription resource of the NS is also obtained, and the number of subscriptions of the type is obtained; and the NSRRHP is set to enable the backup resource of the type, so that the The number of available resources of the type is the number of spare resources of the type plus the number of subscriptions of the type.
优选的, 所述编排器还可以包括: 计时单元(图中未示出), 用于从开启所述类 型的备用资源起开始计时。 Preferably, the arranger may further include: a timing unit (not shown) for starting timing from turning on the type of spare resource.
所述处理单元 602 还用于当所述计时单元的计时达到所述类型的备用资源的使 用时限时, 制定所述 NSRRHP为释放所述类型的备用资源, 使得所述类型的可用资 源的数量为所述类型的签约值。 The processing unit 602 is further configured to: when the timing of the timing unit reaches a usage time limit of the backup resource of the type, formulating the NSRRHP to release the spare resource of the type, so that the quantity of the available resources of the type is The type of contract value.
所述发送单元 601还用于将所述 NSRRHP分别发送至 V FM和 VIM。 The sending unit 601 is further configured to send the NSRRHP to the V FM and the VIM respectively.
优选的,所述处理单元 602具体用于:当所述 V F为性能过低时,根据所述 VNF 的性能异常数据, 确定当前发生性能过低的资源的类型; 查询所述 NS的签约资源信 息, 获取所述类型的签约数量; 当所述类型的可用资源的数量大于所述类型的签约数 量时, 确定所述类型的资源开启过备用资源; 制定所述 NSRRHP为释放所述类型的 备用资源, 使得所述类型的可用资源的数量为所述类型的签约值。 Preferably, the processing unit 602 is specifically configured to determine, according to the performance abnormal data of the VNF, the type of the resource that is currently under-performing according to the performance abnormality data of the VNF; and query the subscription resource information of the NS. Obtaining the number of subscriptions of the type; when the number of available resources of the type is greater than the number of subscriptions of the type, determining that the resource of the type opens the standby resource; and formulating the NSRRHP to release the spare resource of the type The number of available resources of the type is such that the type of subscription value.
优选的, 所述发送单元 601, 还用于接收所述 V FM发送的 NS异常报警信息; 所述异常报警信息中包括性能异常数据; Preferably, the sending unit 601 is further configured to receive the NS abnormal alarm information sent by the V FM, where the abnormal alarm information includes performance abnormality data;
对应的, 所述处理单元 602, 还用于当所述异常报警信息为资源使用率高于预设 的第一阈值时, 确定所述 VNF为性能过载; 或者, 当所述异常报警信息为资源使用 率低于预设的第二阈值时, 确定所述 VNF为性能过低。 Correspondingly, the processing unit 602 is further configured to: when the abnormal alarm information is that the resource usage rate is higher than a preset first threshold, determine that the VNF is a performance overload; or, when the abnormal alarm information is a resource When the usage rate is lower than the preset second threshold, it is determined that the VNF is too low in performance.
优选的,所述发送单元 601,还用于接收所述 VNFM发送的 NSRRR;所述 NSRRR 中包括性能异常数据和网络资源操作标识; Preferably, the sending unit 601 is further configured to receive an NSRRR sent by the VNFM, where the NSRRR includes performance abnormality data and a network resource operation identifier.
对应的,所述处理单元 602,还用于当所述网络资源操作标识为开启备用资源时, 确定所述 VNF为性能过载; 或者, 当所述网络资源操作标识为释放备用资源时, 确 定所述 VNF为性能过低。 Correspondingly, the processing unit 602 is further configured to: when the network resource operation identifier is to enable the standby resource, determine that the VNF is a performance overload; or, when the network resource operation identifier is to release the standby resource, determine The VNF is too low in performance.
对应于本发明实施例三至五所述的方法,本发明实施例还提供一种虚拟网络功能 管理器。 参照图 7, 为本发明实施例一提供的虚拟网络功能管理器的结构图。 Corresponding to the methods described in Embodiments 3 to 5 of the present invention, the embodiment of the present invention further provides a virtual network function manager. FIG. 7 is a structural diagram of a virtual network function manager according to Embodiment 1 of the present invention.
如图 7所示, 所述虚拟网络功能管理器 VNFM可以包括: 接收单元 701、 处理 单元 702以及发送单元 703。 As shown in FIG. 7, the virtual network function manager VNFM may include: a receiving unit 701, a processing unit 702, and a sending unit 703.
所述接收单元 701, 用于接收当前发生异常的 VNF的性能异常数据。 The receiving unit 701 is configured to receive performance abnormal data of a VNF that currently has an abnormality.
所述处理单元 702, 用于获取 Orchestrato发送的 NSAI信息; 所述 NSAI用于指 示所述 NS的备用资源的信息; 当确定所述 VNF为性能过载或过低时, 根据所述 NS 的签约资源信息、 所述 NSAI指示的备用资源的信息和所述 V F的性能异常数据, 制定相应的 NSRRHP; The processing unit 702 is configured to obtain NSAI information sent by the Orchestrato; the NSAI is used to indicate information about the standby resource of the NS; and when determining that the VNF is performance overload or too low, according to the NS The contracted resource information, the information of the standby resource indicated by the NSAI, and the abnormal data of the performance of the VF, and the corresponding NSRRHP is formulated;
所述发送单元 703, 用于将所述 NSRRHP发送至 VIM。 The sending unit 703 is configured to send the NSRRHP to the VIM.
本发明实施例中,增加用于指示所述 NS的备用资源的信息的 NSAI,在确定 VNF 发生性能过载或性能过低的异常报警时, 根据 NS的签约资源信息、 所述 NSAI指示 的备用资源的信息和所述 VNF的性能异常数据, 制定相应的 NSRRHP, 为所述 VNF 动态调整其 NS的可用资源, 以保证 NS的可用性和连续性。 In the embodiment of the present invention, the NSAI for indicating the information of the standby resource of the NS is used according to the contracted resource information of the NS and the standby resource indicated by the NSAI when the abnormality alarm of the performance overload or the performance of the VNF is determined. The information and the abnormal data of the VNF are formulated, and the corresponding NSRRHP is formulated to dynamically adjust the available resources of the NS for the VNF to ensure the availability and continuity of the NS.
优选的, 所述 NSAI信息可以包括: NSID、 备用资源使用时限、 备用资源类型 和数量; Preferably, the NSAI information may include: an NSID, an alternate resource usage time limit, an alternate resource type, and a quantity;
所述 NSID用于指示所述备用资源适用的 NS; The NSID is used to indicate an NS to which the standby resource is applicable;
所述备用资源的使用时限,用于指示所述备用资源从开启时刻起,可以使用的最 长时间; The usage time limit of the standby resource is used to indicate the maximum time that the standby resource can be used from the time of opening;
所述备用资源的类型和数量, 用于指示所述 NSAI包括的备用资源的类型、 以及 各类型的备用资源分别对应的数量 The type and quantity of the standby resource, used to indicate the type of the standby resource included in the NSAI, and the number of each type of the spare resource respectively
优选的,所述处理单元 702具体用于:当所述 V F为性能过载时,根据所述 VNF 的性能异常数据, 确定当前发生性能过载的资源的类型; 查询所述 NSAI指示的备用 资源的信息, 获取所述类型的备用资源的数量; 查询所述 NS的签约资源信息, 获取 所述类型的签约数量; 制定所述 NSRRHP为开启所述类型的备用资源, 使得所述类 型的可用资源的数量为所述类型的备用资源的数量加上所述类型的签约数量。 Preferably, the processing unit 702 is specifically configured to: when the VF is a performance overload, determine, according to the performance abnormal data of the VNF, a type of a resource that is currently performing performance overload; and query information about the standby resource indicated by the NSAI. Obtaining the quantity of the backup resource of the type; querying the subscription resource information of the NS, obtaining the subscription quantity of the type; formulating the NSRRHP to enable the backup resource of the type, so that the quantity of the available resources of the type The number of subscriptions of the type is added to the number of backup resources of the type described.
优选的, 所述管理器还可以包括: 计时单元 (图中未示出), 用于从开启所述类 型的备用资源起开始计时。 Preferably, the manager may further include: a timing unit (not shown) for starting timing from the opening of the type of spare resource.
所述处理单元 702, 还用于当计时单元的计时达到所述类型的备用资源的使用时 限时, 制定所述 NSRRHP为释放所述类型的备用资源, 使得所述类型的可用资源的 数量为所述类型的签约值。 The processing unit 702 is further configured to: when the timing of the timing unit reaches a usage time limit of the backup resource of the type, formulating the NSRRHP to release the spare resource of the type, so that the quantity of the available resources of the type is The type of contract value.
所述发送单元 703, 还用于将所述 NSRRHP发送至 VIM。 The sending unit 703 is further configured to send the NSRRHP to the VIM.
优选的,所述处理单元 702具体用于:当所述 V F为性能过低时,根据所述 VNF 的性能异常数据, 确定当前发生性能过低的资源的类型; 查询所述 NS的签约资源信 息, 获取所述类型的签约数量; 当所述类型的可用资源的数量大于所述类型的签约数 量时, 确定所述类型的资源开启过备用资源; 制定所述 NSRRHP为释放所述类型的 备用资源, 使得所述类型的可用资源的数量为所述类型的签约值。 Preferably, the processing unit 702 is specifically configured to determine, according to the performance abnormal data of the VNF, the type of the resource that is currently under-performing according to the performance abnormality data of the VNF; and query the subscription resource information of the NS. Obtaining the number of subscriptions of the type; when the number of available resources of the type is greater than the number of subscriptions of the type, determining that the resource of the type opens the standby resource; and formulating the NSRRHP to release the spare resource of the type The number of available resources of the type is such that the type of subscription value.
优选的, 所述发送单元 703还用于, 向所述 Orchestrator发送请求信息, 所述请 求信息用于请求获取所述 NSAI信息。 Preferably, the sending unit 703 is further configured to send request information to the Orchestrator, where The information is used to request to acquire the NSAI information.
所述接收单元 701还用于, 接收所述 Orchestrator返回的 NSAI信息。 The receiving unit 701 is further configured to receive the NSAI information returned by the Orchestrator.
优选的, 所述接收单元 701还用于, 接收所述 V F发送的 NS异常报警信息; 所述异常报警信息中包括性能异常数据。 Preferably, the receiving unit 701 is further configured to: receive the NS abnormal alarm information sent by the V F; and include abnormal performance data in the abnormal alarm information.
对应的,所述处理单元 702还用于, 当所述异常报警信息为资源使用率高于预设 的第一阈值时, 确定所述 VNF为性能过载; 或者, 当所述异常报警信息为资源使用 率低于预设的第二阈值时, 确定所述 VNF为性能过低。 对应于本发明实施例一和二所述的方法,本发明实施例还提供一种编排器。参照 图 8, 为本发明实施例二提供的编排器的结构图。 Correspondingly, the processing unit 702 is further configured to: when the abnormal alarm information is that the resource usage rate is higher than a preset first threshold, determine that the VNF is a performance overload; or, when the abnormal alarm information is a resource When the usage rate is lower than the preset second threshold, it is determined that the VNF is too low in performance. Corresponding to the methods described in Embodiments 1 and 2 of the present invention, an embodiment of the present invention further provides an orchestrator. FIG. 8 is a structural diagram of a organizer according to Embodiment 2 of the present invention.
如图 8所示, 所述编排器 Orchestrator包括: 接收器 801、 处理器 802以及发送 器 803。 As shown in FIG. 8, the orchestrator Orchestrator includes: a receiver 801, a processor 802, and a transmitter 803.
所述接收器 801, 用于接收 0SS或 BSS发送的 NSD; 所述 NSD中包括 NS的签 约资源信息和 NSAI信息; 所述 NSAI用于指示所述 NS的备用资源的信息。 The receiver 801 is configured to receive an NSD sent by the 0SS or the BSS. The NSD includes the subscription resource information of the NS and the NSAI information. The NSAI is used to indicate information about the standby resource of the NS.
所述处理器 802, 用于获取当前发生异常的 VNF的性能异常数据; 当确定所述 The processor 802 is configured to acquire performance abnormal data of a VNF that currently has an abnormality; when determining the
VNF为性能过载或过低时, 根据所述 NS的签约资源信息、所述 NSAI指示的备用资 源的信息和所述 VNF的性能异常数据, 制定相应的 NSRRHP。 When the VNF is performance overload or is too low, the corresponding NSRRHP is formulated according to the contract resource information of the NS, the information of the backup resource indicated by the NSAI, and the performance abnormal data of the VNF.
所述发送器 803, 用于将所述 NSRRHP分别发送至 V FM和 VIM。 The transmitter 803 is configured to send the NSRRHP to the V FM and the VIM respectively.
本发明实施例中,增加用于指示所述 NS的备用资源的信息的 NSAI,在确定 VNF 发生性能过载或性能过低的异常报警时, 根据 NS的签约资源信息、 所述 NSAI指示 的备用资源的信息和所述 VNF的性能异常数据, 制定相应的 NSRRHP, 为所述 V F 动态调整其 NS的可用资源, 以保证 NS的可用性和连续性。 In the embodiment of the present invention, the NSAI for indicating the information of the standby resource of the NS is used according to the contracted resource information of the NS and the standby resource indicated by the NSAI when the abnormality alarm of the performance overload or the performance of the VNF is determined. The information and the abnormal data of the VNF are formulated, and the corresponding NSRRHP is formulated, and the available resources of the NS are dynamically adjusted for the VF to ensure the availability and continuity of the NS.
优选的, 所述 NSAI信息可以包括: NSID、 备用资源使用时限、 备用资源类型 和数量; Preferably, the NSAI information may include: an NSID, an alternate resource usage time limit, an alternate resource type, and a quantity;
所述 NSID用于指示所述备用资源适用的 NS; The NSID is used to indicate an NS to which the standby resource is applicable;
所述备用资源的使用时限,用于指示所述备用资源从开启时刻起,可以使用的最 长时间; The usage time limit of the standby resource is used to indicate the maximum time that the standby resource can be used from the time of opening;
所述备用资源的类型和数量, 用于指示所述 NSAI包括的备用资源的类型、 以及 各类型的备用资源分别对应的数量。 The type and quantity of the standby resource are used to indicate the type of the spare resource included in the NSAI and the quantity corresponding to each type of the spare resource.
优选的, 所述处理器 802具体用于: 当所述 V F为性能过载时, 根据所述 VNF 的性能异常数据, 确定当前发生性能过载的资源的类型; 查询所述 NSAI指示的备用 资源的信息,获取所述类型的备用资源的数量;还用于查询所述 NS的签约资源信息, 获取所述类型的签约数量; 制定所述 NSRRHP为开启所述类型的备用资源, 使得所 述类型的可用资源的数量为所述类型的备用资源的数量加上所述类型的签约数量。 Preferably, the processor 802 is specifically configured to: when the VF is a performance overload, determine, according to the performance abnormal data of the VNF, a type of a resource that currently has a performance overload; query the standby indicated by the NSAI The information of the resource, the quantity of the backup resource of the type is obtained; the information about the subscription resource of the NS is also obtained, and the number of subscriptions of the type is obtained; and the NSRRHP is set to enable the backup resource of the type, so that the The number of available resources of the type is the number of spare resources of the type plus the number of subscriptions of the type.
优选的, 所述编排器还可以包括: 计时器 (图中未示出), 用于从开启所述类型 的备用资源起开始计时。 Preferably, the organizer may further include: a timer (not shown) for starting timing when the standby resource of the type is turned on.
所述处理器 802 还用于当所述计时器的计时达到所述类型的备用资源的使用时 限时, 制定所述 NSRRHP为释放所述类型的备用资源, 使得所述类型的可用资源的 数量为所述类型的签约值。 The processor 802 is further configured to: when the timing of the timer reaches a usage time limit of the type of the standby resource, the NSRRHP is configured to release the spare resource of the type, so that the quantity of the available resources of the type is The type of contract value.
所述发送器 803, 用于将所述 NSRRHP分别发送至 V FM和 VIM。 The transmitter 803 is configured to send the NSRRHP to the V FM and the VIM respectively.
优选的, 所述处理器 802具体用于: 当所述 V F为性能过低时, 根据所述 VNF 的性能异常数据, 确定当前发生性能过低的资源的类型; 查询所述 NS的签约资源信 息, 获取所述类型的签约数量; 当所述类型的可用资源的数量大于所述类型的签约数 量时, 确定所述类型的资源开启过备用资源; 制定所述 NSRRHP为释放所述类型的 备用资源, 使得所述类型的可用资源的数量为所述类型的签约值。 Preferably, the processor 802 is specifically configured to: when the VF is too low, determine, according to the performance abnormal data of the VNF, a type of a resource that is currently under-performing; and query the subscription resource information of the NS. Obtaining the number of subscriptions of the type; when the number of available resources of the type is greater than the number of subscriptions of the type, determining that the resource of the type opens the standby resource; and formulating the NSRRHP to release the spare resource of the type The number of available resources of the type is such that the type of subscription value.
优选的, 所述接收器 801, 还用于接收所述 VNFM发送的 NS异常报警信息; 所 述异常报警信息中包括性能异常数据; Preferably, the receiver 801 is further configured to receive the NS abnormal alarm information sent by the VNFM, where the abnormal alarm information includes performance abnormality data;
对应的, 所述处理器 802, 还用于当所述异常报警信息为资源使用率高于预设的 第一阈值时, 确定所述 VNF为性能过载; 或者, 当所述异常报警信息为资源使用率 低于预设的第二阈值时, 确定所述 VNF为性能过低。 Correspondingly, the processor 802 is further configured to: when the abnormal alarm information is that the resource usage rate is higher than a preset first threshold, determine that the VNF is a performance overload; or, when the abnormal alarm information is a resource When the usage rate is lower than the preset second threshold, it is determined that the VNF is too low in performance.
优选的, 所述接收器 801, 还用于接收所述 VNFM发送的网络服务预留资源请 求消息 NSRRR; 所述 NSRRR中包括性能异常数据和网络资源操作标识; Preferably, the receiver 801 is further configured to receive a network service reservation resource request message NSRRR sent by the VNFM, where the NSRRR includes performance abnormal data and a network resource operation identifier.
对应的, 所述处理器 802, 还用于当所述网络资源操作标识为开启备用资源时, 确定所述 VNF为性能过载; 或者, 当所述网络资源操作标识为释放备用资源时, 确 定所述 VNF为性能过低。 Correspondingly, the processor 802 is further configured to: when the network resource operation identifier is to enable the standby resource, determine that the VNF is a performance overload; or, when the network resource operation identifier is to release the standby resource, determine The VNF is too low in performance.
对应于本发明实施例三至五所述的方法,本发明实施例还提供一种虚拟网络功能 管理器。 参照图 9, 为本发明实施例二提供的虚拟网络功能管理器的结构图。 Corresponding to the methods described in Embodiments 3 to 5 of the present invention, the embodiment of the present invention further provides a virtual network function manager. FIG. 9 is a structural diagram of a virtual network function manager according to Embodiment 2 of the present invention.
如图 9所示, 所述虚拟网络功能管理器 VNFM可以包括: 接收器 901、 处理器 902以及发送器 903。 As shown in FIG. 9, the virtual network function manager VNFM may include: a receiver 901, a processor 902, and a transmitter 903.
所述接收器 901, 用于接收当前发生异常的 VNF的性能异常数据。 The receiver 901 is configured to receive performance abnormal data of a VNF that currently has an abnormality.
所述处理器 902, 用于获取 Orchestrato发送的 NSAI信息; 所述 NSAI用于指示 所述 NS 的备用资源的信息; 当确定所述 V F为性能过载或过低时, 根据所述 NS 的签约资源信息、 所述 NSAI指示的备用资源的信息和所述 V F的性能异常数据, 制定相应的 NSRRHP; The processor 902 is configured to obtain NSAI information sent by the Orchestrato; the NSAI is used to indicate information about the standby resource of the NS; and when determining that the VF is performance overload or too low, according to the NS The contracted resource information, the information of the standby resource indicated by the NSAI, and the abnormal data of the performance of the VF, and the corresponding NSRRHP is formulated;
所述发送器 903, 用于将所述 NSRRHP发送至 VIM。 The transmitter 903 is configured to send the NSRRHP to the VIM.
本发明实施例中,增加用于指示所述 NS的备用资源的信息的 NSAI,在确定 VNF 发生性能过载或性能过低的异常报警时, 根据 NS的签约资源信息、 所述 NSAI指示 的备用资源的信息和所述 VNF的性能异常数据, 制定相应的 NSRRHP, 为所述 VNF 动态调整其 NS的可用资源, 以保证 NS的可用性和连续性。 In the embodiment of the present invention, the NSAI for indicating the information of the standby resource of the NS is used according to the contracted resource information of the NS and the standby resource indicated by the NSAI when the abnormality alarm of the performance overload or the performance of the VNF is determined. The information and the abnormal data of the VNF are formulated, and the corresponding NSRRHP is formulated to dynamically adjust the available resources of the NS for the VNF to ensure the availability and continuity of the NS.
优选的, 所述 NSAI信息可以包括: NSID、 备用资源使用时限、 备用资源类型 和数量; Preferably, the NSAI information may include: an NSID, an alternate resource usage time limit, an alternate resource type, and a quantity;
所述 NSID用于指示所述备用资源适用的 NS; The NSID is used to indicate an NS to which the standby resource is applicable;
所述备用资源的使用时限,用于指示所述备用资源从开启时刻起,可以使用的最 长时间; The usage time limit of the standby resource is used to indicate the maximum time that the standby resource can be used from the time of opening;
所述备用资源的类型和数量, 用于指示所述 NSAI包括的备用资源的类型、 以及 各类型的备用资源分别对应的数量 The type and quantity of the standby resource, used to indicate the type of the standby resource included in the NSAI, and the number of each type of the spare resource respectively
优选的, 所述处理器 902具体用于: 当所述 V F为性能过载时, 根据所述 VNF 的性能异常数据, 确定当前发生性能过载的资源的类型; 查询所述 NSAI指示的备用 资源的信息, 获取所述类型的备用资源的数量; 查询所述 NS的签约资源信息, 获取 所述类型的签约数量; 制定所述 NSRRHP为开启所述类型的备用资源, 使得所述类 型的可用资源的数量为所述类型的备用资源的数量加上所述类型的签约数量。 Preferably, the processor 902 is specifically configured to: when the VF is a performance overload, determine, according to the performance abnormal data of the VNF, a type of a resource that currently has a performance overload; and query information about the standby resource indicated by the NSAI. Obtaining the quantity of the backup resource of the type; querying the subscription resource information of the NS, obtaining the subscription quantity of the type; formulating the NSRRHP to enable the backup resource of the type, so that the quantity of the available resources of the type The number of subscriptions of the type is added to the number of backup resources of the type described.
优选的, 所述管理器还可以包括: 计时器 (图中未示出), 用于从开启所述类型 的备用资源起开始计时。 Preferably, the manager may further include: a timer (not shown) for starting timing when the backup resource of the type is turned on.
所述处理器 902, 还用于当计时器的计时达到所述类型的备用资源的使用时限 时, 制定所述 NSRRHP为释放所述类型的备用资源, 使得所述类型的可用资源的数 量为所述类型的签约值。 The processor 902 is further configured to: when the timing of the timer reaches a usage time limit of the backup resource of the type, the NSRRHP is configured to release the spare resource of the type, so that the quantity of the available resources of the type is The type of contract value.
所述发送器 903, 还用于将所述 NSRRHP发送至 VIM。 The transmitter 903 is further configured to send the NSRRHP to the VIM.
优选的, 所述处理器 902具体用于: 用于当所述 V F为性能过低时, 根据所述 VNF的性能异常数据,确定当前发生性能过低的资源的类型; 查询所述 NS的签约资 源信息, 获取所述类型的签约数量; 当所述类型的可用资源的数量大于所述类型的签 约数量时, 确定所述类型的资源开启过备用资源; 制定所述 NSRRHP为释放所述类 型的备用资源, 使得所述类型的可用资源的数量为所述类型的签约值。 Preferably, the processor 902 is specifically configured to: when the performance of the VF is too low, determine, according to performance abnormal data of the VNF, a type of a resource that is currently under-performing; and query the subscription of the NS. Resource information, obtaining the number of subscriptions of the type; when the number of available resources of the type is greater than the number of subscriptions of the type, determining that the resource of the type opens the standby resource; and formulating the NSRRHP to release the type An alternate resource such that the number of available resources of the type is a subscription value of the type.
优选的, 所述发送器 903还用于, 向所述 Orchestrator发送请求信息, 所述请求 信息用于请求获取所述 NS AI信息。 Preferably, the sender 903 is further configured to send request information to the Orchestrator, where the request is The information is used to request to acquire the NS AI information.
所述接收器 901还用于, 接收所述 Orchestrator返回的 NSAI信息。 The receiver 901 is further configured to receive the NSAI information returned by the Orchestrator.
优选的, 所述接收器 901还用于, 接收所述 V F发送的 NS异常报警信息; 所 述异常报警信息中包括性能异常数据。 Preferably, the receiver 901 is further configured to: receive the NS abnormal alarm information sent by the V F; and include abnormal performance data in the abnormal alarm information.
对应的, 所述处理器 902, 还用于当所述异常报警信息为资源使用率高于预设的 第一阈值时, 确定所述 VNF为性能过载; 或者, 当所述异常报警信息为资源使用率 低于预设的第二阈值时, 确定所述 VNF为性能过低。 本说明书中的各个实施例均采用递进的方式描述,各个实施例之间相同相似的部 分互相参见即可, 每个实施例重点说明的都是与其他实施例的不同之处。尤其, 对于 系统实施例而言, 由于其基本相似于方法实施例, 所以描述的比较简单, 相关之处参 见方法实施例的部分说明即可。 Correspondingly, the processor 902 is further configured to: when the abnormal alarm information is that the resource usage rate is higher than a preset first threshold, determine that the VNF is a performance overload; or, when the abnormal alarm information is a resource When the usage rate is lower than the preset second threshold, it is determined that the VNF is too low in performance. The various embodiments in the present specification are described in a progressive manner, and the same or similar portions between the various embodiments may be referred to each other, and each embodiment focuses on differences from other embodiments. In particular, for the system embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant part can be referred to the description of the method embodiment.
以上所述的本发明实施方式, 并不构成对本发明保护范围的限定。任何在本发明 的精神和原则之内所作的修改、等同替换和改进等,均应包含在本发明的保护范围之 内。 The embodiments of the present invention described above are not intended to limit the scope of the present invention. Any modifications, equivalent substitutions and improvements made within the spirit and scope of the invention are intended to be included within the scope of the invention.
Claims
Priority Applications (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| PCT/CN2014/076745 WO2015168834A1 (en) | 2014-05-04 | 2014-05-04 | Method for allocating network resources in virtual network function, composer and manager |
| CN201480029031.8A CN105247834B (en) | 2014-05-04 | 2014-05-04 | The distribution method of Internet resources, composer and manager in virtual network function |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| PCT/CN2014/076745 WO2015168834A1 (en) | 2014-05-04 | 2014-05-04 | Method for allocating network resources in virtual network function, composer and manager |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2015168834A1 true WO2015168834A1 (en) | 2015-11-12 |
Family
ID=54391933
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2014/076745 Ceased WO2015168834A1 (en) | 2014-05-04 | 2014-05-04 | Method for allocating network resources in virtual network function, composer and manager |
Country Status (2)
| Country | Link |
|---|---|
| CN (1) | CN105247834B (en) |
| WO (1) | WO2015168834A1 (en) |
Cited By (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2017133020A1 (en) * | 2016-02-06 | 2017-08-10 | 华为技术有限公司 | Method and device for policy transmission in nfv system |
| WO2018000394A1 (en) * | 2016-06-30 | 2018-01-04 | 华为技术有限公司 | Method and apparatus for arranging network resources |
| WO2020001409A1 (en) * | 2018-06-29 | 2020-01-02 | 华为技术有限公司 | Virtual network function (vnf) deployment method and apparatus |
| TWI714718B (en) * | 2016-03-25 | 2021-01-01 | 美商英特爾Ip公司 | Network function virtualization (nfv) performance measurement (pm) threshold monitoring operations |
Families Citing this family (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN111565120B (en) * | 2020-04-27 | 2022-08-16 | 北京思特奇信息技术股份有限公司 | 5G network slicing product configuration method and system and electronic equipment |
| CN113660131B (en) * | 2021-10-18 | 2022-01-07 | 武汉绿色网络信息服务有限责任公司 | Method, device, controller and storage medium for switching virtual network function units |
Citations (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN1889506A (en) * | 2005-07-12 | 2007-01-03 | 华为技术有限公司 | Method for business layer requesting resourcing to transmission layer in next generation network |
-
2014
- 2014-05-04 WO PCT/CN2014/076745 patent/WO2015168834A1/en not_active Ceased
- 2014-05-04 CN CN201480029031.8A patent/CN105247834B/en active Active
Patent Citations (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN1889506A (en) * | 2005-07-12 | 2007-01-03 | 华为技术有限公司 | Method for business layer requesting resourcing to transmission layer in next generation network |
Cited By (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2017133020A1 (en) * | 2016-02-06 | 2017-08-10 | 华为技术有限公司 | Method and device for policy transmission in nfv system |
| US10791030B2 (en) | 2016-02-06 | 2020-09-29 | Huawei Technologies Co., Ltd. | Policy transmission method and apparatus in NFV system |
| TWI714718B (en) * | 2016-03-25 | 2021-01-01 | 美商英特爾Ip公司 | Network function virtualization (nfv) performance measurement (pm) threshold monitoring operations |
| WO2018000394A1 (en) * | 2016-06-30 | 2018-01-04 | 华为技术有限公司 | Method and apparatus for arranging network resources |
| WO2020001409A1 (en) * | 2018-06-29 | 2020-01-02 | 华为技术有限公司 | Virtual network function (vnf) deployment method and apparatus |
| US11886904B2 (en) | 2018-06-29 | 2024-01-30 | Huawei Technologies Co., Ltd. | Virtual network function VNF deployment method and apparatus |
Also Published As
| Publication number | Publication date |
|---|---|
| CN105247834A (en) | 2016-01-13 |
| CN105247834B (en) | 2018-11-09 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN110662260B (en) | Information processing method and device, network element and storage medium | |
| WO2015168834A1 (en) | Method for allocating network resources in virtual network function, composer and manager | |
| JP5977882B2 (en) | Network-controlled adaptive terminal behavior managing high network load scenarios | |
| WO2021184586A1 (en) | Private cloud monitoring method and apparatus based on non-flat network, and computer device and storage medium | |
| EP3264723B1 (en) | Method, related apparatus and system for processing service request | |
| US9510231B2 (en) | Congestion control apparatus and congestion control method | |
| WO2015103818A1 (en) | Method and device for managing access of communication terminals to wireless access point and wireless access terminal | |
| JP2016517643A (en) | Data transmission method, apparatus and system | |
| KR20130065019A (en) | System and method of resource management of centralized base station in mobile communication network | |
| EP2910051B1 (en) | Method and arrangement for admission control based on priority level based differentiation | |
| JP2017527220A (en) | Control message transmission method, apparatus, and computer storage medium | |
| CN102377662A (en) | Routing cache negotiation method and system facing to bandwidth adaptation in video monitoring | |
| CN112671813B (en) | Server determination method, device, equipment and storage medium | |
| CN106302028B (en) | Flow monitoring method and device | |
| WO2013158000A1 (en) | Method and radio network node for managing radio resources | |
| JP2016502825A (en) | Access control method and apparatus | |
| CN107547643B (en) | Load sharing method and device | |
| JP2013222221A (en) | Distributed data management system and data movement management method | |
| US11971794B2 (en) | Network node, monitoring node and methods performed therein | |
| JP6204287B2 (en) | Distributed processing method, processing server, and program | |
| CN117240902A (en) | Gateway switching method, gateway switching system, gateway controller and gateway | |
| EP4432635A1 (en) | Communication method and communication apparatus | |
| EP4604482A1 (en) | Information processing method, information processing apparatus, and storage medium | |
| CN110719226B (en) | Method and device for adjusting CU-U resources in MANO | |
| CN110809130B (en) | Method and apparatus for allocating storage devices |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| 121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 14891547 Country of ref document: EP Kind code of ref document: A1 |
|
| NENP | Non-entry into the national phase |
Ref country code: DE |
|
| 122 | Ep: pct application non-entry in european phase |
Ref document number: 14891547 Country of ref document: EP Kind code of ref document: A1 |