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 clearly and completely described, obviously, described embodiment is only the present invention's part embodiment, rather than whole embodiment.Based on the embodiment in the present invention, those of ordinary skills belong to the scope of protection of the invention not making the every other embodiment that obtains under the creative work prerequisite.
The network traffics growth rate is followed Moore's Law, and what growth at a high speed brought is networking dilatation fast.In order to satisfy long term growth, generally all can dispose redundancy for Internet resources, during the flow peak, redundancy is a little bit smaller, and during the flow low ebb, redundancy is very big.The inventor finds in implementing process of the present invention, and can judge clearly by the statistical analysis of Model of network traffic, flow through a network peak and low ebb difference are huge, and periodic feature is obvious; These features are given to provide by traffic demand when using and are changed network redundancy, thereby offer an opportunity for setting up more intelligent low-power consumption network.
The embodiment of the present invention just is based on this principle a kind of technology according to network traffics dynamic adjustments network topology is provided, can the topology of set or anticipation network be optimized by implementing the solution of the present invention, search the optimum energy consumption network topology that satisfies current network bandwidth and availability requirement, solve the significantly problem of redundancy of capacity in real network (by the time), thereby realize a kind of low-power consumption network of intelligence;
As shown in Figure 1, be an idiographic flow schematic diagram of the network topology structure method of adjustment in the embodiment of the present invention, the method comprises the steps.
101, obtain current network topological structure, data on flows and dependability parameter.As, flow is 30%, network availability (being dependability parameter) is 0.99999.
102, described current network topological structure, data on flows and dependability parameter are analyzed, but obtained the dormancy network element, and generate network topology structure to be released.
Can be based between two-tier network to the analysis of network topology structure, as: according to as described in the current network topological structure determine adjacent layer network element looped network number of connection relation in network; Sort according to the looped network number of connection order from less to more of the network element network element to wherein one deck of described adjacent layer; The but whether network element of analyzing successively described wherein one deck according to the dependability parameter of the data on flows of described network element and network according to above-mentioned sequence is the dormancy network element, but and generation dormancy network element list.
In order further to raise the efficiency, in said process, can first obtain less one deck of network element looped network number of connection sum in described adjacent layer, claim that this layer is ground floor; Sort according to the looped network number of connection order from less to more of the network element network element to described ground floor again.
In embodiments of the present invention, network is two-layer or two-layer above network, is divided into ground floor, the second layer according to from bottom to top network layer, or also comprises the 3rd layer; Certainly, even might comprise the 4th layer, layer 5 etc.As, suppose that the A layer is the bottom, in the A layer, all devices is connected with access device, can not close (unless all users of Access Network are not online), B is the upper strata of A, and the chance of dormancy is arranged, be C layer (if any) on the upper strata of B, the chance of dormancy also may be arranged.Adopt in embodiments of the present invention bottom-to-top method analysis can avoid in top-down methods, the replicate analysis of the upper layer network element that brings due to the lower network element dormancy.
Here take ground floor and bottom as example, only analyze the neighbouring saving energy chance between two-layer of ground floor and bottom, claim that here ground floor is the upper strata, bottom is lower floor, if network topology structure has multilayer, needs successively analyzing respectively from bottom to top
As shown in Figure 2, be a kind of idiographic flow schematic diagram of this step.Here the example of Fig. 2 is actually bottom-to-top method, comprises the steps: 201, the phase-split network topological structure; 202, determine neighbouringly two-layerly mutually can reach network; 203, analyze upper layer network to the number of connection sequence of lower floor's network; 204, take upper layer network element as minimum unit, respectively each upper layer network element is carried out the saving energy chance analysis by upper layer network element and lower floor's network number of connection order from small to large, travel through all upper layer network elements; 205, judging whether the dormancy current network satisfies service quality (Quality of Service, QoS) and the reliability requirement of the connected looped network of expection, is to turn step 206, otherwise turn step 207 if judgment result is that; But 206, demarcating current network is the dormancy network element, turns step 208; 209, compile and edit current network for activating network element, turn step 208; 208, judge whether to complete the analysis of all upper layer network elements, if judgment result is that it is to turn step 209, continue to analyze next network element otherwise turn step 204; But 209, generation dormancy network element list.
Wherein, the QoS in above-mentioned steps 205 can comprise flow accounting and time delay etc.
Like this, by said method, each layer in whole network traveled through, but find all dormancy network elements.Certainly, according to actual conditions, a part of network element or the part layer that can choose in network travel through, but search the dormancy network element.
But and then generate network topology structure to be released according to dormancy network element and network condition.
103, generate routing control table and control strategy according to described network topology structure to be released.
104, described routing control table and control strategy are published in network.Wherein, this control strategy can comprise the route control strategy, as static routing list item or multiprotocol label switching (Multi-Protocol Label Switching, MPLS) etc.
105, but the issue sleep command is controlled described dormancy network element and is entered resting state.
Simultaneously, above-mentioned steps can be a cyclic process, namely after finishing this network topology structure adjustment, starts network topology structure adjustment next time when the predetermined structural adjustment cycle arrives; Certainly, also other entry conditions can be set, as carry out Network Traffic Monitoring, when the marked change of network traffics being detected, start network topology structure adjustment next time; Or when receiving that special network element is reported to the police, start network topology structure adjustment next time etc.
Due to, in network, may there be the situation that does not enter dormancy according to order in network element, in order to improve reliability, also can comprise the steps: after entering resting state but control described dormancy network element in the issue sleep command
But whether enter resting state according to the predetermined described dormancy network element of status poll cyclic polling;
If being network element, Query Result all entered resting state, finish this network topology structure adjustment, if Query Result is for there being network element not enter resting state, but again issue the described dormancy network element of sleep command control and enter resting state, until but all dormancy network elements all enter resting state or sent the described sleep command of pre-determined number, finish this network topology structure adjustment;
After finishing this network topology structure adjustment, when arriving, starts network topology structure adjustment next time in the predetermined structural adjustment cycle.
Simultaneously, also can comprise after finishing this network topology structure adjustment: open the QoS and the reliability warning that enter the resting state network element and interrupt.
, corresponding embodiment of the present invention method also comprises: when the QoS that receives network element and reliability warning, judge whether that according to network condition needs activate described network element; When being judged as YES, the issue activation command is controlled described network element and is activated.
As shown in Figure 3, be the process that comprises that loop start and equipment dependability detect.Comprise the steps in this process.
301, obtain network topology structure.
302, extract the parameters such as data on flows, redundancy and reliability configuration of network.
303, search sleeping devices according to acquired information in above-mentioned steps 301 and 302, obtain network topology structure to be released.The lookup method of wherein treating the list of dormancy network element can be: identification and demarcation upper layer network element and lower floor's looped network number of connection relation; Connect sequence according to the levels network element, judge according to from less to more analysis sequence whether the dormancy network element can exert an influence to QoS and the reliability of lower floor's network, but finally generation sleeping devices list.
304, generate routing control table and control strategy according to network topology structure to be released.
305, issue routing control table and control strategy are to the network equipment.
306, corresponding network element dormancy is controlled in issue an order.
307, whether enter resting state with the corresponding network element of period of time T c inquiry, if lookup result is yes, change step 306 over to, if lookup result for otherwise change step 306 over to and issue number of times (being the number of times of the issue an order when network element does not enter dormancy by normal flow after issue an order) counted, abandon after the issue number of times surpasses predetermined threshold and report to the police that to demarcate related network elements be control equipment out of control, then changing step 308 over to.
This step is should enter the network element normal hibernation of dormancy in order to ensure all.
308, open QoS and the reliability warning interruption of network element.As the QoS of network element or/and reliability conditions is sent when not satisfying interrupts reporting to the police.
309, start the Tx timer and prepare next adaption of topology cycle, change step 302 over to when the cycle reaches.
Opened the QoS of network element and reliability and report to the police and interrupt in above-mentioned flow process, the corresponding embodiment of the present invention also comprises the handling process of receiving after this warning.As shown in Figure 4, carry out for reporting to the police according to reliability the process that network element activates, it comprises the steps:
401, receive QoS and the reliability warning that network element sends.
402, collect warning message and analyze the concrete link of this network element to this network element.This network element refers to send the network element of interruption.Concrete link refers to this network element and the annexation of all network elements on every side
403, according to the information of collecting in the upper step, judge whether other network elements relevant to this link are the dormancy network element, be to turn step 404, otherwise turn step 405 if judgment result is that.
404, demarcating this network element is network element to be activated, turns step 406.
405, demarcate this network element for activating network element, turn step 406.Wherein, the effect of step 403~405 is to be mainly the network element around being connected with the interruption network element will to be activated, if network element is on every side " dormancy network element ", demarcating is " network element to be activated ", if not, demarcation is " activation network element ".
406, judge whether to complete the analysis of All Alerts, if judgment result is that it is to turn step 407, proceed next alarm analysis otherwise turn step 402.Wherein, described All Alerts analysis can represent all are interrupted the analysis of the warning of network element.
407, generate network element list to be activated.
408, the issue an order control network element activates.
409, whether enter state of activation with the corresponding network element of period of time T c inquiry, if lookup result is yes, change step 410 over to, if lookup result for otherwise change step 408 over to and issue number of times (being that network element does not enter the number of times of the issue an order when activating by normal flow after issue an order) counted, abandon after the issue number of times surpasses predetermined threshold and report to the police that to demarcate related network elements be control equipment out of control, then changing step 410 over to.
410, interrupt returning.
Namely realize searching of equipment to be activated by said method: the alert method of interrupting of delivering newspaper on employing equipment, the QoS that is discontented with the foot layer network is carried out relevant sleeping devices to the reliability requirement link wake up.
In order to illustrate in more detail in the embodiment of the present invention network topology result how to be released according to the known network information acquisition, below adopt concrete network topology result and an analytical method to be described further.Be illustrated in figure 5 as current network topology structural relation figure.Simply be convenient to describe for analytic process and do following assumed condition: the line bandwidth that 1, reaches in the A layer between B layer network and A layer network is constant m; 2, the requirement of the availability of network is: ensure two above parallel routes and can reach between A and B; 3, the network element in the B layer network can reach mutually to more high-rise network.
Corresponding analysis of networks topology step is as follows:
1, demarcate the linking number of B layer net and A layer network according to the method for the embodiment of the present invention, that is, B1~B4 is respectively, and 2,3,4,5; A1~A7 is respectively, and 6,6,4,4,6,4,4.Wherein, the linking number of the B layer linking number that adds up to 14, A layer adds up to 34.
2, the network element of (being the B layer) begins to analyze from the upper strata by the analysis principle of this method, and the minimum network element of number of connection begins to analyze from B layer network element, therefore first analyzes B1.
If 3 dormancy B1 network elements, the A layer network element that has influence on is A1+A3;
The uplink traffic of A1 is surplus three paths also: B2 is directly gone up in path 1, and path 2 is through the upper B2 of A2 or B3, and path 3 is through the upper B3 of A5 or B4; And after dormancy B1, the upstream bandwidth of A1 becomes 75% of A1 overall uplink bandwidth, is also 4m*75%=3m, (with the direct-connected link of A1 be 4, so the A1 overall uplink bandwidth is 4m);
The uplink traffic of A3 is surplus two paths also: B4 is directly gone up in path 1, and path 2 is through the upper B3 of A4 or B4; And after dormancy B1, the upstream bandwidth of A3 becomes 66.7% of A3 overall uplink bandwidth, is also 3m*66.7%=2m, (with the direct-connected link of A3 be 3, so the A3 overall uplink bandwidth is 3m);
After dormancy B1, A1 and A3 satisfy hypothesis availability condition.
4, at the basic secondary dormancy B2 of dormancy B1, the A layer network element that has influence on is A1+A2+A7;
The uplink traffic of A1 is surplus two paths also: B3 is gone up by A2 in path 1, B3 or B4 are gone up by A5 in path 2, and after dormancy B1, B2, the upstream bandwidth of A1 becomes 50% of A1 overall uplink bandwidth, be also 4m*50%=2m, (with the direct-connected link of A1 be 4, so the A1 overall uplink bandwidth is 4m);
Also surplus two, the uplink traffic path of A2, B3 is directly gone up in path 1, path 2 is through the upper B3 of A1, A5 or B4, and after dormancy B1, B2, the upstream bandwidth of A2 becomes 66.7% of A2 overall uplink bandwidth, be also 3m*66.7%=2m, (with the direct-connected link of A2 be 3, so the A2 overall uplink bandwidth is 3m);
Also surplus two, the uplink traffic path of A7: B4 is directly gone up in path 1, B3 or B4 are gone up by A6 in path 2, and after dormancy B1, B2, the upstream bandwidth of A7 becomes 66.7% of A7 overall uplink bandwidth, be also 3m*66.7%=2m, (with the direct-connected link of A7 be 3, so the A7 overall uplink bandwidth is 3m);
After dormancy B1, B2, A1, A2, A3, A7 satisfy hypothesis availability condition.
5, according to above analysis, energy-saving topology has following two kinds of forms.
As shown in Figure 6, energy-conservation topological structure (): dormancy B1, B2 equipment reach energy-saving effect the best, and it is A1<50% that network traffics are required, A2, A3, A7<66.7%;
As shown in Figure 7, energy-conservation topological structure (two): dormancy B1 equipment reaches the part energy-saving effect, and it is A1<75%, A3<66.7% that network traffics are required.
At this moment, then according to the real-time condition of network traffics, can select one can satisfy current network flow and require to carry out to greatest extent energy-conservation topological structure again and issue as network topology structure to be released in above-mentioned two kinds of topological structures.
In embodiments of the present invention by sleeping devices and equipment to be activated are demarcated in the configuration of the structural analysis of topology, flow detection, availability index, then pass through the soft or stand alone software issuing message of webmaster to the software and hardware system of network element device according to analyzing the dormancy that generates and enable list; Can carry out dynamically energy-conservation adjustment according to the real-time traffic of network.By the contrast network reliability require preset value and network bandwidth redundancy preset value, guarantee to change the method whether network reliability and flow redundancy after topology satisfy network requirement;
Accordingly, the embodiment of the present invention also provides a kind of network topology structure adjusting device, and as shown in Figure 8, this device comprises: information acquisition unit 80 is used for obtaining current network topological structure, data on flows and dependability parameter; Structural generation unit 82 is used for described current network topological structure, data on flows and dependability parameter are analyzed, but obtains the dormancy network element, and generates network topology structure to be released; Route generation unit 84 is used for generating routing control table and control strategy according to described network topology structure to be released; Route release unit 86 is used for described routing control table and control strategy are published to network; The dormancy release unit, but 88 be used for the issue sleep command and control described dormancy network element and enter resting state.
Wherein, as shown in Figure 9, structural generation unit 82 can comprise: quantitative relation obtains subelement 820, is used for determining network adjacent layer network element looped network number of connection relation according to described current network topological structure; Sequence subelement 822 is used for sorting according to the looped network number of connection order from less to more of the network element network element to wherein one deck of described adjacent layer; Duty cycle generates subelement 824, but whether the network element that is used for analyzing successively described wherein one deck according to above-mentioned sequence according to the dependability parameter of the data on flows of described network element and network is the dormancy network element, but and generation dormancy network element list.
Further, described network is two-layer or two-layer above network, be divided into ground floor, the second layer according to from bottom to top network layer, or also comprise the 3rd layer, sequence subelement 822 also is used for according to from bottom to top network layer described ground floor, the second layer, or the network element that also comprises the 3rd layer analyzes, and the network element of the every one deck looped network number of connection order from less to more according to network element is sorted.
As shown in figure 10, really enter the dormancy line period structural adjustment of going forward side by side for guaranteeing network element, this device also can further comprise: status poll unit 81, but be used for whether entering resting state according to the described dormancy network element of status poll cyclic polling of being scheduled to; Adjust end unit 83, be used for when Query Result be that network element is when all having entered resting state, finish this network topology structure adjustment, when Query Result when having network element not enter resting state, but again issue the described dormancy network element of sleep command control and enter resting state, until but all dormancy network elements all enter resting state or sent the described sleep command of pre-determined number, finish this network topology structure adjustment; Adjust start unit 85, be used for starting network topology structure adjustment next time when the predetermined structural adjustment cycle arrives after the adjustment end unit finishes this network topology structure adjustment.
As shown in figure 11, for realizing in real time the dormancy network element being activated, this device also comprises: alarm unit 87 is used for opening when adjusting QoS and the reliability warning interruption that enters the resting state network element after end unit finishes this network topology structure adjustment.Or also comprise, activate unit 89, be used for judge whether that according to network condition needs activate described network element, and when being judged as YES, the issue activation command being controlled described network element and activated when the QoS that receives network element and reliability warning.
In embodiments of the present invention, by network topology structure is analyzed, real-time according to the current network condition conversion of carrying out between network element dormancy and state of activation reduces whole net energy consumption under the condition of the prerequisite of the flow requirement of satisfying current network.
One of ordinary skill in the art will appreciate that all or part of flow process that realizes in above-described embodiment method, to come the relevant hardware of instruction to complete by computer program, described program can be stored in a computer read/write memory medium, this program can comprise the flow process as the embodiment of above-mentioned each side method when carrying out.Wherein, described storage medium can be magnetic disc, CD, read-only store-memory body (Read-Only Memory, ROM) or random store-memory body (Random Access Memory, RAM) etc.
Above disclosed is only a kind of preferred embodiment of the present invention, certainly can not limit with this interest field of the present invention, and the equivalent variations of therefore doing according to claim of the present invention still belongs to the scope that the present invention is contained.