WO2017128979A1 - 一种资源管理方法及设备 - Google Patents

一种资源管理方法及设备 Download PDF

Info

Publication number
WO2017128979A1
WO2017128979A1 PCT/CN2017/071273 CN2017071273W WO2017128979A1 WO 2017128979 A1 WO2017128979 A1 WO 2017128979A1 CN 2017071273 W CN2017071273 W CN 2017071273W WO 2017128979 A1 WO2017128979 A1 WO 2017128979A1
Authority
WO
WIPO (PCT)
Prior art keywords
resource
vnf
capacity
success rate
vnfs
Prior art date
Application number
PCT/CN2017/071273
Other languages
English (en)
French (fr)
Inventor
陈立福
徐日东
张文革
Original Assignee
华为技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Publication of WO2017128979A1 publication Critical patent/WO2017128979A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/70Admission control; Resource allocation

Definitions

  • the present invention relates to the field of communications technologies, and in particular, to a resource management method and device.
  • the traditional telecommunication network is composed of a variety of physical devices. Different network services require different physical devices. As the network scale grows rapidly, the telecommunication network becomes more and more complex and complex, which also brings many problems. For example, the development of new services is slower, the operation and maintenance of the system is complicated, the cost is higher, and the resource utilization rate is lower.
  • the network function virtualization (English: Network Function Virtualization, abbreviation: NFV) technology can solve the above problems well.
  • the NFV technology can be understood as the function of migrating the functions of each network element used in the telecommunication network system from the current dedicated hardware platform.
  • COTS Commercial Off The Shelf
  • each network element in the telecommunication network is transformed into a separate application, and flexibly deployed in standards-based server, storage and switch equipment.
  • COTS Commercial Off The Shelf, COTS
  • hardware devices such as general COTS computing/storage/network can be decomposed into multiple virtual resources for use by various upper-layer applications, achieving decoupling between applications and hardware.
  • E2E End To End
  • the back-end network element overload flow control will cause more network resources to be wasted, E2E network
  • the service success rate is low.
  • the service success rate of the E2E network cannot be maximized because the light-weight network element resources are not fully utilized.
  • the service success rate of the E2E network can be improved by directly expanding the network element of the overloaded flow control, the idle resources in the resource pool are sufficient, and the resource utilization rate is not high at this time.
  • the embodiments of the present invention provide a resource management method and a device, which can ensure that resources are balancedly configured between VNFs in an E2E network, so as to improve resource utilization and service success rate of an E2E network.
  • a first aspect of the embodiments of the present invention provides a resource management method, which is applied to an E2E network, where the E2E network includes multiple VNFs and resource management devices that manage the multiple VNFs and resource pools, and the method includes:
  • the resource management device obtains the status parameters of the plurality of VNFs, and determines the expansion target from the plurality of VNFs according to the status parameter, which is recorded as the first to be expanded VNF, and determines the required expansion of the first to-be-expanded VNF.
  • the resource capacity is recorded as the first resource capacity.
  • the resource management device first selects the VNF for volume reduction, and may determine, according to the state parameter, the condensed object from the plurality of VNFs, and record First to shrink The VNF is accommodated, and the first to-be-reduced VNF is subjected to a shrinkage process according to the first resource capacity.
  • the resource management device can expand the first to-be-expanded VNF, so that the resource can be in the resource pool.
  • the resources are balanced between the VNFs in the E2E network, thereby improving resource utilization and service success rate of the E2E network.
  • the status parameter includes a service success rate
  • the resource management device may determine, according to the service success rate of the multiple VNFs, a current first service success rate of the E2E network, if the first service success rate is less than or equal to a preset.
  • the first service success rate the resource management device determines the first to-be-expanded VNF and the first resource capacity required for the capacity expansion from the plurality of VNFs according to the state parameter, and only the service success rate of the E2E network cannot be satisfied.
  • the resources of the resource pool are reconfigured when the business demands.
  • the state parameters of the multiple VNFs may be acquired again, and according to the The obtained service success rate of the multiple VNFs determines the current second service success rate of the E2E network. If the service success rate of the E2E network decreases significantly, that is, the second service success rate is less than the first service success rate.
  • the resource management device withdraws the shrinking process of the first to-be-reduced VNF or the The capacity expansion process of the VNF can be used to roll back the shrinkage processing and capacity expansion processing, which effectively improves the state of the E2E network after the resource reconfiguration.
  • the resource management device performs the capacity reduction processing on the first to-be-reduced VNF, or after the capacity expansion of the first to-be-expanded VNF is performed, when the service success rate of the E2E network is not significantly improved, that is, The second service success rate is greater than or equal to the first service success rate, and the difference between the second service success rate minus the first service success rate is less than or equal to a preset second value, or, in the E2E network.
  • the resource management device can delay the preset duration and wait for the E2E network to enter the stable working state before performing resource reconfiguration. This improves the accuracy of resource reconfiguration and further improves resource utilization and service success rate of the E2E network.
  • the resource management device shrinks the first to-be-reduced VNF, if the idle resource capacity of the resource pool still cannot reach the first resource capacity, the volume reduction may be selected again according to the state parameter.
  • the object is recorded as a second to-be-reduced VNF, and is condensed according to the idle resource capacity of the resource pool and the first resource capacity, and after the second to-be-reduced VNF is contracted, if If the capacity of the idle resource of the resource pool reaches the capacity of the first resource, the resource management device expands the capacity of the first to be expanded VNF, that is, the VNF retraction can be continued when the idle resource of the resource pool is still insufficient after one shrinking. Until the capacity of the resource pool's free resources reaches the requirement after the shrinkage.
  • the status parameter includes a resource occupancy rate, a service success rate, a service priority, and a network location
  • the resource management device determines, according to the state parameter, the first to be expanded VNF and the first required for capacity expansion from the plurality of VNFs.
  • the specific method of resource capacity can be:
  • the VNF of the plurality of VNFs that meet the preset capacity expansion condition is used as the first to be expanded VNF, and the first resource capacity required for the expansion is determined according to the state parameter of the first to-be-expanded VNF.
  • the preset expansion condition includes one or more of the following expansion conditions:
  • the resource occupancy rate is greater than or equal to the preset first resource usage rate, and the service success rate is less than or equal to the preset second service success rate, and the service priority is greater than or equal to the preset first service priority, and the network location is end.
  • the specific manner in which the resource management device determines the first to-be-converted VNF from the plurality of VNFs according to the state parameter may be:
  • the VNF in the plurality of VNFs in which the state parameter satisfies the preset shrinkage condition is taken as the first to-be-reduced VNF.
  • the preset shrinkage condition includes one or more of the following shrinkage conditions:
  • the resource occupancy rate is less than or equal to the preset second resource usage rate, and the service success rate is greater than or equal to the preset third service success rate, and the service priority is less than or equal to the preset second service priority, and the network location is the front end. .
  • the specific manner in which the resource management device performs the process of shrinking the first to-be-reduced VNF according to the first resource capacity may be: acquiring an operation state of the VM running on the first to-be-reduced VNF, including a CPU. Occupancy rate, RAM usage, etc., and determining the VM to be shut down according to the first resource capacity and the running state, and shutting down the VM to be shut down, so that the first to-be-reduced VNF releases part of the resource to increase the resource pool. Free resource capacity.
  • the specific manner of performing the capacity expansion process on the first to-be-expanded VNF is:
  • the second aspect of the embodiments of the present invention provides a resource management device, which is applied to an E2E network, where the E2E network includes multiple VNFs and the resource management device that manages the multiple VNFs and resource pools, and the device includes:
  • the obtaining module is configured to obtain status parameters of the multiple VNFs.
  • the determining module is configured to determine a capacity expansion object from the plurality of VNFs according to the state parameter, and record the resource capacity required for expanding the first to-be-expanded VNF, and record the resource as the first resource. capacity.
  • the determining module is further configured to: when the current idle resource capacity of the resource pool does not reach the first resource capacity, determine, according to the state parameter, a contraction object from the plurality of VNFs, and record the first to shrink VNF.
  • a volume reduction module configured to perform a volume reduction process on the first to-be-reduced volume VNF according to the first resource capacity.
  • the expansion module is configured to expand the capacity of the first to-be-expanded VNF after the first to-be-reduced VNF is constricted, and the capacity of the resource pool reaches the first resource capacity, so that the resource pool can be in the resource pool.
  • the resources are balanced between the VNFs in the E2E network, thereby improving resource utilization and service success rate of the E2E network.
  • the status parameter includes a service success rate.
  • the specific manner in which the determining module determines the first to-be-expanded VNF and the first resource capacity required for the capacity expansion from the plurality of VNFs according to the state parameter may be:
  • the first resource to be expanded and the first resource capacity required for the capacity expansion are determined in the plurality of VNFs, that is, the resources of the resource pool are reconfigured only when the service success rate of the E2E network cannot meet the service requirement.
  • the obtaining module is further configured to acquire the state parameters of the plurality of VNFs again after the first to-be-reduced VNF is reduced, or after the first to-be-expanded VNF is expanded.
  • the determining module is further configured to determine a current second service success rate of the E2E network according to the service success rate of the multiple VNFs that are acquired by the acquiring module.
  • the device may further include:
  • the rollback module is configured to reduce the service success rate of the E2E network, that is, the second service success rate is less than the first If a service success rate is exceeded, and the difference between the first service success rate minus the second service success rate is greater than or equal to a preset first value, the shrinking process of the first to-be-reduced VNF is retracted or The capacity expansion process of the first to-be-expanded VNF can be performed to roll back the shrinking process and the capacity expansion process, thereby effectively improving the situation in which the E2E network state is deteriorated after resource reconfiguration.
  • the device may further include:
  • the delay module is used to improve the service success rate of the E2E network, that is, the second service success rate is greater than or equal to the first service success rate, and the second service success rate is subtracted from the first service success rate.
  • the difference is less than or equal to the preset second value, or the service success rate of the E2E network is slightly decreased, that is, the second service success rate is less than the first service success rate, and the first service success rate is subtracted. If the difference between the success rate of the second service is less than or equal to the preset third value, delay the preset duration, wait for the E2E network to enter the stable working state, and then perform resource reconfiguration, thereby improving the accuracy of resource reconfiguration. Further improve resource utilization and service success rate of the E2E network.
  • the determining module is further configured to: after the first to-be-reduced VNF is confined, if the idle resource capacity of the resource pool still cannot reach the first resource capacity, select the retracting object again according to the state parameter, and record For the second to be reduced to VNF.
  • the volume reduction module is further configured to reduce the second to-be-reduced VNF according to the idle resource capacity of the resource pool and the first resource capacity.
  • the expansion module is further configured to expand the capacity of the first to-be-expanded VNF, that is, if the capacity of the resource pool of the resource pool reaches the capacity of the first resource, After the capacity of the resource pool is still insufficient, the VNF reduction capacity can be continued until the capacity of the resource pool of the resource pool reaches the requirement.
  • the status parameter includes a resource usage rate, a service success rate, a service priority, and a network location
  • the determining module determines, according to the status parameter, the first to-be-expanded VNF and the first resource required for the expansion.
  • the specific way of capacity can be:
  • the VNF of the plurality of VNFs that meet the preset capacity expansion condition is used as the first to be expanded VNF, and the first resource capacity required for the expansion is determined according to the state parameter of the first to-be-expanded VNF.
  • the preset expansion condition includes one or more of the following expansion conditions:
  • the resource occupancy rate is greater than or equal to the preset first resource usage rate, and the service success rate is less than or equal to the preset second service success rate, and the service priority is greater than or equal to the preset first service priority, and the network location is end.
  • the determining, by the determining module, the specific manner of determining the first to be condensed VNF from the plurality of VNFs according to the state parameter may be:
  • the VNF in the plurality of VNFs in which the state parameter satisfies the preset shrinkage condition is taken as the first to-be-reduced VNF.
  • the preset shrinkage condition includes one or more of the following shrinkage conditions:
  • the resource occupancy rate is less than or equal to the preset second resource usage rate, and the service success rate is greater than or equal to the preset third service success rate, and the service priority is less than or equal to the preset second service priority, and the network location is the front end. .
  • the volume reduction module may specifically include:
  • the acquiring sub-module is configured to obtain an operating state of the VM running on the first to-be-reduced VNF, including a CPU usage rate and a RAM occupancy rate.
  • the determining submodule is configured to determine the VM to be shut down according to the first resource capacity and the running state.
  • the expansion module may specifically include:
  • the sub-module is configured to create a VM and/or start a VM on the first to-be-expanded VNF.
  • the configuration submodule is configured to allocate the resource of the first resource capacity to the created VM and/or the activated VM.
  • a third aspect of the embodiments of the present invention provides a resource management device, which is applied to an E2E network, where the E2E network includes multiple VNFs and the resource management device that manages the multiple VNFs and resource pools, where the device includes a processor and a network interface. And a memory storing executable program code, the processor calling the executable program code stored in the memory, and acquiring, by the network interface, status parameters of the plurality of VNFs, according to the status parameter, from the plurality of VNFs
  • the capacity of the capacity to be expanded is recorded as the first to be expanded VNF, and the resource capacity required for the expansion of the first to-be-expanded VNF is determined, and is recorded as the first resource capacity.
  • the processor is further configured to: when the current idle resource capacity of the resource pool does not reach the first resource capacity, first select a VNF for volume reduction, and may determine, according to the state parameter, a contraction object from the plurality of VNFs. It is recorded as the first to be reduced VNF, and the first torn volume VNF is subjected to a contraction process according to the first resource capacity.
  • the processor is further configured to expand the first to-be-expanded VNF when the idle resource capacity of the resource pool reaches the first resource capacity after the first to-be-reduced VNF is reduced, so that the processor can be in the resource pool.
  • the resources are balanced between the VNFs in the E2E network, thereby improving resource utilization and service success rate of the E2E network.
  • the status parameter includes a service success rate
  • the specific manner in which the processor determines, according to the status parameter, the first to-be-expanded VNF and the first resource capacity required for the capacity expansion may be:
  • the resource management device obtains the state parameters of the plurality of VNFs included in the E2E network, and determines, according to the state parameters, the first to-be-expanded VNF and the first resource capacity required for the capacity expansion;
  • the current idle resource capacity of the resource pool is smaller than the first resource capacity, and the resource management device determines the first to-be-reduced VNF from the plurality of VNFs according to the state parameter, and the first to-be-converted VNF according to the first resource capacity.
  • the volumetric VNF is subjected to a shrinking process to release resources into the resource pool; if the resource management device performs a process of shrinking the first torn volume VNF, the idle resource capacity of the resource pool is greater than or equal to the first resource.
  • the capacity management device performs capacity expansion processing on the first to-be-expanded VNF, so that resources can be balancedly configured among VNFs in the E2E network in the case of insufficient idle resources, thereby improving resource utilization and E2E network. Business success rate.
  • FIG. 1 is a schematic diagram of an E2E network architecture according to an embodiment of the present invention
  • FIG. 2 is a schematic structural diagram of an IMS cloud network according to an embodiment of the present invention.
  • FIG. 3 is a schematic flowchart of a resource management method according to an embodiment of the present invention.
  • FIG. 4 is a schematic flowchart of another resource management method according to an embodiment of the present invention.
  • FIG. 5 is a schematic flowchart of still another resource management method according to an embodiment of the present disclosure.
  • FIG. 6 is a schematic structural diagram of a resource management device according to an embodiment of the present disclosure.
  • FIG. 7 is a schematic structural diagram of another resource management device according to an embodiment of the present disclosure.
  • FIG. 8 is a schematic structural diagram of still another resource management device according to an embodiment of the present invention.
  • FIG. 1 is a schematic diagram of an E2E network architecture according to an embodiment of the present invention.
  • the E2E network described in this embodiment mainly includes the following functional components:
  • NFV Infrastructure (English: NFV Infrastructure, abbreviated: NFVI), responsible for providing the required virtualization computing for NFV operations (English: Virtual Computing), virtualized storage (English: Virtual Storage) and virtualized network (English: Virtual Networking and other virtualization resources, including COTS computing hardware (English: Computing Hardware), storage hardware (English: Storage Hardware), network hardware (English: Network Hardware) and other underlying hardware, as well as virtualization of the underlying hardware virtualization Layer (English: Virtualization Layer).
  • VNF Virtual Network Function
  • NF Network Function
  • EMS Element Management System
  • the VNF is equivalent to the entity of the network node, that is, the network element (English: Network Element, abbreviation: NE).
  • NFV Management and Orchestration (MAN: OMAN) is responsible for orchestration, life cycle management of physical and / or software resources supporting the underlying hardware virtualization and VNF lifecycle management.
  • NFV MANO can also interact with the operational support system (English: operational support system, OSS)/business support system (abbreviation: BSS) outside the NFV framework to implement NFV services based on OSS/BSS service requests. .
  • operational support system English: operational support system, OSS
  • BSS business support system
  • IP Multimedia Subsystem (English: IP Multimedia Subsystem, abbreviation: IMS), and can also interact with existing OSS/BSS that need to be connected.
  • IMS IP Multimedia Subsystem
  • NFV MANO internally defines the following functional components:
  • NFV Orchestrator (English: NFV Orchestrator, abbreviated: NFVO), responsible for lifecycle management of network services, completing network business orchestration, and NFVI across multiple virtualized infrastructure managers (English: Virtualized Infrastructure Manager, abbreviation: VIM) Resource orchestration.
  • NFVO NFV Orchestrator
  • VIM Virtualized Infrastructure Manager
  • VNF Manager (English: VNF Manager, abbreviated as VNFM), responsible for lifecycle management of VNF instances, monitoring VNF status parameters, such as VNF resource occupancy, service success rate, service priority, etc.
  • VNFM can be A single VNF instance or multiple VNF instances of the same or different types should be managed, including: VNF instantiation, VNF configuration NFVI resources, VNF instance update, VNF instance scaling, VNF instance termination, and the like.
  • VIM which is responsible for controlling and managing the computing, storage, and network resources of NFVI, typically within an operator's infrastructure subdomain.
  • a VIM can handle certain types of NFVI resources or can manage multiple types of NFVI resources, including: arranging/upgrading/deconfiguring/recycling NFVI resources, managing virtualized resources (virtualized computing, virtualized storage, virtualization) Network)
  • a association with underlying hardware resources (computing hardware, storage hardware, network hardware) to manage the underlying hardware resources and software resources (such as hypervisors).
  • the functional component of CTRL can also be defined in NFV MANO, which can be called resource reconfiguration control module. It is mainly responsible for realizing the resource reconfiguration algorithm between VNFs, so that NFVI resources are balancedly configured among VNFs.
  • the function component of CTRL can be set separately or integrated in VNFM or VIM.
  • the NFV MANO may be deployed on a general physical network device or a physical server; or may be deployed on a virtual machine (English: virtual machine, abbreviated: VM), for example, a VM running on the VNF, which is not in the embodiment of the present invention. Make a limit.
  • VM virtual machine
  • the E2E network shown in FIG. 1 is an example of the IMS cloud network shown in FIG. 2, and the IMS cloud network includes the following network elements: a Session Border Controller (English: Session Border Controller, SBC), and a call session control function ( English: Call Session Control Function (CSCF), Home Subscriber Server (HSS), General Voice Service Server (English: Advanced Telephony Server, ATS) and NFV MANO.
  • SBC Session Border Controller
  • CSCF Call Session Control Function
  • HSS Home Subscriber Server
  • ATS General Voice Service Server
  • NFV MANO NFV MANO.
  • the SBC, the CSCF, the HSS, and the ATS are the VNFs in the E2E network architecture shown in Figure 1.
  • the SBCs are specifically two (SBC1 and SBC2), and the SBC1 and SBC2 are the access side (that is, the front-end) network elements, CSCF, The HSS and the ATS are core-side (ie, back-end) network elements.
  • the NFV MANO is deployed on the resource management device to monitor the status parameters of the SBC1, SBC2, CSCF, HSS, and ATS.
  • User equipment English: User Equipment, abbreviation: UE
  • the IMS cloud network is accessed through SBC1 or SBC2, assuming that the total amount of resources of the resource pool of the IMS cloud network is constant.
  • the resource management device periodically acquires state parameters such as resource occupancy rate, service success rate, service priority, and network location of the SBC1, SBC2, CSCF, HSS, and ATS, and successfully succeeds according to SBC1, SBC2, CSCF, HSS, and ATS.
  • the rate determines the service success rate of the IMS cloud network. If the service success rate of the IMS cloud network is less than a certain threshold (for example, 95%), the resource management device may initiate resource reconfiguration of the resource pool.
  • a certain threshold for example, 97%
  • the resource occupancy rate is as shown in Table 1:
  • Network element SBC1 SBC2 CSCF HSS ATS Resource occupancy rate 100% 100% 40% 70% 50%
  • the resource management device may determine that SBC1 and SBC2 are expansion targets according to the expansion conditions described in step S302 in the foregoing embodiment, and assume that the resource capacity required for capacity expansion of SBC1 and SBC2 is 4 CPUs and 3 GB of running memory (English: Random Access Memory) , abbreviation: RAM), the free resource capacity of the resource pool is 1 CPU and 200M RAM, obviously insufficient capacity of the idle resource cannot expand the SBC1 and SBC2, and the resource management device further reduces the volume according to step S303 in the previous embodiment.
  • the condition can be determined that the CSCF is a condensed object.
  • the resource management device reduces the ATS.
  • the resource management device expands SBC1 and SBC2 until the storage resource capacity of the resource pool is greater than or equal to 4 CPUs and 3 GB of RAM, and then waits for an observation period before determining the service success of the IMS cloud network.
  • the rate and/or the state parameters of the access side network element and the core side network element satisfy the resource reconfiguration end condition described in step S409 in the previous embodiment. If yes, the resource reconfiguration of the resource pool is ended; if not, the resource reconfiguration is completed.
  • the resource management device repeatedly performs the foregoing operations until the service success rate of the IMS cloud network and/or the state parameters of the access side network element and the core side network element satisfy the resource reconfiguration end condition.
  • the resource occupancy rate is as shown in Table 2:
  • Network element SBC1 SBC2 CSCF HSS ATS Resource occupancy rate 70% 70% 80% 80% 100%
  • the resource management device can determine that the ATS is the expansion target according to the capacity expansion condition. If the capacity of the idle resource of the resource pool is insufficient to expand the ATS, the resource management device can determine the access side network elements SBC1 and SBC2 according to the reduction condition. To shrink the object, you can first shrink SBC1 (or SBC2). If the capacity of the idle resource is still insufficient after shrinking, then shrink SBC2 (or SBC1), or you can first shrink the service priority in SBC1 and SBC2. If the capacity of the idle resource is still insufficient, the capacity of the SBC is reduced. The capacity of the idle resource after the capacity reduction is greater than or equal to the capacity of the ATS to expand the capacity of the ATS.
  • the resource occupancy rate is as shown in Table 3:
  • Network element SBC1 SBC2 CSCF HSS ATS Resource occupancy rate 90% 90% 80% 30% 100%
  • the resource management device can determine that the ATS is a capacity expansion according to the capacity expansion condition. If the capacity of the resource pool is insufficient to expand the ATS, the resource management device can determine that the core side network element HSS is reduced according to the contention condition.
  • the ATS is expanded if the capacity of the idle resource after the HSS is smaller than or equal to the capacity of the ATS to be expanded.
  • the resource occupancy rate is as shown in Table 4:
  • Network element SBC1 SBC2 CSCF HSS ATS Resource occupancy rate 100% 100% 90% 90% 100%
  • the resource management device can determine that the network element ATS that is overloaded on the core side is the object of the expansion according to the capacity expansion condition. If the capacity of the idle resource of the resource pool is insufficient, the resource capacity of the other network elements on the core side is also very high.
  • the resource management device can determine that the access side network elements SBC1 and SBC2 are the condensed objects according to the contraction condition, and may first shrink the SBC1 (or SBC2), and if the idle resource capacity is still insufficient after the volume reduction, then SBC2 (or SBC1), or SBC1 and SBC2 can be reduced to SBC with low priority. If the capacity of the idle resource is still insufficient after shrinking, the SBC with high priority will be retracted until it is reduced. The capacity of the idle resource is greater than or equal to the resource capacity required for capacity expansion of the ATS, and the ATS is expanded.
  • the HSS service priority is the lowest, as shown in Table 5:
  • Network element SBC1 SBC2 CSCF HSS ATS Resource occupancy rate 90% 90% 90% 90% 100%
  • the resource management device can determine that the ATS is the object of the expansion according to the capacity expansion condition. If the capacity of the idle resource of the resource pool is insufficient, the resource capacity of the resource pool is not sufficient, and the resource priority of the HSS is high. The resource management device can determine that the core side network element HSS is a condensed object according to the condensed condition. If the capacity of the vacant resource after the HSS is smaller than or equal to the resource capacity required for the capacity expansion of the ATS, the resource management device expands the ATS.
  • FIG. 3 is a schematic flowchart of a resource management method provided by the E2E network architecture shown in FIG. 1 according to an embodiment of the present invention.
  • the E2E network includes multiple VNFs and a resource management device that manages the multiple VNFs and resource pools.
  • the resource management method described in this embodiment includes:
  • the resource management device acquires state parameters of multiple VNFs.
  • the NFV MANO is deployed on the resource management device, and the status parameter may include a resource occupancy rate (ie, a load) of the VNF.
  • a resource occupancy rate ie, a load
  • One or more VMs are deployed on the VNF.
  • the VNF can complete the corresponding network services through the one or more VMs.
  • the VNF depends on the number of deployed VMs, the CPU usage and RAM usage of each VM, and the registration/session resources of the VNF.
  • the occupancy rate and other parameters are used to calculate the resource occupancy rate.
  • the status parameter may also include the input traffic, service success rate, and service priority.
  • the service priority may be stored in the resource management device, and is set by the resource management device when the service is allocated to the multiple VNFs.
  • the status parameter may further include a network location, and the resource management device may determine the location of each VNF in the E2E network according to the sequence of the services passing through the multiple VNFs, and may be divided into a front end (ie, an access side) VNF and a back end ( That is, the core side is a VNF, and a sequence identifier is set for each VNF.
  • the resource management device stores the sequence identifier, and the location of each VNF in the E2E network can be determined according to the sequence identifier.
  • the resource management device may periodically send a status parameter acquisition request to the multiple VNFs, and receive the resource occupancy rate, service success rate, service priority, and network reported by the multiple VNFs in response to the status parameter acquisition request.
  • the status management parameter the resource management device may also receive the status parameter periodically reported by the multiple VNFs, where the period may be 10 seconds (English: s), 1 minute (English: min), and the like.
  • the resource management device can periodically obtain the resource occupancy of the resource pool according to the CPU usage and the RAM usage of the underlying hardware in the E2E network resource pool (ie, the NFVI resource) to determine the resource pool.
  • the period of the idle resource capacity, the period may be 5s, 1min, etc., the period in which the resource management device acquires the state parameters of the plurality of VNFs may be the same as the period of acquiring the idle resource capacity in the resource pool, or may be different, and
  • the specific values of the two periods are not limited in the embodiment of the present invention.
  • the resource management device determines, according to the state parameter, the first to-be-expanded VNF and the first resource capacity required for the capacity expansion from the plurality of VNFs.
  • the resource management device determines, according to the service success rate of the multiple VNFs, a first service success rate of the E2E network, where the first service success rate may be a product of service success rates of the multiple VNFs, if the first If the service success rate is less than or equal to the preset first service success rate (for example, 90%), the resource management device determines to start resource reconfiguration of the resource pool in the current process, and then the status parameter in the multiple VNFs is satisfied.
  • the VNF of the capacity expansion condition is set as the expansion target (referred to as the first to-be-expanded VNF).
  • the preset capacity expansion condition may include one or more of the following expansion conditions: the resource occupancy rate is greater than or equal to the preset first resource usage rate (for example, 90%), and the service success rate is less than or equal to the preset second service.
  • the success rate for example, 95%)
  • the service priority is greater than or equal to the preset first service priority (that is, the service priority is higher)
  • the network location is the back end. If there are multiple VNFs with the same network location, the VNF with the highest service priority is preferentially expanded.
  • the service success rate is less than or equal to the preset second service success rate and/or the resource occupancy rate is greater than or equal to the preset first. If there are multiple VNFs in the resource usage rate, the back-end VNFs are preferentially expanded. If there are multiple VNFs in the back-end, the VNF with the highest service priority is preferentially expanded.
  • the resource management device determines, according to the state parameter of the first to-be-expanded VNF, the resource capacity (referred to as the first resource capacity) required for the capacity expansion, which may be based on the resource occupancy rate, the service success rate, the service priority, and the network location. At least one of the first resource capacity required to expand the first to-be-expanded VNF, for example, the higher the resource occupancy rate, the lower the service success rate, and the higher the service priority, the VNF located at the back end, and the expansion thereof The first resource capacity required is more.
  • the first resource capacity may be a capacity of a CPU, a RAM, and the like required for running the related software on the VM and the VNF, that is, the resource management device uses a VM as a capacity expansion granularity when the capacity is expanded.
  • the resource management device may also be in an overloaded flow control state (ie, the resource occupancy rate is 100%) or the number of VNFs whose resource occupancy exceeds a certain threshold (for example, 97%) in the E2E network.
  • a certain threshold for example, 97%)
  • the resource management device may also determine that the number of VNFs in the E2E network that are in the overloaded flow control state or the resource usage exceeds a certain threshold exceeds a preset number, and the service success rate of the E2E network is less than or equal to a certain threshold. Start this process to reconfigure the resources of the resource pool. That is, in the embodiment of the present invention, the resource management device may determine, according to at least one of a service success rate of the E2E network and a resource occupancy rate of each VNF, whether to perform resource reconfiguration of the resource pool in the current process.
  • the resource management device determines, according to the state parameter, the first to-be-reduced VNF from the plurality of VNFs, and the first resource size according to the first resource capacity.
  • the VNF is to be indented for shrinkage processing.
  • the resource management device can use the VNF in the plurality of VNFs that meets the preset contraction condition as the condensed object (referred to as the first to-be-reduced VNF).
  • the preset capacity reduction condition includes one or more of the following contraction conditions: the resource occupancy rate is less than or equal to the preset second resource occupancy rate (for example, 75%), and the service success rate is greater than or equal to the preset third.
  • the service success rate (for example, 97%)
  • the service priority is less than or equal to the preset second service priority (that is, the service priority is lower)
  • the network location is the front end. If there are multiple VNFs with the same network location, the VNF with the lower priority of the service is preferentially reduced.
  • the service success rate is greater than or equal to the preset third service success rate and/or the resource occupancy rate is less than or equal to the preset number. If there are multiple VNFs for the resource occupancy rate, the front-end VNF is preferentially reduced. If there are more than one front-end VNF, the VNF with the lowest service priority is preferentially reduced.
  • the resource management device performs a process of shrinking the first to-be-reduced VNF according to the first resource capacity required for the capacity expansion, so that the first to-be-reduced VNF releases part of the resources, and the specific manner of the volume reduction processing may be
  • the resource management device obtains the running status of the VM running on the first to-be-reduced VNF, including the number of VMs, the CPU usage of each VM, and the RAM occupancy rate, etc., according to the first resource capacity and the running state. Determining the VM to be shut down that can release the resource, and shutting down the VM to be shut down, so that the first to-be-reduced VNF releases part of the resource to increase the idle resource capacity of the resource pool.
  • the resource management device can be reduced in size by one VM when the capacity is reduced.
  • the resource management device After the resource management device performs the capacity reduction processing on the first to-be-reduced VNF according to the first resource capacity, when the idle resource capacity of the resource pool is greater than or equal to the first resource capacity, the resource management device The first to-be-expanded VNF performs capacity expansion processing.
  • the resource management device may perform the first to-be-expanded VNF.
  • the capacity management device may create one or more VMs on the first to-be-expanded VNF, and the resource management device creates one or more VMs on the first to-be-expanded VNF.
  • the resource of the first resource capacity is configured for one or more VMs that are created, and one or more VMs that are created are started; if a VM that has been created but not started exists on the first to-be-expanded VNF, the resource management device may be started.
  • the VM that has been created but not started configures the resource of the first resource capacity to the VM that has been created but not started. Among them, while the VM is started, related software, monitoring and other software on the VNF will also be started.
  • the resource management device may The state parameters of the plurality of VNFs are acquired again, and the condensed object (referred to as the second to-be-reduced volume VNF) is determined from the plurality of VNFs according to the state parameters of the plurality of VNFs acquired again.
  • the resource management device can also directly use the step.
  • the state parameters of the plurality of VNFs acquired in S301 determine the second to-be-reduced VNF.
  • the resource management device determines, according to the idle resource capacity of the resource pool and the first resource capacity, a resource capacity that needs to be re-contracted again, and performs a volume reduction process on the second to-be-reduced VNF, if the second After the capacity of the resource pool is reduced, the resource management device expands the first to-be-expanded VNF by the resource management device.
  • the resource management device acquires the state parameters of the multiple VNFs included in the E2E network, and when the service success rate of the E2E network is lower than a preset value, the first parameter is determined from the multiple VNFs according to the state parameter.
  • FIG. 4 is a schematic flowchart diagram of another resource management method provided by the E2E network architecture shown in FIG. 1 according to an embodiment of the present invention.
  • the E2E network includes multiple VNFs and a resource management device that manages the multiple VNFs and resource pools.
  • the resource management method described in this embodiment includes:
  • the steps S401 to S403 are the same as the steps S301 to S303 in the previous embodiment, and are not described herein again.
  • the resource management device acquires state parameters of the multiple VNFs again.
  • the resource management device determines a second service success rate of the E2E network according to the service success rate of the multiple VNFs that are acquired again.
  • the resource management device may wait for a period of an observation period, where the observation period may be a period of acquiring state parameters of the plurality of VNFs, for example, 10s. When the waiting period reaches the observation period, the resource management device acquires the multiple times again.
  • the status of the VNF is determined, and the second service success rate of the E2E network is determined according to the service success rate of the multiple VNFs that are obtained again.
  • the second service success rate may be the product of the service success rates of the multiple VNFs. .
  • the resource management device determines whether the second service success rate is less than the first service success rate of the E2E network, and the difference between the first service success rate minus the second service success rate is greater than or equal to the preset first The value is, if yes, step S407 is performed; if not, step S408 and step S409 are performed.
  • the resource management device determines that the first to-be-reduced VNF is reduced by comparing the second service success rate with the first service success rate before the first to-be-reduced VNF is reduced, and the E2E network is Whether the service success rate is significantly decreased, that is, whether the difference between the first service success rate and the second service success rate is greater than or equal to a preset first value (for example, 3%), if the service success rate of the E2E network is If the service success rate of the E2E network does not decrease or rise significantly, step S408 and step S409 are performed.
  • the resource management device performs a rollback operation on the shrinking process performed on the first to-be-reduced VNF.
  • the resource management device reconfigures the resource released by the first to-be-reduced VNF contraction to the first To shrink the VNF, start the VM to be shut down, and cancel the shrinkage processing of the first torn volume VNF, so that the E2E network recovers to the state before the first torn volume VNF is reduced as much as possible to weaken the The first torn volume VNF contraction results in a significant drop in the success rate of the E2E network service.
  • the resource management device After the resource management device performs the process of shrinking the first to-be-reduced VNF according to the first resource capacity, when the idle resource capacity of the resource pool is greater than or equal to the first resource capacity, the resource management device The first to-be-expanded VNF performs capacity expansion processing.
  • the resource management device delays the preset duration.
  • the resource capacity required to expand the VNF and expand the capacity is determined from the plurality of VNFs according to the state parameters of the plurality of VNFs.
  • the resource management device determines whether the service success rate of the E2E network increases significantly or decreases slightly by comparing the second service success rate with the first service success rate, if the second service success rate is greater than or equal to the first The service management device determines the service success rate of the E2E network, if the difference between the second service success rate and the first service success rate is less than or equal to a preset second value (for example, 5%). There is no significant increase. If the second service success rate is less than the first service success rate, and the difference between the first service success rate minus the second service success rate is less than or equal to a preset third value (eg, 2%), the resource The management device determines that the service success rate of the E2E network decreases slightly.
  • a preset second value for example, 5%
  • the resource management device may delay the preset duration and no longer according to the status of the multiple VNFs during the delay period.
  • the parameter determines the capacity of the VNF to be expanded and the capacity to be expanded, that is, the capacity reduction and expansion of the VNF is suspended.
  • the preset duration may be three times the period of acquiring the state parameters of the multiple VNFs.
  • the resource management device may delay the pre-emption when the service success rate of the E2E network does not increase significantly or has a small decrease after determining that the E2E network service success rate is continuously performed multiple times (for example, three times).
  • the resource management device may periodically acquire the state parameters of the multiple VNFs and the idle resource capacity of the resource pool during the delay period.
  • the step S404 to the step S407 may be performed after the step S408.
  • the resource management device succeeds in comparing the second service success rate with the first service to be expanded VNF. After the capacity is determined to be expanded, the resource management device performs a rollback operation on the capacity expansion process of the first to-be-expanded VNF, and the configuration is to be performed on the E1E network.
  • the resource of the first resource capacity of the first to-be-expanded VNF is released, so that the E2E network is restored to the state before the expansion of the first to-be-expanded VNF, so as to weaken the expansion of the first to-be-expanded VNF to cause the E2E network service to succeed.
  • the rate has dropped significantly.
  • step S404-step S407 may be performed after step S403, and is also performed after step S408, that is, after the resource management device performs the shrinking process on the first to-be-reduced VNF, and After the capacity expansion process of the first to-be-expanded VNF is performed, the service success rate of the E2E network after the capacity reduction process or the capacity expansion process and the service success rate before the capacity reduction process or the capacity expansion process are compared, and the service success of the E2E network is determined. Whether the rate is significantly decreased. If yes, the resource management device performs a rollback operation on the shrinking process or the capacity expansion process, that is, the resource released by the first torn volume VNF contraction is reconfigured to the first to be reduced. The VNF, or the resource allocated to the first resource capacity of the first to-be-expanded VNF, is released to weaken the shrinking process or the capacity-increasing process to cause a significant drop in the E2E network service success rate.
  • the preset resource reconfiguration end condition may specifically include one of the following resource reconfiguration end conditions. Or multiple:
  • the second service success rate of the E2E network is greater than or equal to the preset fourth service success rate (for example, 98%), that is, the service success rate of the E2E network is significantly improved after the VNF is reduced and re-expanded, or the E2E network is improved.
  • the business success rate has met the requirements.
  • the resource occupancy rate of the multiple VNFs is less than or equal to the preset third resource occupancy rate (for example, 90%), that is, the E2E network is in a load balancing state after the VNF is reduced and re-expanded.
  • the front end VNF overload flow control (for example, the resource occupancy rate reaches 100%) and the absolute value of the resource occupancy difference between any two other VNFs is less than or equal to a preset fourth value (for example, 3%).
  • a preset fourth value for example, 3%.
  • the multiple VNFs have no releasable resources, and the resource management device can set the minimum resource capacity occupied by each VNF. If the resource capacity occupied by each VNF is the minimum resource capacity, even if the resource occupancy rate of the VNF is low, And can't shrink anymore.
  • the service success rate of the E2E network is not significantly improved compared with the capacity reduction before the capacity reduction and capacity expansion, and/or consecutive times (for example, 3 times).
  • the E2E network still does not reach the load balancing state after the capacity reduction and capacity expansion.
  • the load balancing status can be specifically described in 2) and 3).
  • the resource management device may cyclically perform steps S401 to S409.
  • the resource management device acquires the state parameters of the multiple VNFs included in the E2E network, and when the service success rate of the E2E network is lower than a preset value, the first parameter is determined from the multiple VNFs according to the state parameter.
  • the second service success rate of the network is determined by comparing the success rate of the second service and the first service success rate of the E2E network obtained before the capacity reduction, whether the service success rate of the E2E network is significantly decreased, and if so, the backoff is
  • the first shrinkage processing of the VNF is to be reduced.
  • the capacity of the resource pool is greater than or equal to the capacity of the first resource
  • the first to be expanded VNF is expanded, so that the resource can be guaranteed in the E2E if the idle resource in the resource pool is insufficient.
  • Balanced configuration of the VNFs in the network which improves the resource utilization rate and service success rate of the E2E network, and can roll back the shrinkage processing and capacity expansion processing to effectively improve the E2E network status after resource reconfiguration. .
  • the resource management device may further determine whether the service success rate of the E2E network has a significant increase or a small decrease by comparing the first service success rate and the first service success rate of the E2E network acquired before the sufficiency, and if so, the delay After the timeout period, the VNF is determined, that is, after the E2E network enters a stable working state and then re-configured, the resource reconfiguration accuracy can be improved, and the resource utilization rate and the service success rate of the E2E network can be further improved.
  • FIG. 5 is a schematic flowchart diagram of still another resource management method provided by the E2E network architecture shown in FIG. 1 according to an embodiment of the present invention.
  • the E2E network includes multiple VNFs and a resource management device that manages the multiple VNFs and resource pools.
  • the resource management method described in this embodiment includes:
  • the steps S501 to S503 are the same as the steps S301 to S303 in the previous embodiment, and are not further described herein.
  • the resource management device acquires state parameters of the multiple VNFs again.
  • the resource management device determines, according to the re-obtained status parameters of the multiple VNFs, the second to-be-expanded VNF and the second resource capacity required for the capacity expansion.
  • the state of the E2E network (for example, the service success rate of the E2E network, the resource occupancy rate of each VNF, and the like) is greatly changed.
  • the state parameters of the plurality of VNFs may be acquired again, and the expansion object (reported as the second to-be-expanded VNF) may be re-determined from the plurality of VNFs according to the state parameters of the plurality of VNFs that are acquired again, and the plurality of VNFs may be
  • the VNF that meets the preset capacity expansion condition is used as the second to-be-expanded VNF, and the resource capacity required for capacity expansion (referred to as the second resource capacity) is determined according to the state parameter of the second to-be-expanded VNF.
  • step S302 For the preset expansion condition, refer to the related description of step S302 in the previous embodiment, and details are not described herein again.
  • the second to-be-expanded VNF and the first to-be-expanded VNF may be the same VNF or different VNFs.
  • the resource management device After the resource management device performs the process of shrinking the first to-be-reduced VNF according to the first resource capacity, when the idle resource capacity of the resource pool is greater than or equal to the second resource capacity, the resource management device The second to-be-expanded VNF is to be expanded. The first to-be-expanded VNF is not expanded.
  • the resource management device can The second to be expanded VNF Perform capacity expansion. If the second to-be-expanded VNF is different from the first to-be-expanded VNF, the resource management device does not expand the first to-be-expanded VNF. .
  • step S304 For the specific manner of the capacity expansion process, refer to the related description of step S304 in the previous embodiment, and details are not described herein again.
  • the resource management device acquires the state parameters of the multiple VNFs included in the E2E network, and when the service success rate of the E2E network is lower than a preset value, the first parameter is determined from the multiple VNFs according to the state parameter.
  • the state parameter re-determines the expansion object (referred to as the second to-be-expanded VNF) and the second resource capacity required for the expansion. If the idle resource capacity of the resource pool is greater than or equal to the second resource capacity, the resource management device The capacity of the VNF to be expanded is to be re-defined after the capacity reduction. This can effectively prevent the expansion of the E2E network. happenss, increase volume reduction, expansion of accuracy, in turn, can improve the success rate of resource utilization and business E2E network.
  • FIG. 6 is a schematic structural diagram of a resource management device according to an embodiment of the present invention.
  • the resource management device described in this embodiment is applied to an E2E network, where the E2E network includes multiple VNFs and the resource management device that manages the multiple VNFs and resource pools, including:
  • the obtaining module 601 is configured to acquire state parameters of the multiple VNFs.
  • the determining module 602 is configured to determine, according to the state parameter, the first to-be-expanded VNF and the first resource capacity required for the capacity expansion from the plurality of VNFs.
  • the status parameters include resource occupancy, service success rate, service priority, and network location.
  • the determining module 602 can determine, as the first to-be-expanded VNF, the VNF in the plurality of VNFs that meets the preset capacity expansion condition, and determine the first resource required for the expansion according to the state parameter of the first to-be-expanded VNF. capacity.
  • the preset expansion condition includes one or more of the following expansion conditions.
  • the resource occupancy rate is greater than or equal to the preset first resource usage rate, and the service success rate is less than or equal to the preset second service success rate, and the service priority is greater than or equal to the preset first service priority, and the network location is end.
  • the determining module 602 is further configured to: when the idle resource capacity of the resource pool is less than the first resource capacity, determine the first to-be-constrained VNF from the plurality of VNFs according to the state parameter.
  • the determining module 602 may use, as the first to-be-contracted VNF, the VNF of the plurality of VNFs that meets the preset contraction condition.
  • the preset shrinkage condition includes one or more of the following shrinkage conditions:
  • the resource occupancy rate is less than or equal to the preset second resource usage rate, and the service success rate is greater than or equal to the preset third service success rate, and the service priority is less than or equal to the preset second service priority, and the network location is the front end. .
  • the volume reduction module 603 is configured to perform a volume reduction process on the first to-be-reduced volume VNF according to the first resource capacity.
  • the volume reduction module 603 can include:
  • the obtaining sub-module 6030 is configured to obtain an operating state of the VM running on the first to-be-reduced VNF.
  • the determining submodule 6031 is configured to determine, according to the first resource capacity and the running state, that the VM is to be powered off.
  • the sub-module 6032 is closed for shutting down the VM to be shut down.
  • the expansion module 604 is configured to: when the capacity reduction module of the resource pool is greater than or equal to the first resource capacity, after the volume reduction module performs the volume reduction processing on the first to-be-reduced volume VNF according to the first resource capacity, The first to-be-expanded VNF performs capacity expansion processing.
  • the expansion module 604 can include:
  • a sub-module 6040 configured to create a VM and/or start a VM on the first to-be-expanded VNF;
  • the configuration submodule 6041 is configured to allocate the resource of the first resource capacity to the created VM and/or the activated VM.
  • the status parameter includes a service success rate
  • the determining module 602 is further configured to determine a first service success rate of the E2E network according to a service success rate of the multiple VNFs.
  • the specific manner of determining, by the determining module 602, the first to-be-expanded VNF and the first resource capacity required for the capacity expansion from the plurality of VNFs is:
  • the first resource to be expanded VNF and the first resource capacity required for capacity expansion are determined from the plurality of VNFs according to the state parameter.
  • the obtaining module 601 is further configured to acquire state parameters of the multiple VNFs again.
  • the determining module 602 is further configured to determine a second service success rate of the E2E network according to the service success rate of the multiple VNFs that are acquired by the acquiring module.
  • the resource management device further includes:
  • the fallback module 605 is configured to: when the second service success rate is less than the first service success rate, and the difference between the first service success rate minus the second service success rate is greater than or equal to a preset first value, The retracting process performed on the first to-be-reduced VNF or the expansion process on the first to-be-expanded VNF is performed.
  • the delay module 606 is configured to: when the second service success rate is greater than or equal to the first service success rate, and the difference between the second service success rate minus the first service success rate is less than or equal to a preset second value Or, if the second service success rate is less than the first service success rate, and the difference between the first service success rate minus the second service success rate is less than or equal to a preset third value, the delay preset duration .
  • the determining module 602 is further configured to determine, according to the status parameters of the multiple VNFs, the resource capacity required to expand the VNF and expand the capacity according to the status parameters of the multiple VNFs.
  • the resource management device acquires the state parameters of the multiple VNFs included in the E2E network, and when the service success rate of the E2E network is lower than a preset value, the first parameter is determined from the multiple VNFs according to the state parameter.
  • the second service success rate of the network is determined by comparing the success rate of the second service and the first service success rate of the E2E network obtained before the capacity reduction, whether the service success rate of the E2E network is significantly decreased, and if so, the backoff is
  • the first shrinkage processing of the VNF is to be reduced.
  • the first to be expanded VNF is expanded, so that the resource can be guaranteed in the E2E if the idle resource in the resource pool is insufficient.
  • Balanced configuration of the VNFs in the network which improves the resource utilization rate and service success rate of the E2E network, and can roll back the shrinkage processing and capacity expansion processing to effectively improve the E2E network status after resource reconfiguration.
  • the resource management device can also be compared by comparison
  • the first service success rate of the E2E network obtained before the second service success rate and the capacity reduction is determined whether the service success rate of the E2E network is significantly increased or decreased slightly. If yes, the content to be expanded is further delayed.
  • the determination of the VNF that is, waiting for the E2E network to enter a stable working state and then performing resource reconfiguration, can improve the accuracy of resource reconfiguration and further improve resource utilization and service success rate of the E2E network.
  • FIG. 7 is a schematic structural diagram of another resource management device according to an embodiment of the present invention.
  • the resource management device described in this embodiment is applied to an E2E network, where the E2E network includes multiple VNFs and the resource management device that manages the multiple VNFs and resource pools, including:
  • the obtaining module 701 is configured to acquire state parameters of the multiple VNFs.
  • the determining module 702 is configured to determine, according to the state parameter, the first to-be-expanded VNF and the first resource capacity required for the expansion from the plurality of VNFs.
  • the determining module 702 is further configured to: when the idle resource capacity of the resource pool is less than the first resource capacity, determine the first to-be-converted VNF from the plurality of VNFs according to the state parameter.
  • the volume reduction module 703 is configured to perform a volume reduction process on the first to-be-reduced volume VNF according to the first resource capacity.
  • the expansion module 704 is configured to: when the capacity reduction module of the resource pool is greater than or equal to the first resource capacity, after the volume reduction module performs the volume reduction processing on the first to-be-reduced volume VNF according to the first resource capacity, The first to-be-expanded VNF performs capacity expansion processing.
  • the determining module 702 is further configured to: when the capacity reduction module of the resource pool is less than the first resource capacity, the volume reduction module is smaller than the first resource capacity according to the first resource capacity, according to the The state parameter determines a second to-be-contracted VNF from the plurality of VNFs.
  • the volume reduction module 703 is further configured to perform a volume reduction process on the second to-be-reduced volume VNF according to the idle resource capacity of the resource pool and the first resource capacity.
  • the expansion module 704 is further configured to: when the shrinking module shrinks the second to-be-reduced VNF according to the idle resource capacity of the resource pool and the first resource capacity, the idle resource capacity of the resource pool is greater than or When the capacity of the first resource is equal to that, the first to-be-expanded VNF is expanded.
  • the obtaining module 701 is further configured to acquire state parameters of the multiple VNFs again.
  • the determining module 702 is further configured to determine, according to the state parameters of the plurality of VNFs that are acquired by the acquiring module, the second to-be-expanded VNF and the second resource capacity required for the capacity expansion from the plurality of VNFs.
  • the expansion module 704 is further configured to: when the volume reduction module shrinks the first torn volume VNF according to the first resource capacity, when the idle resource capacity of the resource pool is greater than or equal to the second resource capacity, The capacity expansion process of the second to-be-expanded VNF is not performed on the first to-be-expanded VNF.
  • the resource management device acquires the state parameters of the multiple VNFs included in the E2E network, and when the service success rate of the E2E network is lower than a preset value, the first parameter is determined from the multiple VNFs according to the state parameter.
  • the resource management device acquires the plurality of VNFs again The state parameter, and re-determining the expansion object (referred to as the second to-be-expanded VNF) and the second resource capacity required for the expansion according to the re-acquired state parameter, if the idle resource capacity of the resource pool is greater than or equal to the second resource capacity
  • the resource management device performs the capacity expansion process on the second to-be-expanded VNF, and re-determines the expansion object after the volume reduction, which can effectively prevent the inaccurate expansion of the selected expansion object when the E2E network state changes greatly. Improve the accuracy of capacity reduction and capacity expansion, which in turn can improve resource utilization and business success rate of E2E networks.
  • FIG. 8 is a schematic structural diagram of still another resource management device according to an embodiment of the present invention.
  • the resource management device described in this embodiment is applied to an E2E network, where the E2E network includes multiple VNFs and the resource management device that manages the multiple VNFs and resource pools, including: a processor 801, a network interface 802, and a memory. 803.
  • the foregoing processor 801, network interface 802, and memory 803 are connected by a bus 804, where:
  • the network interface 802 is connected to network devices such as the plurality of VNFs.
  • the number of the above network interfaces 802 may be one or more.
  • the type of the network interface 802 described above may be a wired interface, a wireless interface, or a combination of both.
  • the wired interface can be, for example, an Ethernet interface, and the Ethernet interface can be an optical interface, an electrical interface, or a combination of the two.
  • the wireless interface can be, for example, a wireless local area network (Wireless Local Area Network, WLAN) interface, a cellular network interface, or a combination of the two.
  • WLAN wireless Local Area Network
  • the memory 803 may include a volatile memory (English: Volatile Memory), such as a RAM; or may include a non-volatile memory (English: Non-Volatile Memory), such as a read-only memory (English: Read-Only Memory, abbreviation: ROM), flash memory (English: Flash Memory), hard disk (English: Hard Disk Drive, abbreviation: HDD) or solid state drive (English: Solid-State Drive, abbreviation: SSD); may also include a combination of the above types of memory .
  • ROM Read-Only Memory
  • HDD Hard Disk Drive
  • SSD solid state drive
  • the processor 801 is configured to call the program code stored in the memory 803, and performs the following operations:
  • the processor 801 is configured to acquire status parameters of the multiple VNFs through the network interface 802.
  • the processor 801 is further configured to determine, according to the state parameter, the first to-be-expanded VNF and the first resource capacity required for the capacity expansion from the plurality of VNFs.
  • the processor 801 is further configured to: when the idle resource capacity of the resource pool is less than the first resource capacity, determine the first to-be-converted VNF from the plurality of VNFs according to the state parameter.
  • the processor 801 is further configured to perform a process of shrinking the first to-be-reduced VNF according to the first resource capacity.
  • the processor 801 is further configured to: after the shrinking process of the first to-be-reduced VNF according to the first resource capacity, when the idle resource capacity of the resource pool is greater than or equal to the first resource capacity, the first The VNF needs to be expanded to expand the capacity.
  • the status parameter includes a service success rate
  • the processor 801 is further configured to determine, according to a service success rate of the multiple VNFs, a first service success rate of the E2E network.
  • the specific manner in which the processor 801 determines the first to-be-expanded VNF and the first resource capacity required for the capacity expansion from the plurality of VNFs according to the state parameter is:
  • the first resource to be expanded VNF and the first resource capacity required for capacity expansion are determined from the plurality of VNFs according to the state parameter.
  • the processor 801 is further configured to acquire, by using the network interface 802, status parameters of the multiple VNFs, and according to the The service success rate of multiple VNFs determines the second service success rate of the E2E network.
  • the processor 801 is further configured to: when the second service success rate is less than the first service success rate, and the difference between the first service success rate minus the second service success rate is greater than or equal to a preset first value The retracting operation of the first to-be-reduced VNF or the expansion processing of the first to-be-expanded VNF is performed.
  • the processor 801 is further configured to: when the second service success rate is greater than or equal to the first service success rate, and the difference between the second service success rate minus the first service success rate is less than or equal to the preset second The value, or the second service success rate is less than the first service success rate, and the difference between the first service success rate minus the second service success rate is less than or equal to the preset third value, the delay preset The duration, and the resource capacity required to expand the VNF and expand the capacity from the plurality of VNFs is not determined according to the state parameters of the plurality of VNFs during the delay.
  • the processor 801 is further configured to: after the shrinking process of the first to-be-reduced VNF according to the first resource capacity, when the idle resource capacity of the resource pool is less than the first resource capacity, according to the state parameter, The second to-be-reduced VNF is determined in the plurality of VNFs, and the second to-be-converted VNF is subjected to a shrinking process according to the idle resource capacity of the resource pool and the first resource capacity.
  • the processor 801 is further configured to: after the second to-be-reduced volume VNF is processed according to the idle resource capacity of the resource pool and the first resource capacity, the idle resource capacity of the resource pool is greater than or equal to the first The capacity of the first to-be-expanded VNF is expanded.
  • the status parameter includes a resource occupancy rate, a service success rate, a service priority, and a network location.
  • the processor 801 determines, according to the status parameter, the first to-be-expanded VNF and the expansion unit from the plurality of VNFs.
  • the specific method of the required first resource capacity is:
  • the VNF in the plurality of VNFs that meets the preset expansion condition is used as the first to-be-expanded VNF.
  • the preset expansion condition includes one or more of the following expansion conditions:
  • the resource occupancy rate is greater than or equal to the preset first resource usage rate, and the service success rate is less than or equal to the preset second service success rate, and the service priority is greater than or equal to the preset first service priority, and the network location is end.
  • the specific manner in which the processor 801 determines the first to-be-contracted VNF from the plurality of VNFs according to the state parameter is:
  • the VNF in the plurality of VNFs in which the state parameter satisfies the preset shrinkage condition is taken as the first to-be-reduced VNF.
  • the preset shrinkage condition includes one or more of the following shrinkage conditions:
  • the resource occupancy rate is less than or equal to the preset second resource usage rate, and the service success rate is greater than or equal to the preset third service success rate, and the service priority is less than or equal to the preset second service priority, and the network location is the front end. .
  • the specific manner in which the processor 801 performs the process of shrinking the first to-be-reduced VNF according to the first resource capacity is:
  • the resource management device acquires the state parameters of the multiple VNFs included in the E2E network, and when the service success rate of the E2E network is lower than a preset value, the first parameter is determined from the multiple VNFs according to the state parameter.
  • the storage medium may be a magnetic disk, an optical disk, a read-only memory (ROM), or a random access memory (RAM).

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

