CN104601680B - A kind of method for managing resource and device - Google Patents

A kind of method for managing resource and device Download PDF

Info

Publication number
CN104601680B
CN104601680B CN201410854523.2A CN201410854523A CN104601680B CN 104601680 B CN104601680 B CN 104601680B CN 201410854523 A CN201410854523 A CN 201410854523A CN 104601680 B CN104601680 B CN 104601680B
Authority
CN
China
Prior art keywords
network element
resource
business network
layers
management system
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201410854523.2A
Other languages
Chinese (zh)
Other versions
CN104601680A (en
Inventor
高大伟
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN201410854523.2A priority Critical patent/CN104601680B/en
Publication of CN104601680A publication Critical patent/CN104601680A/en
Application granted granted Critical
Publication of CN104601680B publication Critical patent/CN104601680B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/51Discovery or management thereof, e.g. service location protocol [SLP] or web services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • H04L41/0813Configuration setting characterised by the conditions triggering a change of settings
    • H04L41/0816Configuration setting characterised by the conditions triggering a change of settings the condition being an adaptation, e.g. in response to network events
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • H04L41/0823Configuration setting characterised by the purposes of a change of settings, e.g. optimising configuration for enhancing reliability
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0896Bandwidth or capacity management, i.e. automatically increasing or decreasing capacities
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
    • H04L67/025Protocols based on web technology, e.g. hypertext transfer protocol [HTTP] for remote control or remote monitoring of applications

Abstract

The embodiment of the invention discloses a kind of method for managing resource and device, for being automatically performed the elastic telescopic of high in the clouds data resource.Present invention method includes:Cloud management platform determines to stretch business network element according to the occupation condition of the first business network element;The cloud management platform sends request to create message to I layers resource management system;The cloud management platform sends resource bid message to P layers resource management system, the cloud management platform receives the first routing update information that the P layers resource management system is sent, and first routing update information is the routing configuration information of the PaaS layer resources of second business network element;The cloud management platform sends resource updates notification message to first business network element, and the resource updates notification message includes:First routing update information.

Description

A kind of method for managing resource and device
Technical field
The present invention relates to field of cloud calculation, more particularly to a kind of method for managing resource and device.
Background technology
With the arrival of digital economy, user accounts for information dependency degree more and more higher, data service telecommunication service Than increasingly heavier, the complexity of data service is also being continuously increased.Data service is usually using tier group (Rating Group) Content is divided, gateway general packet radio service technology (GPRS, General Packet Radio Service) branch Point (GGSN, Gateway GPRS Support Node) of serving as a diplomatic envoy is reported to the message content of charge system to segment more and more, phase When the user of a part keeps long-term online.Especially during festivals or holidays, a large number of users carries out message biography using microblogging, wechat etc. Send, these make it that business development can not be matched by disposing the speed of business in the equipment investment more and more higher of data service for operator.
Telecom operators field is that the mode constantly replaced using telecommunication apparatus carries out capability improving all the time, 2012 End, 13 operators propose the white skin of network function virtualization (NFV, Network Functions Virtualization) Book, network function virtualization are intended to eliminate proprietary hardware, utilize information technology (IT, Information Technology) void Planization technology solves the problems, such as that the proprietary hardware maturity period is very long.The key problem of cloud/virtualization mainly solves the elasticity of node Flexible and automatically dispose.
In cloud computing, there is software to service (SaaS, Software as a Service), platform i.e. service (PaaS, Platform as a Service) and infrastructure device service (IaaS, Infrastructure as a Service) three big service mode.PaaS and IaaS can directly pass through Services Oriented Achitecture (SOA, Service- Oriented Architecture) or the webserver to platform user provide service, can also be as the support of SaaS patterns Platform services to end user indirectly.
SaaS:The service for being supplied to user is the application program that operator is operated in cloud computing infrastructure, Yong Huke To be accessed in various equipment by client end interface, such as browser.User need not manage or control any cloud computing basis Facility, including network, server, operating system, storage etc..
PaaS:The service for being supplied to user be user using provide development language and too development or purchase should The cloud computing infrastructure of supplier is deployed to program up.Client need not manage or control the cloud infrastructure of bottom, Including network, server, operating system, storage etc., but client can control the application program of deployment, it is also possible to control operation application The hosting environment configuration of program.
IaaS:The service for being supplied to consumer is the utilization to all facilities, including handles, stores, network and other bases This computing resource, user can dispose and run any software, including operating system and application program.Consumer do not manage or Control any cloud computing infrastructure, but selection, storage area, the application of deployment of energy control operation system, it is also possible to obtain Obtain the control of conditional networking component (for example, fire wall, load equalizer etc.).
Because the software node of operator deployment is fixed, if the request amount of user increases within the unit interval, dash forward So there is a large number of services request, application system can be caused to cannot respond to the service request of user, it is necessary to which equipment in the capacity expansion enhancing is handled Ability.After the dilatation of physical resource is completed, because user is divided into busy and idle time to the use of data service, therefore, need The management that elastic telescopic is carried out to the physical resource of dilatation (i.e. in busy, activates the physical resource disposed;In idle, stop Only to the use for the physical resource partly disposed).
In the prior art, when the flow of festivals or holidays business datum reports statistical information beyond rated range, business network element To cloud management platform, cloud management platform to I layers resource management system, which starts, to be applied.Once the application pre-created is not enough to tackle industry It is engaged in current peak value, then is difficult to activate the physical resource disposed in the case of unattended.
The content of the invention
The embodiments of the invention provide a kind of method for managing resource and device, for being automatically performed the bullet of high in the clouds data resource Property is stretched.
The method for managing resource that first aspect of the embodiment of the present invention provides, including:
Cloud management platform determines to stretch business network element according to the occupation condition of the first business network element;
The cloud management platform sends request to create message to I layers resource management system, and the request to create message is used for The I layers resource management system is asked to create the second business network element;The request to create message carries second business network element Infrastructure device i.e. service IaaS layer resource bid templates;
The cloud management platform sends resource bid message to P layers resource management system, and the resource bid message is used for PaaS layer resources are serviced to the platform of the second business network element described in the P layers resource management system application;
The first routing update information that the cloud management platform reception P layers resource management system is sent, described first Routing update information is the routing configuration information of the PaaS layer resources of second business network element;
The cloud management platform sends resource updates notification message, the resource updates notice to first business network element Message includes:First routing update information.
With reference in a first aspect, in the first possible implementation, the cloud management platform is according to the first business network element Occupation condition determine business network element is stretched, including:
The cloud management platform receives the Measure Indexes that first business network element reports, described in the Measure Indexes represent The occupation condition of first business network element;
The cloud management platform judges whether the Measure Indexes meet resource thresholding, if, it is determined that to business network element Stretched.
With reference in a first aspect, in second of possible implementation, the cloud management platform is to P layer resource management systems After sending resource bid message, in addition to:
The secondary route fresh information that the cloud management platform reception P layers resource management system is sent, described second Routing update information is after second business network element is created, P layers resource management system be first business network element more The routing configuration information of new PaaS layer resources;
The cloud management platform sends resource updates notification message, the resource updates notice to second business network element Message includes:The secondary route fresh information.
With reference to second of possible implementation of first aspect, in the third possible implementation,
After the cloud management platform receives the first routing update information that the P layers resource management system is sent, also wrap Include:
The cloud management platform sends the first instruction message to second business network element, and the first instruction message is used for Second business network element is notified to obtain the PaaS layer resources of second business network element to the P layers resource management system;
After the cloud management platform receives the secondary route fresh information that the P layers resource management system is sent, also wrap Include:
The cloud management platform sends the second instruction message to first business network element, and the second instruction message is used for First business network element is notified to obtain the PaaS layer resources after renewal to the P layers resource management system.
It is possible at the 4th kind with reference to first aspect and first aspect the second to three any one possible implementation In implementation,
The Measure Indexes include:Resource metrics and operational indicator;The resource metrics include VME operating system layer Central processor CPU, internal memory Mem or the hard disk Disk in face;The operational indicator includes message response time delay, propped up in the unit interval The session number of support, the message response number in the unit interval;
The PaaS layers resource includes:Two-shipper Internet protocol IP address, Hostname hostname, user name and number According to source name.
Another method for managing resource that second aspect of the embodiment of the present invention provides, including:
P layers resource management system receives the resource bid message that cloud management platform is sent, and the resource bid message is used for To the PaaS layer resources of the second business network element of the P layers resource management system application;
The P layers resource management system is that second business network element distributes PaaS layer resources, and generates the first via by more Fresh information, first routing update information are the routing configuration information of the PaaS layer resources of second business network element;
The P layers resource management system feeds back first routing update information to the cloud management platform so that described Cloud management platform feeds back first routing update information to the first business network element.
With reference to second aspect, in the first possible implementation, the P layers resource management system is second industry It is engaged in after network element distribution PaaS layer resources, in addition to:
The P layers resource management system generates secondary route fresh information, and the secondary route fresh information is described the After two business network element are created, P layers resource management system is the route of the PaaS layer resources of first business network element renewal Configuration information;
The P layers resource management system feeds back the secondary route fresh information to the cloud management platform so that described Cloud management platform feeds back the secondary route fresh information to the second business network element.
With reference to second aspect, in second of possible implementation, the P layers resource management system is second industry Business network element distribution PaaS layer resources, and the first routing update information is generated, including:
It is determined that distributing to the PaaS layer resources of second business network element, the PaaS layers resource includes:Two-shipper internet Protocol IP address, Hostname hostname, user name and DSN;
The PaaS layer resources of second business network element are locked;
The annexation of second business network element and first business network element on the second business network element periphery is set, and First routing update information is generated according to the annexation.
Another method for managing resource that the third aspect of the embodiment of the present invention provides, including:
Cloud management platform determines to need the business network element for carrying out resource reclaim;
The cloud management platform sends resource reclaim message to P layers resource management system, and the resource reclaim message is used for The platform that the business network element is reclaimed to the P layers resource management system application services PaaS layer resources, the resource reclaim The identification information of the business network element of the resource reclaim is carried in message.
The cloud management platform receives the routing update information that the P layers resource management system is sent, the routing update After information is recovered for the PaaS layer resources of the business network element of the resource reclaim, the P layers resource management system is described The routing configuration information of the PaaS layer resources for the business network element renewal not being recovered in multiple business network element;
The cloud management platform sends resource updates notification message to the business network element not being recovered, and the resource is more New notification message includes:The routing update information;
The cloud management platform sends network element revocation message to I layers resource management system, and the network element revocation message is used for Ask the I layers resource management system to reclaim the infrastructure device of the business network element of the resource reclaim and service IaaS layer resources, The network element revocation message carries the identification information for the business network element for needing the resource reclaim.
With reference to the third aspect, in the first possible implementation, the cloud management platform determines the industry of resource reclaim Business network element includes:
The cloud management platform receives the Measure Indexes that at least two business network element report, described in the Measure Indexes represent The occupation condition of business network element;
The cloud management platform judges whether the Measure Indexes meet resource thresholding, if so, at least two industry The business network element of resource reclaim is determined in business network element.
The first possible implementation with reference to the third aspect, in second of possible implementation, the cloud management Platform determines the business network element of resource reclaim at least two business network element, including:
The cloud management platform determines data migration cost at least two business network element according to the Measure Indexes Minimum business network element, and determine the business network element that the minimum business network element of the data migration cost is resource reclaim.
With reference to the third aspect, in the third possible implementation, the cloud management platform is to P layer resource management systems Before sending resource reclaim message, including:
The cloud management platform sends Data Migration instruction message to the business network element of the resource reclaim, and the data are moved Move instruction message and be used to indicate that the business network element of resource reclaim to carry out Data Migration, in the business network element for emptying the resource reclaim The business datum handled.
It is possible at the 4th kind with reference to the third aspect and the third aspect the second to three any one possible implementation In implementation,
The Measure Indexes include:Resource metrics and operational indicator;The resource metrics include VME operating system layer Central processor CPU, internal memory Mem or the hard disk Disk in face;The operational indicator includes message response time delay, propped up in the unit interval The session number of support, the message response number in the unit interval;
The PaaS layers resource includes:Two-shipper Internet protocol IP address, Hostname hostname, user name and number According to source name.
Another method for managing resource that fourth aspect of the embodiment of the present invention provides, including:
P layers resource management system receives the resource reclaim message that cloud management platform is sent, and the resource reclaim message is used for The platform of the business network element reclaimed to the P layers resource management system application Resource recovery services PaaS layer resources, the money Source recovery message carries the identification information for the business network element for needing the resource reclaim;
The P layers resource management system reclaims the business network element of the resource reclaim according to the resource reclaim message PaaS layer resources, and routing update information is generated, the routing update information is the PaaS of the business network element of the resource reclaim After layer resource is recovered, the P layers resource management system is that the business network element that is not recovered is more in the multiple business network element The routing configuration information of new PaaS layer resources;
The P layers resource management system sends the routing update information to the cloud management platform.
With reference to fourth aspect, in the first possible implementation, the P layers resource management system is according to the resource Before the PaaS layer resources for reclaiming the business network element that message reclaims the resource reclaim, including:
The P layers resource management system locks to the PaaS layer resources of the business network element of the resource reclaim, described PaaS layer resources include:Two-shipper Internet protocol IP address, Hostname hostname, user name and DSN.
The cloud management platform that the aspect of the embodiment of the present invention the 5th provides, including:
Determining unit is stretched, for determining to stretch business network element according to the occupation condition of the first business network element Exhibition;
Transmitting element, for sending request to create message to I layers resource management system, the request to create message is used for please The I layers resource management system is asked to create the second business network element;The request to create message carries second business network element Infrastructure device services IaaS layer resource bid templates;
The transmitting element is additionally operable to send resource bid message, the resource bid message to P layers resource management system PaaS layer resources are serviced for the platform to the second business network element described in the P layers resource management system application;
Receiving unit, the first routing update information sent for receiving the P layers resource management system, the first via Routing configuration information by fresh information for the PaaS layer resources of second business network element;
The transmitting element is additionally operable to send resource updates notification message, the resource updates to first business network element Notification message includes:First routing update information.
With reference to the 5th aspect, in the first possible implementation, it is characterised in that the stretching, extension determining unit is used In:
The Measure Indexes that first business network element reports are received, the Measure Indexes represent first business network element Occupation condition;
Judge whether the Measure Indexes meet resource thresholding, if, it is determined that business network element is stretched.
In terms of the 5th, in second of possible implementation,
The receiving unit is additionally operable to:
The secondary route fresh information that the P layers resource management system is sent is received, the secondary route fresh information is After second business network element is created, P layers resource management system is the PaaS layer resources of first business network element renewal Routing configuration information;
The transmitting element is additionally operable to:
Resource updates notification message is sent to second business network element, the resource updates notification message includes:It is described Secondary route fresh information.
With reference to the 5th aspect second of possible implementation, in the third possible implementation,
The transmitting element is additionally operable to:
The first instruction message is sent to second business network element, the first instruction message is used to notify second industry Business network element obtains the PaaS layer resources of second business network element to the P layers resource management system;
The transmitting element is additionally operable to:
The second instruction message is sent to first business network element, the second instruction message is used to notify first industry Business network element obtains the PaaS layer resources after renewal to the P layers resource management system.
It is possible at the 4th kind with reference to the 5th aspect and the 5th the second to three any one possible implementation of aspect In implementation,
The Measure Indexes include:Resource metrics and operational indicator;The resource metrics include VME operating system layer Central processor CPU, internal memory Mem or the hard disk Disk in face;The operational indicator includes message response time delay, propped up in the unit interval The session number of support, the message response number in the unit interval;
The PaaS layers resource includes:Two-shipper Internet protocol IP address, Hostname hostname, user name and number According to source name.
The P layer resource management systems that the aspect of the embodiment of the present invention the 6th provides, including:
Receiving unit, for receive cloud management platform transmission resource bid message, the resource bid message be used for The PaaS layer resources of the second business network element of the P layers resource management system application;
Resource allocation unit, for distributing PaaS layer resources for second business network element, and generate the first routing update Information, first routing update information are the routing configuration information of the PaaS layer resources of second business network element;
Transmitting element, for feeding back first routing update information to the cloud management platform so that the cloud management Platform feeds back first routing update information to the first business network element.
With reference to the 6th aspect, in the first possible implementation, the P layers resource management system also includes:
Information generating unit, for generating secondary route fresh information, the secondary route fresh information is described second After business network element is created, P layers resource management system is that the route of the PaaS layer resources of first business network element renewal is matched somebody with somebody Confidence ceases;
The transmitting element is additionally operable to:
The secondary route fresh information is fed back to the cloud management platform so that the cloud management platform is to the second business Network element feeds back the secondary route fresh information.
With reference to the 6th aspect, in second of possible implementation, it is characterised in that the resource allocation unit is specific For:
It is determined that distributing to the PaaS layer resources of second business network element, the PaaS layers resource includes:Two-shipper internet Protocol IP address, Hostname hostname, user name and DSN;
The PaaS layer resources of second business network element are locked;
The annexation of second business network element and first business network element on the second business network element periphery is set, and First routing update information is generated according to the annexation.
The cloud management platform that the aspect of the embodiment of the present invention the 7th provides, including:
Determining unit is reclaimed, for determining to need the business network element for carrying out resource reclaim;
Transmitting element, for P layers resource management system send resource reclaim message, the resource reclaim message be used for The platform that the business network element is reclaimed in the P layers resource management system application services PaaS layer resources, and the resource reclaim disappears The identification information of the business network element of the resource reclaim is carried in breath.
Receiving unit, the routing update information sent for receiving the P layers resource management system, the routing update letter After the PaaS layer resources ceased for the business network element of the resource reclaim are recovered, the P layers resource management system is described more The routing configuration information of the PaaS layer resources for the business network element renewal not being recovered in individual business network element;
The transmitting element is additionally operable to send resource updates notification message, the money to the business network element not being recovered Source update notification message includes:The routing update information;
The transmitting element is additionally operable to send network element revocation message, the network element revocation message to I layers resource management system The infrastructure device of business network element for asking the I layers resource management system recovery resource reclaim services IaaS layers money Source, the network element revocation message carry the identification information for the business network element for needing the resource reclaim.
With reference to the 7th aspect, in the first possible implementation, the recovery determining unit is specifically used for:
The Measure Indexes that at least two business network element report are received, the Measure Indexes represent the resource of the business network element Occupancy situation;
Judge whether the Measure Indexes meet resource thresholding, if so, determining money at least two business network element The business network element of source recovery.
With reference to the 7th aspect the first possible implementation, in second of possible implementation, the recovery is true Order member is specifically additionally operable to:
The business network element that data migration cost is minimum at least two business network element is determined according to the Measure Indexes, And determine the business network element that the minimum business network element of the data migration cost is resource reclaim.
With reference to the 7th aspect, in the third possible implementation, the transmitting element is additionally operable to:
The cloud management platform sends Data Migration instruction message to the business network element of the resource reclaim, and the data are moved Move instruction message and be used to indicate that the business network element of resource reclaim to carry out Data Migration, in the business network element for emptying the resource reclaim The business datum handled.
It is possible at the 4th kind with reference to the 7th aspect and the 7th the second to three any one possible implementation of aspect In implementation,
The Measure Indexes include:Resource metrics and operational indicator;The resource metrics include VME operating system layer Central processor CPU, internal memory Mem or the hard disk Disk in face;The operational indicator includes message response time delay, propped up in the unit interval The session number of support, the message response number in the unit interval;
The PaaS layers resource includes:Two-shipper Internet protocol IP address, Hostname hostname, user name and number According to source name.
The P layer resource management systems that eighth aspect of the embodiment of the present invention provides, including:
Receiving unit, for receive cloud management platform transmission resource reclaim message, the resource reclaim message be used for The platform of the business network element of the P layers resource management system application Resource recovery recovery services PaaS layer resources, the resource Reclaim the identification information that message carries the business network element for needing the resource reclaim;
Resource reclaim unit, the PaaS of the business network element for reclaiming the resource reclaim according to the resource reclaim message Layer resource, and routing update information is generated, the routing update information provides for the PaaS layers of the business network element of the resource reclaim After source is recovered, the P layers resource management system is the business network element renewal not being recovered in the multiple business network element The routing configuration information of PaaS layer resources;
Transmitting element, for sending the routing update information to the cloud management platform.
With reference to eighth aspect, in the first possible implementation, the resource reclaim unit is additionally operable to:
The P layers resource management system locks to the PaaS layer resources of the business network element of the resource reclaim, described PaaS layer resources include:Two-shipper Internet protocol IP address, Hostname hostname, user name and DSN.
As can be seen from the above technical solutions, the embodiment of the present invention has advantages below:
In embodiments of the present invention, after it is determined that needing to carry out the stretching, extension of business network element, cloud management platform can provide to I layers Management system sends request to create message, asks the I layers resource management system to create the second business network element;It is also, described Cloud management platform sends resource bid message to P layers resource management system, to second described in the P layers resource management system application The PaaS layer resources of business network element;After the first routing update information of P layers resource management system feedback, the cloud pipe Platform sends the resource updates notification message for carrying first routing update information to first business network element so that the One business network element cooperates with caused business datum in processing network with the second business network element that will be created, and realizes service network automatically The elastic stretch of member.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to institute in embodiment The accompanying drawing needed to use is briefly described, it should be apparent that, drawings in the following description are only some implementations of the present invention Example, for those of ordinary skill in the art, on the premise of not paying creative work, can also be obtained according to these accompanying drawings Obtain other accompanying drawings.
Fig. 1 is the network architecture schematic diagram applied in the embodiment of the present invention;
Fig. 2 is a schematic flow sheet of method for managing resource in the embodiment of the present invention;
Fig. 3 is another schematic flow sheet of method for managing resource in the embodiment of the present invention;
Fig. 4 is a signalling diagram of method for managing resource in the embodiment of the present invention;
Fig. 5 is another signalling diagram of method for managing resource in the embodiment of the present invention;
Fig. 6 is another schematic flow sheet of method for managing resource in the embodiment of the present invention;
Fig. 7 is another schematic flow sheet of method for managing resource in the embodiment of the present invention;
Fig. 8 is another signalling diagram of method for managing resource in the embodiment of the present invention;
Fig. 9 is another signalling diagram of method for managing resource in the embodiment of the present invention;
Figure 10 is a structural representation of medium cloud management platform of the embodiment of the present invention;
Figure 11 is a structural representation of P layers resource management system in the embodiment of the present invention;
Figure 12 is another structural representation of medium cloud management platform of the embodiment of the present invention;
Figure 13 is another structural representation of P layers resource management system in the embodiment of the present invention;
Figure 14 is the computer configuation schematic diagram based on method for managing resource in the embodiment of the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete Site preparation describes, it is clear that described embodiment is only part of the embodiment of the present invention, rather than whole embodiments.Based on this Embodiment in invention, the every other reality that those of ordinary skill in the art are obtained under the premise of creative work is not made Example is applied, belongs to the scope of protection of the invention.
Fig. 1 for institute of embodiment of the present invention application scenarios network architecture diagram, wherein 11 and 12 business respectively created Network element and the business network element not created, in actual applications, each business network element are respectively used to handle corresponding business datum, institute It can be physical NE to state business network element, can also virtualize the form (resource provided in I layers resource management system of deployment Physical resource is divided in pond and creates virtual machine, wherein, a virtual machine is used as a business network element), do not limit specifically herein It is fixed.
20 in Fig. 1 be cloud management platform, and the cloud management platform is used to manage and the operation shape of maintenance service network element State.In actual applications, the cloud management platform can be arranged on existing Element management system (EMS, Element Management System) or virtual network function management (VNFM, Virtual Network Function Management) in entity.
Cloud management platform can be with the Measure Indexes of capturing service reported by network elements, specifically, described in embodiments of the present invention Measure Indexes include resource metrics and operational indicator.The resource metrics include the central processing unit of VME operating system aspect (CPU), internal memory (Mem) and hard disk (Disk);The operational indicator includes the meeting of message response time delay, unit interval inner support Talk about number, the message response number in the unit interval.Metric can extend, and be carried out by the client terminal device of cloud management platform Gather and report, could be arranged to each preset time period and report once.
30 in Fig. 1 be I layer resource management systems, and the I layers resource management system provides the resource pool of infrastructure device simultaneously Fundamentals of management equipment services (IaaS, Infrastructure as a Service) layer resource.In actual applications, institute It can be cloud management system to state I layers resource management system.
40 in Fig. 1 be P layer resource management systems, and the P layers resource management system is what the embodiment of the present invention proposed, is used It in the network node of management and the scheduling of PaaS layer resources, can be deployed in cloud management platform, online meter can also be deployed in In the operation management center of charge system (OCS, Online Charging System);Specifically, PaaS layers resource is software point The information of distribution required for cloth automatically dispose, comprising two-shipper Internet Protocol (IP, Internet Protocol) address, The resources such as user name, dataSource link, host name, data partition information, and the new establishment industry formed by these combination of resources The configuration of business network element operation.The two-shipper IP is a kind of Floating IP address, when some machine in two-shipper can not be run, another Machine is taken over, and externally performance is an IP.
Method for managing resource in the embodiment of the present invention is described from the angle of cloud management platform below, referring to Fig. 2, One embodiment of method for managing resource includes in the embodiment of the present invention:
201st, cloud management platform determines to stretch business network element according to the occupation condition of the first business network element;
Specifically, cloud management platform receives the Measure Indexes that report of the first business network element, described in the Measure Indexes represent The occupation condition of first business network element.The cloud management platform judges whether the Measure Indexes meet resource thresholding, if It is, it is determined that business network element is stretched.
Exemplary, in actual applications, all first business network element under the management of I layers resource management system all can be every The Measure Indexes are reported to cloud management platform so that cloud management platform is grasped global according to the Measure Indexes every preset time period The first business network element occupation condition, it is determined that the resource occupation state in current I layer resource management systems.
First business network element represents the business network element created, and first business network element can have multiple;It is described Second business network element represents the business network element that will be created;It is understood that in embodiments of the present invention, " first " and " Two " are only used for distinguishing the business network element that has created and will create, and are not offered as the physical significances such as " size ", " order ".
Specifically, the Measure Indexes include:Resource metrics and operational indicator;The resource metrics include virtual machine operations CPU, Mem or Disk of system level;The operational indicator include message response time delay, the session number of unit interval inner support, Message response number in unit interval.
Cloud management platform determines to stretch business network element according to the Measure Indexes;Specifically, in actual applications, The resource occupation state in current I layers resource management system, exemplary, the resource occupation can be determined according to Measure Indexes State can include low seizure condition, normal operation and saturation seizure condition;When cloud management platform is according to the measurement Index determines the resource occupation state in current I layers resource management system when being saturation seizure condition, it is determined that needs to business Network element is stretched.
Specifically, carrying out business network element stretching, extension refer to that business network element will be created in the physical resource disposed.
Specifically, be provided with multiple resource thresholdings in cloud management platform, such as first resource thresholding, Secondary resource thresholding with And information resources thresholding, the low seizure condition of I layer resource management systems is corresponded to respectively, and normal operation and saturation take shape State, cloud management platform may determine that whether the Measure Indexes meet resource thresholding corresponding to saturation seizure condition, if so, then true It is fixed that business network element is stretched.Further, if cloud management platform determines that the Measure Indexes meet normal operation pair The resource thresholding answered, then maintain the current state of the I layers resource management system;If cloud management platform determines the Measure Indexes Meet resource thresholding corresponding to low seizure condition, it is determined that (the business that i.e. revocation part has created is reclaimed to business network element Network element).
202nd, cloud management platform sends request to create message to I layers resource management system;
Cloud management platform sends request to create message to I layers resource management system, and the request to create message is used to ask The I layers resource management system creates the second business network element.The request to create message carries the base of second business network element Plinth equipment services IaaS layer resource bid templates.
Specifically, cloud management platform can call Open according to the specification and application virtual machine template specified using design Stack interfaces initiate the structure of IaaS layer resources to I layers resource management system.Exemplary, IaaS layer resources include:Virtual machine Calculate specification, generally CPU number, such as 16C;Virutal machine memory specification, generally memory size, such as 128G;Virtual machine Disk specification, generally disk take size, such as 1.1TB.Network specification, generally VLAN (VLAN, Virtual Local Area Network) number, the corresponding relation with Microsoft Loopback Adapter, it is to apply required network, such as business, pipe Reason, backup, heartbeat, signaling, data duplication etc..
Specifically, I layers resource management system after request to create message is received, is called virtual by Open stack The interface of machine instrument (VMware, Virtual Machine ware) distributes IaaS layer resources according to specification, and based on described IaaS layer asset creations virtual machine (i.e. described second business network element).
203rd, cloud management platform sends resource bid message to P layers resource management system;
Cloud management platform sends resource bid message to P layers resource management system, and the resource bid message is used for institute State the PaaS layer resources of the second business network element described in P layer resource management system applications.
Specifically, the PaaS layers resource two-shipper IP address, Hostname (hostname), user name and dataSource link Claim.
Specifically, P layers resource management system, after the resource bid message is received, P layers resource management system can be true Surely the PaaS layer resources of second business network element are distributed to, then the PaaS layer resources of second business network element are added Lock, avoids other business network element from using the PaaS layers resource;Then, P layers resource management system sets second service network The first and annexation of first business network element on the second business network element periphery, and the first via is generated according to the annexation By fresh information, after first routing update information represents that second business network element is created, first service network The routing configuration information of member and the PaaS layer resources of the second business network element;Generate first routing update information it Afterwards, first routing update information is fed back to the cloud management platform by P layers resource management system.
204th, cloud management platform receives the first routing update information that the P layers resource management system is sent;
Cloud management platform receives the first routing update information that the P layers resource management system is sent, the first via by Fresh information is the routing configuration information of the PaaS layer resources of second business network element.
205th, cloud management platform sends resource updates notification message to first business network element.
Cloud management platform sends resource updates notification message, the resource updates notification message to first business network element Including:First routing update information;So that the first business network element knows the resource situation of the second business network element, so that First business network element and the second business network element can know mutual routing address, and then can cooperate with and be produced in processing network Raw business datum.
Further, cloud management platform receives the secondary route fresh information that the P layers resource management system is sent, described Secondary route fresh information is that P layers resource management system is first service network after second business network element is created The routing configuration information of the PaaS layer resources of member renewal.After cloud management platform receives the secondary route fresh information, to Second business network element sends resource updates notification message, and the resource updates notification message includes:The secondary route is more Fresh information.
Specifically, first routing update information and the secondary route fresh information can be sent out by same message Give the cloud management platform.
In actual applications, when in the business network element of I layer resource management system management again increased business network element newly, then with newly The PaaS layers resource that the business network element of increasing has the business network element of annexation may change, so as to change each business network element Between routing relation, therefore, in embodiments of the present invention, cloud management platform is needed to the first business network element and the second service network Member sends resource updates notification message, is believed with providing newest routing configuration to first business network element and the second business network element Breath.
In embodiments of the present invention, after it is determined that needing to carry out the stretching, extension of business network element, cloud management platform can provide to I layers Management system sends request to create message, asks the I layers resource management system to create the second business network element;It is also, described Cloud management platform sends resource bid message to P layers resource management system, to second described in the P layers resource management system application The PaaS layer resources of business network element;After the first routing update information of P layers resource management system feedback, the cloud pipe Platform sends the resource updates notification message for carrying first routing update information to first business network element so that the One business network element cooperates with caused business datum in processing network with the second business network element that will be created, and realizes service network automatically The elastic stretch of member.
Method for managing resource in the embodiment of the present invention is described from the angle of P layer resource management systems below, please be join Read Fig. 3, one embodiment of method for managing resource includes in the embodiment of the present invention:
301st, P layers resource management system receives the resource bid message that cloud management platform is sent;
P layers resource management system receives the resource bid message that cloud management platform is sent, and the resource bid message is used for To the PaaS layer resources of the second business network element of the P layers resource management system application, the PaaS layers resource includes:Two-shipper IP Location, Hostname hostname, user name and DSN.
302nd, P layers resource management system is that second business network element distributes PaaS layer resources;
P layers resource management system is that second business network element distributes PaaS layer resources, and carries out I layer resource management systems In PaaS layer resource updates, generate the first routing update information, first routing update information is second service network The routing configuration information of the PaaS layer resources of member.
Specifically, P layers resource management system, after the resource bid message of cloud management platform transmission is received, inquiry is not Occupied PaaS layers resource, it is determined that distributing to the PaaS layer resources of second business network element;It is determined that distributing to described After the PaaS layer resources of two business network element, (i.e. locking distribution is locked to the PaaS layer resources of second business network element To the resource of second business network element, prevent other business network element uses), and set second business network element with it is described The annexation of first business network element on the second business network element periphery so that can be with the second business network element in the first business network element Cooperate with processing business data;Finally, the first routing update information is generated according to the annexation.
Further, it is after second business network element distributes PaaS layer resources described the in P layers resource management system Two business network element can obtain PaaS layer resources into the P layers resource management system;Optionally, if P layer resource management systems During distributing PaaS layer resources for second business network element, it is related to the PaaS layers resource of the first business network element more Newly, then the first business network element for being related to PaaS layer resource updates is also required to obtain PaaS layers in the P layers resource management system Resource.
303rd, P layers resource management system feeds back first routing update information to the cloud management platform.
P layers resource management system feeds back first routing update information to the cloud management platform so that cloud management is put down First routing update information is sent to the first business network element and the second business network element by platform, so that in the first service network Member can cooperate with processing business data with the second business network element.
Further, it is described after distributing PaaS layer resources due to P layers resource management system for second business network element Second business network element needs to be communicated with the first business network element, and therefore, P layer resource management systems need to generate secondary route more Fresh information, the secondary route fresh information are that P layer resource management systems are described after second business network element is created The routing configuration information of the PaaS layer resources of first business network element renewal;Again the secondary route is fed back to the cloud management platform Fresh information so that the cloud management platform feeds back the secondary route fresh information to the second business network element.
In order to make it easy to understand, below with a concrete application scene to the method for managing resource described in the above embodiments again It is described in detail, refer to Fig. 4, is specially:
The embodiment of the present invention is with virtual Convergent Billing Point (vCBP, the Virtual Convergent in charge system Billing Point) docked with cloud management platform exemplified by, wherein, business network element vCBP, I layer resource management system is IaaS Stratum server.
401st, vCBP reports Measure Indexes to cloud management platform;
Specifically, the Measure Indexes include:CPU or Mem information inside vCBP.The vCBP can have multiple.
402nd, cloud management platform determines to stretch business network element according to the Measure Indexes;
Cloud management platform may determine that whether the Measure Indexes meet resource thresholding corresponding to saturation seizure condition, if It is, it is determined that business network element is stretched.Resource thresholding can include corresponding to saturation seizure condition:vCPU>80% and hold The continuous time is 15 minutes, or internal memory<5G and duration are 15 minutes.
403rd, cloud management platform sends request to create message to IaaS stratum servers;
Cloud management platform sends request to create message to IaaS stratum servers, and the request to create message is described for asking IaaS stratum servers create the vCBP that will be created.
Specifically, template of the cloud management platform according to application virtual machine, calls Open stack interfaces to IaaS layer services Device initiates the structure of business network element, and the template of the application virtual machine includes:Virtual machine calculating specification, virutal machine memory specification, Magnetic disk of virtual machine specification and network specification.It can be CPU number that virtual machine, which calculates specification, such as 16C;Virutal machine memory specification Can be memory size, such as 128G;Magnetic disk of virtual machine specification can take size, such as 1.1TB with disk.Network specification can be with For VLAN number, with the corresponding relation of Microsoft Loopback Adapter etc..
404th, IaaS stratum servers distribute IaaS layers resource for the vCBP that will be created and create new vCBP;
I layers resource management system calls VMware interface to distribute IaaS layer resources according to specification by Open stack; It is exemplary, vCBP calculate specification and it is interior save as 16C, 128G, disk specification be 1.1TB, and network specification is according to VLAN networkings stroke Point, DHCP (DHCP, Dynamic the Host Configuration that IP passes through Open stack Protocol) mode is distributed automatically.Wherein, disk needs to create volume simultaneously by the Open stack interfaces of PaaS layers and IaaS layers Carry is carried out, network is set by the network planning and arrives target virtual machine, establishes associating for virtual machine network interface card and virtual switch System.The port set of virtual machine interchanger and the corresponding relation of physical network card are specified when network is pre-configured.
Further, disk planning can be carried out to newly-built vCBP by I layers resource management system or cloud management platform:Magnetic Disk specification carries out logical volume division VG/LV according to business demand, disk is mounted into corresponding nodal directory, exemplary is as follows Shown in table:
405th, cloud management platform sends resource bid message to P layers resource management system;
Cloud management platform sends resource bid message to P layers resource management system, and the resource bid message is used for institute State the PaaS layer resources for the vCBP that P layer resource management system applications will create.
Specifically, the PaaS layers resource two-shipper IP address, hostname, user name and DSN.
406th, P layers resource management system distributes PaaS layer resources for the vCBP that will be created;
P layers resource management system distributes PaaS layer resources for the vCBP that will be created, and carries out IaaS stratum servers In PaaS layer resource updates, generate the first routing update information, will create described in first routing update information The routing configuration information of vCBP PaaS layer resources.
Specifically, P layers resource management system locks to PaaS layer atomic stockpiles.PaaS layer resources include:Distribute structure Build configuration and use two-shipper IP, hostname, user name, DSN.The resource changed in flow is stretched in same resource, is made With same resource bid version number.
Resource allocation (get) interface is provided:
Input parameter Description Citing
App Instance Id Application example identifies cbp101
Instance Type Application example type cbp
Attribute Attribute SERVICE_IP
Value Value 10.137.4.187
Version Version 1001
Assuming that currently there are two business network element stretching, and first business network element application IP " 10.164.10.2 ", second Business network element application IP " 10.164.10.3 ", resource " having used, locked " is respectively set to, and uses different version numbers Identify resource occupation.
, it is necessary to set newly-built vCBP and created vCBP access relation during resource stretches, and update new The vCBP built and its periphery vCBP configuration, generate the first routing update information;Exemplary, in P layer resource management systems In memory bank, the renewal of configuration access relation, which is set, may be referred to content:
407th, P layers resource management system feeds back first routing update information to the cloud management platform;
408th, cloud management platform sends instruction message to vCBP;
Optionally, cloud management platform sends the first instruction message to the vCBP that will be created, and first instruction disappears Cease for notifying the vCBP that will be created to obtain PaaS layer resources to the P layers resource management system;Cloud management platform to The vCBP created sends the second instruction message, and the second instruction message is used to notify the vCBP created to institute State P layers resource management system and obtain the PaaS layer resources after renewal.
Optionally, in actual applications, vCBP can be determined without being notified by the cloud management platform by each vCBP When to the P layers resource management system send resource updates message, obtain the PaaS layer resources of renewal.
409th, vCBP sends resource acquisition message to the P layers resource management system;
VCBP sends resource acquisition message to the P layers resource management system, obtains the PaaS layer resources of renewal.
In embodiments of the present invention, the vCBP to P layers resource management system transmission resource acquisition message is to be related to PaaS layers The vCBP of resource updates, including the vCBP created and the vCBP that will be created.
P layers resource management system is after the resource acquisition message is received, after providing renewal to corresponding vCBP PaaS layer resources, and the PaaS layer resources for distributing to the vCBP that will be created before, repaiied from " having used, locked " It is changed to " having used, unlocked ".
410th, cloud management platform sends resource updates notice to the vCBP created and the vCBP that will be created Message;
Cloud management platform sends resource updates notification message to the vCBP created and the vCBP that will be created, The resource updates notification message includes:First routing update information;So that the vCBP created knows what will be created VCBP resource situation, so that the vCBP created the and vCBP that will be created is with can knowing mutual route Location, and then caused business datum in processing network can be cooperateed with.
Only the application scenarios in the embodiment of the present invention are illustrated with some examples above, it is to be understood that In practical application, there can also be more application scenarios, this is not limited here.
In actual applications, except cloud management platform can provide the first routing update information, P layer resources to business network element Management system can also provide the first routing update information to business network element, referring to Fig. 5, resource management in the embodiment of the present invention One embodiment of method includes:
501st, the first business network element reports Measure Indexes to cloud management platform;
Specifically, the Measure Indexes include:CPU or Mem information inside first business network element.The vCBP can have It is multiple.
502nd, cloud management platform determines to stretch business network element according to the Measure Indexes;
Cloud management platform may determine that whether the Measure Indexes meet resource thresholding corresponding to saturation seizure condition, if It is, it is determined that business network element is stretched.Resource thresholding can include corresponding to saturation seizure condition:vCPU>80% and hold The continuous time is 15 minutes, or internal memory<5G and duration are 15 minutes.
503rd, cloud management platform sends request to create message to I layers resource management system;
Cloud management platform sends request to create message to I layers resource management system, and the request to create message is used to ask The I layers resource management system creates the second business network element.
504th, I layers resource management system is that second business network element distributes IaaS layers resource and the second business network element;
I layers resource management system calls VMware interface to distribute IaaS layer resources according to specification by Open stack; And the second business network element according to the IaaS layers asset creation.
505th, cloud management platform sends resource bid message to P layers resource management system;
Cloud management platform sends resource bid message to P layers resource management system, and the resource bid message is used for institute State the PaaS layer resources of P layer resource management system the second business network element of application.
Specifically, the PaaS layers resource two-shipper IP address, hostname, user name and DSN.
506th, P layers resource management system is that second business network element distributes PaaS layer resources;
P layers resource management system is that second business network element distributes PaaS layer resources, and carries out I layer resource management systems In PaaS layer resource updates, generate the first routing update information, first routing update information represents second business After network element is created, the routing configuration letter of the PaaS layer resources of first business network element and second business network element Breath.
507th, the first business network element and the second business network element send resource acquisition message to the P layers resource management system.
First business network element and the second business network element send resource acquisition message to the P layers resource management system, obtain The PaaS layers resource and the first routing update information of renewal.In embodiments of the present invention, send and provide to P layers resource management system The business network element that source obtains message includes each first business network element and the second business network element.
P layers resource management system is after the resource acquisition message is received, after providing renewal to the business network element PaaS layers resource and routing update information so that business network element may be used also in addition to it can know the PaaS layer resources of itself To know the routing configuration information of the business network element of the overall situation, it is easy to caused business datum in collaboration processing network.
After P layers resource management system provides PaaS layer resources to the second business network element, described is distributed to before The PaaS layer resources of two business network element, are revised as " having used, unlocked " from " having used, locked ".
Optionally, in actual applications, business network element can be notified when going by the cloud management platform PaaS layer resources are obtained, resource acquisition message can also be sent from business network element timing to the P layers resource management system, obtained The PaaS layer resources of renewal.
It is understood that in actual applications, not every business network element all there occurs the renewal of PaaS layer resources, Therefore, when not resource updates occur for a certain business network element, P layers resource management system can give tacit consent to the PaaS for not returning to renewal Layer resource, or the notification message of " without resource updates ".
In embodiments of the present invention, because P layers resource management system is used to manage PaaS layers resource and PaaS layer resources Between routing address, therefore, can directly be provided from P layers resource management system to the first business network element and the second business network element Routing update information, without being forwarded by cloud management platform, the flow of resource stretching, extension is simplified, improves the efficiency of processing.
In actual applications, if all pre-creating virtual machine in the physical NE of I layers resource management system deployment, transport Need to consume more Internet resources and storage resource in row, and actually these resources of virtual machine created all do not have largely It is used to, causes the effective rate of utilization of resource low.Therefore, the method for managing resource of the embodiment of the present invention additionally provides resource The flow of contraction, referring to Fig. 6, one embodiment of method for managing resource includes in the embodiment of the present invention:
601st, cloud management platform determines to need the business network element for carrying out resource reclaim;
Cloud management platform receives the Measure Indexes that business network element reports, and the Measure Indexes represent the money of the business network element Source occupancy situation.
Exemplary, in actual applications, all business network element under the management of I layers resource management system all can be every pre- Put duration and report the Measure Indexes to cloud management platform so that cloud management platform grasps global the according to the Measure Indexes The occupation condition of one business network element, it is determined that the resource occupation state in current I layer resource management systems.
Specifically, the Measure Indexes include:Resource metrics and operational indicator;The resource metrics include virtual machine operations CPU, Mem or Disk of system level;The operational indicator include message response time delay, the session number of unit interval inner support, Message response number in unit interval.
Cloud management platform determines to reclaim business network element according to the Measure Indexes;Specifically, in actual applications, The resource occupation state in current I layers resource management system, exemplary, the resource occupation can be determined according to Measure Indexes State can include low seizure condition, normal operation and saturation seizure condition;When cloud management platform is according to the measurement Index determines the resource occupation state in current I layers resource management system when being low seizure condition, it is determined that needs to service network Member is stretched.Specifically, the business network element created that recovery refers to cancelling part is carried out to business network element, to corresponding Resource is reclaimed.
Optionally, determine that resource reclaim there can be two ways:
First, the Measure Indexes reported for single business network element, it is determined whether resource is carried out to the single business network element Recovery.
2nd, the Measure Indexes reported at least two business network element, judge whether the Measure Indexes meet resource door Limit, if so, determining the business network element of resource reclaim at least two business network element.
Specifically, be provided with multiple resource thresholdings in cloud management platform, such as first resource thresholding, Secondary resource thresholding with And information resources thresholding, the low seizure condition of I layer resource management systems is corresponded to respectively, and normal operation and saturation take shape State, cloud management platform may determine that whether the Measure Indexes meet resource thresholding corresponding to saturation seizure condition, if so, then true It is fixed that business network element is stretched.Further, if cloud management platform determines that the Measure Indexes meet normal operation pair The resource thresholding answered, then maintain the current state of the I layers resource management system;If cloud management platform determines the Measure Indexes Meet resource thresholding corresponding to low seizure condition, it is determined that business network element is reclaimed.
After it is determined that needing to carry out business network element recovery, cloud management platform determines the business network element of resource reclaim.
Specifically, cloud management platform determines Data Migration generation at least two business network element according to the Measure Indexes The minimum business network element of valency, and determine the business network element that the minimum business network element of the data migration cost is resource reclaim. In practical application, the migration cost that cloud management platform is considered can include being migrated data volume and data that network element is being handled Migrate topological path.
Optionally, if the business datum handled in the business network element of resource reclaim is zero, data need not be carried out and moved Move;To be not zero, if cloud management platform needs to the money business datum handled in the business network element of resource reclaim The business network element of source recovery sends Data Migration instruction message, indicates that the business network element of resource reclaim carries out Data Migration, empties The business datum handled in the business network element of the resource reclaim.Specifically, the business network element of the resource reclaim can be with For one, or two or more.
602nd, cloud management platform sends resource reclaim message to P layers resource management system;
Cloud management platform sends resource reclaim message to P layers resource management system, and the resource reclaim message is used for institute State the PaaS layer resources that the business network element of the resource reclaim is reclaimed in the application of P layer resource management systems, the resource reclaim message The identification information of the middle business network element for carrying the resource reclaim.
Specifically, the PaaS layers resource two-shipper IP address, hostname, user name and DSN.
Specifically, P layers resource management system, after the resource reclaim message is received, P layers resource management system can be right The PaaS layer resources of the business network element of the resource reclaim are locked, and avoid the PaaS layers resource from being used;Also, carry out PaaS layer resource updates in I layer resource management systems, generate routing update information, and the routing update information represents the money After the PaaS layer resources of the business network element of source recovery are recovered, the route of the PaaS layer resources of at least two business network element Configuration information.After the routing update information is generated, P floor resource management system feeds back the road to the cloud management platform By fresh information.
603rd, cloud management platform receives the routing update information that the P layers resource management system is sent;
Cloud management platform receives the routing update information that the P layers resource management system is sent, the routing update information For the business network element of the resource reclaim PaaS layer resources be recovered after, the P layers resource management system is the multiple The routing configuration information of the PaaS layer resources for the business network element renewal not being recovered in business network element.
604th, cloud management platform sends resource updates notification message to the business network element not being recovered;
Cloud management platform sends resource updates notification message to the business network element not being recovered, and the resource updates notice disappears Breath includes:The routing update information so that each business network element can redistribute the processing path of business datum.
605th, cloud management platform sends network element revocation message to I layers resource management system.
Cloud management platform sends network element revocation message to I layers resource management system, and the network element revocation message is used to ask The infrastructure device that the I layers resource management system reclaims the business network element of the resource reclaim services IaaS layer resources, described Network element revocation message carries the identification information for the business network element for needing the resource reclaim.
In embodiments of the present invention, after it is determined that needing to carry out the contraction of business network element, cloud management platform determines resource The business network element of recovery, resource reclaim message is sent to P layers resource management system, and network element is sent to I layers resource management system Revocation message so that I layers resource management system and P layers resource management system can reclaim idle resource, realize business automatically The elastic shrinkage of network element.
It is understood that step 604 is to 606 in embodiments of the present invention, with step 607 without strict priority sequential Relation, you can to first carry out step 607, then step 604 is performed to 606, to technical problem to be solved of the embodiment of the present invention Do not have an impact.
Method for managing resource in the embodiment of the present invention is described from the angle of P layer resource management systems below, please be join Read Fig. 7, one embodiment of method for managing resource includes in the embodiment of the present invention:
701st, P layers resource management system receives the resource reclaim message that cloud management platform is sent;
P layers resource management system receives the resource reclaim message that cloud management platform is sent, and the resource reclaim message is used for The platform of the business network element reclaimed to the P layers resource management system application Resource recovery services PaaS layer resources, the money Source recovery message carries the identification information for the business network element for needing the resource reclaim.
702nd, P layers resource management system reclaims the business network element of the resource reclaim according to the resource reclaim message PaaS layer resources;
P layers resource management system reclaims the PaaS layers of the business network element of the resource reclaim according to the resource reclaim message Resource, and the PaaS layer resource updates in I layer resource management systems are carried out, generate routing update information, the routing update letter After the PaaS layer resources ceased for the business network element of the resource reclaim are recovered, the P layers resource management system is described more The routing configuration information of the PaaS layer resources for the business network element renewal not being recovered in individual business network element.
After PaaS layer resource updates are completed, P layers resource management system provides more to the business network element not being recovered PaaS layer resources after new;
Optionally, PaaS layer resources can be updated by business network element active request, can also be by P layer resource management system masters Trend business network element provides the PaaS layer resources after renewal, is specifically not construed as limiting herein.
703rd, P layers resource management system feeds back the routing update information to the cloud management platform.
P layers resource management system feeds back the routing update information to the cloud management platform so that cloud management platform can To provide the routing update information to each business network element, and then each business network element is allowd to redistribute business datum Processing path.
It is understood that in embodiments of the present invention step 703 and step 704 without strict priority sequential relationship, Step 704 can be first carried out, then performs step 703, technical problem to be solved of the embodiment of the present invention is not had an impact.
In order to make it easy to understand, below with a concrete application scene to the method for managing resource described in the above embodiments again It is described in detail, refer to Fig. 8, is specially:
The embodiment of the present invention so that the vCBP in charge system docks with cloud management platform as an example, wherein, business network element is VCBP, I layer resource management system are IaaS stratum servers.
801st, vCBP reports Measure Indexes to cloud management platform;
Specifically, the Measure Indexes include:CPU or Mem information inside vCBP.The vCBP can have multiple.
802nd, cloud management platform determines to reclaim vCBP resources according to the Measure Indexes;
Cloud management platform may determine that whether the Measure Indexes meet resource thresholding corresponding to low seizure condition, if so, Then determine to reclaim vCBP resources.Resource thresholding can be corresponding to low seizure condition:vCPU<15% and the duration be 48 hours.
803rd, cloud management platform determines to shrink vCBP;
Cloud management platform determines that contraction vCBP, the contraction vCBP are the vCBP for needing to carry out resource reclaim.
Specifically, cloud management platform determines that data migration cost is most at least two vCBP according to the Measure Indexes Small vCBP, and the minimum vCBP of the data migration cost is determined to shrink vCBP.In actual applications, cloud management platform is examined The migration cost of amount can include being migrated data volume and the Data Migration topological path that network element is being handled.
Optionally, if it is zero to shrink the business datum handled in vCBP, Data Migration need not be carried out;If shrink The business datum handled in vCBP is is not zero, then cloud management platform needs to refer to contraction vCBP transmission Data Migrations Show message, instruction shrinks vCBP and carries out Data Migration, empties the business datum handled in the contraction vCBP.
804th, cloud management platform sends the instruction message of Data Migration to the contraction vCBP;
Cloud management platform sends the instruction message of Data Migration, the instruction message of the Data Migration to the contraction vCBP For indicating that shrinking vCBP carries out Data Migration, empties the business datum handled in the contraction vCBP.
805th, shrink vCBP and migrate completion message to cloud management platform returned data;
Shrink vCBP and Data Migration carried out according to the instruction message of the Data Migration, complete the Data Migration it Afterwards, shrink vCBP and migrate completion message to cloud management platform returned data.
806th, cloud management platform sends resource reclaim message to P layers resource management system;
Cloud management platform sends resource reclaim message to P layers resource management system, and the resource reclaim message is used for institute State the PaaS layer resources that the contraction vCBP is reclaimed in the application of P layer resource management systems.
Specifically, the PaaS layers resource two-shipper IP address, hostname, user name and DSN.
807th, P layers resource management system reclaims to PaaS layer resources;
For P layers resource management system after the resource reclaim message is received, P layers resource management system can be to the contraction VCBP PaaS layer resources are locked, and avoid the PaaS layers resource from being used;Also, carry out in IaaS stratum servers PaaS layer resource updates, generate routing update information, and the routing update information represents the PaaS layer resources of the contraction vCBP After being recovered, the routing configuration information of the PaaS layer resources of at least two vCBP.Generating the routing update information Afterwards, P layers resource management system feeds back the routing update information to the cloud management platform.
Exemplary, there is provided the interface of resource reclaim (release) is as follows:
Input parameter Description Citing
App InstanceId Application example identifies cbp101
Instance Type Application example type cbp
Attribute Attribute SERVICE_IP
Value Value 10.137.4.187
Version Version 1001
Exemplary, if current have two vCBP to need to carry out resource contraction, first IP for shrinking vCBP releases is " 10.164.10.2 ", second IP " 10.164.10.3 " for shrinking vCBP releases, accordingly, IP resources are respectively set to " not Use, locked ", and the flow discharged using different version number's mark triggering resources.
808th, P layers resource management system provides the PaaS layer resources after renewal to the vCBP for being related to the resource updates;
Optionally, after actively can providing renewal to the vCBP for being related to the resource updates from P layers resource management system PaaS layer resources;Resource acquisition message can also be sent from vCBP timings to the P layers resource management system, obtain renewal PaaS layer resources.
809th, the routing update information that P layers resource management system feeds back to cloud management platform;
Cloud management platform receives the routing update information that the P layers resource management system is sent, the routing update information After representing that the PaaS layer resources of the contraction vCBP are recovered, P layers resource management system is the vCBP renewals not being recovered The routing configuration information of PaaS layer resources.
810th, cloud management platform sends resource updates notification message to vCBP;
Cloud management platform sends resource updates notification message to vCBP, and the resource updates notification message includes:The road By fresh information so that each vCBP can redistribute the processing path of business datum.
811st, cloud management platform sends network element revocation message to IaaS stratum servers;
Cloud management platform sends network element revocation message to IaaS stratum servers, and the network element revocation message is described for asking IaaS stratum servers reclaim the IaaS layer resources of the contraction vCBP.
812nd, IaaS stratum servers reclaim the IaaS layer resources of the contraction vCBP.
Only the application scenarios in the embodiment of the present invention are illustrated with some examples above, it is to be understood that In practical application, there can also be more application scenarios, this is not limited here.
In actual applications, except cloud management platform can provide the first routing update information, P layer resources to business network element Management system can also provide the first routing update information to business network element, referring to Fig. 9, resource management in the embodiment of the present invention One embodiment of method includes:
901st, business network element reports Measure Indexes to cloud management platform;
Specifically, the Measure Indexes include:CPU or Mem information inside business network element.The business network element can have It is multiple.
902nd, cloud management platform determines to reclaim business network element according to the Measure Indexes;
Cloud management platform may determine that whether the Measure Indexes meet resource thresholding corresponding to low seizure condition, if so, Then determine to reclaim business network element.Resource thresholding can be corresponding to low seizure condition:vCPU<15% and the duration be 48 hours.
903rd, cloud management platform determines the business network element of resource reclaim;
Cloud management platform determines the business network element of resource reclaim.
Specifically, cloud management platform determines data migration cost minimum in each business network element according to the Measure Indexes Business network element, and determine the business network element that the minimum business network element of the data migration cost is resource reclaim.In practical application In, the migration cost that cloud management platform is considered can include being migrated data volume and Data Migration topology that network element is being handled Path.
Optionally, if the business datum handled in the business network element of resource reclaim is zero, data need not be carried out and moved Move;To be not zero, if cloud management platform needs to the money business datum handled in the business network element of resource reclaim The business network element of source recovery sends Data Migration second and indicates message, indicates that the business network element of resource reclaim carries out Data Migration, Empty the business datum handled in the business network element of the resource reclaim.
904th, cloud management platform sends the instruction message of Data Migration to the business network element of the resource reclaim;
Cloud management platform sends the instruction message of Data Migration, the Data Migration to the business network element of the resource reclaim Instruction message be used to indicate that the business network element of resource reclaim to carry out Data Migration, in the business network element for emptying the resource reclaim The business datum handled.
905th, the business network element of resource reclaim migrates completion message to cloud management platform returned data;
The business network element of resource reclaim carries out Data Migration according to the instruction message of the Data Migration, completes the number After migration, the business network element of resource reclaim migrates completion message to cloud management platform returned data.
906th, cloud management platform sends resource reclaim message to P layers resource management system;
Cloud management platform sends resource reclaim message to P layers resource management system, and the resource reclaim message is used for institute State the PaaS layer resources that the business network element of the resource reclaim is reclaimed in the application of P layer resource management systems.
Specifically, the PaaS layers resource two-shipper IP address, hostname, user name and DSN.
907th, P layers resource management system reclaims to PaaS layer resources;
For P layers resource management system after the resource reclaim message is received, P layers resource management system can be to the resource The PaaS layer resources of the business network element of recovery are locked, and avoid the PaaS layers resource from being used;Also, carry out I layer resources PaaS layer resource updates in management system, generate routing update information, and the routing update information represents the resource reclaim Business network element PaaS layer resources be recovered after, the routing configurations of the PaaS layer resources of at least two business network element letter Breath.
908th, business network element sends resource acquisition message to the P layers resource management system;
Each business network element sends resource acquisition message every preset time period to the P layers resource management system, obtains more New PaaS layers resource and the first routing update information.
P layers resource management system is after the resource acquisition message is received, after providing renewal to the business network element PaaS layers resource and the first routing update information so that business network element in addition to it can know the PaaS layer resources of itself, The routing configuration information of the business network element of the overall situation can also be known, be easy to caused business datum in collaboration processing network.
It is understood that in actual applications, not every business network element all there occurs the renewal of PaaS layer resources, Therefore, when not resource updates occur for a certain business network element, P layers resource management system can give tacit consent to the PaaS for not returning to renewal Layer resource, or the notification message of " without resource updates ".
After P layers resource management system provides PaaS layer resources to the second business network element, described is distributed to before The PaaS layer resources of two business network element, are revised as " having used, unlocked " from " having used, locked ".
Optionally, in actual applications, business network element can be notified when going by the cloud management platform PaaS layer resources are obtained, resource acquisition message can also be sent from business network element timing to the P layers resource management system, obtained The PaaS layer resources of renewal.
909th, cloud management platform sends network element revocation message to I layers resource management system;
Cloud management platform sends network element revocation message to I layers resource management system, and the network element revocation message is used to ask The I layers resource management system reclaims the IaaS layer resources of the business network element of the resource reclaim.
910th, I layers resource management system reclaims the IaaS layer resources of the business network element of the resource reclaim.
Below to realizing that the cloud management platform of above-mentioned method for managing resource is described in the embodiment of the present invention, figure is referred to 10, it is necessary to which explanation, described method in above-mentioned each embodiment of method for managing resource, may be implemented in the cloud management of the present invention Platform.One embodiment of medium cloud management platform of the embodiment of the present invention includes:
Determining unit 1001 is stretched, for determining to carry out business network element according to the occupation condition of the first business network element Stretching, extension;
Transmitting element 1002, for sending request to create message to I layers resource management system, the request to create message is used The second business network element is created in asking the I layers resource management system;The request to create message carries second service network The infrastructure device of member services IaaS layer resource bid templates;
The transmitting element 1002 is additionally operable to send resource bid message, the resource bid to P layers resource management system Message is used to service PaaS layer resources to the platform of the second business network element described in the P layers resource management system application;
Receiving unit 1003, the first routing update information sent for receiving the P layers resource management system, described the One routing update information is the routing configuration information of the PaaS layer resources of second business network element;
The transmitting element 1002 is additionally operable to send resource updates notification message, the resource to first business network element Update notification message includes:First routing update information.
Further, the stretching, extension determining unit 1001 is used for:
The Measure Indexes that first business network element reports are received, the Measure Indexes represent first business network element Occupation condition;
Judge whether the Measure Indexes meet resource thresholding, if, it is determined that business network element is stretched.
The receiving unit 1003 is additionally operable to:
The secondary route fresh information that the P layers resource management system is sent is received, the secondary route fresh information is After second business network element is created, P layers resource management system is the PaaS layer resources of first business network element renewal Routing configuration information;
The transmitting element 1002 is additionally operable to:
Resource updates notification message is sent to second business network element, the resource updates notification message includes:It is described Secondary route fresh information.
The transmitting element 1002 is additionally operable to:
The first instruction message is sent to second business network element, the first instruction message is used to notify second industry Business network element obtains the PaaS layer resources of second business network element to the P layers resource management system;
The transmitting element 1002 is additionally operable to:
The second instruction message is sent to first business network element, the second instruction message is used to notify first industry Business network element obtains the PaaS layer resources after renewal to the P layers resource management system.
Exemplary, the Measure Indexes include:Resource metrics and operational indicator;The resource metrics are grasped including virtual machine Make the central processor CPU, internal memory Mem or hard disk Disk of system level;The operational indicator includes message response time delay, unit The session number of time inner support, the message response number in the unit interval;
The PaaS layers resource includes:Two-shipper Internet protocol IP address, Hostname hostname, user name and number According to source name.
The concrete operations of medium cloud management platform unit of the embodiment of the present invention are:
Stretching, extension determining unit 1001 receives the Measure Indexes that report of the first business network element, and the Measure Indexes represent described the The occupation condition of one business network element.The cloud management platform judges whether the Measure Indexes meet resource thresholding, if so, Then determine to stretch business network element.
Exemplary, in actual applications, all first business network element under the management of I layers resource management system all can be every The Measure Indexes are reported to cloud management platform so that cloud management platform is grasped global according to the Measure Indexes every preset time period The first business network element occupation condition, it is determined that the resource occupation state in current I layer resource management systems.
First business network element represents the business network element created, and first business network element can have multiple;It is described Second business network element represents the business network element that will be created;It is understood that in embodiments of the present invention, " first " and " Two " are only used for distinguishing the business network element that has created and will create, and are not offered as the physical significances such as " size ", " order ".
Specifically, the Measure Indexes include:Resource metrics and operational indicator;The resource metrics include virtual machine operations CPU, Mem or Disk of system level;The operational indicator include message response time delay, the session number of unit interval inner support, Message response number in unit interval.
Stretching, extension determining unit 1001 determines to stretch business network element according to the Measure Indexes;Specifically, in reality In, the resource occupation state in current I layers resource management system can be determined according to Measure Indexes, it is exemplary, it is described Resource occupation state can include low seizure condition, normal operation and saturation seizure condition;When cloud management platform according to The Measure Indexes determine the resource occupation state in current I layers resource management system when being saturation seizure condition, it is determined that need Business network element is stretched.
Specifically, carrying out business network element stretching, extension refer to that business network element will be created in the physical resource disposed.
Specifically, be provided with multiple resource thresholdings in cloud management platform, such as first resource thresholding, Secondary resource thresholding with And information resources thresholding, the low seizure condition of I layer resource management systems is corresponded to respectively, and normal operation and saturation take shape State, cloud management platform may determine that whether the Measure Indexes meet resource thresholding corresponding to saturation seizure condition, if so, then true It is fixed that business network element is stretched.Further, if cloud management platform determines that the Measure Indexes meet normal operation pair The resource thresholding answered, then maintain the current state of the I layers resource management system;If cloud management platform determines the Measure Indexes Meet resource thresholding corresponding to low seizure condition, it is determined that (the business that i.e. revocation part has created is reclaimed to business network element Network element).
Transmitting element 1002 sends request to create message to I layers resource management system, and the request to create message is used for please The I layers resource management system is asked to create the second business network element.The request to create message carries second business network element Infrastructure device services IaaS layer resource bid templates.
Specifically, cloud management platform can call Open according to the specification and application virtual machine template specified using design Stack interfaces initiate the structure of IaaS layer resources to I layers resource management system.Exemplary, IaaS layer resources include:Virtual machine Calculate specification, generally CPU number, such as 16C;Virutal machine memory specification, generally memory size, such as 128G;Virtual machine Disk specification, generally disk take size, such as 1.1TB.Network specification, generally VLAN (VLAN, Virtual Local Area Network) number, the corresponding relation with Microsoft Loopback Adapter, it is to apply required network, such as business, pipe Reason, backup, heartbeat, signaling, data duplication etc..
Specifically, I layers resource management system after request to create message is received, is called virtual by Open stack The interface of machine instrument (VMware, Virtual Machine ware) distributes IaaS layer resources according to specification, and based on described IaaS layer asset creations virtual machine (i.e. described second business network element).
Transmitting element 1002 to P layers resource management system send resource bid message, the resource bid message be used for The PaaS layer resources of second business network element described in the P layers resource management system application.
Specifically, the PaaS layers resource two-shipper IP address, Hostname (hostname), user name and dataSource link Claim.
Specifically, P layers resource management system, after the resource bid message is received, P layers resource management system can be true Surely the PaaS layer resources of second business network element are distributed to, then the PaaS layer resources of second business network element are added Lock, avoids other business network element from using the PaaS layers resource;Then, P layers resource management system sets second service network The first and annexation of first business network element on the second business network element periphery, and the first via is generated according to the annexation By fresh information, after first routing update information represents that second business network element is created, first service network The routing configuration information of member and the PaaS layer resources of the second business network element;Generate first routing update information it Afterwards, first routing update information is fed back to the cloud management platform by P layers resource management system.
Receiving unit 1003 receives the first routing update information that the P layers resource management system is sent, the first via Routing configuration information by fresh information for the PaaS layer resources of second business network element.
Transmitting element 1002 sends resource updates notification message to first business network element, and the resource updates notice disappears Breath includes:First routing update information;So that the first business network element knows the resource situation of the second business network element, so that Mutual routing address can be known by obtaining the first business network element and the second business network element, and then can be cooperateed with processing network Caused business datum.
Further, receiving unit 1003 receives the secondary route fresh information that the P layers resource management system is sent, institute It is that P layers resource management system is first business after second business network element is created to state secondary route fresh information The routing configuration information of the PaaS layer resources of network element renewal.After cloud management platform receives the secondary route fresh information, Resource updates notification message is sent to second business network element, the resource updates notification message includes:The secondary route Fresh information.
Specifically, first routing update information and the secondary route fresh information can be sent out by same message Give the cloud management platform.
In actual applications, when in the business network element of I layer resource management system management again increased business network element newly, then with newly The PaaS layers resource that the business network element of increasing has the business network element of annexation may change, so as to change each business network element Between routing relation, therefore, in embodiments of the present invention, cloud management platform is needed to the first business network element and the second service network Member sends resource updates notification message, is believed with providing newest routing configuration to first business network element and the second business network element Breath.
In embodiments of the present invention, after it is determined that needing to carry out the stretching, extension of business network element, cloud management platform can provide to I layers Management system sends request to create message, asks the I layers resource management system to create the second business network element;It is also, described Cloud management platform sends resource bid message to P layers resource management system, to second described in the P layers resource management system application The PaaS layer resources of business network element;After the first routing update information of P layers resource management system feedback, the cloud pipe Platform sends the resource updates notification message for carrying first routing update information to first business network element so that the One business network element cooperates with caused business datum in processing network with the second business network element that will be created, and realizes service network automatically The elastic stretch of member.
, please below to realizing that the P layer resource management systems of above-mentioned method for managing resource are described in the embodiment of the present invention Refering to Figure 11, it is necessary to illustrate, described method in above-mentioned each embodiment of method for managing resource, it may be implemented in the present invention's P layer resource management systems.One embodiment of P layers resource management system includes in the embodiment of the present invention:
Receiving unit 1101, for receiving the resource bid message of cloud management platform transmission, the resource bid message is used In the PaaS layer resources to the second business network element of the P layers resource management system application;
Resource allocation unit 1102, for for second business network element distribute PaaS layer resources, and generate the first via by Fresh information, first routing update information are the routing configuration information of the PaaS layer resources of second business network element;
Transmitting element 1103, for feeding back first routing update information to the cloud management platform so that the cloud Management platform feeds back first routing update information to the first business network element.
Further, the P layers resource management system also includes:
Information generating unit 1104, for generating secondary route fresh information, the secondary route fresh information is described After second business network element is created, P floor resource management system is the road of the PaaS floor resources of first business network element renewal By configuration information;
The transmitting element 1103 is additionally operable to:
The secondary route fresh information is fed back to the cloud management platform so that the cloud management platform is to the second business Network element feeds back the secondary route fresh information.
The resource allocation unit 1102 is specifically used for:
It is determined that distributing to the PaaS layer resources of second business network element, the PaaS layers resource includes:Two-shipper internet Protocol IP address, Hostname hostname, user name and DSN;
The PaaS layer resources of second business network element are locked;
The annexation of second business network element and first business network element on the second business network element periphery is set, and First routing update information is generated according to the annexation.
The concrete operations of P layers resource management system unit are in the embodiment of the present invention:
Receiving unit 1101 receives the resource bid message that cloud management platform is sent, and the resource bid message is used for institute The PaaS layer resources of P layer resource management system the second business network element of application are stated, the PaaS layers resource includes:Two-shipper IP address, Hostname hostname, user name and DSN.
Resource allocation unit 1102 is that second business network element distributes PaaS layer resources, and carries out I layer resource managements system PaaS layer resource updates in system, the first routing update information is generated, first routing update information is second business The routing configuration information of the PaaS layer resources of network element.
Specifically, P layers resource management system, after the resource bid message of cloud management platform transmission is received, inquiry is not Occupied PaaS layers resource, it is determined that distributing to the PaaS layer resources of second business network element;It is determined that distributing to described After the PaaS layer resources of two business network element, (i.e. locking distribution is locked to the PaaS layer resources of second business network element To the resource of second business network element, prevent other business network element uses), and set second business network element with it is described The annexation of first business network element on the second business network element periphery so that can be with the second business network element in the first business network element Cooperate with processing business data;Finally, the first routing update information is generated according to the annexation.
Further, it is after second business network element distributes PaaS layer resources described the in P layers resource management system Two business network element can obtain PaaS layer resources into the P layers resource management system;Optionally, if P layer resource management systems During distributing PaaS layer resources for second business network element, it is related to the PaaS layers resource of the first business network element more Newly, then the first business network element for being related to PaaS layer resource updates is also required to obtain PaaS layers in the P layers resource management system Resource.
Transmitting element 1103 feeds back first routing update information to the cloud management platform so that cloud management platform will First routing update information is sent to the first business network element and the second business network element, so that can in the first business network element To cooperate with processing business data with the second business network element.
Further, it is described after distributing PaaS layer resources due to P layers resource management system for second business network element Second business network element needs to be communicated with the first business network element, and therefore, P layer resource management systems need to generate secondary route more Fresh information, the secondary route fresh information are that P layer resource management systems are described after second business network element is created The routing configuration information of the PaaS layer resources of first business network element renewal;Again the secondary route is fed back to the cloud management platform Fresh information so that the cloud management platform feeds back the secondary route fresh information to the second business network element.
Below to realizing that the cloud management platform of above-mentioned method for managing resource is described in the embodiment of the present invention, figure is referred to 12, it is necessary to which explanation, described method in above-mentioned each embodiment of method for managing resource, may be implemented in the cloud management of the present invention Platform.One embodiment of medium cloud management platform of the embodiment of the present invention includes:
Determining unit 1201 is reclaimed, for determining to need the business network element for carrying out resource reclaim;
Transmitting element 1202, for sending resource reclaim message to P layers resource management system, the resource reclaim message is used PaaS layer resources are serviced in the platform that the business network element is reclaimed to the P layers resource management system application, the resource is returned Receive the identification information for the business network element that the resource reclaim is carried in message.
Receiving unit 1203, the routing update information sent for receiving the P layers resource management system, the route is more After fresh information is recovered for the PaaS layer resources of the business network element of the resource reclaim, the P layers resource management system is institute State the routing configuration information of the PaaS layer resources for the business network element renewal not being recovered in multiple business network element;
The transmitting element 1202 is additionally operable to send resource updates notification message, institute to the business network element not being recovered Stating resource updates notification message includes:The routing update information;
The transmitting element 1202 is additionally operable to send network element revocation message, the network element revocation to I layers resource management system The infrastructure device that message is used for the business network element for asking the I layers resource management system to reclaim the resource reclaim services IaaS Layer resource, the network element revocation message carry the identification information for the business network element for needing the resource reclaim.
Further, the recovery determining unit 1201 is specifically used for:
The Measure Indexes that at least two business network element report are received, the Measure Indexes represent the resource of the business network element Occupancy situation;
Judge whether the Measure Indexes meet resource thresholding, if so, determining money at least two business network element The business network element of source recovery.
Further, the recovery determining unit 1201 is specifically additionally operable to:
The business network element that data migration cost is minimum at least two business network element is determined according to the Measure Indexes, And determine the business network element that the minimum business network element of the data migration cost is resource reclaim.
Further, the transmitting element 1202 is additionally operable to:
The cloud management platform sends Data Migration instruction message to the business network element of the resource reclaim, and the data are moved Move instruction message and be used to indicate that the business network element of resource reclaim to carry out Data Migration, in the business network element for emptying the resource reclaim The business datum handled.
Exemplary, the Measure Indexes include:Resource metrics and operational indicator;The resource metrics are grasped including virtual machine Make the central processor CPU, internal memory Mem or hard disk Disk of system level;The operational indicator includes message response time delay, unit The session number of time inner support, the message response number in the unit interval;
The PaaS layers resource includes:Two-shipper Internet protocol IP address, Hostname hostname, user name and number According to source name.
The concrete operations of medium cloud management platform unit of the embodiment of the present invention are:
Recovery determining unit 1201 receives the Measure Indexes that business network element reports, and the Measure Indexes represent the service network The occupation condition of member.
Exemplary, in actual applications, all business network element under the management of I layers resource management system all can be every pre- Put duration and report the Measure Indexes to cloud management platform so that cloud management platform grasps global the according to the Measure Indexes The occupation condition of one business network element, it is determined that the resource occupation state in current I layer resource management systems.
Specifically, the Measure Indexes include:Resource metrics and operational indicator;The resource metrics include virtual machine operations CPU, Mem or Disk of system level;The operational indicator include message response time delay, the session number of unit interval inner support, Message response number in unit interval.
Recovery determining unit 1201 determines to reclaim business network element according to the Measure Indexes;Specifically, in reality In, the resource occupation state in current I layers resource management system can be determined according to Measure Indexes, it is exemplary, it is described Resource occupation state can include low seizure condition, normal operation and saturation seizure condition;When cloud management platform according to The Measure Indexes determine the resource occupation state in current I layers resource management system when being low seizure condition, it is determined that need Business network element is stretched.Specifically, the business network element created that recovery refers to cancelling part is carried out to business network element, Corresponding resource is reclaimed.
Optionally, determine that resource reclaim there can be two ways:
First, the Measure Indexes reported for single business network element, it is determined whether resource is carried out to the single business network element Recovery.
2nd, the Measure Indexes reported at least two business network element, judge whether the Measure Indexes meet resource door Limit, if so, determining the business network element of resource reclaim at least two business network element.
Specifically, be provided with multiple resource thresholdings in cloud management platform, such as first resource thresholding, Secondary resource thresholding with And information resources thresholding, the low seizure condition of I layer resource management systems is corresponded to respectively, and normal operation and saturation take shape State, cloud management platform may determine that whether the Measure Indexes meet resource thresholding corresponding to saturation seizure condition, if so, then true It is fixed that business network element is stretched.Further, if cloud management platform determines that the Measure Indexes meet normal operation pair The resource thresholding answered, then maintain the current state of the I layers resource management system;If cloud management platform determines the Measure Indexes Meet resource thresholding corresponding to low seizure condition, it is determined that business network element is reclaimed.
After it is determined that needing to carry out business network element recovery, cloud management platform determines the business network element of resource reclaim.
Specifically, cloud management platform determines Data Migration generation at least two business network element according to the Measure Indexes The minimum business network element of valency, and determine the business network element that the minimum business network element of the data migration cost is resource reclaim. In practical application, the migration cost that cloud management platform is considered can include being migrated data volume and data that network element is being handled Migrate topological path.
Optionally, if the business datum handled in the business network element of resource reclaim is zero, data need not be carried out and moved Move;To be not zero, if cloud management platform needs to the money business datum handled in the business network element of resource reclaim The business network element of source recovery sends Data Migration instruction message, indicates that the business network element of resource reclaim carries out Data Migration, empties The business datum handled in the business network element of the resource reclaim.Specifically, the business network element of the resource reclaim can be with For one, or two or more.
Transmitting element 1202 to P layers resource management system send resource reclaim message, the resource reclaim message be used for The PaaS layer resources of the business network element of the resource reclaim are reclaimed in the P layers resource management system application, and the resource reclaim disappears The identification information of the business network element of the resource reclaim is carried in breath.
Specifically, the PaaS layers resource two-shipper IP address, hostname, user name and DSN.
Specifically, P layers resource management system, after the resource reclaim message is received, P layers resource management system can be right The PaaS layer resources of the business network element of the resource reclaim are locked, and avoid the PaaS layers resource from being used;Also, carry out PaaS layer resource updates in I layer resource management systems, generate routing update information, and the routing update information represents the money After the PaaS layer resources of the business network element of source recovery are recovered, the route of the PaaS layer resources of at least two business network element Configuration information.After the routing update information is generated, P floor resource management system feeds back the road to the cloud management platform By fresh information.
Receiving unit 1203 receives the routing update information that the P layers resource management system is sent, the routing update letter After the PaaS layer resources ceased for the business network element of the resource reclaim are recovered, the P layers resource management system is described more The routing configuration information of the PaaS layer resources for the business network element renewal not being recovered in individual business network element.
Transmitting element 1202 sends resource updates notification message, the resource updates notice to the business network element not being recovered Message includes:The routing update information so that each business network element can redistribute the processing path of business datum.
The transmitting element 1202 sends network element revocation message to I layers resource management system, and the network element revocation message is used IaaS layers money is serviced in the infrastructure device for the business network element for asking the I layers resource management system recovery resource reclaim Source, the network element revocation message carry the identification information for the business network element for needing the resource reclaim.
In embodiments of the present invention, after it is determined that needing to carry out the contraction of business network element, cloud management platform determines resource The business network element of recovery, resource reclaim message is sent to P layers resource management system, and network element is sent to I layers resource management system Revocation message so that I layers resource management system and P layers resource management system can reclaim idle resource, realize business automatically The elastic shrinkage of network element.
, please below to realizing that the P layer resource management systems of above-mentioned method for managing resource are described in the embodiment of the present invention Refering to Figure 13, it is necessary to illustrate, described method in above-mentioned each embodiment of method for managing resource, it may be implemented in the present invention's P layer resource management systems.One embodiment of P layers resource management system includes in the embodiment of the present invention:
Receiving unit 1301, for receiving the resource reclaim message of cloud management platform transmission, the resource reclaim message is used PaaS layer resources are serviced in the platform of the business network element reclaimed to the P layers resource management system application Resource recovery, it is described Resource reclaim message carries the identification information for the business network element for needing the resource reclaim;
Resource reclaim unit 1302, for the business network element according to the resource reclaim message recovery resource reclaim PaaS layer resources, and routing update information is generated, the routing update information is the PaaS of the business network element of the resource reclaim After layer resource is recovered, the P layers resource management system is that the business network element that is not recovered is more in the multiple business network element The routing configuration information of new PaaS layer resources;
Transmitting element 1303, for sending the routing update information to the cloud management platform.
Further, the resource reclaim unit 1302 is additionally operable to:
Resource reclaim unit 1302 locks to the PaaS layer resources of the business network element of the resource reclaim, the PaaS Layer resource includes:Two-shipper Internet protocol IP address, Hostname hostname, user name and DSN.
The concrete operations of P layers resource management system unit are in the embodiment of the present invention:
Receiving unit 1301 receives the resource reclaim message that cloud management platform is sent, and the resource reclaim message is used for institute The platform for stating the business network element of P layer resource management system applications Resource recovery recovery services PaaS layer resources, and the resource is returned Receive the identification information that message carries the business network element for needing the resource reclaim.
Resource reclaim unit 1302 reclaims the PaaS of the business network element of the resource reclaim according to the resource reclaim message Layer resource, and the PaaS layer resource updates in I layer resource management systems are carried out, generate routing update information, the routing update After information is recovered for the PaaS layer resources of the business network element of the resource reclaim, the P layers resource management system is described The routing configuration information of the PaaS layer resources for the business network element renewal not being recovered in multiple business network element.
After PaaS layer resource updates are completed, P layers resource management system provides more to the business network element not being recovered PaaS layer resources after new;
Optionally, PaaS layer resources can be updated by business network element active request, can also be by P layer resource management system masters Trend business network element provides the PaaS layer resources after renewal, is specifically not construed as limiting herein.
Transmitting element 1303 feeds back the routing update information to the cloud management platform so that cloud management platform can be to Each business network element provides the routing update information, and then allows each business network element to redistribute the place of business datum Line of reasoning footpath.
Figure 14 is the computer configuation schematic diagram of cloud management of embodiment of the present invention platform or P layer resource management systems.Yun Guan Platform or P layer resource management systems may include reception device 1410, dispensing device 1420, processor 1430, memory 1440, Bus system 1450.
Reception device 1410 and dispensing device 1420 establish communication channel, make terminal by the communication channel to be connected to Remote server, and from the remote server downloads of media data, or to the remote server upload media data.Can be with Including WLAN (Wireless Local Area Network, wireless LAN) module, bluetooth module, base band The communication modules such as (Base Band) module, and radio frequency corresponding to the communication module (Radio Frequency, RF) circuit, For carrying out WLAN communication, Bluetooth communication, infrared communication and/or cellular communications system communication, such as broadband Code division re-accesses (Wideband Code Division Multiple Access, W-CDMA) and/or high-speed downstream package more Access (High Speed Downlink Packet Access, HSDPA).The communication module is each in terminal for controlling The communication of component, and direct memory access (Direct Memory Access) can be supported.
In the different embodiments of the present invention, the various communication moulds in the reception device 1410 or dispensing device 1420 Block occurs typically in the form of IC chip (Integrated Circuit Chip), and the property of can be chosen combines, and All communication modules and corresponding antenna sets need not be included.For example, the reception device 1410 or dispensing device 1420 can Only to include baseband chip, radio frequency chip and corresponding antenna to provide communication function in a cellular communication system.Through The radio communication established by the reception device 1410 or dispensing device 1420 connects, for example, WLAN access or WCDMA is accessed, and the terminal can be connected to Cellular Networks (Cellular Network) or internet (Internet).In this hair In some bright optional embodiments, the communication module in the transceiver 1360, such as baseband module are desirably integrated into processing In device.
Memory 1440 can include read-only storage and random access memory, and to processor 330 provide instruction and Data.The a part of of memory 1440 can also include nonvolatile RAM (NVRAM).
Memory 1440 stores following element, can perform module either data structure or their subset, or Their superset:
Operational order:Including various operational orders, for realizing various operations.
Operating system:Including various system programs, for realizing various basic businesses and the hardware based task of processing.
In embodiments of the present invention, by calling the operational order that memory 1440 stores, (operation refers to processor 1430 Order is storable in operating system), perform following operation:
The inner eye corner point of target image is positioned, the inner eye corner point is in the horizontal direction in the canthus of bridge of the nose near-end point;
Ocular image in the target image is intercepted according to the inner eye corner point;
The ladder of pixel in the ocular image is calculated according to the difference of gradation of image in the ocular image Degree, and the pupil center in the ocular image is determined according to the gradient of the pixel.
Processor 1430 controls the operation of cloud management platform or P layer resource management systems, and processor 1430 can also be referred to as CPU (Central Processing Unit, CPU).Memory 1440 can include read-only storage and random Memory is accessed, and instruction and data is provided to processor 1430.Memory 1440 it is a part of can also include it is non-volatile Random access memory (NVRAM).In specific application, each component of cloud management platform or P layer resource management systems passes through Bus system 1450 is coupled, wherein bus system 1450 in addition to including data/address bus, can also include power bus, Controlling bus and status signal bus in addition etc..But for the sake of clear explanation, various buses are all designated as bus system in figure 1450。
The method that the embodiments of the present invention disclose can apply in processor 1430, or real by processor 1430 It is existing.Processor 1430 is probably a kind of IC chip, has the disposal ability of signal.In implementation process, the above method Each step can be completed by the instruction of the integrated logic circuit of the hardware in processor 1430 or software form.Above-mentioned Processor 1430 can be general processor, digital signal processor (DSP), application specific integrated circuit (ASIC), ready-made programmable Gate array (FPGA) either other PLDs, discrete gate or transistor logic, discrete hardware components.Can be with Realize or perform disclosed each method, step and the logic diagram in the embodiment of the present invention.General processor can be micro- place It can also be any conventional processor etc. to manage device or the processor.The step of method with reference to disclosed in the embodiment of the present invention Hardware decoding processor can be embodied directly in and perform completion, or held with the hardware in decoding processor and software module combination Row is completed.Software module can be located at random access memory, flash memory, read-only storage, programmable read only memory or electrically erasable Write in the ripe storage medium in this areas such as programmable storage, register.The storage medium is located at memory 1440, processor 1430 read the information in memory 1440, with reference to the step of its hardware completion above method.
When cloud management platform performs the stretching, extension flow of business network element:
Specifically, the processor 1430 is used for:Determined according to the occupation condition of the first business network element to service network Member is stretched;Further, the Measure Indexes that first business network element reports are received, the Measure Indexes represent described the The occupation condition of one business network element;Judge whether the Measure Indexes meet resource thresholding, if, it is determined that to service network Member is stretched.
Dispensing device 1420, for sending request to create message to I layers resource management system, the request to create message is used The second business network element is created in asking the I layers resource management system;The request to create message carries second service network The infrastructure device of member services IaaS layer resource bid templates;
The dispensing device 1420 is additionally operable to send resource bid message, the resource bid to P layers resource management system Message is used to service PaaS layer resources to the platform of the second business network element described in the P layers resource management system application;
Reception device 1410, the first routing update information sent for receiving the P layers resource management system, described the One routing update information is the routing configuration information of the PaaS layer resources of second business network element;
The dispensing device 1420 is additionally operable to send resource updates notification message, the resource to first business network element Update notification message includes:First routing update information.
Further, the processor 1430 is used for:
The Measure Indexes that first business network element reports are received, the Measure Indexes represent first business network element Occupation condition;
Judge whether the Measure Indexes meet resource thresholding, if, it is determined that business network element is stretched.
The reception device 1410 is additionally operable to:
The secondary route fresh information that the P layers resource management system is sent is received, the secondary route fresh information is After second business network element is created, P layers resource management system is the PaaS layer resources of first business network element renewal Routing configuration information;
The dispensing device 1420 is additionally operable to:
Resource updates notification message is sent to second business network element, the resource updates notification message includes:It is described Secondary route fresh information.
The dispensing device 1420 is additionally operable to:
The first instruction message is sent to second business network element, the first instruction message is used to notify second industry Business network element obtains the PaaS layer resources of second business network element to the P layers resource management system;
The dispensing device 1420 is additionally operable to:
The second instruction message is sent to first business network element, the second instruction message is used to notify first industry Business network element obtains the PaaS layer resources after renewal to the P layers resource management system.
Exemplary, the Measure Indexes include:Resource metrics and operational indicator;The resource metrics are grasped including virtual machine Make the central processor CPU, internal memory Mem or hard disk Disk of system level;The operational indicator includes message response time delay, unit The session number of time inner support, the message response number in the unit interval;
The PaaS layers resource includes:Two-shipper Internet protocol IP address, Hostname hostname, user name and number According to source name.
When P layers resource management system performs the stretching, extension flow of business network element:
Reception device 1410, for receiving the resource bid message of cloud management platform transmission, the resource bid message is used In the PaaS layer resources to the second business network element of the P layers resource management system application;
Processor 1430, for distributing PaaS layer resources for second business network element, and generate the first routing update letter Breath, first routing update information are the routing configuration information of the PaaS layer resources of second business network element;
Dispensing device 1420, for feeding back first routing update information to the cloud management platform so that the cloud Management platform feeds back first routing update information to the first business network element.
Processor 1430, for generating secondary route fresh information, the secondary route fresh information is second industry After business network element is created, P layers resource management system is the routing configuration of the PaaS layer resources of first business network element renewal Information;
The dispensing device 1420 is additionally operable to:
The secondary route fresh information is fed back to the cloud management platform so that the cloud management platform is to the second business Network element feeds back the secondary route fresh information.
The processor 1430 is specifically used for:
It is determined that distributing to the PaaS layer resources of second business network element, the PaaS layers resource includes:Two-shipper internet Protocol IP address, Hostname hostname, user name and DSN;
The PaaS layer resources of second business network element are locked;
The annexation of second business network element and first business network element on the second business network element periphery is set, and First routing update information is generated according to the annexation.
When cloud management platform performs the contraction flow of business network element:
Processor 1430, for determining to need the business network element for carrying out resource reclaim;
Dispensing device 1420, for sending resource reclaim message to P layers resource management system, the resource reclaim message is used PaaS layer resources are serviced in the platform that the business network element is reclaimed to the P layers resource management system application, the resource is returned Receive the identification information for the business network element that the resource reclaim is carried in message.
Reception device 1410, the routing update information sent for receiving the P layers resource management system, the route is more After fresh information is recovered for the PaaS layer resources of the business network element of the resource reclaim, the P layers resource management system is institute State the routing configuration information of the PaaS layer resources for the business network element renewal not being recovered in multiple business network element;
The dispensing device 1420 is additionally operable to send resource updates notification message, institute to the business network element not being recovered Stating resource updates notification message includes:The routing update information;
The dispensing device 1420 is additionally operable to send network element revocation message, the network element revocation to I layers resource management system The infrastructure device that message is used for the business network element for asking the I layers resource management system to reclaim the resource reclaim services IaaS Layer resource, the network element revocation message carry the identification information for the business network element for needing the resource reclaim.
Further, the processor 1430 is specifically used for:
The Measure Indexes that at least two business network element report are received, the Measure Indexes represent the resource of the business network element Occupancy situation;
Judge whether the Measure Indexes meet resource thresholding, if so, determining money at least two business network element The business network element of source recovery.
Further, the processor 1430 is specifically additionally operable to:
The business network element that data migration cost is minimum at least two business network element is determined according to the Measure Indexes, And determine the business network element that the minimum business network element of the data migration cost is resource reclaim.
Further, the dispensing device 1420 is additionally operable to:
The cloud management platform sends Data Migration instruction message to the business network element of the resource reclaim, and the data are moved Move instruction message and be used to indicate that the business network element of resource reclaim to carry out Data Migration, in the business network element for emptying the resource reclaim The business datum handled.
When P layers resource management system performs the contraction flow of business network element:
Reception device 1410, for receiving the resource reclaim message of cloud management platform transmission, the resource reclaim message is used PaaS layer resources are serviced in the platform of the business network element reclaimed to the P layers resource management system application Resource recovery, it is described Resource reclaim message carries the identification information for the business network element for needing the resource reclaim;
Dispensing device 1420, the PaaS of the business network element for reclaiming the resource reclaim according to the resource reclaim message Layer resource, and routing update information is generated, the routing update information provides for the PaaS layers of the business network element of the resource reclaim After source is recovered, the P layers resource management system is the business network element renewal not being recovered in the multiple business network element The routing configuration information of PaaS layer resources;
Dispensing device 1420, for sending the routing update information to the cloud management platform.
Processor 1430 locks to the PaaS layer resources of the business network element of the resource reclaim, the PaaS layers resource Including:Two-shipper Internet protocol IP address, Hostname hostname, user name and DSN.
In several embodiments provided herein, it should be understood that disclosed apparatus and method can pass through it Its mode is realized.For example, device embodiment described above is only schematical, for example, the division of the unit, only Only a kind of division of logic function, there can be other dividing mode when actually realizing, such as multiple units or component can be tied Another system is closed or is desirably integrated into, or some features can be ignored, or do not perform.It is another, it is shown or discussed Mutual coupling or direct-coupling or communication connection can be the INDIRECT COUPLINGs or logical by some interfaces, device or unit Letter connection, can be electrical, mechanical or other forms.
The unit illustrated as separating component can be or may not be physically separate, show as unit The part shown can be or may not be physical location, you can with positioned at a place, or can also be distributed to multiple On NE.Some or all of unit therein can be selected to realize the mesh of this embodiment scheme according to the actual needs 's.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, can also That unit is individually physically present, can also two or more units it is integrated in a unit.Above-mentioned integrated list Member can both be realized in the form of hardware, can also be realized in the form of SFU software functional unit.
If the integrated unit is realized in the form of SFU software functional unit and is used as independent production marketing or use When, it can be stored in a computer read/write memory medium.Based on such understanding, technical scheme is substantially The part to be contributed in other words to prior art or all or part of the technical scheme can be in the form of software products Embody, the computer software product is stored in a storage medium, including some instructions are causing a computer Equipment (can be personal computer, server, or network equipment etc.) performs the complete of each embodiment methods described of the present invention Portion or part steps.And foregoing storage medium includes:USB flash disk, mobile hard disk, read-only storage (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disc or CD etc. are various can store journey The medium of sequence code.
The foregoing is only a specific embodiment of the invention, but protection scope of the present invention is not limited thereto, any Those familiar with the art the invention discloses technical scope in, change or replacement can be readily occurred in, should all be contained Cover within protection scope of the present invention.Therefore, protection scope of the present invention described should be defined by scope of the claims.

Claims (28)

1. a kind of method for managing resource, applied to cloud management platform, the multiple business network element of cloud management platform management, its feature It is, including:
Cloud management platform determines to stretch business network element according to the occupation condition of the first business network element;
The cloud management platform sends request to create message to I layers resource management system, and the request to create message is used to ask The I layers resource management system creates the second business network element;The request to create message carries the base of second business network element Plinth equipment services IaaS layer resource bid templates;
The cloud management platform sends resource bid message to P layers resource management system, and the resource bid message is used for institute The platform for stating the second business network element described in P layer resource management system applications services PaaS layer resources;
The cloud management platform receives the first routing update information that the P layers resource management system is sent, the first via by Fresh information is the routing configuration information of the PaaS layer resources of second business network element;
The cloud management platform sends resource updates notification message, the resource updates notification message to first business network element Including:First routing update information.
2. according to the method described in the claim 1, it is characterised in that the cloud management platform is according to the first business network element Occupation condition determines to stretch business network element, including:
The cloud management platform receives the Measure Indexes that first business network element reports, and the Measure Indexes represent described first The occupation condition of business network element;
The cloud management platform judges whether the Measure Indexes meet resource thresholding, if, it is determined that business network element is carried out Stretching, extension.
3. according to the method described in the claim 1, it is characterised in that the cloud management platform is to P layer resource management systems After sending resource bid message, in addition to:
The cloud management platform receives the secondary route fresh information that the P layers resource management system is sent, the secondary route Fresh information is after second business network element is created, and P layers resource management system is first business network element renewal The routing configuration information of PaaS layer resources;
The cloud management platform sends resource updates notification message, the resource updates notification message to second business network element Including:The secondary route fresh information.
4. according to the method described in the claim 3, it is characterised in that
After the cloud management platform receives the first routing update information that the P layers resource management system is sent, in addition to:
The cloud management platform sends the first instruction message to second business network element, and the first instruction message is used to notify Second business network element obtains the PaaS layer resources of second business network element to the P layers resource management system;
After the cloud management platform receives the secondary route fresh information that the P layers resource management system is sent, in addition to:
The cloud management platform sends the second instruction message to first business network element, and the second instruction message is used to notify First business network element obtains the PaaS layer resources after renewal to the P layers resource management system.
5. according to the method described in the claim 2, it is characterised in that
The Measure Indexes include:Resource metrics and operational indicator;The resource metrics include VME operating system aspect Central processor CPU, internal memory Mem or hard disk Disk;The operational indicator includes message response time delay, unit interval inner support Session number, the message response number in the unit interval;
The PaaS layers resource includes:Two-shipper Internet protocol IP address, Hostname hostname, user name and data source Title.
6. a kind of method for managing resource, applied to P layer resource management systems, the P layers resource management system manages multiple business The PaaS layer resources of network element, it is characterised in that including:
P layers resource management system receives the resource bid message that cloud management platform is sent, and the resource bid message is used for institute State the PaaS layer resources of P layer resource management system the second business network element of application;
The P layers resource management system is that second business network element distributes PaaS layer resources, and generates the first routing update letter Breath, first routing update information are the routing configuration information of the PaaS layer resources of second business network element;
The P layers resource management system feeds back first routing update information to the cloud management platform so that the cloud pipe Platform feeds back first routing update information to the first business network element;
The P layers resource management system is that second business network element distributes PaaS layer resources, and generates the first routing update letter Breath, including:
It is determined that distributing to the PaaS layer resources of second business network element, the PaaS layers resource includes:Two-shipper Internet Protocol IP address, Hostname hostname, user name and DSN;
The PaaS layer resources of second business network element are locked;
The annexation of first business network element on second business network element and the second business network element periphery is set, and according to The annexation generates the first routing update information.
7. according to the method described in the claim 6, it is characterised in that the P layers resource management system is second industry It is engaged in after network element distribution PaaS layer resources, in addition to:
The P layers resource management system generates secondary route fresh information, and the secondary route fresh information is second industry After business network element is created, P layers resource management system is the routing configuration of the PaaS layer resources of first business network element renewal Information;
The P layers resource management system feeds back the secondary route fresh information to the cloud management platform so that the cloud pipe Platform feeds back the secondary route fresh information to the second business network element.
8. a kind of method for managing resource, applied to cloud management platform, the multiple business network element of cloud management platform management, its feature It is, including:
Cloud management platform determines to need the business network element for carrying out resource reclaim;
The cloud management platform sends resource reclaim message to P layers resource management system, and the resource reclaim message is used for institute The platform for stating the P layer resource management systems application recovery business network element services PaaS layer resources, the resource reclaim message The identification information of the middle business network element for carrying the resource reclaim;
The cloud management platform receives the routing update information that the P layers resource management system is sent, the routing update information For the business network element of the resource reclaim PaaS layer resources be recovered after, the P layers resource management system is the multiple The routing configuration information of the PaaS layer resources for the business network element renewal not being recovered in business network element;
The cloud management platform sends resource updates notification message to the business network element not being recovered, and the resource updates lead to Know that message includes:The routing update information;
The cloud management platform sends network element revocation message to I layers resource management system, and the network element revocation message is used to ask The infrastructure device that the I layers resource management system reclaims the business network element of the resource reclaim services IaaS layer resources, described Network element revocation message carries the identification information for the business network element for needing the resource reclaim.
9. according to the method described in the claim 8, it is characterised in that the cloud management platform determines the business of resource reclaim Network element includes:
The cloud management platform receives the Measure Indexes that at least two business network element report, and the Measure Indexes represent the business The occupation condition of network element;
The cloud management platform judges whether the Measure Indexes meet resource thresholding, if so, at least two service network The business network element of resource reclaim is determined in member.
10. according to the method described in the claim 9, it is characterised in that the cloud management platform is at least two industry The business network element of resource reclaim is determined in business network element, including:
The cloud management platform determines that data migration cost is minimum at least two business network element according to the Measure Indexes Business network element, and determine the business network element that the minimum business network element of the data migration cost is resource reclaim.
11. according to the method described in the claim 8, it is characterised in that the cloud management platform is to P layer resource management systems Before sending resource reclaim message, including:
The cloud management platform sends Data Migration instruction message to the business network element of the resource reclaim, and the Data Migration refers to Show that message is used to indicate that the business network element of resource reclaim to carry out Data Migration, empty in the business network element of the resource reclaim The business datum of processing.
12. according to the method described in any one of claim 9 or 10, it is characterised in that
The Measure Indexes include:Resource metrics and operational indicator;The resource metrics include VME operating system aspect Central processor CPU, internal memory Mem or hard disk Disk;The operational indicator includes message response time delay, unit interval inner support Session number, the message response number in the unit interval;
The PaaS layers resource includes:Two-shipper Internet protocol IP address, Hostname hostname, user name and data source Title.
13. a kind of method for managing resource, applied to P layer resource management systems, the P layers resource management system manages multiple business The PaaS layer resources of network element, it is characterised in that including:
P layers resource management system receives the resource reclaim message that cloud management platform is sent, and the resource reclaim message is used for institute The platform for stating the business network element of P layer resource management system applications Resource recovery recovery services PaaS layer resources, and the resource is returned Receive the identification information that message carries the business network element for needing the resource reclaim;
The P layers resource management system reclaims the PaaS layers of the business network element of the resource reclaim according to the resource reclaim message Resource, and routing update information is generated, the routing update information is the PaaS layer resources of the business network element of the resource reclaim After being recovered, the P layers resource management system is the business network element renewal not being recovered in the multiple business network element The routing configuration information of PaaS layer resources;
The P layers resource management system sends the routing update information to the cloud management platform.
14. according to the method described in the claim 13, it is characterised in that the P layers resource management system is according to the money Before the PaaS layer resources for the business network element that source recovery message reclaims the resource reclaim, including:
The P layers resource management system locks to the PaaS layer resources of the business network element of the resource reclaim, the PaaS Layer resource includes:Two-shipper Internet protocol IP address, Hostname hostname, user name and DSN.
15. a kind of cloud management platform, the multiple business network element of cloud management platform management, it is characterised in that including:
Determining unit is stretched, for determining to stretch business network element according to the occupation condition of the first business network element;
Transmitting element, for sending request to create message to I layers resource management system, the request to create message is used to ask institute State I layers resource management system and create the second business network element;The request to create message carries the basis of second business network element Equipment services IaaS layer resource bid templates;
The transmitting element is additionally operable to send resource bid message to P layers resource management system, and the resource bid message is used for PaaS layer resources are serviced to the platform of the second business network element described in the P layers resource management system application;
Receiving unit, the first routing update information sent for receiving the P layers resource management system, the first via is by more Fresh information is the routing configuration information of the PaaS layer resources of second business network element;
The transmitting element is additionally operable to send resource updates notification message, the resource updates notice to first business network element Message includes:First routing update information.
16. the cloud management platform according to the claim 15, it is characterised in that the stretching, extension determining unit is used for:
The Measure Indexes that first business network element reports are received, the Measure Indexes represent the resource of first business network element Occupancy situation;
Judge whether the Measure Indexes meet resource thresholding, if, it is determined that business network element is stretched.
17. the cloud management platform according to the claim 15, it is characterised in that
The receiving unit is additionally operable to:
The secondary route fresh information that the P layers resource management system is sent is received, the secondary route fresh information is described After second business network element is created, P floor resource management system is the road of the PaaS floor resources of first business network element renewal By configuration information;
The transmitting element is additionally operable to:
Resource updates notification message is sent to second business network element, the resource updates notification message includes:Described second Routing update information.
18. the cloud management platform according to the claim 17, it is characterised in that
The transmitting element is additionally operable to:
The first instruction message is sent to second business network element, the first instruction message is used to notify second service network Member obtains the PaaS layer resources of second business network element to the P layers resource management system;
The transmitting element is additionally operable to:
The second instruction message is sent to first business network element, the second instruction message is used to notify first service network Member obtains the PaaS layer resources after renewal to the P layers resource management system.
19. the cloud management platform according to the claim 16, it is characterised in that
The Measure Indexes include:Resource metrics and operational indicator;The resource metrics include VME operating system aspect Central processor CPU, internal memory Mem or hard disk Disk;The operational indicator includes message response time delay, unit interval inner support Session number, the message response number in the unit interval;
The PaaS layers resource includes:Two-shipper Internet protocol IP address, Hostname hostname, user name and data source Title.
20. a kind of P layers resource management system, the P layers resource management system manages the PaaS layer resources of multiple business network element, its It is characterised by, including:
Receiving unit, for receiving the resource bid message of cloud management platform transmission, the resource bid message is used for the P The PaaS layer resources of layer resource management system the second business network element of application;
Resource allocation unit, for distributing PaaS layer resources for second business network element, and the first routing update information is generated, First routing update information is the routing configuration information of the PaaS layer resources of second business network element;
Transmitting element, for feeding back first routing update information to the cloud management platform so that the cloud management platform First routing update information is fed back to the first business network element;
The resource allocation unit is specifically used for:
It is determined that distributing to the PaaS layer resources of second business network element, the PaaS layers resource includes:Two-shipper Internet Protocol IP address, Hostname hostname, user name and DSN;
The PaaS layer resources of second business network element are locked;
The annexation of first business network element on second business network element and the second business network element periphery is set, and according to The annexation generates the first routing update information.
21. the P layer resource management systems according to the claim 20, it is characterised in that the P layers resource management system Also include:
Information generating unit, for generating secondary route fresh information, the secondary route fresh information is second business After network element is created, P layers resource management system is the routing configuration letter of the PaaS layer resources of first business network element renewal Breath;
The transmitting element is additionally operable to:
The secondary route fresh information is fed back to the cloud management platform so that the cloud management platform is to the second business network element Feed back the secondary route fresh information.
22. a kind of cloud management platform, the multiple business network element of cloud management platform management, it is characterised in that including:
Determining unit is reclaimed, for determining to need the business network element for carrying out resource reclaim;
Transmitting element, for sending resource reclaim message to P layers resource management system, the resource reclaim message is used for described The platform that the business network element is reclaimed in the application of P layer resource management systems is to service PaaS layer resources, in the resource reclaim message Carry the identification information of the business network element of the resource reclaim;
Receiving unit, the routing update information sent for receiving the P layers resource management system, the routing update information are After the PaaS layer resources of the business network element of the resource reclaim are recovered, the P layers resource management system is the multiple industry The routing configuration information of the PaaS layer resources for the business network element renewal not being recovered in business network element;
The transmitting element is additionally operable to send resource updates notification message to the business network element not being recovered, and the resource is more New notification message includes:The routing update information;
The transmitting element is additionally operable to send network element revocation message to I layers resource management system, and the network element revocation message is used for Ask the I layers resource management system to reclaim the infrastructure device of the business network element of the resource reclaim and service IaaS layer resources, The network element revocation message carries the identification information for the business network element for needing the resource reclaim.
23. the cloud management platform according to the claim 22, it is characterised in that the recovery determining unit is specifically used In:
The Measure Indexes that at least two business network element report are received, the Measure Indexes represent the resource occupation of the business network element Situation;
Judge whether the Measure Indexes meet resource thresholding, if so, determining that resource is returned at least two business network element The business network element of receipts.
24. the cloud management platform according to the claim 23, it is characterised in that the recovery determining unit is specifically also used In:
The business network element that data migration cost is minimum at least two business network element is determined according to the Measure Indexes, and really The minimum business network element of the fixed data migration cost is the business network element of resource reclaim.
25. the cloud management platform according to the claim 22, it is characterised in that the transmitting element is additionally operable to:
The cloud management platform sends Data Migration instruction message to the business network element of the resource reclaim, and the Data Migration refers to Show that message is used to indicate that the business network element of resource reclaim to carry out Data Migration, empty in the business network element of the resource reclaim The business datum of processing.
26. according to the cloud management platform described in any one of claim 23 or 24, it is characterised in that
The Measure Indexes include:Resource metrics and operational indicator;The resource metrics include VME operating system aspect Central processor CPU, internal memory Mem or hard disk Disk;The operational indicator includes message response time delay, unit interval inner support Session number, the message response number in the unit interval;
The PaaS layers resource includes:Two-shipper Internet protocol IP address, Hostname hostname, user name and data source Title.
27. a kind of P layers resource management system, the P layers resource management system manages the PaaS layer resources of multiple business network element, its It is characterised by, including:
Receiving unit, for receiving the resource reclaim message of cloud management platform transmission, the resource reclaim message is used for the P The platform of the business network element of layer resource management system application Resource recovery recovery services PaaS layer resources, and the resource reclaim disappears Breath carries the identification information for the business network element for needing the resource reclaim;
Resource reclaim unit, provided for reclaiming the PaaS layers of business network element of the resource reclaim according to the resource reclaim message Source, and routing update information is generated, the routing update information is the PaaS layer resource quilts of the business network element of the resource reclaim After recovery, the P layers resource management system is the PaaS for the business network element renewal not being recovered in the multiple business network element The routing configuration information of layer resource;
Transmitting element, for sending the routing update information to the cloud management platform.
28. the P layer resource management systems according to the claim 27, it is characterised in that the resource reclaim unit is also For:
The P layers resource management system locks to the PaaS layer resources of the business network element of the resource reclaim, the PaaS Layer resource includes:Two-shipper Internet protocol IP address, Hostname hostname, user name and DSN.
CN201410854523.2A 2014-12-31 2014-12-31 A kind of method for managing resource and device Active CN104601680B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410854523.2A CN104601680B (en) 2014-12-31 2014-12-31 A kind of method for managing resource and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410854523.2A CN104601680B (en) 2014-12-31 2014-12-31 A kind of method for managing resource and device

Publications (2)

Publication Number Publication Date
CN104601680A CN104601680A (en) 2015-05-06
CN104601680B true CN104601680B (en) 2018-03-16

Family

ID=53127174

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410854523.2A Active CN104601680B (en) 2014-12-31 2014-12-31 A kind of method for managing resource and device

Country Status (1)

Country Link
CN (1) CN104601680B (en)

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106302210A (en) * 2015-06-23 2017-01-04 中兴通讯股份有限公司 A kind of elastic expansion method, Apparatus and system
WO2017011938A1 (en) * 2015-07-17 2017-01-26 华为技术有限公司 Virtual network function capacity expansion method and apparatus
CN106933646B (en) * 2015-12-29 2020-04-14 杭州华为数字技术有限公司 Method and device for creating virtual machine
CN106970839A (en) * 2017-02-22 2017-07-21 广东网金控股股份有限公司 The expansion method and its device of a kind of automation
CN106911501A (en) * 2017-02-22 2017-06-30 广东网金控股股份有限公司 The volume reduction method and its device of a kind of automation
CN109302302B (en) * 2017-07-25 2022-08-12 中兴通讯股份有限公司 Method, system and computer readable storage medium for scaling service network element
CN107563850A (en) * 2017-08-16 2018-01-09 广州亦云信息技术股份有限公司 Based on shared economic virtual resource management method, application method, apparatus and system
CN108961004B (en) * 2018-07-06 2021-08-06 北京金山云网络技术有限公司 Cloud service order processing method, device and system, electronic equipment and medium
CN110213180B (en) * 2019-06-06 2022-04-05 腾讯科技(深圳)有限公司 Network resource management method and device and cloud platform
CN113037528B (en) * 2019-12-25 2022-04-29 中国移动通信集团山东有限公司 Elastic expansion and contraction method and device for alarm service node

Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6751314B1 (en) * 1999-11-02 2004-06-15 Agere Systems, Inc. Dynamic allocation of resources for echo cancellation
CN102137014A (en) * 2011-03-11 2011-07-27 华为技术有限公司 Resource management method, system and resource manager
CN102271162A (en) * 2011-08-03 2011-12-07 南京中兴新软件有限责任公司 Platform as a service (PAAS)-cloud-based telecommunication comprehensive service platform system and using method
CN102571948A (en) * 2011-12-29 2012-07-11 国云科技股份有限公司 Cloud-computing-based platform as a service (PaaS) platform system and implementation method thereof
CN102567115A (en) * 2010-12-23 2012-07-11 伊姆西公司 Allocation and use tracking device for information technology resources in cloud-based system
CN103096030A (en) * 2011-11-03 2013-05-08 中国移动通信集团江苏有限公司 Video monitoring multi-service convergence platform and solution
CN103312727A (en) * 2012-03-06 2013-09-18 创业软件股份有限公司 Method for cloud computing deployment in the field of cooperative services of regional medical care
CN103353852A (en) * 2013-06-07 2013-10-16 曲阜师范大学 Method for constructing IaaS of virtualized WebService
CN103530185A (en) * 2012-07-02 2014-01-22 中兴通讯股份有限公司 Resource optimization method and device
CN103685569A (en) * 2013-12-31 2014-03-26 曙光云计算技术有限公司 Method and system for automatically adjusting resource pool
WO2014049389A1 (en) * 2012-09-27 2014-04-03 Hewlett-Packard Development Company, L.P. Dynamic management of cloud computing infrastructure
CN103780428A (en) * 2014-01-17 2014-05-07 广州亦云信息技术有限公司 Centralized resource management method and system applied to cloud architecture
CN103812911A (en) * 2012-11-14 2014-05-21 中兴通讯股份有限公司 Method and system for controlling and utilizing service resources of PaaS (platform as a service) cloud computing platform
CN103825964A (en) * 2014-03-19 2014-05-28 北京邮电大学 SLS (Service Level Specification) scheduling device and SLS scheduling method based on cloud computing PaaS (platform-as-a-service) platform

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10454999B2 (en) * 2013-03-14 2019-10-22 Red Hat, Inc. Coordination of inter-operable infrastructure as a service (IAAS) and platform as a service (PAAS)

Patent Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6751314B1 (en) * 1999-11-02 2004-06-15 Agere Systems, Inc. Dynamic allocation of resources for echo cancellation
CN102567115A (en) * 2010-12-23 2012-07-11 伊姆西公司 Allocation and use tracking device for information technology resources in cloud-based system
CN102137014A (en) * 2011-03-11 2011-07-27 华为技术有限公司 Resource management method, system and resource manager
CN102271162A (en) * 2011-08-03 2011-12-07 南京中兴新软件有限责任公司 Platform as a service (PAAS)-cloud-based telecommunication comprehensive service platform system and using method
CN103096030A (en) * 2011-11-03 2013-05-08 中国移动通信集团江苏有限公司 Video monitoring multi-service convergence platform and solution
CN102571948A (en) * 2011-12-29 2012-07-11 国云科技股份有限公司 Cloud-computing-based platform as a service (PaaS) platform system and implementation method thereof
CN103312727A (en) * 2012-03-06 2013-09-18 创业软件股份有限公司 Method for cloud computing deployment in the field of cooperative services of regional medical care
CN103530185A (en) * 2012-07-02 2014-01-22 中兴通讯股份有限公司 Resource optimization method and device
WO2014049389A1 (en) * 2012-09-27 2014-04-03 Hewlett-Packard Development Company, L.P. Dynamic management of cloud computing infrastructure
CN103812911A (en) * 2012-11-14 2014-05-21 中兴通讯股份有限公司 Method and system for controlling and utilizing service resources of PaaS (platform as a service) cloud computing platform
CN103353852A (en) * 2013-06-07 2013-10-16 曲阜师范大学 Method for constructing IaaS of virtualized WebService
CN103685569A (en) * 2013-12-31 2014-03-26 曙光云计算技术有限公司 Method and system for automatically adjusting resource pool
CN103780428A (en) * 2014-01-17 2014-05-07 广州亦云信息技术有限公司 Centralized resource management method and system applied to cloud architecture
CN103825964A (en) * 2014-03-19 2014-05-28 北京邮电大学 SLS (Service Level Specification) scheduling device and SLS scheduling method based on cloud computing PaaS (platform-as-a-service) platform

Also Published As

Publication number Publication date
CN104601680A (en) 2015-05-06

Similar Documents

Publication Publication Date Title
CN104601680B (en) A kind of method for managing resource and device
CN104410672B (en) Method, the method and device of forwarding service of network function virtualization applications upgrading
CN105103506B (en) For the method and system for the non-homogeneous bandwidth request allocation bandwidth in system for cloud computing
CN106302074B (en) Migration method and device of virtual network function VNF
CN110365502A (en) A kind of method, apparatus and storage medium of service upgrade management
CN107545338B (en) Service data processing method and service data processing system
CN104780071B (en) The upgrade method and device of virtual switch
CN105607954A (en) Stateful container online migration method and apparatus
CN109196828A (en) A kind of method for managing resource and device of network slice
CN109525426B (en) FV-based service control system and method for open MEC platform
CN106462450A (en) Notification about virtual machine live migration to VNF manager
CN105429811B (en) network management system and method
CN106657173A (en) Business transfer method and device in software upgrading under NFV configuration, and server
CN103096030B (en) A kind of video monitoring multi-service fusion platform and solution
CN109067827A (en) Based on Kubernetes and OpenStack container cloud platform multi-tenant construction method, medium, equipment
CN106134141A (en) A kind of method and device updating network service describer NSD
CN106209402A (en) The telescopic method of a kind of virtual network function and equipment
CN112463366A (en) Cloud-native-oriented micro-service automatic expansion and contraction capacity and automatic fusing method and system
CN106326226A (en) Method and system for starting database service on public cloud
CN103780686A (en) Method and system for customizing application approval procedure in cloud organization
WO2016095524A1 (en) Resource allocation method and apparatus
CN110061855A (en) A kind of method for processing business, system and device
CN110262893A (en) The method, apparatus and computer storage medium of configuration mirroring memory
CN104793981B (en) A kind of online snapshot management method and device of cluster virtual machine
CN104468759A (en) Method and device for achieving application migration in PaaS platform

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant