CN103096414B - Self adaptation WAN link method for routing and IAD equipment - Google Patents

Self adaptation WAN link method for routing and IAD equipment Download PDF

Info

Publication number
CN103096414B
CN103096414B CN201310037462.6A CN201310037462A CN103096414B CN 103096414 B CN103096414 B CN 103096414B CN 201310037462 A CN201310037462 A CN 201310037462A CN 103096414 B CN103096414 B CN 103096414B
Authority
CN
China
Prior art keywords
link interface
wan link
wan
interface
current network
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
CN201310037462.6A
Other languages
Chinese (zh)
Other versions
CN103096414A (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.)
Shenzhen Gongjin Electronics Co Ltd
Original Assignee
Shenzhen Gongjin Electronics 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 Shenzhen Gongjin Electronics Co Ltd filed Critical Shenzhen Gongjin Electronics Co Ltd
Priority to CN201310037462.6A priority Critical patent/CN103096414B/en
Publication of CN103096414A publication Critical patent/CN103096414A/en
Application granted granted Critical
Publication of CN103096414B publication Critical patent/CN103096414B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Telephonic Communication Services (AREA)

Abstract

The embodiment of the present invention provides a kind of self adaptation WAN link method for routing and IAD equipment, wherein does method comprise: the network voice communication VOIP of pre-configured multiple net environments? WAN link interface, and the use priority of each WAN link interface; Determine available under current network environment and meet pre-conditioned WAN link interface; Judge in determined WAN link interface whether have a WAN link interface, the use priority of a WAN link interface is higher than the 2nd WAN link interface, and the 2nd WAN link interface is the current WAN link interface just using; If not, maintain the 2nd WAN link interface just using; If so, the current WAN link interface just using is changed to a WAN link interface. The embodiment of the present invention has improved the utilization rate of WAN link interface, has improved the transmitting-receiving efficiency of speech data.

Description

Self adaptation WAN link method for routing and IAD equipment
Technical field
The present invention relates to voice communication technical field, more particularly, relate to a kind of self adaptation WAN(WideAreaNetwork, wide area network) link method for routing and IAD(IntegratedAccessDevice, combineClose access device) equipment.
Background technology
Network application is maked rapid progress, and user's request is day by day various. In order to meet user's new demand, operationBusiness's network IPization process deepens continuously, and business is also more and more abundanter, VOIP(VoiceoverInternetProtocol, network voice communication) obtain especially tremendous development as the voice digitization communication technology. ForMerging data, voice, in the network environment of video, preferably managing VOIP business, WANThe selection of link is particularly important. In addition, because up mode exists variation, as ADSL(AsymmetricDigitalSubscriberLine, ADSL) is up, VDSL(Very-high-bit-rateDigitalSubscriberloop, very-high-bit-rate digital subscriber loop) is up etc.,Add the also property of there are differences of network of each operator, require IAD equipment plug and play (PNP,Plug-and-Play), in situation, Wan link routing function is as one of condition of VoIPPNP, moreParticularly crucial.
Although important function has been played in being chosen in VOIP application of WAN link, inventor finds:In the application of VoIP, general wan link is selected all comparatively single, even if there are many Wan at presentLink availablely, VoIP business is an only single use wan link wherein also, and this makes wanThe utilization rate of link is not high, affects the transmitting-receiving efficiency of speech data.
Summary of the invention
In view of this, the embodiment of the present invention provides a kind of self adaptation WAN link method for routing and IAD to establishStandby, to solve prior art because wan link selection is comparatively single, and the utilization of the wan causing linkRate is not high, affects the problem of the transmitting-receiving efficiency of speech data.
Realize above-mentioned purpose, the embodiment of the present invention provides following technical scheme:
A kind of self adaptation WAN link method for routing, the VOIPWAN of pre-configured multiple net environmentsLink interface, and the use priority of pre-configured each WAN link interface; Described method comprises:
Determine available under current network environment and meet pre-conditioned WAN link interface;
According to the use priority of pre-configured each WAN link interface, judge determined WAN chainIn connection interface, whether have a WAN link interface, the use of a described WAN link interface is preferentialLevel is higher than the use priority of the 2nd WAN link interface, and described the 2nd WAN link interface is just currentThe WAN link interface using;
If not, maintain the 2nd WAN link interface just using;
If so, the current WAN link interface just using is changed to a described WAN link interface,Transmission line using WAN link corresponding to a described WAN link interface as speech data.
Wherein, described pre-conditioned WAN link interface is all available under current network environmentWAN link interface, or whole subset of available WAN link interface under current network environment;
Mistake available and that meet pre-conditioned WAN link interface under described definite current network environmentJourney comprises:
According to the WAN link interface under pre-configured current network environment, determine one by one current network ringThe upstate of the WAN link interface under border, determines whole available WAN chains under current network environmentConnection interface, is defined as whole available WAN link interface under current network environment current network environmentLower available and meet pre-conditioned WAN link interface; Or
According to the WAN link interface under pre-configured current network environment, determine one by one current network ringThe upstate of the WAN link interface under border, determines whole available WAN chains under current network environmentA subset of connection interface, by a subset of whole available WAN link interface under current network environmentBe defined as, available and meet pre-conditioned WAN link interface under current network environment.
Wherein, described pre-conditioned WAN link interface is WAN chain available under current network environmentIn connection interface, use the WAN link interface that prioritization is first;
Mistake available and that meet pre-conditioned WAN link interface under described definite current network environmentJourney comprises:
According to the WAN link interface under pre-configured current network environment, determine under current network environmentAvailable WAN link interface, according to the use priority of pre-configured WAN link interface, determinesUnder current network environment, in available WAN link interface, use the WAN link that prioritization is firstInterface, determines that this WAN link interface is available under current network environment and meets pre-conditionedWAN link interface.
Wherein, describedly judge in determined WAN link interface, whether to there is a WAN link interfaceProcess comprise:
According to the use priority of pre-configured WAN link interface, judge determined available and meetIn pre-conditioned WAN link interface, whether have and use priority higher than the 2nd WAN link interfaceWAN link interface;
If so, determine that using priority is the higher than the WAN link interface of the 2nd WAN link interfaceOne WAN link interface;
If not, determine determined available and meet and in pre-conditioned WAN link interface, do not have theOne WAN link interface.
Wherein, described the current WAN link interface that just using is changed to a described WAN and connectThe process of mouth comprises:
Obtain the WAN linked network information of a WAN link interface, according to described WAN link netNetwork information is initiated SIP registration, and the current WAN link interface just using is switched to a WAN linkInterface.
The embodiment of the present invention also provides a kind of IAD equipment, comprising:
The first pre-configured module, for the VOIPWAN link interface of pre-configured multiple net environments;
The second pre-configured module, for the use priority of pre-configured each WAN link interface;
Determination module, for determining available under current network environment and meeting pre-conditioned WAN linkInterface;
Judge module, for according to the use priority of pre-configured each WAN link interface, judges instituteState in the determined WAN link interface of determination module whether there is a WAN link interface, describedThe use priority of one WAN link interface is higher than the use priority of the 2nd WAN link interface, described inThe 2nd WAN link interface is the current WAN link interface just using;
Maintain module, when being no in the judged result of described judge module, maintain just using secondWAN link interface;
Handover module, in the judged result of described judge module when being, just using currentWAN link interface is changed to a described WAN link interface, with a described WAN link interfaceCorresponding WAN link is as the transmission line of speech data.
Wherein, described determination module comprises:
The first determining unit, for according to the WAN link interface under pre-configured current network environment,Determine one by one the upstate of the WAN link interface under current network environment;
The second determining unit, under the current network environment of determining one by one according to described the first determining unitThe upstate of WAN link interface, determine under current network environment that all available WAN connectMouthful, determined all available WAN link interface are defined as, under current network environment available andMeet pre-conditioned WAN link interface; Or that determines one by one according to described the first determining unit is currentThe upstate of the WAN link interface of net environment, determines under current network environment all availableA subset of WAN link interface, by whole available WAN link interface under current network environmentA subset is defined as, available and meet pre-conditioned WAN link interface under current network environment.
Wherein, described determination module comprises:
The 3rd determining unit, for according to the WAN link interface under pre-configured current network environment,Determine WAN link interface available under current network environment, according to pre-configured WAN link interfaceUse priority, determine under current network environment in available WAN link interface, use prioritizationIt is first WAN link interface;
The 4th determining unit, for determining the determined described use priority row of described the 3rd determining unitOrder is first WAN link interface, for available under current network environment and meet pre-conditionedWAN link interface.
Wherein, described judge module comprises:
Priority judging unit, for according to the use priority of pre-configured WAN link interface, sentencesWhether disconnected described determination module is determined available and meet in pre-conditioned WAN link interface and haveUse the WAN link interface of priority higher than the 2nd WAN link interface;
First judges determining unit, in the judged result of described priority judging unit when being, reallySurely using priority is that a WAN connects higher than the WAN link interface of the 2nd WAN link interfaceMouthful;
Second judges determining unit, when being no in the judged result of described priority judging unit, reallyFixed described determination module is determined available and meet and in pre-conditioned WAN link interface, do not have theOne WAN link interface.
Wherein, described handover module comprises:
Acquiring unit, for obtaining the WAN linked network information of a WAN link interface;
Registration switch unit, for initiate SIP registration according to described WAN linked network information, by currentThe WAN link interface just using switches to a WAN link interface.
Based on technique scheme, the self adaptation WAN link method for routing that the embodiment of the present invention provides, reallySettled front net environment can with and meet pre-conditioned WAN link interface; According to pre-configured eachThe use priority of WAN link interface, judges determined available and meet pre-conditioned WAN chainIn connection interface, whether have a WAN link interface, the use of a described WAN link interface is preferentialLevel is higher than the use priority of the 2nd WAN link interface, and described the 2nd WAN link interface is just currentThe WAN link interface using; In judged result when being, by the current WAN link interface just usingChange to a described WAN link interface, with WAN chain corresponding to a described WAN link interfaceChain link road is as the transmission line of speech data; Thereby IAD equipment can be adopted always to be used preferentiallyLevel under current network environment in available WAN link interface sequence be first WAN link interface,And then adopt that to use priority to sort be first WAN chain link in current available WAN linkThe transmission of speech data is carried out on road, and the embodiment of the present invention has improved the utilization rate of WAN link interface, improvesThe transmitting-receiving efficiency of speech data.
Brief description of the drawings
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, below will be to realityThe accompanying drawing of executing required use in example or description of the Prior Art is briefly described, apparently, belowAccompanying drawing in description is only some embodiments of the present invention, for those of ordinary skill in the art,Do not paying under the prerequisite of creative work, can also obtain according to these accompanying drawings other accompanying drawing.
The self adaptation WAN that Fig. 1 provides for the embodiment of the present invention links the flow chart of method for routing;
The self adaptation WAN that Fig. 2 provides for the embodiment of the present invention links the other method flow chart of route;
The self adaptation WAN that Fig. 3 provides for the embodiment of the present invention links the another method flow diagram of route;
The self adaptation WAN that Fig. 4 provides for the embodiment of the present invention links a method flow diagram again of route;
The structured flowchart of the IAD equipment that Fig. 5 provides for the embodiment of the present invention;
The structured flowchart of the determination module that Fig. 6 provides for the embodiment of the present invention;
Another structured flowchart of the determination module that Fig. 7 provides for the embodiment of the present invention;
The structured flowchart of the judge module that Fig. 8 provides for the embodiment of the present invention;
The structured flowchart of the handover module that Fig. 9 provides for the embodiment of the present invention.
Detailed description of the invention
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried outDescribe clearly and completely, obviously, described embodiment is only the present invention's part embodiment, andNot whole embodiment. Based on the embodiment in the present invention, those of ordinary skill in the art are not doingGo out the every other embodiment obtaining under creative work prerequisite, all belong to the scope of protection of the invention.
The embodiment of the present invention need to be in IAD equipment, pre-configured based on VOIP business, multiple netsWAN link interface under network environment, as the WAN link interface using under adsl loop border, VDSLThe WAN link interface using under environment etc., can according to may in network environment, configuration is correspondingWAN link interface, a network environment can be to there being multiple WAN link interface, by multiple netsThe WAN link interface that network environment is corresponding, multiple net environments of formation embodiment of the present invention configurationWAN link interface; It should be noted that configured WAN link interface is virtual interface, oneThe corresponding WAN link of WAN link interface, a WAN link is to there being a languageThe route transmission scheme of sound data, is used this WAN link interface to use corresponding WAN linkTransmission line carry out the transmission of speech data.
The embodiment of the present invention also need to be in IAD equipment, the use of pre-configured each WAN link interfacePriority, having configured after the WAN link interface of multiple net environments, need connect each WANMouth uses the sequence of priority to carry out specified configuration.
In the situation that performing above-mentioned configuration, can carry out the method flow shown in Fig. 1. Fig. 1 is the present inventionThe flow chart of the self adaptation WAN link method for routing that embodiment provides, with reference to Fig. 1, the method can be wrappedDraw together:
Step S100, determine available under current network environment and meet pre-conditioned WAN and connectMouthful;
The upstate of embodiment of the present invention WAN link interface is divided into available UP, and unavailable DOWN.Some WAN link interface may be in down state at a net environment, but in another network ringsMay be in upstate under border; And the upstate of WAN link interface is at any time in new state more,Take resource as occupied WAN link interface has discharged, this WAN link interface is from unavailableState becomes upstate etc.
The embodiment of the present invention can arrange whole available WAN link interface under current network environment and all meetPre-conditioned, it is all available under current network environment meeting pre-conditioned WAN link interfaceWAN link interface. Optionally, the embodiment of the present invention can be in the time of IAD device start, or establishes at IADAfter standby startup, in the time of cycle predetermined time, or (can in the time that WAN linking status changesWAN link interface is detected in real time, thereby determines the opportunity that WAN linking status changes),According to the WAN link interface under pre-configured current network environment, corresponding to current network environmentWAN link interface is carried out poll, and the WAN link interface under definite current network environment is available one by oneState, therefrom determines whole available WAN link interface under current network environment, by determined wholeAvailable WAN link interface is defined as available under current network environment and meets pre-conditioned WANLink interface.
Optionally, the embodiment of the present invention also can arrange under current network environment all available WAN and connectsA subset in mouthful all meets pre-conditioned, and meeting pre-conditioned WAN link interface is current netA subset (i.e. whole available WAN links under network environment in whole available WAN link interfacePart in interface meets pre-conditioned). In subset, the quantity of WAN link interface can be determined at random, alsoThe quantity of the WAN link interface that should have in can pre-configured subset. WAN link interface in subsetChoosing can be to choose to have to specify in all available WAN link interface to use prioritizationWAN link interface.
Because following flow process also needs the use priority according to each WAN link interface, carry out adaptiveWAN links route, and therefore the embodiment of the present invention also can arrange under current network environment all availableIn WAN link interface, use the WAN link interface that prioritization is first to meet pre-conditioned;Meeting pre-conditioned WAN link interface is that WAN available under current network environment connectsIn mouthful, use the WAN link interface that prioritization is first. Optionally, the embodiment of the present invention also canIn the time of IAD device start, or after IAD device start, in the time of cycle predetermined time, orIn the time that WAN linking status changes, simultaneously excellent according to the use of pre-configured WAN link interfaceFirst level sequence, and WAN link interface under pre-configured current network environment, determine current network ringUnder border, in available WAN link interface, using prioritization is first WAN link interface, by reallyIn fixed available WAN link interface, using prioritization is first WAN link interface, is defined asAvailable and meet pre-conditioned WAN link interface under current network environment. Optionally, can be according in advanceFirst the WAN link interface under the current network environment of configuration, determines under current network environment availableWAN link interface, according to the use prioritization of pre-configured WAN link interface, judgement is worked asFront net environment can with WAN link interface in to use prioritization be that first WAN connectsMouthful.
Step S110, according to the use priority of pre-configured each WAN link interface, judgement institute is reallyIt is fixed available and meet in pre-conditioned WAN link interface, whether to there is a WAN link interface,If not, execution step S120, if so, performs step S130;
The use priority of a described WAN link interface is excellent higher than the use of the 2nd WAN link interfaceFirst level, described the 2nd WAN link interface is the current WAN link interface just using;
Determine after WAN link interface available under current network environment at step S100, for improving
The utilization rate of WAN link, and data transmit-receive efficiency, need in determining step S100 determined availableWAN link interface in whether there is a WAN link interface, thereby determine the execution of follow-up flow processDirection. The one WAN link interface refers to and uses the WAN of priority higher than the 2nd WAN link interfaceLink interface, does not refer in particular to. The 2nd WAN link interface refers to the current WAN link interface just using,Do not refer in particular to.
Be whole available WAN under current network environment for meeting pre-conditioned WAN link interfaceThe situation of link interface, step S110 can be preferential according to the use of pre-configured each WAN link interfaceLevel, links determined available WAN link interface to connect with current the 2nd WAN just using one by oneMouth uses the comparison of priority, if find in comparison process, determined available WAN connectsIn mouthful, there is a WAN link interface, perform step S130, otherwise, execution step S120. AobviousSo, be whole available WAN under current network environment for meeting pre-conditioned WAN link interfaceThe situation of a subset of link interface, what rapid S110 can be according to pre-configured each WAN link interfaceUse priority, by subset of determined available WAN link interface and current just using theTwo WAN link interface are used the comparison of priority, if find determined available in comparison processThe subset of WAN link interface in there is a WAN link interface, perform step S130, no, execution step S120. The embodiment of the present invention also can be according to pre-configured each WAN link interfaceUse priority, from determined available WAN link interface, determine and use prioritization to beFirst WAN link interface, links this WAN link interface with current the 2nd WAN just usingInterface uses the comparison of priority, thereby determines the execution of subsequent step.
For meeting pre-conditioned WAN link interface be available WAN under current network environmentIn link interface, use the situation of the WAN link interface that prioritization is first, step S110 canDirectly by determined step S100 available and meet pre-conditioned WAN link interface, with just currentThe 2nd WAN link interface using is used the comparison of priority, thereby determines holding of subsequent stepOK.
Step 120, maintain the 2nd WAN link interface just using;
If do not have first in the determined WAN link interface of step S110 determining step S100WAN link interface, illustrates that the use priority of the current WAN link interface just using is the highest, languageIt is relatively high that the transmitting-receiving efficiency of sound data maintains ortho states, therefore maintains the WAN link that IAD equipment usesInterface is the 2nd WAN link interface just using.
Step S130, the current WAN link interface that just using is changed to a described WAN linkInterface, the transmission using WAN link corresponding to a described WAN link interface as speech dataCircuit.
If there is a WAN in the determined WAN link interface of step S110 determining step S100Link interface, description of step S100 is determined available and meet pre-conditioned WAN link interfaceIn, have and use the WAN link interface of priority higher than the current WAN link interface just using,The one WAN link interface, IAD equipment uses the phonetic data efficiency of a WAN link interfaceRelatively high; For improving the utilization rate of WAN link interface, improve phonetic data efficiency, by currentThe WAN link interface just using is changed to a described WAN link interface.
It should be noted that after switching completes, source the one WAN link interface will change to the 2nd WANLink interface,, to carry out while also there is the high available WAN link interface that uses priority follow-upThe self adaptation route of WAN link.
Optionally, the current WAN link interface just using is changed to a described WAN link interfaceProcess can be: obtain the WAN linked network information of a WAN link interface, according to describedWAN linked network information is initiated SIP(SessionInitiationProtocol, SIP) noteVolume, switches to a WAN link interface by the current WAN link interface just using. Wherein, WANLinked network information can be IP address, gateway gateway, domain name system DNS, subnet mask maskDeng; Complete SIP registration, show that the current WAN link interface just using changed to described firstWAN link interface.
The self adaptation WAN link method for routing that the embodiment of the present invention provides, determining can under current network environmentWith and meet pre-conditioned WAN link interface; According to making of pre-configured each WAN link interfaceBy priority, judge determined available and meet in pre-conditioned WAN link interface whether haveOne WAN link interface, the use priority of a described WAN link interface is higher than the 2nd WAN chainThe use priority of connection interface, described the 2nd WAN link interface is that the current WAN just using connectsMouthful; , the current WAN link interface just using is changed to a described WAN when being in judged resultLink interface, using WAN link corresponding to a described WAN link interface as speech dataTransmission line; Thereby make IAD equipment can adopt always use priority can under current network environmentWith WAN link interface in sequence be first WAN link interface, and then adopt and use priority to existIn current available WAN link, sequence is the biography that first WAN link is carried out speech dataDefeated, the embodiment of the present invention has improved the utilization rate of WAN link interface, has improved the transmitting-receiving effect of speech dataRate.
The embodiment of the present invention can, by whole WAN link interface available under current network environment, all be defined asStep S100 is determined available and meet pre-conditioned WAN link interface; Also can be by current networkA subset under environment in available whole WAN link interface, is defined as step S100 determinedAvailable and meet pre-conditioned WAN link interface; Therefrom choice for use priority just makes higher than current againWith a WAN link interface of WAN link interface, by the current WAN link interface just usingChange to a described WAN link interface. The embodiment of the present invention also can only be determined can under current network environmentWith WAN link interface in to use prioritization be first WAN link interface, be step S100Determined available and meet pre-conditioned WAN link interface.
For above-mentioned situation, do respectively concrete introduction below.
The self adaptation WAN that Fig. 2 provides for the embodiment of the present invention links the other method flow chart of route, ginsengAccording to Fig. 2, the method can comprise:
Step S200, according to the WAN link interface of pre-configured multiple net environments, determine currentNet environment is available WAN link interface all;
Step S210, according to the use priority of pre-configured each WAN link interface, by determineCurrent network environment under whole available WAN link interface, link and connect with the current WAN just usingMouth uses the comparison of priority;
Obviously, step S210 also can be first from determined current network environment whole available WAN chainsIn connection interface, selecting and using the sequence of the preferential utmost point is first WAN link interface, by this WAN linkThe use priority of the use priority of interface and the current WAN link interface just using is compared.
If under the determined current network environment of step S220 all in available WAN link interface,There is a WAN link interface, the current WAN link interface just using is changed to a WANLink interface;
If under the determined current network environment of step S230 all in available WAN link interface,Do not there is a WAN link interface, maintain the WAN link interface just using.
Obviously, pre-conditioned WAN link interface can also be all available under current network environmentA subset of WAN link interface; In the case, determined under current network environment all availableA subset of WAN link interface after, by according to the use of pre-configured each WAN link interfacePriority, by a subset in whole available WAN link interface under determined current network environmentIn WAN link interface, use comparing of priority with the current WAN link interface just using;If in the subset of whole available WAN link interface, have first under determined current network environmentWAN link interface, changes the current WAN link interface that just using to a WAN and connectsMouthful; If in the subset of whole available WAN link interface, do not have under determined current network environmentThe one WAN link interface, maintains the WAN link interface just using.
The self adaptation WAN that Fig. 3 provides for the embodiment of the present invention links the another method flow diagram of route, ginsengAccording to Fig. 3, the method can comprise:
Step S300, according to the WAN link interface of pre-configured multiple net environments, determine currentNet environment is available WAN link interface all, according to making of pre-configured each WAN link interfaceBy priority, determine under current network environment in all available WAN link interface, use priority rowOrder is first WAN link interface;
Step S310, according to the use priority of pre-configured each WAN link interface, will described in makeThe WAN link interface that is first by prioritization, carries out with the current WAN link interface just usingUse the comparison of priority;
If the use of the WAN link interface that the described use prioritization of step S320 is first is preferentialLevel, higher than the use priority of the current WAN link interface just using, by the current WAN just usingThe WAN link interface that it is first that link interface is changed to described use prioritization;
Now, the WAN link interface that described use prioritization is first is that a WAN connectsMouthful.
If the use of the WAN link interface that the described use prioritization of step S330 is first is preferentialLevel, not higher than the use priority of the current WAN link interface just using, remains current and is just usingWAN link interface.
Optionally, the embodiment of the present invention can, in the time that the state of WAN link interface changes, start thisThe self adaptation WAN link method for routing that bright embodiment provides, Fig. 4 shows corresponding self adaptation WANThe method flow of link route. The self adaptation WAN link route that Fig. 4 provides for the embodiment of the present invention againOne method flow diagram, with reference to Fig. 4, the method can comprise:
Step S400, in the time that WAN link interface changes to upstate by down state, judgement connectsWhether mouth Status Change is available WAN link interface, be WAN chain available under current network environmentIn connection interface, use the WAN link interface that prioritization is first, if so, perform step S410,If not, execution step S420;
This kind of situation, can think available under current network environment and meet pre-conditioned WAN link interfaceFor, in available WAN link interface, use the WAN link interface that prioritization is first.
Step S410, to judge that described Interface status changes to the use of available WAN link interface preferentialLevel, whether higher than the current WAN link interface just using, if so, performs step S430, if not,Execution step S420;
Wherein, if the determination result is YES, show that described Interface status changes to available WAN and connectsMouth is a WAN link interface.
Step S420, maintain the current WAN link interface just using;
Step S430, the current WAN link interface just using is switched to described Interface status change toAvailable WAN link interface.
Obviously, in the time that WAN link interface changes to upstate by down state, also can be directly by instituteState Interface status and change to available WAN link interface, enter with the current WAN link interface just usingExercise with the comparison of priority, thus by comparison result determine carry out WAN link interface switching stillMaintain.
Optionally, the embodiment of the present invention also can be at IAD device start, or every the feelings at some cycles intervalUnder condition, start the self adaptation WAN link method for routing that the embodiment of the present invention provides, for both of these case,Need WAN link interface corresponding under poll current network environment, thereby determine available and meet defaultThe WAN link interface of condition, for determining available and meeting after pre-conditioned WAN link interfaceFlow process can with reference to above describe, repeat no more herein.
The IAD the equipment below embodiment of the present invention being provided is described, IAD equipment described below withAbove-described self adaptation WAN link method for routing correspondence, both can cross-reference.
The structured flowchart of the IAD equipment that Fig. 5 provides for the embodiment of the present invention, with reference to Fig. 5, IAD equipmentCan comprise:
The first pre-configured module 100, for the VOIPWAN link of pre-configured multiple net environmentsInterface;
The second pre-configured module 200, for the use priority of pre-configured each WAN link interface;
Determination module 300, for determining available under current network environment and meeting pre-conditioned WANLink interface;
Judge module 400, for according to the use priority of pre-configured each WAN link interface, sentencesIn the disconnected determined WAN link interface of determination module 300, whether there is a WAN link interface, instituteState the use priority of a WAN link interface higher than the use priority of the 2nd WAN link interface,Described the 2nd WAN link interface is the current WAN link interface just using;
Maintain module 500, when being no in the judged result of judge module 400, maintain just usingTwo WAN link interface;
Handover module 600, in the judged result of judge module 400 when being, just using currentWAN link interface is changed to a described WAN link interface, with a described WAN link interfaceCorresponding WAN link is as the transmission line of speech data.
The IAD equipment that the embodiment of the present invention provides, determines available under current network environment and meets default barThe WAN link interface of part; According to the use priority of pre-configured each WAN link interface, judgementDetermined available and meet and in pre-conditioned WAN link interface, whether there is a WAN and connectMouthful, the use priority of a described WAN link interface is excellent higher than the use of the 2nd WAN link interfaceFirst level, described the 2nd WAN link interface is the current WAN link interface just using; In judged resultWhen being, the current WAN link interface just using is changed to a described WAN link interface, withWAN link corresponding to a described WAN link interface is as the transmission line of speech data; FromAnd can being adopted always, IAD equipment uses priority available WAN chain under current network environmentIn connection interface, sequence is first WAN link interface, and then adopts use priority current availableIn WAN link, sequence is that first WAN link is carried out the transmission of speech data, the present inventionEmbodiment has improved the utilization rate of WAN link interface, has improved the transmitting-receiving efficiency of speech data.
Optionally, available and to meet pre-conditioned WAN link interface be all can under current network environmentWith WAN link interface, or whole son of available WAN link interface under current network environmentCollection; Also can be in WAN link interface available under current network environment, use priority is firstWAN link interface.
The structured flowchart of the determination module 300 that Fig. 6 provides for the embodiment of the present invention, with reference to Fig. 6, determines mouldPiece 300 can comprise:
The first determining unit 310, for connecing according to the WAN under pre-configured current network environmentMouthful, the upstate of the WAN link interface under definite current network environment one by one;
The second determining unit 311, for the current network environment of determining one by one according to the first determining unit 310Under the upstate of WAN link interface, determine under current network environment all available WAN linkInterface, is defined as determined all available WAN link interface, available under current network environmentAnd meet pre-conditioned WAN link interface; Or that determines one by one according to the first determining unit 310 works asThe upstate of the WAN link interface of front net environment, determines under current network environment all availableA subset of WAN link interface, by whole available WAN link interface under current network environmentA subset is defined as, available and meet pre-conditioned WAN link interface under current network environment.
Another structured flowchart of the determination module 300 that Fig. 7 provides for the embodiment of the present invention, with reference to Fig. 7, reallyCover half piece 300 can comprise:
The 3rd determining unit 320, for connecing according to the WAN under pre-configured current network environmentMouthful, determine WAN link interface available under current network environment, according to pre-configured WAN linkThe use prioritization of interface, determines under current network environment in available WAN link interface, uses excellentFirst level sequence is first WAN link interface;
The 4th determining unit 321, for determining the determined described use priority of the 3rd determining unit 320Sequence is first WAN link interface, for available under current network environment and meet pre-conditionedWAN link interface.
The structured flowchart of the judge module 400 that Fig. 8 provides for the embodiment of the present invention, with reference to Fig. 8, judges mouldPiece 400 can comprise:
Priority judging unit 410, for according to the use priority of pre-configured WAN link interface,Judge that determination module 300 is determined available and meet in pre-conditioned WAN link interface and whether haveUse the WAN link interface of priority higher than the 2nd WAN link interface;
First judges determining unit 420, in the judged result of priority judging unit 410 when being,Determine that using priority is a WAN link higher than the WAN link interface of the 2nd WAN link interfaceInterface;
Second judges determining unit 430, when being no in the judged result of priority judging unit 410,Determine that determination module 300 is determined available and meet in pre-conditioned WAN link interface and do not haveOne WAN link interface.
The structured flowchart of the handover module 600 that Fig. 9 provides for the embodiment of the present invention, with reference to Fig. 9, switches mouldPiece 600 can comprise:
Acquiring unit 610, for obtaining the WAN linked network information of a WAN link interface;
Registration switch unit 620, for initiate SIP registration according to described WAN linked network information, willThe current WAN link interface just using switches to a WAN link interface.
Optionally, IAD equipment also can comprise: service operation module, and for completing at handover module 600After the current switching that is just using WAN link interface, carry out SIP business and VOIP business, this part industryBe engaged in similar to prior art, repeat no more herein.
The self adaptation WAN link method for routing and the IAD equipment that provide by the embodiment of the present invention, can makeObtaining IAD equipment can adopt always, uses priority available WAN under current network environment to linkIn interface, sequence is first WAN link interface, and then adopts use priority at current available WANIn link, sequence is that first WAN link is carried out the transmission of speech data, the embodiment of the present inventionImprove the utilization rate of WAN link interface, improved the transmitting-receiving efficiency of speech data.
In this description, each embodiment adopts the mode of going forward one by one to describe, and each embodiment stressesBe and the difference of other embodiment, between each embodiment identical similar part mutually referring to.For the disclosed device of embodiment, because it corresponds to the method disclosed in Example, so describeFairly simple, relevant part illustrates referring to method part.
Professional can also further recognize, in conjunction with respectively showing of embodiment description disclosed hereinUnit and the algorithm steps of example, can realize with electronic hardware, computer software or the combination of the two,For the interchangeability of hardware and software is clearly described, in the above description according to function generalityComposition and the step of each example described. These functions are carried out with hardware or software mode actually,Depend on application-specific and the design constraint of technical scheme. Professional and technical personnel can be to each specificShould be used for realize described function with distinct methods, but this realization should not thought and exceeds thisScope of invention.
The method of describing in conjunction with embodiment disclosed herein or the step of algorithm can directly use hardware,The software module that processor is carried out, or the combination of the two is implemented. Software module can be placed at random and depositReservoir (RAM), internal memory, read-only storage (ROM), electrically programmable ROM, electric erasable canKnown in programming ROM, register, hard disk, moveable magnetic disc, CD-ROM or technical fieldArbitrarily in the storage medium of other form.
To the above-mentioned explanation of the disclosed embodiments, professional and technical personnel in the field can be realized or useThe present invention. To be aobvious and easy for those skilled in the art to the multiple amendment of these embodimentSee, General Principle as defined herein can be in the situation that not departing from the spirit or scope of the present invention,Realize in other embodiments. Therefore, the present invention will can not be restricted to these embodiment shown in this article,But to meet the widest scope consistent with principle disclosed herein and features of novelty.

Claims (10)

1. a self adaptation wide area network WAN link method for routing, is characterized in that, pre-configured multipleThe network voice communication VOIPWAN link interface of net environment, and pre-configured each WAN linkThe use priority of interface; Described method comprises:
Determine available under current network environment and meet pre-conditioned WAN link interface;
According to the use priority of pre-configured each WAN link interface, judge determined WAN chainIn connection interface, whether have a WAN link interface, the use of a described WAN link interface is preferentialLevel is higher than the use priority of the 2nd WAN link interface, and described the 2nd WAN link interface is just currentThe WAN link interface using;
If not, maintain the 2nd WAN link interface just using;
If so, the current WAN link interface just using is changed to a described WAN link interface,Transmission line using WAN link corresponding to a described WAN link interface as speech data;
Wherein, the described WAN link interface configuring is virtual interface, and a described WAN connectsThe corresponding described WAN link of mouth.
2. method according to claim 1, is characterized in that, described pre-conditioned WAN chainConnection interface is whole available WAN link interface under current network environment, or, complete under current network environmentA subset of the available WAN link interface of portion;
Mistake available and that meet pre-conditioned WAN link interface under described definite current network environmentJourney comprises:
According to the WAN link interface under pre-configured current network environment, determine one by one current network ringThe upstate of the WAN link interface under border, determines whole available WAN chains under current network environmentConnection interface, is defined as whole available WAN link interface under current network environment current network environmentLower available and meet pre-conditioned WAN link interface; Or
According to the WAN link interface under pre-configured current network environment, determine one by one current network ringThe upstate of the WAN link interface under border, determines whole available WAN chains under current network environmentA subset of connection interface, by a subset of whole available WAN link interface under current network environmentBe defined as, available and meet pre-conditioned WAN link interface under current network environment.
3. method according to claim 1, is characterized in that, described pre-conditioned WAN chainConnection interface is in WAN link interface available under current network environment, what to use prioritization be firstWAN link interface;
Mistake available and that meet pre-conditioned WAN link interface under described definite current network environmentJourney comprises:
According to the WAN link interface under pre-configured current network environment, determine under current network environmentAvailable WAN link interface, according to the use priority of pre-configured WAN link interface, determinesUnder current network environment, in available WAN link interface, use the WAN link that prioritization is firstInterface, determines that this WAN link interface is available under current network environment and meets pre-conditionedWAN link interface.
4. according to the method described in claim 1-3 any one, it is characterized in that, described judgement is determinedWAN link interface in whether there is a WAN link interface process comprise:
According to the use priority of pre-configured WAN link interface, judge determined available and meetIn pre-conditioned WAN link interface, whether have and use priority higher than the 2nd WAN link interfaceWAN link interface;
If so, determine that using priority is the higher than the WAN link interface of the 2nd WAN link interfaceOne WAN link interface;
If not, determine determined available and meet and in pre-conditioned WAN link interface, do not have theOne WAN link interface.
5. method according to claim 1, is characterized in that, described by the current WAN just usingLink interface is changed the extremely process of a described WAN link interface and is comprised:
Obtain the WAN linked network information of a WAN link interface, according to described WAN link netNetwork information initiation session initiation protocol SIP registration, switches to the by the current WAN link interface just usingOne WAN link interface.
6. a comprehensive access IAD equipment, is characterized in that, comprising:
The first pre-configured module, for the network voice communication VOIP of pre-configured multiple net environmentsWAN link interface;
The second pre-configured module, for the use priority of pre-configured each WAN link interface;
Determination module, for determining available under current network environment and meeting pre-conditioned WAN linkInterface;
Judge module, for according to the use priority of pre-configured each WAN link interface, judges instituteState in the determined WAN link interface of determination module whether there is a WAN link interface, describedThe use priority of one WAN link interface is higher than the use priority of the 2nd WAN link interface, described inThe 2nd WAN link interface is the current WAN link interface just using;
Maintain module, when being no in the judged result of described judge module, maintain just using secondWAN link interface;
Handover module, in the judged result of described judge module when being, by the current WAN just usingLink interface is changed to a described WAN link interface, corresponding with a described WAN link interfaceWAN link is as the transmission line of speech data;
Wherein, the described WAN link interface configuring is virtual interface, and a described WAN connectsThe corresponding described WAN link of mouth.
7. IAD equipment according to claim 6, is characterized in that, described determination module comprises:
The first determining unit, for according to the WAN link interface under pre-configured current network environment,Determine one by one the upstate of the WAN link interface under current network environment;
The second determining unit, under the current network environment of determining one by one according to described the first determining unitThe upstate of WAN link interface, determine under current network environment that all available WAN connectMouthful, determined all available WAN link interface are defined as, under current network environment available andMeet pre-conditioned WAN link interface; Or that determines one by one according to described the first determining unit is currentThe upstate of the WAN link interface of net environment, determines under current network environment all availableA subset of WAN link interface, by whole available WAN link interface under current network environmentA subset is defined as, available and meet pre-conditioned WAN link interface under current network environment.
8. IAD equipment according to claim 6, is characterized in that, described determination module comprises:
The 3rd determining unit, for according to the WAN link interface under pre-configured current network environment,Determine WAN link interface available under current network environment, according to pre-configured WAN link interfaceUse priority, determine under current network environment in available WAN link interface, use prioritizationIt is first WAN link interface;
The 4th determining unit, for determining the determined described use priority row of described the 3rd determining unitOrder is first WAN link interface, for available under current network environment and meet pre-conditionedWAN link interface.
9. according to the IAD equipment described in claim 6-8 any one, it is characterized in that described judgement mouldPiece comprises:
Priority judging unit, for according to the use priority of pre-configured WAN link interface, sentencesWhether disconnected described determination module is determined available and meet in pre-conditioned WAN link interface and haveUse the WAN link interface of priority higher than the 2nd WAN link interface;
First judges determining unit, in the judged result of described priority judging unit when being, reallySurely using priority is that a WAN connects higher than the WAN link interface of the 2nd WAN link interfaceMouthful;
Second judges determining unit, when being no in the judged result of described priority judging unit, reallyFixed described determination module is determined available and meet and in pre-conditioned WAN link interface, do not have theOne WAN link interface.
10. IAD equipment according to claim 6, is characterized in that, described handover module comprises:
Acquiring unit, for obtaining the WAN linked network information of a WAN link interface;
Registration switch unit, for according to described WAN linked network information initiation session initiation protocol SIPRegistration, switches to a WAN link interface by the current WAN link interface just using.
CN201310037462.6A 2013-01-30 2013-01-30 Self adaptation WAN link method for routing and IAD equipment Expired - Fee Related CN103096414B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310037462.6A CN103096414B (en) 2013-01-30 2013-01-30 Self adaptation WAN link method for routing and IAD equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310037462.6A CN103096414B (en) 2013-01-30 2013-01-30 Self adaptation WAN link method for routing and IAD equipment

Publications (2)

Publication Number Publication Date
CN103096414A CN103096414A (en) 2013-05-08
CN103096414B true CN103096414B (en) 2016-05-04

Family

ID=48208400

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310037462.6A Expired - Fee Related CN103096414B (en) 2013-01-30 2013-01-30 Self adaptation WAN link method for routing and IAD equipment

Country Status (1)

Country Link
CN (1) CN103096414B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1852141A (en) * 2005-08-16 2006-10-25 华为技术有限公司 Method for realizing upward link back-up
CN101491145A (en) * 2006-07-19 2009-07-22 高通股份有限公司 Radio interface selection for a terminal
CN102355412A (en) * 2011-08-26 2012-02-15 福建星网锐捷网络有限公司 Method and equipment for transmitting voice call request

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070121618A1 (en) * 2005-11-30 2007-05-31 Asao Hirano Method and system for priority based routing

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1852141A (en) * 2005-08-16 2006-10-25 华为技术有限公司 Method for realizing upward link back-up
CN101491145A (en) * 2006-07-19 2009-07-22 高通股份有限公司 Radio interface selection for a terminal
CN102355412A (en) * 2011-08-26 2012-02-15 福建星网锐捷网络有限公司 Method and equipment for transmitting voice call request

Also Published As

Publication number Publication date
CN103096414A (en) 2013-05-08

Similar Documents

Publication Publication Date Title
TWI759320B (en) Method, device and server equipment for server load balancing
CN108933871B (en) Call center incoming call traffic routing method, device and system
CN106102087B (en) A kind of audio communication method and mobile terminal
CN106487864B (en) Method for building up, server-side and the mobile terminal of data connection
JP2006340348A (en) Characterization of voip network
CN104811323A (en) Data requesting method, data requesting device, node server and CDN (content delivery network) system
CN104852859B (en) A kind of aggregation interface method for processing business and equipment
US8589498B2 (en) Phase based prioritization of IMS signaling messages for overload throttling
JP2005322107A (en) Load distribution device and program
CN113163463A (en) Outbound line dynamic intelligent routing system and method
US8599837B2 (en) Local identity based on called number
CN108738078A (en) A kind of transmission side data subtraction unit, equipment and readable storage medium storing program for executing
CN105188041B (en) Call transferring method and home gateway based on fixed-line telephone
CN103096414B (en) Self adaptation WAN link method for routing and IAD equipment
CN108769196A (en) A kind of conversation establishing method and device
CN106210362A (en) Call method and device
CN104349499A (en) Session access system, access system with communication of mobile terminal and call center and methods thereof
JP2008187417A (en) Cellular phone
US8743694B2 (en) Determination of bypass zones from network configuration settings
US20180352009A1 (en) Apparatus for setting up conference call and method thereof
CN111314198B (en) Method and equipment for setting port IP of white box switch
CN107566475A (en) A kind of session failure transfer method and device
CN113163059A (en) IPPBX performance detection method, terminal device and storage medium
CN109347599A (en) Method of adjustment, device, computer storage medium and the equipment of Video coding mode
CN112866428A (en) IAD device communication method and 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: 20160504

CF01 Termination of patent right due to non-payment of annual fee