本发明实施例提供了一种资源管理方法及设备,该方法包括:资源管理设备获取E2E网络包括的多个VNF的状态参数,根据该状态参数从该多个VNF中确定第一待扩容VNF和扩容所需的第一资源容量;如果资源池的空闲资源容量小于该第一资源容量,则该资源管理设备根据该状态参数从该多个VNF中确定第一待缩容VNF,并根据该第一资源容量对该第一待缩容VNF进行缩容处理;如果该资源管理设备对该第一待缩容VNF进行缩容处理之后,该资源池的空闲资源容量大于或等于该第一资源容量,则该资源管理设备对该第一待扩容VNF进行扩容处理。通过本发明实施例可以在空闲资源不足的情况下保证资源在E2E网络中的各个VNF之间均衡配置,从而提高资源利用率和E2E网络的业务成功率。

Description

一种资源管理方法及设备
本申请要求于2016年1月30日提交中国专利局、申请号为201610071143.0、发明名称为“一种资源管理方法及设备”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本发明涉及通信技术领域,具体涉及一种资源管理方法及设备。
背景技术
传统的电信网络由多种多样的物理设备组成,不同的网络业务需要不同的物理设备,随着网络规模的快速增长,电信网络变得越来越庞大和复杂,这也带来了很多问题,例如新增业务的开发上线较为缓慢,系统的运维复杂且成本较高,资源利用率较低等。
网络功能虚拟化(英文:Network Function Virtualization,缩写:NFV)技术的提出可以很好的解决上述问题,NFV技术可以理解为将电信网络系统中使用的各个网元的功能从目前的专用硬件平台迁移至通用的商用货架产品(英文:Commercial Off The Shelf,缩写:COTS)服务器上,将电信网络中的各个网元转变成独立的应用,并灵活部署在基于标准的服务器、存储以及交换机等设备构建的统一基础设施平台上。通过虚拟化技术可以将通用的COTS计算/存储/网络等硬件设备分解为多种虚拟资源,以供上层各种应用使用,实现了应用与硬件之间的解耦。
对于运用了NFV技术的端到端(英文:End To End,缩写:E2E)网络,相对于前端网元过载流控,后端网元过载流控会造成更多的网络资源浪费,E2E网络的业务成功率较低;而前端网元过载流控,后端网元负载较轻时,由于负载较轻的网元资源没有被充分利用,E2E网络的业务成功率也无法最大化。虽然可以通过对过载流控的网元直接扩容的方式提高E2E网络的业务成功率,但是这需要资源池中的空闲资源较为充足,并且此时的资源利用率也不高。
发明内容
本发明实施例提供了一种资源管理方法及设备,可以在空闲资源不足的情况下保证资源在E2E网络中的各个VNF之间均衡配置,从而提高资源利用率和E2E网络的业务成功率。
本发明实施例第一方面提供了一种资源管理方法,应用于E2E网络,该E2E网络包括多个VNF和管理该多个VNF以及资源池的资源管理设备,该方法包括:
该资源管理设备获取该多个VNF的状态参数,根据该状态参数从该多个VNF中确定出扩容对象,记为第一待扩容VNF,并确定出对该第一待扩容VNF扩容所需的资源容量,记为第一资源容量。
如果该资源池当前的空闲资源容量达不到该第一资源容量,则该资源管理设备首先选择VNF进行缩容,可以是根据该状态参数从该多个VNF中确定出缩容对象,记为第一待缩 容VNF,并根据该第一资源容量对该第一待缩容VNF进行缩容处理。
如果该第一待缩容VNF缩容后,该资源池的空闲资源容量达到该第一资源容量,则该资源管理设备即可对该第一待扩容VNF进行扩容处理,从而可以在资源池中的空闲资源不足的情况下保证资源在E2E网络中的各个VNF之间均衡配置,进而提高资源利用率和E2E网络的业务成功率。
可选的,该状态参数包括业务成功率,该资源管理设备可以根据该多个VNF的业务成功率确定该E2E网络当前的第一业务成功率,如果该第一业务成功率小于或等于预设第一业务成功率,则该资源管理设备才根据该状态参数从该多个VNF中确定出第一待扩容VNF以及扩容所需的第一资源容量,只有在该E2E网络的业务成功率不能满足业务需求时才对该资源池的资源进行重配置。
可选的,该资源管理设备对该第一待缩容VNF进行缩容处理之后,或者,对该第一待扩容VNF进行扩容处理之后,可以再次获取该多个VNF的状态参数,并根据再次获取的该多个VNF的业务成功率确定该E2E网络当前的第二业务成功率,如果此时该E2E网络的业务成功率下降明显,即该第二业务成功率小于该第一业务成功率,并且该第一业务成功率减去该第二业务成功率的差值大于或等于预设第一数值,则该资源管理设备撤回对该第一待缩容VNF进行的缩容处理或对该第一待扩容VNF进行的扩容处理,可以对缩容处理和扩容处理进行回退,有效改善资源重新配置后导致E2E网络状态变差的情况。
可选的,该资源管理设备对该第一待缩容VNF进行缩容处理之后,或者,对该第一待扩容VNF进行扩容处理之后,在该E2E网络的业务成功率提升不明显时,即该第二业务成功率大于或等于该第一业务成功率,且该第二业务成功率减去该第一业务成功率的差值小于或等于预设第二数值,或者,在该E2E网络的业务成功率有小幅下降时,即该第二业务成功率小于该第一业务成功率,且该第一业务成功率减去该第二业务成功率的差值小于或等于预设第三数值,该资源管理设备可以延时预设时长,等待E2E网络进入稳定工作状态后再进行资源重新配置,可以提高资源重新配置的准确度,进一步提高资源利用率和E2E网络的业务成功率。
可选的,在该资源管理设备对该第一待缩容VNF进行缩容处理之后,该资源池的空闲资源容量仍然达不到该第一资源容量时,可以根据该状态参数再次选择缩容对象,记为第二待缩容VNF,并根据该资源池的空闲资源容量和该第一资源容量对该第二待缩容VNF缩容,在该第二待缩容VNF缩容之后,如果该资源池的空闲资源容量达到了该第一资源容量,则该资源管理设备对该第一待扩容VNF进行扩容处理,即一次缩容后资源池的空闲资源仍然不足时可以继续选择VNF缩容,直到缩容后资源池的空闲资源容量达到要求为止。
可选的,该状态参数包括资源占用率、业务成功率、业务优先级和网络位置,该资源管理设备根据该状态参数从该多个VNF中确定第一待扩容VNF和扩容所需的第一资源容量的具体方式可以为:
将该多个VNF中该状态参数满足预设扩容条件的VNF作为第一待扩容VNF,并根据该第一待扩容VNF的状态参数确定扩容所需的第一资源容量。
其中,该预设扩容条件包括以下扩容条件中的一种或多种:
该资源占用率大于或等于预设第一资源占用率,该业务成功率小于或等于预设第二业务成功率,该业务优先级大于或等于预设第一业务优先级,该网络位置为后端。
可选的,该资源管理设备根据该状态参数从该多个VNF中确定第一待缩容VNF的具体方式可以为:
将该多个VNF中该状态参数满足预设缩容条件的VNF作为第一待缩容VNF。
其中,该预设缩容条件包括以下缩容条件中的一种或多种:
该资源占用率小于或等于预设第二资源占用率,该业务成功率大于或等于预设第三业务成功率,该业务优先级小于或等于预设第二业务优先级,该网络位置为前端。
可选的,该资源管理设备根据该第一资源容量对该第一待缩容VNF进行缩容处理的具体方式可以为:获取该第一待缩容VNF上运行的VM的运行状态,包括CPU占用率和RAM占用率等,并根据该第一资源容量和该运行状态确定待关闭VM,并将该待关闭VM关闭,从而该第一待缩容VNF释放部分资源,以增加该资源池的空闲资源容量。
可选的,对该第一待扩容VNF进行扩容处理的具体方式为:
在该第一待扩容VNF上创建VM和/或启动VM,并将该第一资源容量的资源配置给该创建的VM和/或该启动的VM。
本发明实施例第二方面提供了一种资源管理设备,应用于E2E网络,该E2E网络包括多个VNF和管理该多个VNF以及资源池的该资源管理设备,该设备包括:
获取模块,用于获取该多个VNF的状态参数。
确定模块,用于根据该状态参数从该多个VNF中确定出扩容对象,记为第一待扩容VNF,并确定出对该第一待扩容VNF扩容所需的资源容量,记为第一资源容量。
该确定模块,还用于在该资源池当前的空闲资源容量达不到该第一资源容量的情况下,根据该状态参数从该多个VNF中确定出缩容对象,记为第一待缩容VNF。
缩容模块,用于根据该第一资源容量对该第一待缩容VNF进行缩容处理。
扩容模块,用于在该第一待缩容VNF缩容后,该资源池的空闲资源容量达到该第一资源容量的情况下,对该第一待扩容VNF进行扩容处理,从而可以在资源池中的空闲资源不足的情况下保证资源在E2E网络中的各个VNF之间均衡配置,进而提高资源利用率和E2E网络的业务成功率。
可选的,该状态参数包括业务成功率,
该确定模块根据该状态参数从该多个VNF中确定第一待扩容VNF和扩容所需的第一资源容量的具体方式可以为:
根据该多个VNF的业务成功率确定该E2E网络当前的第一业务成功率,并且在该第一业务成功率小于或等于预设第一业务成功率的情况下,才根据该状态参数从该多个VNF中确定出第一待扩容VNF以及扩容所需的第一资源容量,即只有在该E2E网络的业务成功率不能满足业务需求时才对该资源池的资源进行重配置。
可选的,
该获取模块,还用于在该第一待缩容VNF缩容之后,或者,该第一待扩容VNF扩容之后,再次获取该多个VNF的状态参数。
该确定模块,还用于根据该获取模块再次获取的该多个VNF的业务成功率确定该E2E网络当前的第二业务成功率。
其中,该设备还可以包括:
回退模块,用于在该E2E网络的业务成功率下降明显,即该第二业务成功率小于该第 一业务成功率,并且该第一业务成功率减去该第二业务成功率的差值大于或等于预设第一数值的情况下,撤回对该第一待缩容VNF进行的缩容处理或对该第一待扩容VNF进行的扩容处理,可以对缩容处理和扩容处理进行回退,有效改善资源重新配置后导致E2E网络状态变差的情况。
可选的,该设备还可以包括:
延时模块,用于在该E2E网络的业务成功率提升不明显,即该第二业务成功率大于或等于该第一业务成功率,且该第二业务成功率减去该第一业务成功率的差值小于或等于预设第二数值,或者,在该E2E网络的业务成功率有小幅下降,即该第二业务成功率小于该第一业务成功率,且该第一业务成功率减去该第二业务成功率的差值小于或等于预设第三数值的情况下,延时预设时长,等待E2E网络进入稳定工作状态后再进行资源重新配置,可以提高资源重新配置的准确度,进一步提高资源利用率和E2E网络的业务成功率。
可选的,
该确定模块,还用于在该第一待缩容VNF缩容之后,该资源池的空闲资源容量仍然达不到该第一资源容量的情况下,根据该状态参数再次选择缩容对象,记为第二待缩容VNF。
该缩容模块,还用于根据该资源池的空闲资源容量和该第一资源容量对该第二待缩容VNF缩容。
该扩容模块,还用于在该第二待缩容VNF缩容之后,如果该资源池的空闲资源容量达到了该第一资源容量的情况下,对该第一待扩容VNF进行扩容处理,即一次缩容后资源池的空闲资源仍然不足时可以继续选择VNF缩容,直到缩容后资源池的空闲资源容量达到要求为止。
可选的,该状态参数包括资源占用率、业务成功率、业务优先级和网络位置,该确定模块根据该状态参数从该多个VNF中确定第一待扩容VNF和扩容所需的第一资源容量的具体方式可以为:
将该多个VNF中该状态参数满足预设扩容条件的VNF作为第一待扩容VNF,并根据该第一待扩容VNF的状态参数确定扩容所需的第一资源容量。
其中,该预设扩容条件包括以下扩容条件中的一种或多种:
该资源占用率大于或等于预设第一资源占用率,该业务成功率小于或等于预设第二业务成功率,该业务优先级大于或等于预设第一业务优先级,该网络位置为后端。
可选的,该确定模块根据该状态参数从该多个VNF中确定第一待缩容VNF的具体方式可以为:
将该多个VNF中该状态参数满足预设缩容条件的VNF作为第一待缩容VNF。
其中,该预设缩容条件包括以下缩容条件中的一种或多种:
该资源占用率小于或等于预设第二资源占用率,该业务成功率大于或等于预设第三业务成功率,该业务优先级小于或等于预设第二业务优先级,该网络位置为前端。
可选的,该缩容模块具体可以包括:
获取子模块,用于获取该第一待缩容VNF上运行的VM的运行状态,包括CPU占用率和RAM占用率等。
确定子模块,用于根据该第一资源容量和该运行状态确定待关闭VM。
关闭子模块,用于将该待关闭VM关闭,从而该第一待缩容VNF释放部分资源,以增加 该资源池的空闲资源容量。
可选的,该扩容模块具体可以包括:
启动子模块,用于在该第一待扩容VNF上创建VM和/或启动VM。
配置子模块,用于将该第一资源容量的资源配置给该创建的VM和/或该启动的VM。
本发明实施例第三方面提供了一种资源管理设备,应用于E2E网络,该E2E网络包括多个VNF和管理该多个VNF以及资源池的该资源管理设备,该设备包括处理器、网络接口和存储有可执行程序代码的存储器,该处理器调用该存储器中存储的该可执行程序代码,用于通过该网络接口获取该多个VNF的状态参数,根据该状态参数从该多个VNF中确定出扩容对象,记为第一待扩容VNF,并确定出对该第一待扩容VNF扩容所需的资源容量,记为第一资源容量。
该处理器,还用于在该资源池当前的空闲资源容量达不到该第一资源容量时,首先选择VNF进行缩容,可以是根据该状态参数从该多个VNF中确定出缩容对象,记为第一待缩容VNF,并根据该第一资源容量对该第一待缩容VNF进行缩容处理。
该处理器,还用于在该第一待缩容VNF缩容后,该资源池的空闲资源容量达到该第一资源容量时,对该第一待扩容VNF进行扩容处理,从而可以在资源池中的空闲资源不足的情况下保证资源在E2E网络中的各个VNF之间均衡配置,进而提高资源利用率和E2E网络的业务成功率。
可选的,该状态参数包括业务成功率,该处理器根据该状态参数从该多个VNF中确定第一待扩容VNF和扩容所需的第一资源容量的具体方式可以为:
根据该多个VNF的业务成功率确定该E2E网络当前的第一业务成功率,如果该第一业务成功率小于或等于预设第一业务成功率,则才根据该状态参数从该多个VNF中确定出第一待扩容VNF以及扩容所需的第一资源容量,只有在该E2E网络的业务成功率不能满足业务需求时才对该资源池的资源进行重配置。
本发明实施例中,资源管理设备获取E2E网络包括的多个VNF的状态参数,并根据该状态参数从该多个VNF中确定出第一待扩容VNF和扩容所需的第一资源容量;如果资源池当前的空闲资源容量小于该第一资源容量,则该资源管理设备根据该状态参数从该多个VNF中确定出第一待缩容VNF,并根据该第一资源容量对该第一待缩容VNF进行缩容处理,以释放资源到该资源池中;如果该资源管理设备对该第一待缩容VNF进行缩容处理之后,该资源池的空闲资源容量大于或等于该第一资源容量,则该资源管理设备对该第一待扩容VNF进行扩容处理,从而可以在空闲资源不足的情况下保证资源在E2E网络中的各个VNF之间均衡配置,进而提高资源利用率和E2E网络的业务成功率。
附图说明
为了更清楚地说明本发明实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。
图1是本发明实施例提供的一种E2E网络架构示意图;
图2是本发明实施例提供的一种IMS云网络结构示意图;
图3是本发明实施例提供的一种资源管理方法的流程示意图;
图4是本发明实施例提供的另一种资源管理方法的流程示意图;
图5是本发明实施例提供的又一种资源管理方法的流程示意图;
图6是本发明实施例提供的一种资源管理设备的结构示意图;
图7是本发明实施例提供的另一种资源管理设备的结构示意图;
图8是本发明实施例提供的又一种资源管理设备的结构示意图。
具体实施方式
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。
请参阅图1,为本发明实施例提供的一种E2E网络架构示意图。本实施例中所描述的E2E网络,主要包括以下功能构件:
NFV基础设施(英文:NFV Infrastructure,缩写:NFVI),负责为NFV的运行提供所需的虚拟化计算(英文:Virtual Computing)、虚拟化存储(英文:Virtual Storage)和虚拟化网络(英文:Virtual Network)等虚拟化资源,包括COTS的计算硬件(英文:Computing Hardware)、存储硬件(英文:Storage Hardware)、网络硬件(英文:Network Hardware)等底层硬件,以及对底层硬件进行虚拟化的虚拟化层(英文:Virtualization Layer)。
虚拟网络功能(英文:Virtual Network Function,缩写:VNF),是指在NFVI上运行的网络功能(英文:Network Function,缩写:NF)的软件实现,还可以附有组件管理系统(英文:Element Management System,缩写:EMS)用于管理单独的VNF及其特性。VNF相当于网络节点的实体,即网元(英文:Network Element,缩写:NE)。
NFV管理和编排(英文:Management and Orchestration,缩写:MANO),负责编排、支撑底层硬件虚拟化的物理和/或软件资源的生命周期管理以及VNF的生命周期管理。NFV MANO也可以与NFV框架外部的运营支撑系统(英文:operational support system,缩写:OSS)/业务支撑系统(英文:business support system,缩写:BSS)交互,根据OSS/BSS的服务请求实现NFV服务。
其中,上述功能构件的设计方式允许重用现有的解决方案,例如IP多媒体子系统(英文:IP Multimedia Subsystem,缩写:IMS),也可以与需要连接的现有OSS/BSS进行交互。
其中,NFV MANO内部定义了以下功能构件:
NFV编排器(英文:NFV Orchestrator,缩写:NFVO),负责网络业务的生命周期管理,完成网络业务编排,以及跨多个虚拟化基础设施管理器(英文:Virtualized Infrastructure Manager,缩写:VIM)的NFVI资源编排。
VNF管理器(英文:VNF Manager,缩写:VNFM),负责VNF实例的生命周期管理,监测VNF的状态参数,例如VNF的资源占用率、业务成功率、业务优先级等,一个VNFM可以对 应管理单一VNF实例或者多个相同或不同类型的VNF实例,包括:VNF实例化、VNF配置NFVI资源、VNF实例更新、VNF实例缩放、VNF实例终止等。
VIM,负责控制和管理NFVI的计算、存储和网络资源,通常在一个运营商的基础设施子域内。一个VIM可以专门处理某类NFVI资源或者可以管理多种类型的NFVI资源,包括:编排NFVI资源的配置/升级/解除配置/回收利用,管理虚拟化资源(虚拟化计算、虚拟化存储、虚拟化网络)与底层硬件资源(计算硬件、存储硬件、网络硬件)的关联,管理底层硬件资源和软件资源(例如管理程序)的目录。
在此基础上,还可以在NFV MANO内部定义CTRL这一功能构件,可称为资源重配置控制模块,主要负责实现VNF之间的资源重配置算法,使得NFVI资源在各个VNF之间均衡配置。其中,CTRL这一功能构件可以单独设置,也可以集成设置在VNFM或者VIM中。
需要说明的是,NFV MANO可以部署在通用的物理网络设备或者物理服务器上;也可以部署在虚拟机(英文:virtual machine,缩写:VM)上,例如VNF上运行的VM,本发明实施例不做限定。
以图1所示的E2E网络是图2所示的IMS云网络为例,该IMS云网络包括以下网元:会话边界控制器(英文:Session Border Controller,缩写:SBC)、呼叫会话控制功能(英文:Call Session Control Function,缩写:CSCF)、归属用户服务器(英文:Home Subscriber Server,缩写:HSS)、通用语音业务服务器(英文:Advanced Telephony Server,缩写:ATS)和NFV MANO。其中,SBC、CSCF、HSS和ATS即为图1所示的E2E网络架构中的VNF,SBC具体为两个(SBC1和SBC2),SBC1、SBC2为接入侧(即前端)网元,CSCF、HSS和ATS为核心侧(即后端)网元,NFV MANO部署在资源管理设备上,用于监测SBC1、SBC2、CSCF、HSS和ATS的状态参数,用户设备(英文:User Equipment,缩写:UE)通过SBC1或SBC2接入该IMS云网络,假设该IMS云网络的资源池的资源总量一定。
该资源管理设备周期性地获取SBC1、SBC2、CSCF、HSS和ATS的资源占用率、业务成功率、业务优先级、网络位置等状态参数,并根据SBC1、SBC2、CSCF、HSS和ATS的业务成功率确定该IMS云网络的业务成功率,如果该IMS云网络的业务成功率小于某一阈值(例如95%),则该资源管理设备可以启动对该资源池的资源重配置。下面主要从资源占用率的角度对典型应用场景的资源重配置过程进行说明。
具体的,如果是接入侧网元过载而核心侧网元空闲,资源占用率如表1所示:
表1
网元 SBC1 SBC2 CSCF HSS ATS
资源占用率 100% 100% 40% 70% 50%
则该资源管理设备根据前面实施例中步骤S302描述的扩容条件可以确定SBC1和SBC2为扩容对象,假设针对SBC1和SBC2扩容需要的资源容量为4个CPU和3GB的运行内存(英文:Random Access Memory,缩写:RAM),该资源池的空闲资源容量为1个CPU和200M的RAM,显然空闲资源容量不足无法对SBC1和SBC2扩容,该资源管理设备再根据前面实施例中步骤S303描述的缩容条件可以确定CSCF为缩容对象,对CSCF缩容后如果该资源池的空闲资源容量仍然不足,且此时ATS的资源占用率为最低,则该资源管理设备再对ATS缩容, 直到缩容后该资源池的空闲资源容量大于或等于4个CPU和3GB的RAM时,该资源管理设备对SBC1和SBC2扩容,然后可以等待一个观察周期后,再判断该IMS云网络的业务成功率和/或接入侧网元、核心侧网元的状态参数是否满足前面实施例中步骤S409描述的资源重配置结束条件,如果满足,则结束对该资源池的资源重配置;如果不满足,则该资源管理设备重复执行上述操作,直到该IMS云网络的业务成功率和/或接入侧网元、核心侧网元的状态参数满足该资源重配置结束条件。
类似的,如果是接入侧网元空闲而核心侧网元过载,资源占用率如表2所示:
表2
网元 SBC1 SBC2 CSCF HSS ATS
资源占用率 70% 70% 80% 80% 100%
则该资源管理设备根据该扩容条件可以确定ATS为扩容对象,如果该资源池的空闲资源容量不足无法对ATS扩容,该资源管理设备再根据该缩容条件可以确定接入侧网元SBC1和SBC2为缩容对象,可以是先缩容SBC1(或SBC2),如果缩容后空闲资源容量仍然不足,则再缩容SBC2(或SBC1),或者,可以是先缩容SBC1和SBC2中业务优先级低的SBC,如果缩容后空闲资源容量仍然不足,则再缩容业务优先级高的SBC,直到缩容后的空闲资源容量大于或等于对ATS扩容所需的资源容量,并对ATS扩容。
类似的,如果是核心侧网元部分过载,部分空闲,资源占用率如表3所示:
表3
网元 SBC1 SBC2 CSCF HSS ATS
资源占用率 90% 90% 80% 30% 100%
则该资源管理设备根据该扩容条件可以确定ATS为扩容对象,如果该资源池的空闲资源容量不足无法对ATS扩容,该资源管理设备再根据该缩容条件可以确定核心侧网元HSS为缩容对象,如果HSS缩容后的空闲资源容量大于或等于对ATS扩容所需的资源容量,则对ATS扩容。
类似的,如果是接入侧网元和核心侧网元的资源占用率都很高,且都存在过载的网元,资源占用率如表4所示:
表4
网元 SBC1 SBC2 CSCF HSS ATS
资源占用率 100% 100% 90% 90% 100%
则该资源管理设备根据该扩容条件可以确定核心侧过载的网元ATS为扩容对象,如果该资源池的空闲资源容量不足无法对ATS扩容,由于此时核心侧其它网元的资源占用率也很高,该资源管理设备再根据该缩容条件可以确定接入侧网元SBC1和SBC2为缩容对象,可以是先缩容SBC1(或SBC2),如果缩容后空闲资源容量仍然不足,则再缩容SBC2(或SBC1),或者,可以是先缩容SBC1和SBC2中业务优先级低的SBC,如果缩容后空闲资源容量仍然不足,则再缩容业务优先级高的SBC,直到缩容后的空闲资源容量大于或等于对ATS扩容所需的资源容量,并对ATS扩容。
类似的,如果业务优先级高的网元都处于过载状态或者资源占用率很高,假设HSS的业务优先级最低,资源占用率如表5所示:
表5
网元 SBC1 SBC2 CSCF HSS ATS
资源占用率 90% 90% 90% 90% 100%
则该资源管理设备根据该扩容条件可以确定ATS为扩容对象,如果该资源池的空闲资源容量不足无法对ATS扩容,由于HSS的业务优先级最低,即使此时HSS的资源占用率也很高,该资源管理设备再根据该缩容条件可以确定核心侧网元HSS为缩容对象,如果HSS缩容后的空闲资源容量大于或等于对ATS扩容所需的资源容量,则对ATS扩容。
请参阅图3,为本发明实施例基于图1所示的E2E网络架构提供的一种资源管理方法的流程示意图。其中,该E2E网络包括多个VNF和管理该多个VNF以及资源池的资源管理设备,本实施例中所描述的资源管理方法,包括:
S301、资源管理设备获取多个VNF的状态参数。
其中,该资源管理设备上部署有NFV MANO,该状态参数可以包括VNF的资源占用率(即负载)。VNF上部署一个或者多个VM,VNF可以通过该一个或者多个VM完成相应的网络业务,VNF根据部署的VM的数量,各个VM的CPU占用率和RAM占用率,以及VNF的注册/会话资源占用率等参数计算出自身的资源占用率;该状态参数还可以包括输入的业务量、业务成功率、业务优先级。该业务优先级可以存储在该资源管理设备中,由该资源管理设备为该多个VNF分配业务时设置。该状态参数还可以包括网络位置,该资源管理设备可以根据业务经过该多个VNF的先后顺序确定出各个VNF在E2E网络中的位置,可以分为前端(即接入侧)VNF和后端(即核心侧)VNF,并针对各个VNF设置顺序标识,该资源管理设备存储该顺序标识,根据该顺序标识即可确定各个VNF在E2E网络中的位置。
具体的,该资源管理设备可以周期性地向该多个VNF发送状态参数获取请求,并接收该多个VNF响应该状态参数获取请求而上报的资源占用率、业务成功率、业务优先级、网络位置等状态参数,该资源管理设备也可以接收该多个VNF周期性上报的该状态参数,其中,周期具体可以是10秒(英文:s)、1分钟(英文:min)等。
同时,该资源管理设备还可以周期性地根据该E2E网络资源池(即NFVI资源)中底层硬件的CPU占用率、RAM占用率等获取该资源池的资源占用情况,以确定出该资源池中的空闲资源容量,周期具体可以是5s、1min等,该资源管理设备获取该多个VNF的状态参数的周期与获取该资源池中的空闲资源容量的周期可以相同,也可以不同,且对于这两个周期的具体值本发明实施例也不做限定。
S302、该资源管理设备根据该状态参数从该多个VNF中确定第一待扩容VNF和扩容所需的第一资源容量。
具体的,该资源管理设备根据该多个VNF的业务成功率确定该E2E网络的第一业务成功率,该第一业务成功率可以为该多个VNF的业务成功率的乘积,如果该第一业务成功率小于或等于预设第一业务成功率(例如90%),则该资源管理设备确定启动本次流程对该资源池的资源重配置,进而将该多个VNF中该状态参数满足预设扩容条件的VNF作为扩容对象(记为第一待扩容VNF)。
其中,该预设扩容条件可以包括以下扩容条件中的一种或多种:资源占用率大于或等于预设第一资源占用率(例如90%),业务成功率小于或等于预设第二业务成功率(例如95%),业务优先级大于或等于预设第一业务优先级(即业务优先级较高),网络位置为后端。如果网络位置相同的VNF有多个,则业务优先级高的VNF优先扩容,例如,业务成功率小于或等于该预设第二业务成功率和/或资源占用率大于或等于该预设第一资源占用率的VNF有多个,则优先扩容后端VNF,如果该后端VNF也有多个,则优先扩容业务优先级最高的VNF。
进一步的,该资源管理设备根据该第一待扩容VNF的状态参数确定扩容所需的资源容量(记为第一资源容量),具体可以根据资源占用率、业务成功率、业务优先级和网络位置中的至少一个确定对该第一待扩容VNF进行扩容需要的第一资源容量,例如,资源占用率越高,业务成功率越低,业务优先级越高,位于后端的VNF,对其扩容所需的第一资源容量越多。一般地,该第一资源容量可以是一个VM和VNF上相关软件运行时所需的CPU、RAM等资源的容量,即扩容时该资源管理设备以一个VM为扩容粒度。
在一些可行的实施方式中,该资源管理设备也可以在该E2E网络中处于过载流控状态(即资源占用率为100%)或者资源占用率超过某一阈值(例如97%)的VNF的数量超过预设数量(例如3个)时,确定启动本次流程对该资源池的资源重配置。该资源管理设备还可以在该E2E网络中处于过载流控状态或者资源占用率超过某一阈值的VNF的数量超过预设数量,并且该E2E网络的业务成功率小于或等于某一阈值时,确定启动本次流程对该资源池的资源重配置。即本发明实施例中,该资源管理设备可以根据该E2E网络的业务成功率和各个VNF的资源占用率中的至少一个确定是否需要启动本次流程对该资源池的资源重配置。
S303、当资源池的空闲资源容量小于该第一资源容量时,该资源管理设备根据该状态参数从该多个VNF中确定第一待缩容VNF,并根据该第一资源容量对该第一待缩容VNF进行缩容处理。
具体的,如果该资源池当前的空闲资源容量达不到对该第一待扩容VNF进行扩容所需的第一资源容量时,在该资源池无法扩容的情况下,该资源管理设备无法对该第一待扩容VNF进行扩容,此时该资源管理设备可以将该多个VNF中该状态参数满足预设缩容条件的VNF作为缩容对象(记为第一待缩容VNF)。
其中,该预设缩容条件包括以下缩容条件中的一种或多种:资源占用率小于或等于预设第二资源占用率(例如75%),业务成功率大于或等于预设第三业务成功率(例如97%),业务优先级小于或等于预设第二业务优先级(即业务优先级较低),网络位置为前端。如果网络位置相同的VNF有多个,则业务优先级低的VNF优先缩容,例如,业务成功率大于或等于该预设第三业务成功率和/或资源占用率小于或等于该预设第二资源占用率的VNF有多个,则优先缩容前端VNF,如果该前端VNF也有多个,则优先缩容业务优先级最低的VNF。
进一步的,该资源管理设备根据扩容所需的该第一资源容量对该第一待缩容VNF进行缩容处理,以使得该第一待缩容VNF释放部分资源,缩容处理的具体方式可以是:该资源管理设备获取该第一待缩容VNF上运行的VM的运行状态,包括VM的数量,各个VM的CPU占用率和RAM占用率等,进而根据该第一资源容量和该运行状态确定可以释放资源的待关闭VM,并将该待关闭VM关闭,从而该第一待缩容VNF释放部分资源,以增加该资源池的空闲资源容量。一般的,缩容时该资源管理设备可以以一个VM为缩容粒度。
S304、当该资源管理设备根据该第一资源容量对该第一待缩容VNF进行缩容处理之后,该资源池的空闲资源容量大于或等于该第一资源容量时,该资源管理设备对该第一待扩容VNF进行扩容处理。
具体的,该第一待缩容VNF缩容后,如果该资源池当前的空闲资源容量达到了扩容所需的该第一资源容量,则该资源管理设备即可对该第一待扩容VNF进行扩容处理,扩容处理的具体方式可以是:如果该第一待扩容VNF上没有已创建但未启动的VM,则该资源管理设备在该第一待扩容VNF上创建一个或者多个VM,并将该第一资源容量的资源配置给创建的一个或者多个VM,启动创建的一个或者多个VM;如果该第一待扩容VNF上存在已创建但未启动的VM,则该资源管理设备可以启动该已创建但未启动的VM,将该第一资源容量的资源配置给该已创建但未启动的VM。其中,VM启动的同时,VNF上相关的业务、监控等软件也会启动。
在一些可行的实施方式中,如果该第一待缩容VNF缩容释放部分资源后,该资源池的空闲资源容量仍然达不到扩容所需的该第一资源容量,则该资源管理设备可以再次获取该多个VNF的状态参数,并根据再次获取的该多个VNF的状态参数从该多个VNF中确定缩容对象(记为第二待缩容VNF)。当然,在该第一待缩容VNF缩容后如果该E2E网络的状态(包括业务成功率、各个VNF的资源占用率等)没有发生较大变化,则该资源管理设备也可以直接利用在步骤S301中获取的该多个VNF的状态参数确定该第二待缩容VNF。
进一步的,该资源管理设备根据该资源池的空闲资源容量和该第一资源容量确定需要再次通过缩容得到的资源容量,并对该第二待缩容VNF进行缩容处理,如果该第二待缩容VNF缩容后,该资源池的空闲资源容量达到了扩容所需的该第一资源容量,则该资源管理设备才对该第一待扩容VNF进行扩容处理。
本发明实施例中,资源管理设备获取E2E网络包括的多个VNF的状态参数,在该E2E网络的业务成功率低于预设值时,根据该状态参数从该多个VNF中确定出第一待扩容VNF和扩容所需的第一资源容量;如果资源池当前的空闲资源容量小于该第一资源容量,则该资源管理设备根据该状态参数从该多个VNF中确定出第一待缩容VNF,并根据该第一资源容量对该第一待缩容VNF进行缩容处理,以释放资源到该资源池中,直到该资源池的空闲资源容量大于或等于该第一资源容量,该资源管理设备对该第一待扩容VNF进行扩容处理,从而可以在资源池中的空闲资源不足的情况下保证资源在E2E网络中的各个VNF之间均衡配置,进而提高资源利用率和E2E网络的业务成功率。
请参阅图4,为本发明实施例基于图1所示的E2E网络架构提供的另一种资源管理方法的流程示意图。其中,该E2E网络包括多个VNF和管理该多个VNF以及资源池的资源管理设备,本实施例中所描述的资源管理方法,包括:
其中,步骤S401-步骤S403与前面实施例中的步骤S301-步骤S303相同,本发明实施例此处不再赘述。
S404、该资源管理设备再次获取该多个VNF的状态参数。
S405、该资源管理设备根据再次获取的该多个VNF的业务成功率确定E2E网络的第二业务成功率。
具体的,该第一待缩容VNF缩容后,由于该多个VNF之间重新负载均衡需要一定的时 间,该资源管理设备可以等待一个观察周期的时长,该观察周期可以为获取该多个VNF的状态参数的周期,例如10s,当等待时长达到该观察周期时,该资源管理设备再次获取该多个VNF的状态参数,并根据再次获取的该多个VNF的业务成功率确定此时该E2E网络的第二业务成功率,该第二业务成功率可以为该多个VNF的业务成功率的乘积。
S406、该资源管理设备判断该第二业务成功率是否小于该E2E网络的第一业务成功率,且该第一业务成功率减去该第二业务成功率的差值大于或等于预设第一数值,若是,则执行步骤S407;若否,则执行步骤S408和步骤S409。
具体的,该资源管理设备通过比较该第二业务成功率与该第一待缩容VNF缩容之前的该第一业务成功率确定对该第一待缩容VNF缩容后,该E2E网络的业务成功率是否有明显下降,即该第一业务成功率减去该第二业务成功率的差值是否大于或等于预设第一数值(例如3%),如果该E2E网络的业务成功率有明显下降,则执行步骤S407;如果该E2E网络的业务成功率没有明显下降或者上升,则执行步骤S408和步骤S409。
S407、该资源管理设备对对该第一待缩容VNF进行的缩容处理进行回退操作。
具体的,该第一待缩容VNF缩容后,如果该E2E网络的业务成功率有明显下降,则该资源管理设备将该第一待缩容VNF缩容释放的资源重新配置给该第一待缩容VNF,启动该待关闭VM,取消对该第一待缩容VNF的缩容处理,使得该E2E网络尽可能的恢复到该第一待缩容VNF缩容之前的状态,以削弱该第一待缩容VNF缩容导致该E2E网络业务成功率的明显下降。
S408、当该资源管理设备根据该第一资源容量对该第一待缩容VNF进行缩容处理之后,该资源池的空闲资源容量大于或等于该第一资源容量时,该资源管理设备对该第一待扩容VNF进行扩容处理。
S409、当该第二业务成功率大于或等于该第一业务成功率,且该第二业务成功率减去该第一业务成功率的差值小于或等于预设第二数值,或者,该第二业务成功率小于该第一业务成功率,且该第一业务成功率减去该第二业务成功率的差值小于或等于预设第三数值时,该资源管理设备延时预设时长,并在延时过程中不根据该多个VNF的状态参数从该多个VNF中确定待扩容VNF和扩容所需的资源容量。
具体的,该资源管理设备通过比较该第二业务成功率与该第一业务成功率确定该E2E网络的业务成功率是否有明显上升或者小幅下降,如果该第二业务成功率大于或等于该第一业务成功率,并且该第二业务成功率减去该第一业务成功率的差值小于或等于预设第二数值(例如5%),则该资源管理设备确定该E2E网络的业务成功率没有明显上升。如果该第二业务成功率小于该第一业务成功率,并且该第一业务成功率减去该第二业务成功率的差值小于或等于预设第三数值(例如2%),则该资源管理设备确定该E2E网络的业务成功率有小幅下降。
进一步的,在该资源管理设备确定该E2E网络的业务成功率没有明显上升或者有小幅下降时,该资源管理设备可以延时预设时长,并在延时期间不再根据该多个VNF的状态参数从该多个VNF中确定待扩容VNF和扩容所需的资源容量,即暂停对VNF的缩容、扩容,预设时长可以是三倍于获取该多个VNF的状态参数的周期。
进一步的,该资源管理设备可以在确定出连续多次(例如3次)进行缩容和扩容处理后该E2E网络的业务成功率仍然没有明显上升或者有小幅下降时的情况下,才延时预设时 长,并在延时期间不再根据该多个VNF的状态参数从该多个VNF中确定待扩容VNF和扩容所需的资源容量,防止出现某一次的误判而导致该资源管理设备暂停对VNF的缩容、扩容。
需要说明的是,该资源管理设备在延时期间仍然可以周期性地获取该多个VNF的状态参数以及该资源池的空闲资源容量。
在一些可行的实施方式中,步骤S404-步骤S407也可以在步骤S408之后执行,此时该资源管理设备通过比较该第二业务成功率与该第一待扩容VNF扩容之前的该第一业务成功率确定对该第一待扩容VNF扩容后,如果该E2E网络的业务成功率有明显下降,则该资源管理设备对对该第一待扩容VNF进行的扩容处理进行回退操作,即将配置给该第一待扩容VNF的该第一资源容量的资源释放,使得该E2E网络尽可能的恢复到该第一待扩容VNF扩容之前的状态,以削弱该第一待扩容VNF扩容导致该E2E网络业务成功率的明显下降。
在一些可行的实施方式中,步骤S404-步骤S407可以在步骤S403之后执行,并在步骤S408之后也执行,即该资源管理设备在对该第一待缩容VNF进行缩容处理后,以及对该第一待扩容VNF进行扩容处理后,均比较该E2E网络在缩容处理或扩容处理后的业务成功率与该缩容处理或该扩容处理前的业务成功率,确定该E2E网络的业务成功率是否有明显下降,如果是,则该资源管理设备对该缩容处理或该扩容处理进行回退操作,即将该第一待缩容VNF缩容释放的资源重新配置给该第一待缩容VNF,或者将配置给该第一待扩容VNF的该第一资源容量的资源释放,以削弱该缩容处理或该扩容处理导致该E2E网络业务成功率的明显下降。
进一步的,当该第二业务成功率和/或该多个VNF的状态参数满足预设资源重配置结束条件时,该资源管理设备不再根据该多个VNF的状态参数从该多个VNF中确定待扩容VNF和扩容所需的资源容量,以结束本次流程中对该资源池的资源重配置,其中,该预设资源重配置结束条件具体可以包括以下资源重配置结束条件中的一种或多种:
1)该E2E网络的第二业务成功率大于或等于预设第四业务成功率(例如98%),即对VNF经过缩容再扩容后该E2E网络的业务成功率提升明显或者说该E2E网络的业务成功率已经符合要求。
2)该多个VNF的资源占用率均小于或等于预设第三资源占用率(例如90%),即对VNF经过缩容再扩容后该E2E网络处于负载均衡状态。
3)该多个VNF中前端VNF过载流控(例如资源占用率达到100%)且其它的任意两个VNF之间资源占用率差值的绝对值小于或等于预设第四数值(例如3%),即对VNF经过缩容再扩容后该E2E网络中虽然前端VNF处于过载流控状态但是其它VNF之间已经达到负载均衡状态,此时也可以认为该E2E网络已处于负载均衡状态。
4)该多个VNF均无可释放的资源,该资源管理设备可以设置各个VNF占有的最小资源容量,如果当前各个VNF占有的资源容量都为最小资源容量,即使有VNF的资源占用率较低,也无法再缩容。
5)连续多次(例如3次)出现缩容、扩容后该E2E网络的业务成功率相比于缩容、扩容前的业务成功率没有明显提升,和/或,连续多次(例如3次)出现缩容、扩容后该E2E网络仍然没有达到负载均衡状态,负载均衡状态具体可以为2)和3)中的描述。
需要说明的是,本次流程对该资源池的资源重配置结束后,该资源管理设备可以循环执行步骤S401-步骤S409。
本发明实施例中,资源管理设备获取E2E网络包括的多个VNF的状态参数,在该E2E网络的业务成功率低于预设值时,根据该状态参数从该多个VNF中确定出第一待扩容VNF和扩容所需的第一资源容量;如果资源池当前的空闲资源容量小于该第一资源容量,则该资源管理设备根据该状态参数从该多个VNF中确定出第一待缩容VNF,并根据该第一资源容量对该第一待缩容VNF进行缩容处理,以释放资源到该资源池中;该资源管理设备根据再次获取的该多个VNF的业务成功率确定该E2E网络的第二业务成功率,通过比较该第二业务成功率和缩容之前获取的该E2E网络的第一业务成功率确定该E2E网络的业务成功率是否有明显下降,若是,则回退对该第一待缩容VNF的缩容处理。若否,则在该资源池的空闲资源容量大于或等于该第一资源容量时,对该第一待扩容VNF进行扩容处理,从而可以在资源池中的空闲资源不足的情况下保证资源在E2E网络中的各个VNF之间均衡配置,进而提高资源利用率和E2E网络的业务成功率,并且可以对缩容处理和扩容处理进行回退,有效改善资源重新配置后导致E2E网络状态变差的情况。该资源管理设备还可以通过比较该第二业务成功率和缩容之前获取的该E2E网络的第一业务成功率确定该E2E网络的业务成功率是否有明显上升或者小幅下降,若是,则在延时一段时间后再进行待扩容VNF的确定,即等待E2E网络进入稳定工作状态后再进行资源重新配置,可以提高资源重新配置的准确度,进一步提高资源利用率和E2E网络的业务成功率。
请参阅图5,为本发明实施例基于图1所示的E2E网络架构提供的又一种资源管理方法的流程示意图。其中,该E2E网络包括多个VNF和管理该多个VNF以及资源池的资源管理设备,本实施例中所描述的资源管理方法,包括:
其中,步骤S501-步骤S503与前面实施例中的步骤S301-步骤S303相同,本发明实施例此处不再赘述。
S504、该资源管理设备再次获取该多个VNF的状态参数。
S505、该资源管理设备根据再次获取的该多个VNF的状态参数从该多个VNF中确定第二待扩容VNF和扩容所需的第二资源容量。
具体的,该资源管理设备对该第一待缩容VNF进行缩容处理后,为防止该E2E网络的状态(例如该E2E网络的业务成功率,各个VNF的资源占用率等)发生较大变化,可以再次获取该多个VNF的状态参数,并根据再次获取的该多个VNF的状态参数从该多个VNF中重新确定扩容对象(记为第二待扩容VNF),可以将该多个VNF中该状态参数满足预设扩容条件的VNF作为该第二待扩容VNF,根据该第二待扩容VNF的状态参数确定扩容所需的资源容量(记为第二资源容量)。
其中,该预设扩容条件可以参见前面实施例中步骤S302的相关描述,此处不再赘述。
可以理解的是,该第二待扩容VNF与该第一待扩容VNF可以是同一个VNF,也可以是不同的VNF。
S506、当该资源管理设备根据该第一资源容量对该第一待缩容VNF进行缩容处理之后,该资源池的空闲资源容量大于或等于该第二资源容量时,该资源管理设备对该第二待扩容VNF进行扩容处理,并不对该第一待扩容VNF进行扩容处理。
具体的,该第一待缩容VNF缩容后,如果该资源池当前的空闲资源容量达到了对该第二待扩容VNF进行扩容所需的该第二资源容量,则该资源管理设备即可对该第二待扩容VNF 进行扩容处理。如果该第二待扩容VNF与该第一待扩容VNF是不同的VNF,则由于此时的扩容对象是该第二待扩容VNF,因此,该资源管理设备不对该第一待扩容VNF进行扩容处理。
其中,扩容处理的具体方式可以参见前面实施例中步骤S304的相关描述,此处不再赘述。
本发明实施例中,资源管理设备获取E2E网络包括的多个VNF的状态参数,在该E2E网络的业务成功率低于预设值时,根据该状态参数从该多个VNF中确定出第一待扩容VNF和扩容所需的第一资源容量;如果资源池当前的空闲资源容量小于该第一资源容量,则该资源管理设备根据该状态参数从该多个VNF中确定出第一待缩容VNF,并根据该第一资源容量对该第一待缩容VNF进行缩容处理,以释放资源到该资源池中;该资源管理设备再次获取该多个VNF的状态参数,并根据再次获取的状态参数重新确定扩容对象(记为第二待扩容VNF)和扩容所需的第二资源容量,如果该资源池的空闲资源容量大于或等于该第二资源容量,则该资源管理设备对该第二待扩容VNF进行扩容处理,在缩容后重新确定扩容对象,可以有效防止缩容导致E2E网络状态发生较大变化时选择的扩容对象不准确的情况发生,提高缩容、扩容的准确度,进而可以提高资源利用率和E2E网络的业务成功率。
请参阅图6,为本发明实施例提供的一种资源管理设备的结构示意图。本实施例中所描述的资源管理设备应用于E2E网络,该E2E网络包括多个VNF和管理该多个VNF以及资源池的该资源管理设备,包括:
获取模块601,用于获取该多个VNF的状态参数。
确定模块602,用于根据该状态参数从该多个VNF中确定第一待扩容VNF和扩容所需的第一资源容量。
其中,该状态参数包括资源占用率、业务成功率、业务优先级和网络位置。
具体的,该确定模块602可以将该多个VNF中该状态参数满足预设扩容条件的VNF作为第一待扩容VNF,并根据该第一待扩容VNF的状态参数确定扩容所需的第一资源容量。
其中,该预设扩容条件包括以下扩容条件中的一种或多种。
该资源占用率大于或等于预设第一资源占用率,该业务成功率小于或等于预设第二业务成功率,该业务优先级大于或等于预设第一业务优先级,该网络位置为后端。
该确定模块602,还用于当该资源池的空闲资源容量小于该第一资源容量时,根据该状态参数从该多个VNF中确定第一待缩容VNF。
具体的,该确定模块602可以将该多个VNF中该状态参数满足预设缩容条件的VNF作为第一待缩容VNF。
其中,该预设缩容条件包括以下缩容条件中的一种或多种:
该资源占用率小于或等于预设第二资源占用率,该业务成功率大于或等于预设第三业务成功率,该业务优先级小于或等于预设第二业务优先级,该网络位置为前端。
缩容模块603,用于根据该第一资源容量对该第一待缩容VNF进行缩容处理。
具体的,该缩容模块603可以包括:
获取子模块6030,用于获取该第一待缩容VNF上运行的VM的运行状态。
确定子模块6031,用于根据该第一资源容量和该运行状态确定待关闭VM。
关闭子模块6032,用于将该待关闭VM关闭。
扩容模块604,用于当该缩容模块根据该第一资源容量对该第一待缩容VNF进行缩容处理之后,该资源池的空闲资源容量大于或等于该第一资源容量时,对该第一待扩容VNF进行扩容处理。
具体的,该扩容模块604可以包括:
启动子模块6040,用于在该第一待扩容VNF上创建VM和/或启动VM;
配置子模块6041,用于将该第一资源容量的资源配置给该创建的VM和/或该启动的VM。
在一些可行的实施方式中,该状态参数包括业务成功率,
该确定模块602,还用于根据该多个VNF的业务成功率确定该E2E网络的第一业务成功率。
该确定模块602根据该状态参数从该多个VNF中确定第一待扩容VNF和扩容所需的第一资源容量的具体方式为:
当该E2E网络的第一业务成功率小于或等于预设第一业务成功率时,根据该状态参数从该多个VNF中确定第一待扩容VNF和扩容所需的第一资源容量。
在一些可行的实施方式中,
该获取模块601,还用于再次获取该多个VNF的状态参数。
该确定模块602,还用于根据该获取模块再次获取的该多个VNF的业务成功率确定该E2E网络的第二业务成功率。
其中,该资源管理设备还包括:
回退模块605,用于当该第二业务成功率小于该第一业务成功率,且该第一业务成功率减去该第二业务成功率的差值大于或等于预设第一数值时,对对该第一待缩容VNF进行的缩容处理或对该第一待扩容VNF进行的扩容处理进行回退操作。
延时模块606,用于当该第二业务成功率大于或等于该第一业务成功率,且该第二业务成功率减去该第一业务成功率的差值小于或等于预设第二数值,或者,该第二业务成功率小于该第一业务成功率,且该第一业务成功率减去该第二业务成功率的差值小于或等于预设第三数值时,延时预设时长。
其中,该确定模块602,还用于在该延时模块延时过程中不根据该多个VNF的状态参数从该多个VNF中确定待扩容VNF和扩容所需的资源容量。
本发明实施例中,资源管理设备获取E2E网络包括的多个VNF的状态参数,在该E2E网络的业务成功率低于预设值时,根据该状态参数从该多个VNF中确定出第一待扩容VNF和扩容所需的第一资源容量;如果资源池当前的空闲资源容量小于该第一资源容量,则该资源管理设备根据该状态参数从该多个VNF中确定出第一待缩容VNF,并根据该第一资源容量对该第一待缩容VNF进行缩容处理,以释放资源到该资源池中;该资源管理设备根据再次获取的该多个VNF的业务成功率确定该E2E网络的第二业务成功率,通过比较该第二业务成功率和缩容之前获取的该E2E网络的第一业务成功率确定该E2E网络的业务成功率是否有明显下降,若是,则回退对该第一待缩容VNF的缩容处理。若否,则在该资源池的空闲资源容量大于或等于该第一资源容量时,对该第一待扩容VNF进行扩容处理,从而可以在资源池中的空闲资源不足的情况下保证资源在E2E网络中的各个VNF之间均衡配置,进而提高资源利用率和E2E网络的业务成功率,并且可以对缩容处理和扩容处理进行回退,有效改善资源重新配置后导致E2E网络状态变差的情况。该资源管理设备还可以通过比较 该第二业务成功率和缩容之前获取的该E2E网络的第一业务成功率确定该E2E网络的业务成功率是否有明显上升或者小幅下降,若是,则在延时一段时间后再进行待扩容VNF的确定,即等待E2E网络进入稳定工作状态后再进行资源重新配置,可以提高资源重新配置的准确度,进一步提高资源利用率和E2E网络的业务成功率。
请参阅图7,为本发明实施例提供的另一种资源管理设备的结构示意图。其中,本实施例中所描述的资源管理设备应用于E2E网络,该E2E网络包括多个VNF和管理该多个VNF以及资源池的该资源管理设备,包括:
获取模块701,用于获取该多个VNF的状态参数。
确定模块702,用于根据该状态参数从该多个VNF中确定第一待扩容VNF和扩容所需的第一资源容量。
该确定模块702,还用于当该资源池的空闲资源容量小于该第一资源容量时,根据该状态参数从该多个VNF中确定第一待缩容VNF。
缩容模块703,用于根据该第一资源容量对该第一待缩容VNF进行缩容处理。
扩容模块704,用于当该缩容模块根据该第一资源容量对该第一待缩容VNF进行缩容处理之后,该资源池的空闲资源容量大于或等于该第一资源容量时,对该第一待扩容VNF进行扩容处理。
在一些可行的实施方式中,
该确定模块702,还用于当该缩容模块根据该第一资源容量对该第一待缩容VNF进行缩容处理之后,该资源池的空闲资源容量小于该第一资源容量时,根据该述状态参数从该多个VNF中确定第二待缩容VNF。
该缩容模块703,还用于根据该资源池的空闲资源容量和该第一资源容量对该第二待缩容VNF进行缩容处理。
该扩容模块704,还用于当该缩容模块根据该资源池的空闲资源容量和该第一资源容量对该第二待缩容VNF进行缩容处理之后,该资源池的空闲资源容量大于或等于该第一资源容量时,对该第一待扩容VNF进行扩容处理。
在一些可行的实施方式中,
该获取模块701,还用于再次获取该多个VNF的状态参数。
该确定模块702,还用于根据该获取模块再次获取的该多个VNF的状态参数从该多个VNF中确定第二待扩容VNF和扩容所需的第二资源容量。
该扩容模块704,还用于当该缩容模块根据该第一资源容量对该第一待缩容VNF进行缩容处理之后,该资源池的空闲资源容量大于或等于该第二资源容量时,对该第二待扩容VNF进行扩容处理,并不对该第一待扩容VNF进行扩容处理。
本发明实施例中,资源管理设备获取E2E网络包括的多个VNF的状态参数,在该E2E网络的业务成功率低于预设值时,根据该状态参数从该多个VNF中确定出第一待扩容VNF和扩容所需的第一资源容量;如果资源池当前的空闲资源容量小于该第一资源容量,则该资源管理设备根据该状态参数从该多个VNF中确定出第一待缩容VNF,并根据该第一资源容量对该第一待缩容VNF进行缩容处理,以释放资源到该资源池中,如果缩容后该资源池的空闲资源容量仍然不足,则继续选择VNF进行缩容;该资源管理设备再次获取该多个VNF 的状态参数,并根据再次获取的状态参数重新确定扩容对象(记为第二待扩容VNF)和扩容所需的第二资源容量,如果该资源池的空闲资源容量大于或等于该第二资源容量,则该资源管理设备对该第二待扩容VNF进行扩容处理,在缩容后重新确定扩容对象,可以有效防止缩容导致E2E网络状态发生较大变化时选择的扩容对象不准确的情况发生,提高缩容、扩容的准确度,进而可以提高资源利用率和E2E网络的业务成功率。
请参阅图8,为本发明实施例提供的又一种资源管理设备的结构示意图。其中,本实施例中所描述的资源管理设备应用于E2E网络,该E2E网络包括多个VNF和管理该多个VNF以及资源池的该资源管理设备,包括:处理器801、网络接口802和存储器803,上述处理器801、网络接口802和存储器803通过总线804连接,其中:
上述网络接口802与该多个VNF等网络设备相连。上述网络接口802的数量可以是一个或者多个。上述网络接口802的类型可以是有线接口,无线接口或二者的组合。有线接口例如可以为以太网接口,以太网接口可以是光接口,电接口或二者的组合,无线接口例如可以为无线局域网(英文:Wireless Local Area Network,缩写:WLAN)接口,蜂窝网络接口或二者的组合。
上述存储器803可以包括易失性存储器(英文:Volatile Memory),例如RAM;也可以包括非易失性存储器(英文:Non-Volatile Memory),例如只读存储器(英文:Read-Only Memory,缩写:ROM),快闪存储器(英文:Flash Memory),硬盘(英文:Hard Disk Drive,缩写:HDD)或固态硬盘(英文:Solid-State Drive,缩写:SSD);还可以包括上述种类的存储器的组合。
上述处理器801用于调用存储器803中存储的程序代码,执行如下操作:
上述处理器801,用于通过网络接口802获取该多个VNF的状态参数。
上述处理器801,还用于根据该状态参数从该多个VNF中确定第一待扩容VNF和扩容所需的第一资源容量。
上述处理器801,还用于当该资源池的空闲资源容量小于该第一资源容量时,根据该状态参数从该多个VNF中确定第一待缩容VNF。
上述处理器801,还用于根据该第一资源容量对该第一待缩容VNF进行缩容处理。
上述处理器801,还用于在根据该第一资源容量对该第一待缩容VNF进行缩容处理之后,该资源池的空闲资源容量大于或等于该第一资源容量时,对该第一待扩容VNF进行扩容处理。
在一些可行的实施方式中,该状态参数包括业务成功率,
上述处理器801,还用于根据该多个VNF的业务成功率确定该E2E网络的第一业务成功率。
上述处理器801根据该状态参数从该多个VNF中确定第一待扩容VNF和扩容所需的第一资源容量的具体方式为:
当该E2E网络的第一业务成功率小于或等于预设第一业务成功率时,根据该状态参数从该多个VNF中确定第一待扩容VNF和扩容所需的第一资源容量。
进一步的,
上述处理器801,还用于通过网络接口802再次获取该多个VNF的状态参数,并根据该 多个VNF的业务成功率确定该E2E网络的第二业务成功率。
上述处理器801,还用于当该第二业务成功率小于该第一业务成功率,且该第一业务成功率减去该第二业务成功率的差值大于或等于预设第一数值时,对对该第一待缩容VNF进行的缩容处理或对该第一待扩容VNF进行的扩容处理进行回退操作。
进一步的,
上述处理器801,还用于当该第二业务成功率大于或等于该第一业务成功率,且该第二业务成功率减去该第一业务成功率的差值小于或等于预设第二数值,或者,该第二业务成功率小于该第一业务成功率,且该第一业务成功率减去该第二业务成功率的差值小于或等于预设第三数值时,延时预设时长,并在延时过程中不根据该多个VNF的状态参数从该多个VNF中确定待扩容VNF和扩容所需的资源容量。
在一些可行的实施方式中,
上述处理器801,还用于在根据该第一资源容量对该第一待缩容VNF进行缩容处理之后,该资源池的空闲资源容量小于该第一资源容量时,根据该状态参数从该多个VNF中确定第二待缩容VNF,并根据该资源池的空闲资源容量和该第一资源容量对该第二待缩容VNF进行缩容处理。
上述处理器801,还用于在根据该资源池的空闲资源容量和该第一资源容量对该第二待缩容VNF进行缩容处理之后,该资源池的空闲资源容量大于或等于该第一资源容量时,对该第一待扩容VNF进行扩容处理。
在一些可行的实施方式中,该状态参数包括资源占用率、业务成功率、业务优先级和网络位置,上述处理器801根据该状态参数从该多个VNF中确定第一待扩容VNF和扩容所需的第一资源容量的具体方式为:
将该多个VNF中该状态参数满足预设扩容条件的VNF作为第一待扩容VNF。
根据该第一待扩容VNF的状态参数确定扩容所需的第一资源容量。
其中,该预设扩容条件包括以下扩容条件中的一种或多种:
该资源占用率大于或等于预设第一资源占用率,该业务成功率小于或等于预设第二业务成功率,该业务优先级大于或等于预设第一业务优先级,该网络位置为后端。
进一步的,
上述处理器801根据该状态参数从该多个VNF中确定第一待缩容VNF的具体方式为:
将该多个VNF中该状态参数满足预设缩容条件的VNF作为第一待缩容VNF。
其中,该预设缩容条件包括以下缩容条件中的一种或多种:
该资源占用率小于或等于预设第二资源占用率,该业务成功率大于或等于预设第三业务成功率,该业务优先级小于或等于预设第二业务优先级,该网络位置为前端。
在一些可行的实施方式中,
上述处理器801根据该第一资源容量对该第一待缩容VNF进行缩容处理的具体方式为:
获取该第一待缩容VNF上运行的VM的运行状态。
根据该第一资源容量和该运行状态确定待关闭VM,并将该待关闭VM关闭。
在一些可行的实施方式中,
上述处理器801对该第一待扩容VNF进行扩容处理的具体方式为:
在该第一待扩容VNF上创建VM和/或启动VM,并将该第一资源容量的资源配置给该创 建的VM和/或该启动的VM。
本发明实施例中,资源管理设备获取E2E网络包括的多个VNF的状态参数,在该E2E网络的业务成功率低于预设值时,根据该状态参数从该多个VNF中确定出第一待扩容VNF和扩容所需的第一资源容量;如果资源池当前的空闲资源容量小于该第一资源容量,则该资源管理设备根据该状态参数从该多个VNF中确定出第一待缩容VNF,并根据该第一资源容量对该第一待缩容VNF进行缩容处理,以释放资源到该资源池中,直到该资源池的空闲资源容量大于或等于该第一资源容量,该资源管理设备对该第一待扩容VNF进行扩容处理,从而可以在资源池中的空闲资源不足的情况下保证资源在E2E网络中的各个VNF之间均衡配置,进而提高资源利用率和E2E网络的业务成功率。
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过计算机程序来指令相关的硬件来完成,所述的程序可存储于一计算机可读取存储介质中,该程序在执行时,可包括如上述各方法的实施例的流程。其中,所述的存储介质可为磁碟、光盘、只读存储记忆体(Read-Only Memory,ROM)或随机存取存储器(Random Access Memory,简称RAM)等。
以上对本发明实施例所提供的一种资源管理方法及设备进行了详细介绍,本文中应用了具体个例对本发明的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本发明的方法及其核心思想;同时,对于本领域的一般技术人员,依据本发明的思想,在具体实施方式及应用范围上均会有改变之处,综上所述,本说明书内容不应理解为对本发明的限制。

