CN104579763A - Network capacity expansion method and equipment - Google Patents

Network capacity expansion method and equipment Download PDF

Info

Publication number
CN104579763A
CN104579763A CN201410826775.4A CN201410826775A CN104579763A CN 104579763 A CN104579763 A CN 104579763A CN 201410826775 A CN201410826775 A CN 201410826775A CN 104579763 A CN104579763 A CN 104579763A
Authority
CN
China
Prior art keywords
network
amount
setting
time cycle
stock number
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201410826775.4A
Other languages
Chinese (zh)
Other versions
CN104579763B (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 CN201410826775.4A priority Critical patent/CN104579763B/en
Publication of CN104579763A publication Critical patent/CN104579763A/en
Application granted granted Critical
Publication of CN104579763B publication Critical patent/CN104579763B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The invention discloses a network capacity expansion method and equipment. The network capacity expansion method comprises steps as follows: acquiring network resource utilization rates of multiple set time periods from historical data of a cloud resource pool; according to the network resource utilization rates of the multiple set time periods, calculating the average increment of the network resource utilization rate of each set time period; according to the average increment of the network resource utilization rate of each set time period, estimating the network resource quantity required to be increased within effective duration of network capacity expansion, and when the expected input of the virtual network resource quantity in the estimated network resource quantity required to be increased is larger than that of the physical network resource quantity in the estimated network resource quantity required to be increased, expanding the capacity of network resources in the cloud resource pool according to the estimated network resource quantity required to be increased. With the adoption of the network capacity expansion method and equipment, the capacity expansion expectation of the cloud resource pool is effectively realized, besides, the reasonability of the capacity expansion expectation is also guaranteed, the capacity expansion accuracy is improved, and the operation and maintenance efficiency of the cloud resource pool is improved.

Description

A kind of network capacity extension method and apparatus
Technical field
The present invention relates to field of computer technology, particularly relate to a kind of network capacity extension method and apparatus.
Background technology
Along with the development of cloud computing technology, each large operation commercial city has formally started the foundation of privately owned cloud resource pool.But along with the sustainable development of cloud resource pool, how to complete and the major issue needing solution badly is become to the dilatation of cloud resource pool.
Monitoring at present to resource utilization in privately owned cloud resource pool, mainly through the virtual platform of bottom, query resource service condition, and calculate resource utilization in cloud resource pool.When resource utilization exceedes threshold value, trigger alerts, safeguards the resource in cloud resource pool to point out operator.
As can be seen here, the monitoring resource mode adopted at present only can when resource utilization exceedes threshold value trigger alerts, the problem of cloud resource pool dilatation can not be solved.
Summary of the invention
In view of this, embodiments provide a kind of network capacity extension method and apparatus, for solving the problem of cloud resource pool dilatation.
First aspect, provides a kind of network capacity extension method, comprising:
The network resource utilization in multiple setting-up time cycle is obtained from the historical data of cloud resource pool;
According to the network resource utilization in described multiple setting-up time cycle, calculate the average increasing amount of the network resource utilization in each setting-up time cycle;
When the network resource utilization of described cloud resource pool reaches setting threshold, according to the average increasing amount of the network resource utilization in each setting-up time cycle described, estimation is the required amount of network resources increased in effective duration of the network capacity extension, wherein, described amount of network resources comprises physics amount of network resources and virtual network stock number;
When estimate obtain required for increase amount of network resources in virtual network stock number expection drop into be greater than estimation obtain required for increase amount of network resources in physical network resource amount expection drop into time, the amount of network resources increased required for obtaining according to estimation, the Internet resources in cloud resource pool described in dilatation.
In conjunction with first aspect, in the implementation that the first is possible, described network capacity extension method also comprises:
When estimate obtain required in the amount of network resources that increases the expection of virtual network stock number drop into be not more than estimation obtain required for the expection of physical network resource amount drops in the amount of network resources that increases time, redefine effective duration of the network capacity extension and again to estimate in effective duration of the network capacity extension redefined the required amount of network resources increased.
In conjunction with first aspect, or in conjunction with in the implementation that the first aspect of first aspect is possible, in the implementation that the second is possible, according to the network resource utilization in described multiple setting-up time cycle, calculate the average increasing amount of the network resource utilization in each setting-up time cycle, comprising:
Obtain the average increasing amount of the network resource utilization in each setting-up time cycle in the following manner:
Wherein, μ is the average increasing amount of the network resource utilization in each the setting-up time cycle obtained; a 1it is the network resource utilization in first setting-up time cycle; a nit is the network resource utilization in the n-th setting-up time cycle; P the initial total amount of resourcefor initial resource total amount in cloud resource pool; N is the number in setting-up time cycle, and value is natural number.
In conjunction with first aspect, or in conjunction with in the implementation that the first aspect of first aspect is possible, or in conjunction with in the implementation that the second aspect of first aspect is possible, in the implementation that the third is possible, according to the average increasing amount of the network resource utilization in each setting-up time cycle described, estimation is the required amount of network resources increased in effective duration of the network capacity extension, comprising:
When effective duration of the network capacity extension is N times of setting-up time cycle, by the average increasing amount of the network resource utilization in each setting-up time cycle described and N times of setting-up time cycle quadrature, the product value obtained is the required amount of network resources increased in effective duration of the network capacity extension that estimation obtains.
In conjunction with first aspect, or in conjunction with in the implementation that the first aspect of first aspect is possible, or in conjunction with in the implementation that the second aspect of first aspect is possible, or in conjunction with in the implementation that the third aspect of first aspect is possible, in the 4th kind of possible implementation, estimation obtains the expection input of virtual network stock number in the required amount of network resources increased in the following manner:
The hardware cost meeting this virtual network stock number respectively in calculating virtual network stock number drops into, the maintenance cost of virtual network stock number drops into;
The maintenance cost of the hardware cost input and virtual network stock number that meet this virtual network stock number in the virtual network stock number calculated dropped into and sue for peace, what obtain is the expection input that estimation obtains virtual network stock number in the required amount of network resources increased with value.
In conjunction with first aspect, or in conjunction with in the implementation that the first aspect of first aspect is possible, or in conjunction with in the implementation that the second aspect of first aspect is possible, or in conjunction with in the implementation that the third aspect of first aspect is possible, or in conjunction with in the implementation that the fourth aspect of first aspect is possible, in the 5th kind of possible implementation, estimation obtains the expection input of physical network resource amount in the required amount of network resources increased in the following manner:
The physical hardware cost meeting this physical network resource amount in Computational Physics amount of network resources drops into;
The physical hardware cost meeting this physical network resource amount in the physical network resource amount calculated is dropped into the expection input obtaining physical network resource amount in the required amount of network resources increased as estimation.
Second aspect, provides a kind of network capacity extension equipment, comprising:
Acquisition module, for obtaining the network resource utilization in multiple setting-up time cycle in the historical data from cloud resource pool;
Computing module, for the network resource utilization according to described multiple setting-up time cycle, calculates the average increasing amount of the network resource utilization in each setting-up time cycle;
Dilatation estimation block, for when the network resource utilization of described cloud resource pool reaches setting threshold, according to the average increasing amount of the network resource utilization in each setting-up time cycle described, estimation is the required amount of network resources increased in effective duration of the network capacity extension, wherein, described amount of network resources comprises physics amount of network resources and virtual network stock number; When estimate obtain required for increase amount of network resources in virtual network stock number expection drop into be greater than estimation obtain required for increase amount of network resources in physical network resource amount expection drop into time, the amount of network resources increased required for obtaining according to estimation, the Internet resources in cloud resource pool described in dilatation.
In conjunction with second aspect, in the implementation that the first is possible, described dilatation estimation block, when expection also for obtaining virtual network stock number in the amount of network resources increased when estimation drops into the expection input of physical network resource amount in the amount of network resources being not more than and estimating and obtain increasing, redefine effective duration of the network capacity extension and again estimate the required amount of network resources increased in effective duration of the network capacity extension redefined.
In conjunction with second aspect, or in conjunction with in the implementation that the first aspect of second aspect is possible, in the implementation that the second is possible, described computing module, specifically for obtaining the average increasing amount of the network resource utilization in each setting-up time cycle in the following manner:
Wherein, μ is the average increasing amount of the network resource utilization in each the setting-up time cycle obtained; a 1it is the network resource utilization in first setting-up time cycle; a nit is the network resource utilization in the n-th setting-up time cycle; P the initial total amount of resourcefor initial resource total amount in cloud resource pool; N is the number in setting-up time cycle, and value is natural number.
In conjunction with second aspect, or in conjunction with in the implementation that the first aspect of second aspect is possible, or in conjunction with in the implementation that the second aspect of second aspect is possible, in the implementation that the third is possible, described dilatation estimation block, specifically for when effective duration of the network capacity extension is N times of setting-up time cycle, by the average increasing amount of the network resource utilization in each setting-up time cycle described and N times of setting-up time cycle quadrature, the product value obtained is the required amount of network resources increased in effective duration of the network capacity extension that estimation obtains.
In conjunction with second aspect, or in conjunction with in the implementation that the first aspect of second aspect is possible, or in conjunction with in the implementation that the second aspect of second aspect is possible, or in conjunction with in the implementation that the third aspect of second aspect is possible, in the 4th kind of possible implementation, described dilatation estimation block, specifically for estimating that the expection obtaining virtual network stock number in the required amount of network resources increased drops in the following manner:
The hardware cost meeting this virtual network stock number respectively in calculating virtual network stock number drops into, the maintenance cost of virtual network stock number drops into;
The maintenance cost of the hardware cost input and virtual network stock number that meet this virtual network stock number in the virtual network stock number calculated dropped into and sue for peace, what obtain is the expection input that estimation obtains virtual network stock number in the required amount of network resources increased with value.
In conjunction with second aspect, or in conjunction with in the implementation that the first aspect of second aspect is possible, or in conjunction with in the implementation that the second aspect of second aspect is possible, or in conjunction with in the implementation that the third aspect of second aspect is possible, or in conjunction with in the implementation that the fourth aspect of second aspect is possible, in the 5th kind of possible implementation, described dilatation estimation block, specifically for estimating that the expection obtaining physical network resource amount in the required amount of network resources increased drops in the following manner:
The physical hardware cost meeting this physical network resource amount in Computational Physics amount of network resources drops into;
The physical hardware cost meeting this physical network resource amount in the physical network resource amount calculated is dropped into the expection input obtaining physical network resource amount in the required amount of network resources increased as estimation.
Beneficial effect of the present invention is as follows:
The embodiment of the present invention obtains the network resource utilization in multiple setting-up time cycle from the historical data of cloud resource pool, according to the network resource utilization in described multiple setting-up time cycle, calculate the average increasing amount of the network resource utilization in each setting-up time cycle, when the network resource utilization of described cloud resource pool reaches setting threshold, according to the average increasing amount of the network resource utilization in each setting-up time cycle described, estimation is the required amount of network resources increased in effective duration of the network capacity extension, and described amount of network resources comprises physical network resource amount and virtual network stock number, when estimate obtain required for increase amount of network resources in virtual network stock number expection drop into be greater than estimation obtain required for increase amount of network resources in physical network resource amount expection drop into time, the amount of network resources increased required for obtaining according to estimation, the Internet resources in cloud resource pool described in dilatation, like this, when the network resource utilization of described cloud resource pool reaches setting threshold, start and need the amount of network resources increased to predict in setting duration, and for predicting the amount of network resources obtained, relatively estimate that the expection of virtual network stock number in the amount of network resources of the required increase obtained drops into and estimates that the expection of physical network resource amount in the amount of network resources of the required increase obtained drops into, to determine to predict that whether the amount of network resources obtained is reasonable, not only have effectively achieved and the dilatation of cloud resource pool is expected, but also the reasonability that dilatation is expected can be ensured, improve the accuracy of cloud resource pool dilatation, improve cloud resource pool operation maintenance efficiency.
Accompanying drawing explanation
In order to be illustrated more clearly in the technical scheme in the embodiment of the present invention, below the accompanying drawing used required in describing embodiment is briefly introduced, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
The schematic flow sheet of a kind of network capacity extension method that Fig. 1 provides for the embodiment of the present invention;
The structural representation of a kind of network capacity extension equipment that Fig. 2 provides for the embodiment of the present invention;
The structural representation of a kind of network capacity extension equipment that Fig. 3 provides for the embodiment of the present invention.
Embodiment
In order to realize object of the present invention, embodiments provide a kind of network capacity extension method and apparatus, when the network resource utilization of described cloud resource pool reaches setting threshold, start and need the amount of network resources increased to predict in setting duration, and for predicting the amount of network resources obtained, relatively estimate that the expection of virtual network stock number in the amount of network resources of the required increase obtained drops into and estimates that the expection of physical network resource amount in the amount of network resources of the required increase obtained drops into, to determine to predict that whether the amount of network resources obtained is reasonable, not only have effectively achieved and the dilatation of cloud resource pool is expected, but also the reasonability that dilatation is expected can be ensured, improve the accuracy of cloud resource pool dilatation, improve cloud resource pool operation maintenance efficiency.
Be described in further detail each embodiment of the present invention below in conjunction with Figure of description, obviously, described embodiment is only the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making other embodiments all obtained under creative work prerequisite, belong to the scope of protection of the invention.
The schematic flow sheet of a kind of network capacity extension method that Fig. 1 provides for the embodiment of the present invention.Described method can be as described below.
Step 101: the network resource utilization obtaining multiple setting-up time cycle from the historical data of cloud resource pool.
In a step 101, when cloud resource pool runs, the resource utilization in different time cycle is different.Here the described time cycle can be a time period; Also can be a time point; Can also be a time span of setting, not limit here.
Suppose that the setting-up time cycle is one month (calculating according to 30 days), the historical data produced when so cloud resource pool being run, with one month for the cycle, calculate each month network resource utilization, and record the corresponding relation between the time interval of month and this month network resource utilization in cloud resource pool.
Like this, the network resource utilization of multiple months can be obtained from cloud resource pool.Such as: the network resource utilization obtaining a year (comprising 12 setting-up time cycles), namely obtains 12 network resource utilizations.
Step 102: according to the network resource utilization in described multiple setting-up time cycle, calculate the average increasing amount of the network resource utilization in each setting-up time cycle.
In a step 102, the average increasing amount of the network resource utilization in each setting-up time cycle is obtained in the following manner:
Wherein, μ is the average increasing amount of the network resource utilization in each the setting-up time cycle obtained; a 1it is the network resource utilization in first setting-up time cycle; a nit is the network resource utilization in the n-th setting-up time cycle; P the initial total amount of resourcefor initial resource total amount in cloud resource pool; N is the number in setting-up time cycle, and value is natural number.
Step 103: judge whether the network resource utilization of described cloud resource pool reaches setting threshold, if the network resource utilization of described cloud resource pool reaches setting threshold, then performs step 104; If the network resource utilization of described cloud resource pool does not reach setting threshold, continue to perform step 101 ~ 102.
It should be noted that, step 103 can perform before step 101, also can perform according to the mode described by the embodiment of the present invention, does not limit here.
Step 104: according to the average increasing amount of the network resource utilization in each setting-up time cycle described, estimates the required amount of network resources increased in effective duration of the network capacity extension.
Wherein, described amount of network resources comprises physics amount of network resources and virtual network stock number.
At step 104, when effective duration of the network capacity extension is N times of setting-up time cycle, by the average increasing amount of the network resource utilization in each setting-up time cycle described and N times of setting-up time cycle quadrature, the product value obtained is the required amount of network resources increased in effective duration of the network capacity extension that estimation obtains.
Wherein, N is natural number.
Particularly, the required amount of network resources increased in effective duration of the network capacity extension is estimated in the following manner:
E=μ * N the effective duration of the network capacity extension;
Wherein, E is estimation required amount of network resources increased in effective duration of the network capacity extension; μ is the average increasing amount of the network resource utilization in each the setting-up time cycle obtained; N the effective duration of the network capacity extensionfor effective duration of the network capacity extension.
It should be noted that, if setting-up time cycle corresponding to the average increasing amount calculated in a step 102 is one month, N so here the effective duration of the network capacity extensionfor N number of moon; If the setting-up time cycle that the average increasing amount calculated in a step 102 is corresponding is a week (calculating according to 7 days), N so here the effective duration of the network capacity extensionfor N number of week; Here illustrate no longer one by one.
Step 105: for the amount of network resources of the required increase in effective duration of the network capacity extension that estimation obtains, judges that the expection of virtual network stock number in the amount of network resources of the required increase that estimation obtains drops into the expection input of physical network resource amount in the amount of network resources whether being greater than and estimating the required increase obtained further; If estimate, the expection of virtual network stock number in the amount of network resources of the required increase obtained drops into the expection input of physical network resource amount in the amount of network resources being greater than and estimating the required increase obtained, then perform step 106; If estimate, the expection of virtual network stock number in the amount of network resources of the required increase obtained drops into the expection input of physical network resource amount in the amount of network resources being not more than and estimating the required increase obtained, then perform step 107.
In step 105, estimation obtains the expection input of virtual network stock number in the required amount of network resources increased in the following manner:
The hardware cost meeting this virtual network stock number respectively in calculating virtual network stock number drops into, the maintenance cost of virtual network stock number drops into;
The maintenance cost of the hardware cost input and virtual network stock number that meet this virtual network stock number in the virtual network stock number calculated dropped into and sue for peace, what obtain is the expection input that estimation obtains virtual network stock number in the required amount of network resources increased with value.
Alternatively, calculate the operating cost of virtual network stock number, and the hardware cost meeting this virtual network stock number in the virtual network stock number calculated is dropped into, drops into the maintenance cost of virtual network stock number and sue for peace with the operating cost of virtual network stock number, obtain with value be estimate obtain required for increase amount of network resources in the expection input of virtual network stock number.
Such as: estimation obtain the required amount of network resources increased to need the quantity of the CPU of increase, the setting-up time cycle is one month (within 30 days, being as the criterion), N=12.
As shown in table 1, be the signal table that the hardware cost meeting this virtual network stock number in virtual network stock number drops into:
Table 1
As shown in table 2, the signal table that the maintenance cost for virtual network stock number drops into:
Table 2
As shown in table 3, the signal table that the operating cost for virtual network stock number drops into:
Table 3
Content shown in from table 1 to table 3, can estimate that the expection obtaining virtual network stock number in the required amount of network resources increased drops into: the operating cost meeting the maintenance cost input+virtual network stock number of the hardware cost input+virtual network stock number of this virtual network stock number in virtual network stock number drops into.
It should be noted that, how the numeral in above-mentioned table 1 to table 3 estimates that the expection obtaining virtual network stock number in the required amount of network resources increased drops into if just providing example to illustrate, do not do concrete restriction.
Estimation obtains the expection input of physical network resource amount in the required amount of network resources increased in the following manner:
The physical hardware cost meeting this physical network resource amount in Computational Physics amount of network resources drops into;
The physical hardware cost meeting this physical network resource amount in the physical network resource amount calculated is dropped into the expection input obtaining physical network resource amount in the required amount of network resources increased as estimation.
Alternatively, the operating cost of Computational Physics amount of network resources, and the hardware cost input meeting this physical network resource amount in the physical network resource amount calculated is sued for peace with the operating cost of physical network resource amount, what obtain is the expection input that estimation obtains physical network resource amount in the required amount of network resources increased with value.
Such as: estimation obtain the required amount of network resources increased to need the quantity of the CPU of increase, the setting-up time cycle is one month (within 30 days, being as the criterion), N=12.
As shown in table 4, be the signal table that the physical hardware cost meeting this physical network resource amount in physical network resource amount drops into:
Table 4
As shown in table 5, the signal table that the operating cost for physical network resource amount drops into:
Table 5
Content shown in from table 4 to table 5, can estimate that the expection obtaining physical network resource amount in the required amount of network resources increased drops into: the operating cost meeting the hardware cost input+physical network resource amount of this physical network resource amount in physical network resource amount drops into.
It should be noted that, how the numeral in above-mentioned table 4 to table 5 estimates that the expection obtaining physical network resource amount in the required amount of network resources increased drops into if just providing example to illustrate, do not do concrete restriction.
Step 106: the amount of network resources increased required for obtaining according to estimation, the Internet resources in cloud resource pool described in dilatation.
Step 107: redefine effective duration of the network capacity extension and again estimate the required amount of network resources increased in effective duration of the network capacity extension redefined.
By the scheme of the embodiment of the present invention, from the historical data of cloud resource pool, obtain the network resource utilization in multiple setting-up time cycle, according to the network resource utilization in described multiple setting-up time cycle, calculate the average increasing amount of the network resource utilization in each setting-up time cycle, when the network resource utilization of described cloud resource pool reaches setting threshold, according to the average increasing amount of the network resource utilization in each setting-up time cycle described, estimation is the required amount of network resources increased in effective duration of the network capacity extension, and described amount of network resources comprises physical network resource amount and virtual network stock number, when estimate obtain required for increase amount of network resources in virtual network stock number expection drop into be greater than estimation obtain required for increase amount of network resources in physical network resource amount expection drop into time, the amount of network resources increased required for obtaining according to estimation, the Internet resources in cloud resource pool described in dilatation, like this, when the network resource utilization of described cloud resource pool reaches setting threshold, start and need the amount of network resources increased to predict in setting duration, and for predicting the amount of network resources obtained, relatively estimate that the expection of virtual network stock number in the amount of network resources of the required increase obtained drops into and estimates that the expection of physical network resource amount in the amount of network resources of the required increase obtained drops into, to determine to predict that whether the amount of network resources obtained is reasonable, not only have effectively achieved and the dilatation of cloud resource pool is expected, but also the reasonability that dilatation is expected can be ensured, improve the accuracy of cloud resource pool dilatation, improve cloud resource pool operation maintenance efficiency.
The schematic flow sheet of a kind of network capacity extension equipment that Fig. 2 provides for the embodiment of the present invention.Described network capacity extension equipment comprises: acquisition module 21, computing module 22 and dilatation estimation block 23, wherein:
Acquisition module 21, for obtaining the network resource utilization in multiple setting-up time cycle in the historical data from cloud resource pool;
Computing module 22, for the network resource utilization according to described multiple setting-up time cycle, calculates the average increasing amount of the network resource utilization in each setting-up time cycle;
Dilatation estimation block 23, for when the network resource utilization of described cloud resource pool reaches setting threshold, according to the average increasing amount of the network resource utilization in each setting-up time cycle described, estimation is the required amount of network resources increased in effective duration of the network capacity extension, wherein, described amount of network resources comprises physics amount of network resources and virtual network stock number; When estimate obtain required for increase amount of network resources in virtual network stock number expection drop into be greater than estimation obtain required for increase amount of network resources in physical network resource amount expection drop into time, the amount of network resources increased required for obtaining according to estimation, the Internet resources in cloud resource pool described in dilatation.
Particularly, described dilatation estimation block 23, when expection also for obtaining virtual network stock number in the amount of network resources increased when estimation drops into the expection input of physical network resource amount in the amount of network resources being not more than and estimating and obtain increasing, redefine effective duration of the network capacity extension and again estimate the required amount of network resources increased in effective duration of the network capacity extension redefined.
Particularly, described computing module 22, specifically for obtaining the average increasing amount of the network resource utilization in each setting-up time cycle in the following manner:
Wherein, μ is the average increasing amount of the network resource utilization in each the setting-up time cycle obtained; a 1it is the network resource utilization in first setting-up time cycle; a nit is the network resource utilization in the n-th setting-up time cycle; P the initial total amount of resourcefor initial resource total amount in cloud resource pool; N is the number in setting-up time cycle, and value is natural number.
Particularly, described dilatation estimation block 23, specifically for when effective duration of the network capacity extension is N times of setting-up time cycle, by the average increasing amount of the network resource utilization in each setting-up time cycle described and N times of setting-up time cycle quadrature, the product value obtained is the required amount of network resources increased in effective duration of the network capacity extension that estimation obtains.
Particularly, described dilatation estimation block 23, specifically for estimating that the expection obtaining virtual network stock number in the required amount of network resources increased drops in the following manner:
The hardware cost meeting this virtual network stock number respectively in calculating virtual network stock number drops into, the maintenance cost of virtual network stock number drops into;
The maintenance cost of the hardware cost input and virtual network stock number that meet this virtual network stock number in the virtual network stock number calculated dropped into and sue for peace, what obtain is the expection input that estimation obtains virtual network stock number in the required amount of network resources increased with value.
Particularly, described dilatation estimation block 23, specifically for estimating that the expection obtaining physical network resource amount in the required amount of network resources increased drops in the following manner:
The physical hardware cost meeting this physical network resource amount in Computational Physics amount of network resources drops into;
The physical hardware cost meeting this physical network resource amount in the physical network resource amount calculated is dropped into the expection input obtaining physical network resource amount in the required amount of network resources increased as estimation.
It should be noted that, the network capacity extension equipment described in the embodiment of the present invention can be realized by hardware mode, also can be realized by software mode, not limit here.
The structural representation of a kind of network capacity extension equipment that Fig. 3 provides for the embodiment of the present invention.Described network capacity extension equipment has possessed the function of foregoing description, can adopt general-purpose computations structure.This network capacity extension equipment comprises processor 31, interface 32 and memory 33.Processor 31 is connected with network interface 32, and is connected with memory 33.Such as bus couple processor 31, interface 32 and memory 33 can be passed through.Wherein:
Processor 31 can be central processing unit (English: central processing unit, abbreviation: CPU), or the combination of CPU and hardware chip.
Interface 32 can for following one or more: the network interface controller providing line interface is (English: network interface controller, abbreviation: NIC), such as Ethernet NIC, this Ethernet NIC can provide copper cash and/or optical fiber interface; There is provided the NIC of wave point, such as WLAN (wireless local area network) (English: wireless local area network, abbreviation: WLAN) NIC.
Memory 33 is for program code stored, and described processor 31 obtains the program code of storage from memory, performs correspondingly process according to the programmatic agent obtained.
Memory 33 can be that (English: volatile memory), such as (English: random-access memory, abridges: RAM) random access memory volatile memory; Or nonvolatile memory is (English: non-volatile memory), such as read-only memory is (English: read-only memory, abbreviation: ROM), flash memory is (English: flash memory), hard disk is (English: hard disk drive, abbreviation: HDD) or solid state hard disc (English: solid-state drive, abbreviation: SSD); Or the combination of the memory of mentioned kind.Memory 33 can also comprise Content Addressable Memory (English: content-addressable memory, abbreviation: CAM).
Particularly, described processor 31 performs the program deposited in described memory 33, performs following operation:
The network resource utilization in multiple setting-up time cycle is obtained from the historical data of cloud resource pool;
According to the network resource utilization in described multiple setting-up time cycle, calculate the average increasing amount of the network resource utilization in each setting-up time cycle;
When the network resource utilization of described cloud resource pool reaches setting threshold, according to the average increasing amount of the network resource utilization in each setting-up time cycle described, estimation is the required amount of network resources increased in effective duration of the network capacity extension, wherein, described amount of network resources comprises physics amount of network resources and virtual network stock number;
When estimate obtain required for increase amount of network resources in virtual network stock number expection drop into be greater than estimation obtain required for increase amount of network resources in physical network resource amount expection drop into time, the amount of network resources increased required for obtaining according to estimation, the Internet resources in cloud resource pool described in dilatation.
Alternatively, described processor 31, also for performing:
When estimate obtain required in the amount of network resources that increases the expection of virtual network stock number drop into be not more than estimation obtain required for the expection of physical network resource amount drops in the amount of network resources that increases time, redefine effective duration of the network capacity extension and again to estimate in effective duration of the network capacity extension redefined the required amount of network resources increased.
Particularly, described processor 31, according to the network resource utilization in described multiple setting-up time cycle, calculates the average increasing amount of the network resource utilization in each setting-up time cycle, comprising:
Obtain the average increasing amount of the network resource utilization in each setting-up time cycle in the following manner:
Wherein, μ is the average increasing amount of the network resource utilization in each the setting-up time cycle obtained; a 1it is the network resource utilization in first setting-up time cycle; a nit is the network resource utilization in the n-th setting-up time cycle; P the initial total amount of resourcefor initial resource total amount in cloud resource pool; N is the number in setting-up time cycle, and value is natural number.
Particularly, described processor 31, according to the average increasing amount of the network resource utilization in each setting-up time cycle described, is estimated the required amount of network resources increased in effective duration of the network capacity extension, being comprised:
When effective duration of the network capacity extension is N times of setting-up time cycle, by the average increasing amount of the network resource utilization in each setting-up time cycle described and N times of setting-up time cycle quadrature, the product value obtained is the required amount of network resources increased in effective duration of the network capacity extension that estimation obtains.
Particularly, described processor 31 estimates that the expection obtaining virtual network stock number in the required amount of network resources increased drops in the following manner:
The hardware cost meeting this virtual network stock number respectively in calculating virtual network stock number drops into, the maintenance cost of virtual network stock number drops into;
The maintenance cost of the hardware cost input and virtual network stock number that meet this virtual network stock number in the virtual network stock number calculated dropped into and sue for peace, what obtain is the expection input that estimation obtains virtual network stock number in the required amount of network resources increased with value.
Particularly, described processor 31 estimates that the expection obtaining physical network resource amount in the required amount of network resources increased drops in the following manner:
The physical hardware cost meeting this physical network resource amount in Computational Physics amount of network resources drops into;
The physical hardware cost meeting this physical network resource amount in the physical network resource amount calculated is dropped into the expection input obtaining physical network resource amount in the required amount of network resources increased as estimation.
Described network capacity extension equipment is when the network resource utilization of described cloud resource pool reaches setting threshold, start and need the amount of network resources increased to predict in setting duration, and for predicting the amount of network resources obtained, relatively estimate that the expection of virtual network stock number in the amount of network resources of the required increase obtained drops into and estimates that the expection of physical network resource amount in the amount of network resources of the required increase obtained drops into, to determine to predict that whether the amount of network resources obtained is reasonable, not only have effectively achieved and the dilatation of cloud resource pool is expected, but also the reasonability that dilatation is expected can be ensured, improve the accuracy of cloud resource pool dilatation, improve cloud resource pool operation maintenance efficiency.
It will be understood by those skilled in the art that embodiments of the invention can be provided as method, device (equipment) or computer program.Therefore, the present invention can adopt the form of complete hardware embodiment, completely software implementation or the embodiment in conjunction with software and hardware aspect.And the present invention can adopt in one or more form wherein including the upper computer program implemented of computer-usable storage medium (including but not limited to magnetic disc store, CD-ROM, optical memory etc.) of computer usable program code.
The present invention describes with reference to according to the flow chart of the method for the embodiment of the present invention, device (equipment) and computer program and/or block diagram.Should understand can by the combination of the flow process in each flow process in computer program instructions realization flow figure and/or block diagram and/or square frame and flow chart and/or block diagram and/or square frame.These computer program instructions can being provided to the processor of all-purpose computer, special-purpose computer, Embedded Processor or other programmable data processing device to produce a machine, making the instruction performed by the processor of computer or other programmable data processing device produce device for realizing the function of specifying in flow chart flow process or multiple flow process and/or block diagram square frame or multiple square frame.
These computer program instructions also can be stored in can in the computer-readable memory that works in a specific way of vectoring computer or other programmable data processing device, the instruction making to be stored in this computer-readable memory produces the manufacture comprising command device, and this command device realizes the function of specifying in flow chart flow process or multiple flow process and/or block diagram square frame or multiple square frame.
These computer program instructions also can be loaded in computer or other programmable data processing device, make on computer or other programmable devices, to perform sequence of operations step to produce computer implemented process, thus the instruction performed on computer or other programmable devices is provided for the step realizing the function of specifying in flow chart flow process or multiple flow process and/or block diagram square frame or multiple square frame.
Although describe the preferred embodiments of the present invention, those skilled in the art once obtain the basic creative concept of cicada, then can make other change and amendment to these embodiments.So claims are intended to be interpreted as comprising preferred embodiment and falling into all changes and the amendment of the scope of the invention.
Obviously, those skilled in the art can carry out various change and modification to the present invention and not depart from the spirit and scope of the present invention.Like this, if these amendments of the present invention and modification belong within the scope of the claims in the present invention and equivalent technologies thereof, then the present invention is also intended to comprise these change and modification.

Claims (12)

1. a network capacity extension method, is characterized in that, comprising:
The network resource utilization in multiple setting-up time cycle is obtained from the historical data of cloud resource pool;
According to the network resource utilization in described multiple setting-up time cycle, calculate the average increasing amount of the network resource utilization in each setting-up time cycle;
When the network resource utilization of described cloud resource pool reaches setting threshold, according to the average increasing amount of the network resource utilization in each setting-up time cycle described, estimation is the required amount of network resources increased in effective duration of the network capacity extension, wherein, described amount of network resources comprises physics amount of network resources and virtual network stock number;
When estimate obtain required for increase amount of network resources in virtual network stock number expection drop into be greater than estimation obtain required for increase amount of network resources in physical network resource amount expection drop into time, the amount of network resources increased required for obtaining according to estimation, the Internet resources in cloud resource pool described in dilatation.
2. network capacity extension method as claimed in claim 1, it is characterized in that, described network capacity extension method also comprises:
When estimate obtain required in the amount of network resources that increases the expection of virtual network stock number drop into be not more than estimation obtain required for the expection of physical network resource amount drops in the amount of network resources that increases time, redefine effective duration of the network capacity extension and again to estimate in effective duration of the network capacity extension redefined the required amount of network resources increased.
3. the network capacity extension method as described in as arbitrary in claim 1 to 2, is characterized in that, according to the network resource utilization in described multiple setting-up time cycle, calculate the average increasing amount of the network resource utilization in each setting-up time cycle, comprising:
Obtain the average increasing amount of the network resource utilization in each setting-up time cycle in the following manner:
Wherein, μ is the average increasing amount of the network resource utilization in each the setting-up time cycle obtained; a 1it is the network resource utilization in first setting-up time cycle; a nit is the network resource utilization in the n-th setting-up time cycle; P the initial total amount of resourcefor initial resource total amount in cloud resource pool; N is the number in setting-up time cycle, and value is natural number.
4. the network capacity extension method as described in as arbitrary in claims 1 to 3, it is characterized in that, according to the average increasing amount of the network resource utilization in each setting-up time cycle described, estimate the required amount of network resources increased in effective duration of the network capacity extension, comprising:
When effective duration of the network capacity extension is N times of setting-up time cycle, by the average increasing amount of the network resource utilization in each setting-up time cycle described and N times of setting-up time cycle quadrature, the product value obtained is the required amount of network resources increased in effective duration of the network capacity extension that estimation obtains.
5. the network capacity extension method as described in as arbitrary in Claims 1-4, is characterized in that, the expection that estimation obtains virtual network stock number in the required amount of network resources increased in the following manner drops into:
The hardware cost meeting this virtual network stock number respectively in calculating virtual network stock number drops into, the maintenance cost of virtual network stock number drops into;
The maintenance cost of the hardware cost input and virtual network stock number that meet this virtual network stock number in the virtual network stock number calculated dropped into and sue for peace, what obtain is the expection input that estimation obtains virtual network stock number in the required amount of network resources increased with value.
6. the network capacity extension method as described in as arbitrary in claim 1 to 5, is characterized in that, the expection that estimation obtains physical network resource amount in the required amount of network resources increased in the following manner drops into:
The physical hardware cost meeting this physical network resource amount in Computational Physics amount of network resources drops into;
The physical hardware cost meeting this physical network resource amount in the physical network resource amount calculated is dropped into the expection input obtaining physical network resource amount in the required amount of network resources increased as estimation.
7. a network capacity extension equipment, is characterized in that, comprising:
Acquisition module, for obtaining the network resource utilization in multiple setting-up time cycle in the historical data from cloud resource pool;
Computing module, for the network resource utilization according to described multiple setting-up time cycle, calculates the average increasing amount of the network resource utilization in each setting-up time cycle;
Dilatation estimation block, for when the network resource utilization of described cloud resource pool reaches setting threshold, according to the average increasing amount of the network resource utilization in each setting-up time cycle described, estimation is the required amount of network resources increased in effective duration of the network capacity extension, wherein, described amount of network resources comprises physics amount of network resources and virtual network stock number; When estimate obtain required for increase amount of network resources in virtual network stock number expection drop into be greater than estimation obtain required for increase amount of network resources in physical network resource amount expection drop into time, the amount of network resources increased required for obtaining according to estimation, the Internet resources in cloud resource pool described in dilatation.
8. network capacity extension equipment as claimed in claim 7, is characterized in that,
Described dilatation estimation block, when expection also for obtaining virtual network stock number in the amount of network resources increased when estimation drops into the expection input of physical network resource amount in the amount of network resources being not more than and estimating and obtain increasing, redefine effective duration of the network capacity extension and again estimate the required amount of network resources increased in effective duration of the network capacity extension redefined.
9. the network capacity extension equipment as described in as arbitrary in claim 7 to 8, is characterized in that,
Described computing module, specifically for obtaining the average increasing amount of the network resource utilization in each setting-up time cycle in the following manner:
Wherein, μ is the average increasing amount of the network resource utilization in each the setting-up time cycle obtained; a 1it is the network resource utilization in first setting-up time cycle; a nit is the network resource utilization in the n-th setting-up time cycle; P the initial total amount of resourcefor initial resource total amount in cloud resource pool; N is the number in setting-up time cycle, and value is natural number.
10. the network capacity extension equipment as described in as arbitrary in claim 7 to 9, is characterized in that,
Described dilatation estimation block, specifically for when effective duration of the network capacity extension is N times of setting-up time cycle, by the average increasing amount of the network resource utilization in each setting-up time cycle described and N times of setting-up time cycle quadrature, the product value obtained is the required amount of network resources increased in effective duration of the network capacity extension that estimation obtains.
11. as arbitrary in claim 7 to 10 as described in network capacity extension equipment, it is characterized in that,
Described dilatation estimation block, specifically for estimating that the expection obtaining virtual network stock number in the required amount of network resources increased drops in the following manner:
The hardware cost meeting this virtual network stock number respectively in calculating virtual network stock number drops into, the maintenance cost of virtual network stock number drops into;
The maintenance cost of the hardware cost input and virtual network stock number that meet this virtual network stock number in the virtual network stock number calculated dropped into and sue for peace, what obtain is the expection input that estimation obtains virtual network stock number in the required amount of network resources increased with value.
12. as arbitrary in claim 7 to 11 as described in network capacity extension equipment, it is characterized in that,
Described dilatation estimation block, specifically for estimating that the expection obtaining physical network resource amount in the required amount of network resources increased drops in the following manner:
The physical hardware cost meeting this physical network resource amount in Computational Physics amount of network resources drops into;
The physical hardware cost meeting this physical network resource amount in the physical network resource amount calculated is dropped into the expection input obtaining physical network resource amount in the required amount of network resources increased as estimation.
CN201410826775.4A 2014-12-25 2014-12-25 A kind of network capacity extension method and apparatus Active CN104579763B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410826775.4A CN104579763B (en) 2014-12-25 2014-12-25 A kind of network capacity extension method and apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410826775.4A CN104579763B (en) 2014-12-25 2014-12-25 A kind of network capacity extension method and apparatus

Publications (2)

Publication Number Publication Date
CN104579763A true CN104579763A (en) 2015-04-29
CN104579763B CN104579763B (en) 2017-12-01

Family

ID=53095028

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410826775.4A Active CN104579763B (en) 2014-12-25 2014-12-25 A kind of network capacity extension method and apparatus

Country Status (1)

Country Link
CN (1) CN104579763B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104881477A (en) * 2015-06-03 2015-09-02 上海新炬网络信息技术有限公司 Estimation method for application data space usage
CN105450735A (en) * 2015-11-10 2016-03-30 中国建设银行股份有限公司 Method and system for laterally expanding capacity
CN109634747A (en) * 2018-12-12 2019-04-16 平安科技(深圳)有限公司 Resource capacity expansion method, apparatus, computer equipment and storage medium based on Saltstack
CN111866931A (en) * 2020-07-23 2020-10-30 中国联合网络通信集团有限公司 Method and device for determining busy hour resource utilization rate

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130086273A1 (en) * 2011-10-04 2013-04-04 Tier3, Inc. Predictive two-dimensional autoscaling
CN103873498A (en) * 2012-12-11 2014-06-18 中国电信股份有限公司 Cloud platform resource self-adaptive early warning method and system
CN103942105A (en) * 2014-03-20 2014-07-23 华为技术有限公司 Method and device for acquiring resource utilization situation
CN104038392A (en) * 2014-07-04 2014-09-10 云南电网公司 Method for evaluating service quality of cloud computing resources
CN104142860A (en) * 2013-05-10 2014-11-12 中国电信股份有限公司 Resource adjusting method and device of application service system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130086273A1 (en) * 2011-10-04 2013-04-04 Tier3, Inc. Predictive two-dimensional autoscaling
CN103873498A (en) * 2012-12-11 2014-06-18 中国电信股份有限公司 Cloud platform resource self-adaptive early warning method and system
CN104142860A (en) * 2013-05-10 2014-11-12 中国电信股份有限公司 Resource adjusting method and device of application service system
CN103942105A (en) * 2014-03-20 2014-07-23 华为技术有限公司 Method and device for acquiring resource utilization situation
CN104038392A (en) * 2014-07-04 2014-09-10 云南电网公司 Method for evaluating service quality of cloud computing resources

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
李渊: "基于云计算的Web应用部署与扩容系统", 《中国优秀硕士学位论文全文数据库 信息科技辑》 *

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104881477A (en) * 2015-06-03 2015-09-02 上海新炬网络信息技术有限公司 Estimation method for application data space usage
CN104881477B (en) * 2015-06-03 2018-09-21 上海新炬网络信息技术股份有限公司 A kind of application data space uses evaluation method
CN105450735A (en) * 2015-11-10 2016-03-30 中国建设银行股份有限公司 Method and system for laterally expanding capacity
CN105450735B (en) * 2015-11-10 2018-10-19 中国建设银行股份有限公司 A kind of transverse direction expansion method and system
CN109634747A (en) * 2018-12-12 2019-04-16 平安科技(深圳)有限公司 Resource capacity expansion method, apparatus, computer equipment and storage medium based on Saltstack
CN111866931A (en) * 2020-07-23 2020-10-30 中国联合网络通信集团有限公司 Method and device for determining busy hour resource utilization rate
CN111866931B (en) * 2020-07-23 2022-09-02 中国联合网络通信集团有限公司 Method and device for determining busy hour resource utilization rate

Also Published As

Publication number Publication date
CN104579763B (en) 2017-12-01

Similar Documents

Publication Publication Date Title
US8799916B2 (en) Determining an allocation of resources for a job
US20170180220A1 (en) Techniques to Generate Workload Performance Fingerprints for Cloud Infrastructure Elements
CN104579763A (en) Network capacity expansion method and equipment
WO2012144985A1 (en) Scheduling map and reduce tasks of jobs for execution according to performance goals
US20130318538A1 (en) Estimating a performance characteristic of a job using a performance model
RU2015114568A (en) AUTOMATED RESOURCE USE PROFILING
JP2017511940A5 (en)
CN104123171B (en) Virtual machine migrating method and system based on NUMA architecture
EP3226131A1 (en) Scaling method and device for virtual machine (vm)
CN106125888B (en) The efficient power-economizing method of the utilization of resources in cloud data center based on virtual machine (vm) migration
US20160306705A1 (en) Checkpoint triggering in a computer system
WO2012154177A1 (en) Varying a characteristic of a job profile relating to map and reduce tasks according to a data size
WO2018086467A1 (en) Method, apparatus and system for allocating resources of application clusters under cloud environment
CN109254836B (en) Deadline constraint cost optimization scheduling method for priority dependent tasks of cloud computing system
CN104951352A (en) Method and equipment for migrating data flow
TWI671708B (en) Flow rate control method and device
CN103902353A (en) Virtual machine deployment method and device
CN106339252B (en) Self-adaptive optimization method and device for distributed DAG system
CN104850394A (en) Management method of distributed application program and distributed system
CN104753992A (en) Method, device and system for data storage and method and device for virtual platform failure recovery
CN106528189A (en) Backup task starting method and device and electronic equipment
US20200272526A1 (en) Methods and systems for automated scaling of computing clusters
CN109412865B (en) Virtual network resource allocation method, system and electronic equipment
CN106886477B (en) Method and device for setting monitoring threshold in cloud system
Shidik et al. Evaluation of Selection Policy with Various Virtual Machine Instances in Dynamic VM Consolidation for Energy Efficient at Cloud Data Centers.

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