CN100493067C - Method of interface loading backup - Google Patents

Method of interface loading backup Download PDF

Info

Publication number
CN100493067C
CN100493067C CNB031592120A CN03159212A CN100493067C CN 100493067 C CN100493067 C CN 100493067C CN B031592120 A CNB031592120 A CN B031592120A CN 03159212 A CN03159212 A CN 03159212A CN 100493067 C CN100493067 C CN 100493067C
Authority
CN
China
Prior art keywords
interface
backup
flow
maximum
main
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.)
Expired - Fee Related
Application number
CNB031592120A
Other languages
Chinese (zh)
Other versions
CN1592294A (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 CNB031592120A priority Critical patent/CN100493067C/en
Publication of CN1592294A publication Critical patent/CN1592294A/en
Application granted granted Critical
Publication of CN100493067C publication Critical patent/CN100493067C/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Abstract

This invention discloses a method for interface load backup used in controlling the multiple backup interfaces owned by a master interface according to the load flow of the master interface including: when the actual flow of the master interface is greater than its maximum allowed flow, a backup interface with the maximum provity is started from the not started backup ones, when the sum of the actual flow of the master and the actual total flow of the backup is less than the sum of maximum allowed flow of the master and the maximum load flow of the backup, the backup interface with the lowest priority is closed.

Description

A kind of method of interface load backup
Technical field
The present invention relates to the interfacing of communication network, relate in particular to a kind of method of interface load backup.
Background technology
In order to improve the reliability of network, the operating system of communication equipment uses backup center that perfect interface backup function is provided, and backup center supporting interface backup load is shared function.
The load backup of the single interface of operating system support, promptly main interface has only a backup interface.When the flow of main interface in the backup chain reaches on the thresholding of setting in limited time, the backup interface of this main interface carries out load balancing together with main interface; Under the thresholding that the total flow of active and standby interface is set on less than main interface, close backup interface in limited time.
Adopt aforementioned algorithm, when having two or more backup interface, start backup interface when flow increases, flow reduces then, can not in time close unnecessary backup interface, causes the waste of bandwidth.
As: the upper limit of main interface is made as 80%, and lower limit is made as 20%, and the design bandwidth of main interface is A, and 2 two backup interfaces of backup interface 1 and backup interface are arranged, and the design bandwidth of each backup interface is 0.2A, and the priority of backup interface 1 is higher than backup interface 2:
(1) when the flow of main interface surpasses 0.8A, be assumed to be 0.9A, backup interface 1 is activated, and the flow of main interface is shared, and when the flow of main interface surpassed 0.8A once more, backup interface 2 also was activated;
(2) total flow is reduced to 0.3A from 0.9A subsequently, and the flow of 0.3A transmits from main interface, backup interface 1 and backup interface 2 respectively;
(3) but the flow of 0.3A greater than lower limit 0.2A, so, can not be closed backup interface 2 even main interface and backup interface 1 can be born the flow of 0.3A alone.
Summary of the invention
The object of the present invention is to provide a kind of method of interface load backup, to solve the problem that in time to close the redundancy backup interface in the prior art after the main interface changes in flow rate.
In order to solve the problems of the technologies described above, the invention provides following technical proposals:
The method of a kind of load backup is used for a plurality of backup interfaces that this main interface of load flow control according to main interface has, and the method comprising the steps of:
A, obtain the actual flow of main interface;
B, judge that whether described actual flow allows flow greater than the maximum of main interface; If greater than, then start the highest backup interface of priority in the backup interface that never starts; If less than would carry out step C;
C, calculate the actual flow sum of described main interface and all backup interfaces that be opened, obtain the actual total flow of backup interface, and the maximum of calculating in these backup interfaces all backup interfaces except that the minimum backup interface of priority bears the flow sum, obtains the backup interface maximum and always bears flow;
Whether D, the actual flow of judging described main interface and the actual total flow sum of described backup interface bear the flow sum less than the maximum permission flow and the backup interface maximum of main interface, if then close the minimum backup interface of described priority.
Wherein:
If judged result is then kept the current state of all backup interfaces for not among the step D.
The maximum of backup interface is born flow can pass through manual configuration.
The maximum of backup interface is born flow after this backup interface participates in the load backup, dynamically generates with the maximum stream flow that refreshes this backup interface by regularly carrying out dynamically recording.
The present invention opens backup interface when the actual flow of main interface bears flow above maximum, guaranteed the load backup of interface; When being reduced to a certain degree, the actual flow of main interface and backup interface can in time close unnecessary backup interface, can conserve bandwidth, can not cause the interface upheaval simultaneously because of the load backup yet.
Description of drawings
Fig. 1 is the structural representation of interface management system;
Fig. 2 is a flow chart of the present invention.
Embodiment
Consult shown in Figure 1ly, main interface has backup interface 1 and backup interface 2 (be not limited to two, can have a plurality of).Backup center is by the state of interface management module understanding interface, in the backup that realizes under the assistance of interface management between the interface.Main interface and backup interface are told backup center with the Interface status situation of change of oneself by interface management respectively, backup center is with reference to original configuration, according to the state of main interface, the state of backup interface, the priority of backup interface and the flow of active and standby interface, determine whether to enable backup interface and enable which backup interface, thereby realize interface backup.When backup interface was not activated, backup interface was closed, and when backup interface was activated, backup interface was opened.
After backup interface was opened, for various reasons, possible actual flow can be 0, claimed that this class interface is that void is opened interface, claimed that all flows are not that 0 the interface of opening is the real interface of opening.
Set the flow upper and lower bound on main interface, if bound occurs with the form of percentage, then the maximum of main interface is born (permissions) flow and is " the main interface bandwidth * upper limit ", and it is " main interface bandwidth * lower limit " that the minimum of main interface is born (permission) flow.
Each backup interface also has the maximum flow that allows, and this maximum allows flow can manual configuration, also can be after backup interface participates in the load backup, by regularly, dynamically recording and the maximum stream flow that refreshes this interface dynamically generate.Dynamically generate is when the maximum of not specifying backup interface allows flow, backup center obtains the present flow rate of this backup interface from the interface management module, and dynamically recording is by the maximum stream flow of this backup interface, if promptly if present flow rate is greater than the maximum stream flow of ever recorded, just the peak flow values of needs record is updated to the present flow rate value, otherwise remains unchanged.
When the present invention bears flow at the actual flow of main interface greater than the maximum of main interface, in the backup interface that is not opened, open a highest backup interface of priority, and when the actual flow of main interface and backup interface is reduced to a certain degree, in time close unnecessary backup interface.Consult shown in Figure 2ly, its concrete processing procedure is as follows:
Step 10: backup center obtains the actual flow of main interface by the interface management module.
Step 20: judge that whether described actual flow allows flow greater than the maximum of main interface; If greater than, then start the highest backup interface of priority in the backup interface that never starts; If less than carry out step 30;
Step 30: backup center calculates the actual flow sum of all backup interfaces that belong to main interface and be opened, obtain the actual total flow of backup interface, and the maximum of calculating in these backup interfaces all backup interfaces except that the minimum backup interface of priority bears the flow sum, obtains the backup interface maximum and always bears flow;
Step 40: judge whether the actual flow of described main interface and the actual total flow sum of described backup interface bear the flow sum less than the maximum permission flow and the backup interface maximum of main interface, if then close the minimum backup interface (step 401) of described priority; If not, then keep current backup interface state (step 402), because backing up, load causes the interface upheaval to avoid.
For example:
Consult Fig. 1, the upper limit of main interface is made as 80%, and lower limit is made as 20%, and the design bandwidth of main interface is A, the bandwidth of backup interface 1 and backup interface 2 (admissible maximum is born flow can not surpass bandwidth) is 0.2A, and the priority of backup interface 1 is higher than backup interface 2.
When the flow of main interface surpasses 0.8A, be assumed to be 0.9A, backup interface 1 is activated, and the flow of main interface is shared, and when the flow of main interface surpassed 0.8A once more, backup interface 2 also was activated.
Total flow is reduced to 0.3A from 0.9A subsequently, and the flow of 0.3A transmits from main interface, backup interface 1 and backup interface 2 respectively.As, this moment, the flow of three interfaces was 0.1A, then the flow of main interface is less than its lower limit flow 0.2A, and total flow 0.3A also bears flow 0.2A sum 1.1A less than the upper limit flow 0.9A of main interface and the maximum of backup interface 1, so backup interface 2 is closed.And be can not close backup interface in the case in the prior art.

Claims (4)

1, the method for a kind of interface load backup is used for a plurality of backup interfaces that this main interface of load flow control according to main interface has, and it is characterized in that the method comprising the steps of:
A, obtain the actual flow of main interface;
B, judge that whether described actual flow allows flow greater than the maximum of main interface; If greater than, then start the highest backup interface of priority in the backup interface that never starts; If less than would carry out step C;
C, calculate the actual flow sum of described main interface and all backup interfaces that be opened, obtain the actual total flow of backup interface, and the maximum of calculating in these backup interfaces all backup interfaces except that the minimum backup interface of priority bears the flow sum, obtains the backup interface maximum and always bears flow;
Whether D, the actual flow of judging described main interface and the actual total flow sum of described backup interface always bear the flow sum less than the maximum permission flow and the backup interface maximum of main interface, if then close the minimum backup interface of described priority.
2, the method for claim 1 is characterized in that, if judged result is then kept the current state of all backup interfaces for not among the step D.
3, method as claimed in claim 1 or 2 is characterized in that, the maximum of backup interface is born flow and passed through manual configuration.
4, method as claimed in claim 1 or 2 is characterized in that, the maximum of backup interface is born flow after this backup interface participates in the load backup, dynamically generates with the maximum stream flow that refreshes this backup interface by regularly carrying out dynamically recording.
CNB031592120A 2003-09-02 2003-09-02 Method of interface loading backup Expired - Fee Related CN100493067C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB031592120A CN100493067C (en) 2003-09-02 2003-09-02 Method of interface loading backup

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB031592120A CN100493067C (en) 2003-09-02 2003-09-02 Method of interface loading backup

Publications (2)

Publication Number Publication Date
CN1592294A CN1592294A (en) 2005-03-09
CN100493067C true CN100493067C (en) 2009-05-27

Family

ID=34598605

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB031592120A Expired - Fee Related CN100493067C (en) 2003-09-02 2003-09-02 Method of interface loading backup

Country Status (1)

Country Link
CN (1) CN100493067C (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100401689C (en) 2005-10-24 2008-07-09 华为技术有限公司 Network resource configuration method
CN101184049B (en) * 2007-12-12 2010-06-16 中兴通讯股份有限公司 Dynamic load sharing method and system
CN101179510B (en) * 2007-12-13 2011-11-23 中兴通讯股份有限公司 Main/slave link load sharing method and apparatus for virtual switch system
CN104684111A (en) * 2013-12-02 2015-06-03 国家电网公司 Wireless communication terminal and wireless communication device
CN104503768B (en) * 2015-01-04 2018-05-04 华为技术有限公司 A kind of application programming interface call method and equipment

Also Published As

Publication number Publication date
CN1592294A (en) 2005-03-09

Similar Documents

Publication Publication Date Title
CN102238595B (en) Method and equipment for processing cell outage
CN101330544B (en) Method for implementing multi-center virtual integration of passenger service system
CN100481989C (en) A method for dynamic distribution of side signaling link of base station in mobile communication system
CN101715027A (en) Customer service system and method for power system
CN105306622B (en) A kind of cloud net fusion domain name analysis system and its DNS service method
WO2009113925A1 (en) Integration platform for collecting security audit trail
WO2002056529A3 (en) Distribution processing and criteria-based dynamic modification of data-flow map
CN101175044B (en) Information flow-rate permission control method and device
CN107273212A (en) A kind of method and system of dynamic assigning memory
CN100493067C (en) Method of interface loading backup
CN105007304A (en) SOA-based enterprise information technology system data exchange and integration system
US20130061082A1 (en) Balancing power consumption and high availability in an information technology system
CN101977410A (en) Method and device for dual-network and dual-standby terminal to perform communication
CN101741690B (en) Control method of service interface flow and gateway
CN100544316C (en) A kind of flow control system and method based on interface group
CN101478495B (en) Flow limitation method and apparatus
CN101969234A (en) Optimization control method of transformer load of transformer substation automation system
CN1996968B (en) Decision method for the media gateway controller to distribute the resource
CN101166308A (en) A method for dynamically controlling information traffic from local device to device at other end
CN104936153B (en) Interim group processing method and user equipment
CN104144070B (en) Cloud call center system and its dynamic disaster recovery method, kernel scheduling equipment
RU2005124267A (en) METHOD FOR PREDICTING RISING POWER AND MANAGING CALLS FOR COMBINED SERVICE IN MOBILE COMMUNICATION SYSTEM
CN100514875C (en) Method for service speed regulation under no cascade operation/no coder operation
CN1332531C (en) A method for dynamically adjusting system service performance on service management point
CN100502585C (en) Method for interface call admission control in communication system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20090527

Termination date: 20150902

EXPY Termination of patent right or utility model