Claims (20)

  1. 一种资源管理方法,应用于端到端E2E网络,所述E2E网络包括多个虚拟网络功能VNF和管理所述多个VNF以及资源池的资源管理设备,其特征在于,所述方法包括:
    所述资源管理设备获取所述多个VNF的状态参数;
    所述资源管理设备根据所述状态参数从所述多个VNF中确定第一待扩容VNF和扩容所需的第一资源容量;
    当所述资源池的空闲资源容量小于所述第一资源容量时,所述资源管理设备根据所述状态参数从所述多个VNF中确定第一待缩容VNF,并根据所述第一资源容量对所述第一待缩容VNF进行缩容处理;
    当所述资源管理设备根据所述第一资源容量对所述第一待缩容VNF进行缩容处理之后,所述资源池的空闲资源容量大于或等于所述第一资源容量时,所述资源管理设备对所述第一待扩容VNF进行扩容处理。
  2. 根据权利要求1所述的方法,其特征在于,所述状态参数包括业务成功率,所述资源管理设备根据所述状态参数从所述多个VNF中确定第一待扩容VNF和扩容所需的第一资源容量,包括:
    所述资源管理设备根据所述多个VNF的业务成功率确定所述E2E网络的第一业务成功率;
    当所述E2E网络的第一业务成功率小于或等于预设第一业务成功率时,所述资源管理设备根据所述状态参数从所述多个VNF中确定第一待扩容VNF和扩容所需的第一资源容量。
  3. 根据权利要求2所述的方法,其特征在于,所述资源管理设备根据所述第一资源容量对所述第一待缩容VNF进行缩容处理之后,所述方法还包括:
    所述资源管理设备再次获取所述多个VNF的状态参数;
    所述资源管理设备根据再次获取的所述多个VNF的业务成功率确定所述E2E网络的第二业务成功率;
    当所述第二业务成功率小于所述第一业务成功率,且所述第一业务成功率减去所述第二业务成功率的差值大于或等于预设第一数值时,所述资源管理设备对对所述第一待缩容VNF进行的缩容处理或对所述第一待扩容VNF进行的扩容处理进行回退操作。
  4. 根据权利要求2所述的方法,其特征在于,所述资源管理设备根据所述第一资源容量对所述第一待缩容VNF进行缩容处理之后,所述方法还包括:
    当所述第二业务成功率大于或等于所述第一业务成功率,且所述第二业务成功率减去所述第一业务成功率的差值小于或等于预设第二数值,或者,所述第二业务成功率小于所述第一业务成功率,且所述第一业务成功率减去所述第二业务成功率的差值小于或等于预设第三数值时,所述资源管理设备延时预设时长,并在延时过程中不根据所述多个VNF的状态参数从所述多个VNF中确定待扩容VNF和扩容所需的资源容量。
  5. 根据权利要求1所述的方法,其特征在于,所述方法还包括:
    当所述资源管理设备根据所述第一资源容量对所述第一待缩容VNF进行缩容处理之后,所述资源池的空闲资源容量小于所述第一资源容量时,所述资源管理设备根据所述状态参数从所述多个VNF中确定第二待缩容VNF,并根据所述资源池的空闲资源容量和所述第一资源容量对所述第二待缩容VNF进行缩容处理;
    当所述资源管理设备根据所述资源池的空闲资源容量和所述第一资源容量对所述第二待缩容VNF进行缩容处理之后,所述资源池的空闲资源容量大于或等于所述第一资源容量时,所述资源管理设备对所述第一待扩容VNF进行扩容处理。
  6. 根据权利要求1-5中任一项所述的方法,其特征在于,所述状态参数包括资源占用率、业务成功率、业务优先级和网络位置,所述资源管理设备根据所述状态参数从所述多个VNF中确定第一待扩容VNF和扩容所需的第一资源容量,包括:
    所述资源管理设备将所述多个VNF中所述状态参数满足预设扩容条件的VNF作为第一待扩容VNF;
    所述资源管理设备根据所述第一待扩容VNF的状态参数确定扩容所需的第一资源容量;
    其中,所述预设扩容条件包括以下扩容条件中的一种或多种:
    所述资源占用率大于或等于预设第一资源占用率,所述业务成功率小于或等于预设第二业务成功率,所述业务优先级大于或等于预设第一业务优先级,所述网络位置为后端。
  7. 根据权利要求6所述的方法,其特征在于,所述资源管理设备根据所述状态参数从所述多个VNF中确定第一待缩容VNF,包括:
    所述资源管理设备将所述多个VNF中所述状态参数满足预设缩容条件的VNF作为第一待缩容VNF;
    其中,所述预设缩容条件包括以下缩容条件中的一种或多种:
    所述资源占用率小于或等于预设第二资源占用率,所述业务成功率大于或等于预设第三业务成功率,所述业务优先级小于或等于预设第二业务优先级,所述网络位置为前端。
  8. 根据权利要求1-7中任一项所述的方法,其特征在于,所述资源管理设备根据所述第一资源容量对所述第一待缩容VNF进行缩容处理,包括:
    所述资源管理设备获取所述第一待缩容VNF上运行的虚拟机VM的运行状态;
    所述资源管理设备根据所述第一资源容量和所述运行状态确定待关闭VM,并将所述待关闭VM关闭。
  9. 根据权利要求1-8中任一项所述的方法,其特征在于,所述资源管理设备对所述第一待扩容VNF进行扩容处理,包括:
    所述资源管理设备在所述第一待扩容VNF上创建VM和/或启动VM,并将所述第一资源容量的资源配置给所述创建的VM和/或所述启动的VM。
  10. 一种资源管理设备,应用于端到端E2E网络,所述E2E网络包括多个VNF和管理所述多个VNF以及资源池的所述资源管理设备,其特征在于,所述设备包括:
    获取模块,用于获取所述多个VNF的状态参数;
    确定模块,用于根据所述状态参数从所述多个VNF中确定第一待扩容VNF和扩容所需的第一资源容量;
    所述确定模块,还用于当所述资源池的空闲资源容量小于所述第一资源容量时,根据所述状态参数从所述多个VNF中确定第一待缩容VNF;
    缩容模块,用于根据所述第一资源容量对所述第一待缩容VNF进行缩容处理;
    扩容模块,用于当所述缩容模块根据所述第一资源容量对所述第一待缩容VNF进行缩容处理之后,所述资源池的空闲资源容量大于或等于所述第一资源容量时,对所述第一待扩容VNF进行扩容处理。
  11. 根据权利要求10所述的设备,其特征在于,所述状态参数包括业务成功率,所述确定模块根据所述状态参数从所述多个VNF中确定第一待扩容VNF和扩容所需的第一资源容量的具体方式为:
    根据所述多个VNF的业务成功率确定所述E2E网络的第一业务成功率;
    当所述E2E网络的第一业务成功率小于或等于预设第一业务成功率时,根据所述状态参数从所述多个VNF中确定第一待扩容VNF和扩容所需的第一资源容量。
  12. 根据权利要求11所述的设备,其特征在于,
    所述获取模块,还用于再次获取所述多个VNF的状态参数;
    所述确定模块,还用于根据所述获取模块再次获取的所述多个VNF的业务成功率确定所述E2E网络的第二业务成功率;
    其中,所述设备还包括:
    回退模块,用于当所述第二业务成功率小于所述第一业务成功率,且所述第一业务成功率减去所述第二业务成功率的差值大于或等于预设第一数值时,对对所述第一待缩容VNF进行的缩容处理或对所述第一待扩容VNF进行的扩容处理进行回退操作。
  13. 根据权利要求11所述的设备,其特征在于,所述设备还包括:
    延时模块,用于当所述第二业务成功率大于或等于所述第一业务成功率,且所述第二业务成功率减去所述第一业务成功率的差值小于或等于预设第二数值,或者,所述第二业务成功率小于所述第一业务成功率,且所述第一业务成功率减去所述第二业务成功率的差值小于或等于预设第三数值时,延时预设时长;
    其中,所述确定模块,还用于在所述延时模块延时过程中不根据所述多个VNF的状态参数从所述多个VNF中确定待扩容VNF和扩容所需的资源容量。
  14. 根据权利要求10所述的设备,其特征在于,
    所述确定模块,还用于当所述缩容模块根据所述第一资源容量对所述第一待缩容VNF进行缩容处理之后,所述资源池的空闲资源容量小于所述第一资源容量时,根据所述状态参数从所述多个VNF中确定第二待缩容VNF;
    所述缩容模块,还用于根据所述资源池的空闲资源容量和所述第一资源容量对所述第二待缩容VNF进行缩容处理;
    所述扩容模块,还用于当所述缩容模块根据所述资源池的空闲资源容量和所述第一资源容量对所述第二待缩容VNF进行缩容处理之后,所述资源池的空闲资源容量大于或等于所述第一资源容量时,对所述第一待扩容VNF进行扩容处理。
  15. 根据权利要求10-14中任一项所述的设备,其特征在于,所述状态参数包括资源占用率、业务成功率、业务优先级和网络位置,所述确定模块根据所述状态参数从所述多个VNF中确定第一待扩容VNF和扩容所需的第一资源容量的具体方式为:
    将所述多个VNF中所述状态参数满足预设扩容条件的VNF作为第一待扩容VNF;
    根据所述第一待扩容VNF的状态参数确定扩容所需的第一资源容量;
    其中,所述预设扩容条件包括以下扩容条件中的一种或多种:
    所述资源占用率大于或等于预设第一资源占用率,所述业务成功率小于或等于预设第二业务成功率,所述业务优先级大于或等于预设第一业务优先级,所述网络位置为后端。
  16. 根据权利要求15所述的设备,其特征在于,所述确定模块根据所述状态参数从所述多个VNF中确定第一待缩容VNF的具体方式为:
    将所述多个VNF中所述状态参数满足预设缩容条件的VNF作为第一待缩容VNF;
    其中,所述预设缩容条件包括以下缩容条件中的一种或多种:
    所述资源占用率小于或等于预设第二资源占用率,所述业务成功率大于或等于预设第三业务成功率,所述业务优先级小于或等于预设第二业务优先级,所述网络位置为前端。
  17. 根据权利要求10-16中任一项所述的设备,其特征在于,所述缩容模块包括:
    获取子模块,用于获取所述第一待缩容VNF上运行的VM的运行状态;
    确定子模块,用于根据所述第一资源容量和所述运行状态确定待关闭VM;
    关闭子模块,用于将所述待关闭VM关闭。
  18. 根据权利要求10-17中任一项所述的设备,其特征在于,所述扩容模块包括:
    启动子模块,用于在所述第一待扩容VNF上创建VM和/或启动VM;
    配置子模块,用于将所述第一资源容量的资源配置给所述创建的VM和/或所述启动的VM。
  19. 一种资源管理设备,应用于端到端E2E网络,所述E2E网络包括多个VNF和管理所述多个VNF以及资源池的所述资源管理设备,其特征在于,所述设备包括处理器、网络接口和存储有可执行程序代码的存储器,所述处理器调用所述存储器中存储的所述可执行程序代码,执行如下操作:
    所述处理器,用于通过所述网络接口获取所述多个VNF的状态参数;
    所述处理器,还用于根据所述状态参数从所述多个VNF中确定第一待扩容VNF和扩容所需的第一资源容量;
    所述处理器,还用于当所述资源池的空闲资源容量小于所述第一资源容量时,根据所述状态参数从所述多个VNF中确定第一待缩容VNF,并根据所述第一资源容量对所述第一待缩容VNF进行缩容处理;
    所述处理器,还用于当所述资源管理设备根据所述第一资源容量对所述第一待缩容VNF 进行缩容处理之后,所述资源池的空闲资源容量大于或等于所述第一资源容量时,对所述第一待扩容VNF进行扩容处理。
  20. 根据权利要求19所述的设备,其特征在于,所述状态参数包括业务成功率,所述处理器根据所述状态参数从所述多个VNF中确定第一待扩容VNF和扩容所需的第一资源容量的具体方式为:
    根据所述多个VNF的业务成功率确定所述E2E网络的第一业务成功率;
    当所述E2E网络的第一业务成功率小于或等于预设第一业务成功率时,根据所述状态参数从所述多个VNF中确定第一待扩容VNF和扩容所需的第一资源容量。
PCT/CN2017/071273 2016-01-30 2017-01-16 一种资源管理方法及设备 WO2017128979A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201610071143.0 2016-01-30
CN201610071143.0A CN107026802B (zh) 2016-01-30 2016-01-30 一种资源管理方法及设备

Publications (1)

Publication Number Publication Date
WO2017128979A1 true WO2017128979A1 (zh) 2017-08-03

Family

ID=59397376

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/071273 WO2017128979A1 (zh) 2016-01-30 2017-01-16 一种资源管理方法及设备

Country Status (2)

Country Link
CN (1) CN107026802B (zh)
WO (1) WO2017128979A1 (zh)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110209497A (zh) * 2019-05-21 2019-09-06 深圳供电局有限公司 一种主机资源动态扩缩容的方法及系统
CN110278125A (zh) * 2019-06-21 2019-09-24 山东省计算中心(国家超级计算济南中心) 一种云计算资源弹性测评方法
CN111400023A (zh) * 2019-01-02 2020-07-10 中国移动通信有限公司研究院 一种资源池冗余率调整方法、装置、介质和设备
US10880370B2 (en) 2018-11-27 2020-12-29 At&T Intellectual Property I, L.P. Virtual network manager system
CN113434253A (zh) * 2021-06-29 2021-09-24 平安科技(深圳)有限公司 集群资源调度方法、装置、设备及存储介质
CN115237610A (zh) * 2022-09-26 2022-10-25 城云科技(中国)有限公司 一种基于Kubernetes容器云平台的弹性伸缩方法、装置及应用

Families Citing this family (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2019127452A1 (en) * 2017-12-29 2019-07-04 Nokia Technologies Oy Virtualized network functions
CN109992353B (zh) * 2018-01-02 2021-11-02 中国移动通信有限公司研究院 一种扩缩容方法、装置、设备及计算机可读存储介质
CN110213064B (zh) * 2018-02-28 2022-07-19 中国移动通信有限公司研究院 一种vnf的扩缩容方法、装置及设备
EP3757780B1 (en) 2018-03-15 2023-05-03 Huawei Technologies Co., Ltd. Method and apparatus for service management
CN108847956B (zh) * 2018-05-08 2021-08-17 国家计算机网络与信息安全管理中心 一种电信网安全业务vnf的多维智能扩缩容方法和系统
CN108768890B (zh) * 2018-05-28 2022-01-04 郑州云海信息技术有限公司 一种sdn网络中多租户资源复用方法、装置及控制器
CN109032788B (zh) * 2018-06-29 2019-09-20 北京百度网讯科技有限公司 预留资源池动态调度方法、装置、计算机设备及存储介质
CN109450684B (zh) * 2018-11-09 2020-06-30 北京邮电大学 一种网络切片系统物理节点容量扩充方法及装置
CN111416726B (zh) * 2019-01-07 2023-04-07 中国移动通信有限公司研究院 一种资源管理的方法、发送端设备和接收端设备
CN110474795B (zh) * 2019-07-11 2023-04-07 中国平安财产保险股份有限公司 服务器容量的处理方法及装置、存储介质及电子设备
CN111193607B (zh) * 2019-09-23 2023-04-07 腾讯云计算(北京)有限责任公司 一种传输资源管理的方法、装置及存储介质
CN112751685B (zh) * 2019-10-29 2023-04-07 中国电信股份有限公司 网络切片用户面容量配置方法、装置和系统
CN111464616A (zh) * 2020-03-30 2020-07-28 招商局金融科技有限公司 自动调节应用负载服务数量的方法、服务器及存储介质
CN112737835A (zh) * 2020-12-25 2021-04-30 北京浪潮数据技术有限公司 一种云主机业务管理方法及相关装置
CN113163029B (zh) * 2021-05-20 2023-06-30 厦门亿联网络技术股份有限公司 网络会话账号部署方法、装置、终端、服务器及存储介质

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1946225A (zh) * 2006-01-04 2007-04-11 华为技术有限公司 一种全分布式资源管理方法和系统
CN102088719A (zh) * 2011-01-24 2011-06-08 中兴通讯股份有限公司 一种业务调度方法、系统及设备
CN104079503A (zh) * 2013-03-27 2014-10-01 华为技术有限公司 一种资源分配方法及装置
CN104601492A (zh) * 2014-12-29 2015-05-06 上海华为技术有限公司 一种nfv架构下进行业务流控的方法及装置
CN105162716A (zh) * 2015-07-28 2015-12-16 上海华为技术有限公司 一种nfv架构下的流控方法及装置

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1946225A (zh) * 2006-01-04 2007-04-11 华为技术有限公司 一种全分布式资源管理方法和系统
CN102088719A (zh) * 2011-01-24 2011-06-08 中兴通讯股份有限公司 一种业务调度方法、系统及设备
CN104079503A (zh) * 2013-03-27 2014-10-01 华为技术有限公司 一种资源分配方法及装置
CN104601492A (zh) * 2014-12-29 2015-05-06 上海华为技术有限公司 一种nfv架构下进行业务流控的方法及装置
CN105162716A (zh) * 2015-07-28 2015-12-16 上海华为技术有限公司 一种nfv架构下的流控方法及装置

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10880370B2 (en) 2018-11-27 2020-12-29 At&T Intellectual Property I, L.P. Virtual network manager system
US11451624B2 (en) 2018-11-27 2022-09-20 At&T Intellectual Property I, L.P. Virtual network manager system
CN111400023A (zh) * 2019-01-02 2020-07-10 中国移动通信有限公司研究院 一种资源池冗余率调整方法、装置、介质和设备
CN111400023B (zh) * 2019-01-02 2024-03-22 中国移动通信有限公司研究院 一种资源池冗余率调整方法、装置、介质和设备
CN110209497A (zh) * 2019-05-21 2019-09-06 深圳供电局有限公司 一种主机资源动态扩缩容的方法及系统
CN110209497B (zh) * 2019-05-21 2024-03-19 深圳供电局有限公司 一种主机资源动态扩缩容的方法及系统
CN110278125A (zh) * 2019-06-21 2019-09-24 山东省计算中心(国家超级计算济南中心) 一种云计算资源弹性测评方法
CN110278125B (zh) * 2019-06-21 2022-03-29 山东省计算中心(国家超级计算济南中心) 一种云计算资源弹性测评方法
CN113434253A (zh) * 2021-06-29 2021-09-24 平安科技(深圳)有限公司 集群资源调度方法、装置、设备及存储介质
CN113434253B (zh) * 2021-06-29 2023-08-25 平安科技(深圳)有限公司 集群资源调度方法、装置、设备及存储介质
CN115237610A (zh) * 2022-09-26 2022-10-25 城云科技(中国)有限公司 一种基于Kubernetes容器云平台的弹性伸缩方法、装置及应用
CN115237610B (zh) * 2022-09-26 2023-03-21 城云科技(中国)有限公司 一种基于Kubernetes容器云平台的弹性伸缩方法、装置及应用

Also Published As

Publication number Publication date
CN107026802A (zh) 2017-08-08
CN107026802B (zh) 2020-12-15

Similar Documents

Publication Publication Date Title
WO2017128979A1 (zh) 一种资源管理方法及设备
US10908936B2 (en) System and method for network function virtualization resource management
US9535737B2 (en) Dynamic virtual port provisioning
EP2957068B1 (en) Methods, systems, and computer readable media for providing a virtualized diameter network architecture and for routing traffic to dynamically instantiated diameter resource instances
US10628273B2 (en) Node system, server apparatus, scaling control method, and program
EP3179673A1 (en) Energy-saving control method, management server and network device
WO2017148239A1 (zh) 业务容器创建方法及装置
US11442769B2 (en) Network management for elastic virtual network functions
WO2018149263A1 (zh) 一种网络业务实例化的方法及装置
US20190196878A1 (en) Resource Pool Processing Method and Apparatus, and Device
WO2014101010A1 (zh) 一种虚拟机系统的资源管理方法、虚拟机系统和装置
EP3211531B1 (en) Virtual machine start method and apparatus
CN111641515A (zh) Vnf的生命周期管理方法及装置
WO2016155291A1 (zh) 一种虚拟化网络功能伸缩的管理方法及装置
EP3522450A1 (en) Method and apparatus for deploying virtual operation, administration and maintenance, and virtualized network system
CN106576260B (zh) Nfv系统中的策略协调方法和装置
EP4024767A1 (en) Vnf instantiation method, nfvo, vim, vnfm and system
WO2019047835A1 (zh) 虚拟网络功能的实例化方法
US20180123969A1 (en) Openflow protocol-based resource control method and system, and apparatus
WO2018210075A1 (zh) 网络控制方法、装置及网络设备
WO2017181936A1 (zh) 网络资源部署的方法、装置、控制器及核心网设备
US20210240511A1 (en) Computer-implemented method for reducing service disruption times for a universal customer premise equipment, ucpe, device with resource constraint in a network functions virtualization, nfv, network infrastucture
CN106664259B (zh) 虚拟网络功能扩容的方法和装置
WO2017107483A1 (zh) 一种虚拟化网管文件下载负载均衡的方法及网管服务器
WO2017070963A1 (zh) 一种虚拟资源的部署方法、装置及系统

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: 17743594

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: 17743594

Country of ref document: EP

Kind code of ref document: A1