CN105007607B - Route advertising method and system - Google Patents

Route advertising method and system Download PDF

Info

Publication number
CN105007607B
CN105007607B CN201410167234.5A CN201410167234A CN105007607B CN 105007607 B CN105007607 B CN 105007607B CN 201410167234 A CN201410167234 A CN 201410167234A CN 105007607 B CN105007607 B CN 105007607B
Authority
CN
China
Prior art keywords
access device
gateway
standby
bsc
advertised information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201410167234.5A
Other languages
Chinese (zh)
Other versions
CN105007607A (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.)
China Telecom Corp Ltd
Original Assignee
China Telecom Corp 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 China Telecom Corp Ltd filed Critical China Telecom Corp Ltd
Priority to CN201410167234.5A priority Critical patent/CN105007607B/en
Publication of CN105007607A publication Critical patent/CN105007607A/en
Application granted granted Critical
Publication of CN105007607B publication Critical patent/CN105007607B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W40/00Communication routing or communication path finding
    • H04W40/02Communication route or path selection, e.g. power-based or shortest path routing
    • H04W40/04Communication route or path selection, e.g. power-based or shortest path routing based on wireless node resources

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The present invention discloses a kind of route advertising method and system.Wherein primary gateway and standby gateway perceive the state of access device at predetermined intervals respectively, and the first advertised information and the second advertised information are supplied to BSC, wherein the first advertised information includes the routing of the primary gateway network segment and primary gateway perceives the access device address in existing state, and the second advertised information includes that the routing of the standby gateway network segment and standby gateway perceive the access device address in existing state;BSC is updated pre-set routing table according to advertised information;BSC is when sending downstream data flow, in current routing table, extracts the address of target access device, inquires customer edge mark associated with target access device address;Downstream data flow is distributed into gateway device associated with customer edge mark, downstream data flow is sent to target access device will pass through the gateway device.Thus effectively path black hole is solved the problems, such as.

Description

Route advertising method and system
Technical field
The present invention relates to the communications field, more particularly to a kind of route advertising method and system.
Background technology
With the high speed development of 3G and LTE (Long Term Evolution, long term evolution) business, China Telecom's synthesis Access net (IP (Internet Protocol, Internet protocol) RAN (Radio Acess Network, wireless access network)) Pilot further expands.To save BTS service IP address, PW (Pseudo Wire, pseudo-wire) gateway N:1 convergence mode is as base Quasi-mode type is disposed.
PW gateways N:Under 1 convergence mode, base station is not noticed in PW gateways (IP RAN B devices) only notice gateway routing upwards Detail routing, when leading to SRLG (Shared Risk Link Group, sharing memory) multiple spot simultaneous faults, part base Stop is led to portion of base stations service disconnection, is brought to network operation and service operation no small by there is path black hole Risk.
It is used to BTS service as shown in Figure 1, each pair of gateway device distributes a C classes address field, gateway device and access Two-layer pseudo wire is configured between equipment, does not run Routing Protocol, and same line of business converges to the same PW gateways, and different business is not using Same PW gateways.When gateway device notices routing upwards, notice/26PW gateway network segment routing iinformations, BSC (Base Station Controller, base station controller) downlink traffic carries out the load balancing based on stream.Because of 2 object of link 1 and link Same physical optical may be belonged in reason, in same SRLG, therefore there are simultaneous faults risks.When the event simultaneously of link 1 and link 2 When barrier, uplink is switched on spare PW, normal to switch (service traffics dotted line along Fig. 1 is up to BSC);Downlink traffic base Shared in current load reached to two gateway devices the flow (shown in solid from BSC to primary gateway in such as Fig. 1) of primary gateway when Only 1 failure of link when, can switch to link 2 and forwarded by standby gateway, but link 2 breaks down simultaneously, therefore message quilt It abandons, portion of base stations business is unreachable, causes path black hole.
Invention content
A kind of route advertising method of offer of the embodiment of the present invention and system.By in any Routing Protocol of not running and existing In the case of convergence routing, while the routing of access device detail is noticed, to make upstream equipment perceive the survival shape of access device State solves PW gateways N:Path black hole problem under 1 convergent pathway.
According to an aspect of the present invention, a kind of route advertising method is provided, including:
Primary gateway and standby gateway perceive the state of access device at predetermined intervals respectively, and lead to respectively by first It accuses information and the second advertised information is supplied to base station controller BSC, the first advertised information that wherein primary gateway provides includes major network It closes network segment routing and primary gateway perceives the access device address in existing state, while the routing of the primary gateway network segment and place Second notice letter associated with the first customer edge mark in the access device address of existing state, that standby gateway provides Breath includes that the standby gateway network segment is route and standby gateway perceives the access device address in existing state, while spare The gateway network segment is route and access device address in existing state is associated with second user edge-device identities;
The first advertised information and the second advertised information that BSC is currently provided according to primary gateway and standby gateway, to setting in advance The routing table set is updated;
BSC is when sending downstream data flow, in current routing table, extracts the address of target access device, wherein The address of target access device and the destination address of downstream data flow match;
Inquiry customer edge mark associated with target access device address;
Downstream data flow is distributed into gateway device associated with customer edge mark, it is described will pass through Downstream data flow is sent to target access device by gateway device.
In one embodiment, downstream data flow gateway associated with customer edge mark is distributed to set Standby step includes:
If customer edge mark associated with target access device address is only second user edge-device identities, Downstream data flow is then distributed into standby gateway associated with second user edge-device identities, it will will pass through standby gateway Downstream data flow is sent to target access device.
In one embodiment, downstream data flow gateway associated with customer edge mark is distributed to set Standby step includes:
If customer edge mark associated with target access device address includes the first customer edge mark With second user edge-device identities, then downstream data flow is distributed into major network associated with the first customer edge mark Pass and standby gateway associated with second user edge-device identities;
The downstream data flow of distribution is sent to target access device by standby gateway;
Primary gateway judges that itself whether can directly perceive target access device is in existing state;
If primary gateway itself can directly perceive target access device and be in existing state, primary gateway is directly by distribution Downstream data flow is sent to target access device.
In one embodiment, if primary gateway itself cannot directly perceive target access device and be in existing state, The downstream data flow of distribution is sent to target access device by primary gateway by standby gateway.
In one embodiment, primary gateway and standby gateway perceive the shape of access device at predetermined intervals respectively State, and the step of the first advertised information and the second advertised information are supplied to BSC respectively includes:
Primary gateway utilizes the main pseudo-wire configured between access device and primary gateway, at predetermined intervals perception access The state of equipment, and the first advertised information is supplied to BSC;
Standby gateway utilizes the spare pseudo-wire configured between access device and standby gateway, feels at predetermined intervals Know the state of access device, and the second advertised information is supplied to BSC.
In one embodiment, primary gateway utilizes the main pseudo-wire configured between access device and primary gateway, with scheduled Time interval perceives the state of access device, and the step of the first advertised information is supplied to BSC includes:
Primary gateway utilizes the main pseudo-wire configured between access device and primary gateway, at predetermined intervals perception access The state of equipment;
Judge whether that the access device in existing state can be perceived;
If the access device in existing state can be perceived, the first advertised information is supplied to BSC by primary gateway, wherein First advertised information, which includes primary gateway, can perceive the access device address in existing state.
In one embodiment, if failing to perceive the access device in existing state, primary gateway further judges Whether itself link between standby gateway is normal;
If judging, itself link between standby gateway is normal, primary gateway by standby gateway perceive in survival The access device of state is considered as the access device in existing state itself perceived, and the first advertised information is supplied to BSC, wherein the first advertised information includes being considered as the access device address in existing state itself perceived.
In one embodiment, if judging, itself link between standby gateway is abnormal, and primary gateway is led to first It accuses information and is supplied to BSC, wherein indicating that primary gateway fails to perceive the access device in existing state in the first advertised information.
According to another aspect of the present invention, a kind of advertising of route system, including primary gateway, standby gateway, base station control are provided Device BSC processed, wherein:
Primary gateway, the state for perceiving access device at predetermined intervals, and the first advertised information is supplied to BSC, wherein the first advertised information, which includes the routing of the primary gateway network segment and primary gateway, perceives the access device in existing state Address, while the routing of the primary gateway network segment and the access device address in existing state are related to the first customer edge mark Connection;
Standby gateway, the state for perceiving access device at predetermined intervals, and the second advertised information is provided To BSC, wherein the second advertised information, which includes the routing of the standby gateway network segment and standby gateway, perceives connecing in existing state Enter device address, while the routing of the standby gateway network segment and the access device address in existing state and second user edge device Mark is associated;
BSC, the first advertised information and the second advertised information for currently being provided according to primary gateway and standby gateway, to pre- The routing table being first arranged is updated;When sending downstream data flow, in current routing table, target access device is extracted Address, the wherein address of target access device and the destination address of downstream data flow matches;Inquiry and target access device The associated customer edge mark in address;Downstream data flow is distributed to associated with customer edge mark Downstream data flow is sent to target access device by gateway device will pass through the gateway device.
In one embodiment, BSC is additionally operable to identify in customer edge associated with target access device address Only second user edge-device identities when, downstream data flow is distributed to associated with second user edge-device identities standby With gateway, downstream data flow is sent to target access device will pass through standby gateway.
In one embodiment, BSC is additionally operable to identify in customer edge associated with target access device address When including the first customer edge mark with second user edge-device identities, downstream data flow is distributed to and the first user The associated primary gateway of edge-device identities and standby gateway associated with second user edge-device identities;
Standby gateway is additionally operable to the downstream data flow of distribution being sent to target access device;
Primary gateway, which is additionally operable to judge itself whether to directly perceive target access device, is in existing state;If judging certainly Body can directly perceive target access device and be in existing state, then the downstream data flow of distribution is directly sent to target access Equipment.
In one embodiment, primary gateway is additionally operable to deposit judging itself cannot to directly perceive target access device and be in When state living, the downstream data flow of distribution is sent to target access device by standby gateway.
In one embodiment, primary gateway is specifically using the main pseudo-wire configured between access device and primary gateway, with pre- The state of fixed time interval perception access device, and the first advertised information is supplied to BSC;
Standby gateway is specifically using the spare pseudo-wire configured between access device and standby gateway, between the scheduled time Every the state of perception access device, and the second advertised information is supplied to BSC.
In one embodiment, primary gateway is specifically using the main pseudo-wire configured between access device and primary gateway, with pre- The state of fixed time interval perception access device;The access device in existing state can be perceived by judging whether itself;If Itself can perceive the access device in existing state, then the first advertised information is supplied to BSC, wherein the first advertised information Including the access device address in existing state itself can be perceived.
In one embodiment, primary gateway is additionally operable to when itself failing to perceive the access device in existing state, Further judge whether itself link between standby gateway is normal;If judging itself link between standby gateway just Often, then the access device in existing state perceived standby gateway, be considered as itself perceive in existing state Access device, and the first advertised information is supplied to BSC, wherein the first advertised information includes being considered as being in of itself perceiving The access device address of existing state.
In one embodiment, primary gateway is additionally operable to when judging that itself link between standby gateway is abnormal, will First advertised information is supplied to BSC, wherein indicating that primary gateway itself fails to perceive in existing state in the first advertised information Access device.
The present invention perceives the state of access device at predetermined intervals respectively by primary gateway and standby gateway, and divides The first advertised information and the second advertised information base station controller BSC, the first notice letter that wherein primary gateway provides are not supplied to Breath includes the routing of the primary gateway network segment and primary gateway perceives the access device address in existing state, and standby gateway provides The second advertised information include the standby gateway network segment routing and standby gateway with perceiving the access device in existing state Location;The first advertised information and the second advertised information that BSC is currently provided according to primary gateway and standby gateway, to pre-set road It is updated by table;BSC is when sending downstream data flow, in current routing table, extracts the address of target access device, The wherein address of target access device and the destination address of downstream data flow matches;Inquiry is related to target access device address The customer edge of connection identifies;Downstream data flow is distributed to gateway associated with customer edge mark to set It is standby, downstream data flow is sent to target access device will pass through the gateway device.So as to effectively solve path black hole Problem ensures the unimpeded of flow.
Description of the drawings
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technology description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this Some embodiments of invention without having to pay creative labor, may be used also for those of ordinary skill in the art With obtain other attached drawings according to these attached drawings.
Fig. 1 is the schematic diagram of advertising of route one embodiment in the prior art.
Fig. 2 is the schematic diagram of route advertising method one embodiment of the present invention.
Fig. 3 is the schematic diagram that gateway of the present invention perceives access device existing state one embodiment.
Fig. 4 is the schematic diagram of primary gateway of the present invention perception processing one embodiment.
Fig. 5 is the schematic diagram of downlink data flow allocation method one embodiment of the present invention.
Fig. 6 is the schematic diagram of advertising of route system one embodiment of the present invention.
Fig. 7 is the schematic diagram that BSC of the present invention sends downstream data flow one embodiment.
Fig. 8 is the schematic diagram that BSC of the present invention sends another embodiment of downstream data flow.
Fig. 9 is the schematic diagram that BSC of the present invention sends the another embodiment of downstream data flow.
Specific implementation mode
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation describes, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.Below Description only actually at least one exemplary embodiment is illustrative, is never used as to the present invention and its application or makes Any restrictions.Based on the embodiments of the present invention, those of ordinary skill in the art are not making creative work premise Lower obtained every other embodiment, shall fall within the protection scope of the present invention.
Unless specifically stated otherwise, positioned opposite, the digital table of the component and step that otherwise illustrate in these embodiments It is not limited the scope of the invention up to formula and numerical value.
Simultaneously, it should be appreciated that for ease of description, the size of attached various pieces shown in the drawings is not according to reality Proportionate relationship draw.
Technology, method and apparatus known to person of ordinary skill in the relevant may be not discussed in detail, but suitable In the case of, the technology, method and apparatus should be considered as authorizing part of specification.
In shown here and discussion all examples, any occurrence should be construed as merely illustrative, without It is as limitation.Therefore, the other examples of exemplary embodiment can have different values.
It should be noted that:Similar label and letter indicate similar terms in following attached drawing, therefore, once a certain Xiang Yi It is defined, then it need not be further discussed in subsequent attached drawing in a attached drawing.
Fig. 2 is the schematic diagram of route advertising method one embodiment of the present invention.As shown in Fig. 2, the method step of the present embodiment It is rapid as follows:
Step 201, primary gateway and standby gateway perceive the state of access device at predetermined intervals respectively, and respectively First advertised information and the second advertised information are supplied to base station controller BSC.
The first advertised information that wherein primary gateway provides includes that the routing of the primary gateway network segment and primary gateway are perceived to be in and be deposited The access device address of state living, while the routing of the primary gateway network segment and the access device address in existing state and the first user Edge-device identities are associated.The second advertised information that standby gateway provides includes the routing of the standby gateway network segment and spare net Pass perceives the access device address in existing state, while the routing of the standby gateway network segment and the access in existing state are set Standby address is associated with second user edge-device identities.
Preferably, primary gateway utilizes the main pseudo-wire configured between access device and primary gateway, at predetermined intervals The state of access device is perceived, and the first advertised information is supplied to BSC.Standby gateway is utilized in access device and standby gateway Between the spare pseudo-wire that configures, perceive the state of access device at predetermined intervals, and the second advertised information is supplied to BSC。
As shown in figure 3, gateway (can be primary gateway or standby gateway) passes through the survival of pseudo-wire state aware access device State.If such as perceive some access device and be currently not in existing state, in upward notice, be not related to the access The address information of equipment.
Step 202, the first advertised information and the second advertised information that BSC is currently provided according to primary gateway and standby gateway, Pre-set routing table is updated.
Step 203, BSC is when sending downstream data flow, in current routing table, extracts the ground of target access device Location, the wherein address of target access device and the destination address of downstream data flow match.
Step 204, BSC inquires customer edge mark associated with target access device address.
Step 205, downstream data flow is distributed to gateway device associated with customer edge mark by BSC, Downstream data flow is sent to target access device will pass through the gateway device.
Based on the route advertising method that the above embodiment of the present invention provides, by noticing the routing of access device detail, to The existing state for making upstream equipment perception access device, solves PW gateways N:Path black hole problem under 1 convergent pathway.
Fig. 4 is the schematic diagram of primary gateway of the present invention perception processing one embodiment.It will be appreciated by those skilled in the art that It is that the embodiment may be equally applied to standby gateway.
Step 401, primary gateway utilizes the main pseudo-wire configured between access device and primary gateway, at predetermined intervals Perceive the state of access device.
Step 402, primary gateway judges whether that the access device in existing state can be perceived.It is deposited if can perceive and be in The access device of state living, thens follow the steps 403;If failing to perceive the access device in existing state, then follow the steps 404。
Step 403, the first advertised information is supplied to BSC by primary gateway, wherein the first advertised information includes the primary gateway network segment Routing, primary gateway can perceive the access device address in existing state.Later, other steps of the present embodiment are no longer executed Suddenly.
For example, if primary gateway and standby gateway can perceive some access device, such as 192.168.1.1/32, then BSC is as shown in table 1 according to the updated routing table of advertised information that primary gateway and standby gateway report.
Table 1
Wherein 192.168.1.0/26CE1 route for the primary gateway network segment, and 192.168.1.0/26CE2 is the standby gateway network segment Routing.
Step 404, primary gateway further judges whether itself link between standby gateway is normal.If judge itself with Link between standby gateway is normal, thens follow the steps 405;If judging, itself link between standby gateway is abnormal, Execute step 407.
Step 405, the access device in existing state that primary gateway perceives standby gateway, is considered as itself and perceives The access device in existing state.
Step 406, the first advertised information is supplied to BSC by primary gateway, wherein the first advertised information includes primary gateway net Section routing is considered as the access device address in existing state itself perceived.Later, the other of the present embodiment are no longer executed Step.
In this case, if standby gateway can perceive the access device, the updated routing tables of BSC and 1 phase of table Together.Unlike the above situation, primary gateway when work flow is issued above-mentioned access device, need by standby gateway into Row forwarding.
Step 407, the first advertised information is supplied to BSC by primary gateway, wherein only including primary gateway in the first advertised information The network segment is route, and thereby indicates that primary gateway fails to perceive the access device in existing state.
In this case, if standby gateway can perceive the access device, the updated routing tables of BSC such as 2 institute of table Show.
Table 2
Fig. 5 is the schematic diagram of downlink data flow allocation method one embodiment of the present invention.As shown in figure 5, the present embodiment Method and step is as follows:
Step 501, BSC is when sending downstream data flow, in current routing table, extracts the ground of target access device Location, the wherein address of target access device and the destination address of downstream data flow match.
Preferably, BSC can pass through longest matched and searched.Such as there are two routings, respectively 1.1.1.0/24 in routing table And 1.1.1.1/32 then preferentially can select 1.1.1.1/32 to be forwarded the data packet that destination address is 1.1.1.1/32.
Step 502, BSC inquires customer edge mark associated with target access device address.If being connect with target It is only second user edge-device identities to enter the associated customer edge mark in device address, thens follow the steps 503;If with The associated customer edge mark in target access device address includes the first customer edge mark and second user side Edge device identification, thens follow the steps 504.
Step 503, downstream data flow is distributed into standby gateway associated with second user edge-device identities, so as to Downstream data flow is sent to target access device by standby gateway.Later, other steps of the present embodiment are no longer executed.
For example, if routing table current BSC is as shown in Table 2 above, downstream data flow is directly passed through standby gateway by BSC It is sent to target access device.
Step 504, BSC by downstream data flow distribute to primary gateway associated with the first customer edge mark, with And standby gateway associated with second user edge-device identities.
For example, if routing table current BSC is as shown in Table 1 above, downstream data flow can be passed through primary gateway respectively by BSC It is sent to target access device with standby gateway.
In one embodiment, BSC can carry out traffic assignments according to network available resources.
Step 505, the downstream data flow of distribution is sent to target access device by standby gateway.
Step 506, primary gateway judges that itself whether can directly perceive target access device is in existing state.If major network Closing, which itself can directly perceive target access device, is in existing state, thens follow the steps 507;If primary gateway itself cannot be direct It perceives target access device and is in existing state, then follow the steps 508.
Step 507, the downstream data flow of distribution is directly sent to target access device by primary gateway.Later, it no longer executes Other steps of the present embodiment.
Step 508, the downstream data flow of distribution is sent to target access device by primary gateway by standby gateway.
In this case, due to being directly connected to break down between primary gateway and target access device, can lead to Standby gateway is crossed to be forwarded.
Fig. 6 is the schematic diagram of advertising of route system one embodiment of the present invention.As shown in fig. 6, the system includes primary gateway 601, standby gateway 602, base station controller BSC 603.Wherein:
Primary gateway 601, the state for perceiving access device at predetermined intervals, and the first advertised information is provided To BSC 603, wherein the first advertised information, which includes the routing of the primary gateway network segment and primary gateway, perceives connecing in existing state Enter device address, while the routing of the primary gateway network segment and the access device address in existing state and the first customer edge mark Sensible association.
Standby gateway 602, the state for perceiving access device at predetermined intervals, and the second advertised information is carried BSC 603 is supplied, is perceived in survival shape wherein the second advertised information includes the routing of the standby gateway network segment and standby gateway The access device address of state, while the routing of the standby gateway network segment and the access device address in existing state and second user side Edge device identification is associated.
BSC 603, the first advertised information and second for currently being provided according to primary gateway 601 and standby gateway 602 are logical Information is accused, pre-set routing table is updated;When sending downstream data flow, in current routing table, extract The address of target access device, the wherein address of target access device and the destination address of downstream data flow match;Inquiry with The associated customer edge mark in target access device address;Downstream data flow is distributed to and the customer edge Associated gateway device is identified, downstream data flow is sent to target access device will pass through the gateway device.
Based on the advertising of route system that the above embodiment of the present invention provides, by noticing the routing of access device detail, to The existing state for making upstream equipment perception access device, solves PW gateways N:Path black hole problem under 1 convergent pathway.
Preferential, BSC 603, which is additionally operable to identify in customer edge associated with target access device address, is only When second user edge-device identities, as shown in Table 2 above, then downstream data flow is distributed to and second user edge device mark Downstream data flow is sent to target access device by sensible associated standby gateway will pass through standby gateway.
Preferential, BSC 603, which is additionally operable to identify in customer edge associated with target access device address, includes When first customer edge is identified with second user edge-device identities, as shown in Table 1 above, then downstream data flow is distributed It gives the first customer edge and identifies associated primary gateway 601 and associated with second user edge-device identities Standby gateway 602.
Standby gateway 602 is additionally operable to the downstream data flow of distribution being sent to target access device.
Primary gateway 601, which is additionally operable to judge itself whether to directly perceive target access device, is in existing state.If sentencing Breaking, which itself can directly perceive target access device, is in existing state, then the downstream data flow of distribution is directly sent to target Access device.
Preferential, primary gateway 601 is additionally operable to judging that itself cannot directly perceive target access device is in survival shape When state, the downstream data flow of distribution is sent to target access device by standby gateway 602.
It is preferential, primary gateway 601 specifically using the main pseudo-wire configured between access device and primary gateway, with it is scheduled when Between interval perception access device state, and the first advertised information is supplied to BSC 603.
Standby gateway 602 specifically using the spare pseudo-wire that is configured between access device and standby gateway, with it is scheduled when Between interval perception access device state, and the second advertised information is supplied to BSC 603.
Preferably, primary gateway 601 is specifically using the main pseudo-wire that is configured between access device and primary gateway, with it is scheduled when Between interval perception access device state;The access device in existing state can be perceived by judging whether itself;If itself energy The access device in existing state is perceived, then the first advertised information is supplied to BSC 603, wherein the first advertised information packet Including itself can perceive the access device address in existing state.
Preferably, primary gateway 601 is additionally operable to when itself failing to perceive the access device in existing state, further Judge whether itself link between standby gateway is normal;If judging, itself link between standby gateway is normal, will The access device in existing state that standby gateway perceives is considered as the access in existing state itself perceived and sets It is standby, and the first advertised information is supplied to BSC 603, wherein the first advertised information include be considered as itself perceive in depositing The access device address of state living.
Preferably, primary gateway 601 is additionally operable to, when judging that itself link between standby gateway is abnormal, first be led to It accuses information and is supplied to BSC 603, wherein indicating that primary gateway itself fails to perceive in existing state in the first advertised information Access device.
Below by specific example, the present invention will be described.For convenience of description, setting standby gateway always may be used here It is in existing state to perceive target access device.
Example one:
For BSC when downstream data flow is supplied to target access device (192.168.1.1/32), current routing table is such as Shown in table 2, then show that current path is only:
BSC → CE2 → standby gateway → target access device
Therefore downstream data flow is sent to mesh by BSC by CE (Customer Edge, customer edge) 2, standby gateway Mark access device.Corresponding schematic diagram is as shown in Figure 7.
Example two:
For BSC when downstream data flow is supplied to target access device (192.168.1.1/32), current routing table is such as Shown in table 1, this shows can be by primary gateway and the reachable target access device of standby gateway.BSC can be by downlink data flow point Indescribably supply primary gateway and standby gateway.Primary gateway needs to judge that target access device is primary gateway itself and can directly access at this time , or accessed by standby gateway.In this embodiment, primary gateway itself can direct access target access device, therefore Current path can be:
BSC → CE1 → primary gateway → target access device
BSC → CE2 → standby gateway → target access device
Corresponding schematic diagram is as shown in Figure 8.
Example three:
In example two, if primary gateway judges that target access device is primary gateway itself and cannot directly access, need to pass through What standby gateway accessed.Therefore in this embodiment, primary gateway is needed through standby gateway access target access device, because This current path can be:
BSC → CE1 → primary gateway → standby gateway → target access device
BSC → CE2 → standby gateway → target access device
Corresponding schematic diagram is as shown in Figure 9.
By applying the present invention, following advantageous effect can be obtained:
1, perception of the gateway device to same network segment access device existing state is realized;
2, gateway device access device detail routing in the case where not running Routing Protocol with access device is realized Notice, realizes a kind of novel advertising of route scheme;
3, path black hole is solved the problems, such as.
One of ordinary skill in the art will appreciate that realizing that all or part of step of above-described embodiment can pass through hardware It completes, relevant hardware can also be instructed to complete by program, the program can be stored in a kind of computer-readable In storage medium, storage medium mentioned above can be read-only memory, disk or CD etc..
Description of the invention provides for the sake of example and description, and is not exhaustively or will be of the invention It is limited to disclosed form.Many modifications and variations are obvious for the ordinary skill in the art.It selects and retouches It states embodiment and is to more preferably illustrate the principle of the present invention and practical application, and those skilled in the art is enable to manage Various embodiments with various modifications of the solution present invention to design suitable for special-purpose.

Claims (16)

1. a kind of route advertising method, which is characterized in that including:
Primary gateway and standby gateway perceive the state of access device at predetermined intervals respectively, and respectively believe the first notice Breath and the second advertised information are supplied to base station controller BSC, and the first advertised information that wherein primary gateway provides includes primary gateway net Section routing and primary gateway perceive the access device address in existing state, while primary gateway network segment routing and in depositing The access device address of state living is associated with the first customer edge mark, the second advertised information packet that standby gateway provides It includes the routing of the standby gateway network segment and standby gateway perceives the access device address in existing state, while standby gateway The network segment is route and access device address in existing state is associated with second user edge-device identities;
The first advertised information and the second advertised information that BSC is currently provided according to primary gateway and standby gateway, to pre-set Routing table is updated;
BSC is when sending downstream data flow, in current routing table, extracts the address of target access device, wherein target The address of access device and the destination address of downstream data flow match;
Inquiry customer edge mark associated with target access device address;
Downstream data flow is distributed into gateway device associated with customer edge mark, will pass through the gateway Downstream data flow is sent to target access device by equipment.
2. according to the method described in claim 1, it is characterized in that,
Downstream data flow, which is distributed to the step of identifying associated gateway device with the customer edge, includes:
If customer edge mark associated with target access device address is only second user edge-device identities, will Downstream data flow distributes to standby gateway associated with second user edge-device identities, will pass through standby gateway by downlink Data flow is sent to target access device.
3. according to the method described in claim 1, it is characterized in that,
Downstream data flow, which is distributed to the step of identifying associated gateway device with the customer edge, includes:
It is identified and the if associated with target access device address customer edge mark includes the first customer edge Two customer edge identify, then by downstream data flow distribute to primary gateway associated with the first customer edge mark, And standby gateway associated with second user edge-device identities;
The downstream data flow of distribution is sent to target access device by standby gateway;
Primary gateway judges that itself whether can directly perceive target access device is in existing state;
If primary gateway itself can directly perceive target access device and be in existing state, primary gateway is directly by the downlink of distribution Data flow is sent to target access device.
4. according to the method described in claim 3, it is characterized in that,
If primary gateway itself cannot directly perceive target access device and be in existing state, primary gateway is by the lower line number of distribution Target access device is sent to by standby gateway according to stream.
5. according to the method described in claim 1, it is characterized in that,
Primary gateway and standby gateway perceive the state of access device at predetermined intervals respectively, and respectively believe the first notice Ceasing the step of being supplied to BSC with the second advertised information includes:
Primary gateway utilizes the main pseudo-wire configured between access device and primary gateway, perceives access device at predetermined intervals State, and the first advertised information is supplied to BSC;
Standby gateway utilizes the spare pseudo-wire configured between access device and standby gateway, and perception at predetermined intervals connects Enter the state of equipment, and the second advertised information is supplied to BSC.
6. according to the method described in claim 5, it is characterized in that,
Primary gateway utilizes the main pseudo-wire configured between access device and primary gateway, perceives access device at predetermined intervals State, and the step of the first advertised information is supplied to BSC includes:
Primary gateway utilizes the main pseudo-wire configured between access device and primary gateway, perceives access device at predetermined intervals State;
Judge whether that the access device in existing state can be perceived;
If the access device in existing state can be perceived, the first advertised information is supplied to BSC by primary gateway, wherein first Advertised information, which includes primary gateway, can perceive the access device address in existing state.
7. according to the method described in claim 6, it is characterized in that,
If failing to perceive the access device in existing state, primary gateway further judges itself between standby gateway Whether link is normal;
If judging, itself link between standby gateway is normal, and primary gateway is in existing state by what standby gateway perceived Access device, be considered as the access device in existing state itself perceived, and the first advertised information is supplied to BSC, Wherein the first advertised information includes being considered as the access device address in existing state itself perceived.
8. the method according to the description of claim 7 is characterized in that
If judging, itself link between standby gateway is abnormal, and the first advertised information is supplied to BSC by primary gateway, wherein Indicate that primary gateway fails to perceive the access device in existing state in first advertised information.
9. a kind of advertising of route system, which is characterized in that including primary gateway, standby gateway, base station controller BSC, wherein:
Primary gateway, the state for perceiving access device at predetermined intervals, and the first advertised information is supplied to BSC, Wherein the first advertised information include the primary gateway network segment routing and primary gateway with perceiving the access device in existing state Location, while the routing of the primary gateway network segment and the access device address in existing state are related to the first customer edge mark Connection;
Standby gateway, the state for perceiving access device at predetermined intervals, and the second advertised information is supplied to BSC, wherein the second advertised information, which includes the routing of the standby gateway network segment and standby gateway, perceives the access in existing state Device address, while the routing of the standby gateway network segment and the access device address in existing state and second user edge device mark Sensible association;
BSC, the first advertised information and the second advertised information for currently being provided according to primary gateway and standby gateway, to setting in advance The routing table set is updated;When sending downstream data flow, in current routing table, the ground of target access device is extracted Location, the wherein address of target access device and the destination address of downstream data flow match;Inquiry and target access device address Associated customer edge mark;Downstream data flow is distributed into gateway associated with customer edge mark Downstream data flow is sent to target access device by equipment will pass through the gateway device.
10. system according to claim 9, which is characterized in that
BSC is additionally operable in customer edge associated with target access device address mark be only second user edge device When mark, downstream data flow is distributed into standby gateway associated with second user edge-device identities, it is spare will pass through Downstream data flow is sent to target access device by gateway.
11. system according to claim 9, which is characterized in that
BSC is additionally operable in customer edge associated with target access device address mark include the first customer edge When mark and second user edge-device identities, downstream data flow is distributed to associated with the first customer edge mark Primary gateway and standby gateway associated with second user edge-device identities;
Standby gateway is additionally operable to the downstream data flow of distribution being sent to target access device;
Primary gateway, which is additionally operable to judge itself whether to directly perceive target access device, is in existing state;If judging itself energy It directly perceives target access device and is in existing state, then the downstream data flow of distribution is directly sent to target access sets It is standby.
12. system according to claim 11, which is characterized in that
Primary gateway is additionally operable to when judging that itself cannot directly perceive target access device is in existing state, will be under distribution The row data standby gateway that circulated is sent to target access device.
13. system according to claim 9, which is characterized in that
Primary gateway specifically utilizes the main pseudo-wire configured between access device and primary gateway, at predetermined intervals perception access The state of equipment, and the first advertised information is supplied to BSC;
Standby gateway specifically using the spare pseudo-wire configured between access device and standby gateway, is felt at predetermined intervals Know the state of access device, and the second advertised information is supplied to BSC.
14. system according to claim 13, which is characterized in that
Primary gateway specifically utilizes the main pseudo-wire configured between access device and primary gateway, at predetermined intervals perception access The state of equipment;The access device in existing state can be perceived by judging whether itself;If itself can perceive in survival First advertised information is then supplied to BSC by the access device of state, can be perceived everywhere wherein the first advertised information includes itself In the access device address of existing state.
15. system according to claim 14, which is characterized in that
Primary gateway is additionally operable to when itself failing to perceive the access device in existing state, further judge itself with it is spare Whether the link between gateway is normal;If judging, itself link between standby gateway is normal, and standby gateway is perceived The access device in existing state, be considered as the access device in existing state itself perceived, and by the first notice Information is supplied to BSC, wherein the first advertised information includes with being considered as the access device in existing state itself perceived Location.
16. system according to claim 15, which is characterized in that
Primary gateway is additionally operable to, when judging that itself link between standby gateway is abnormal, the first advertised information is supplied to BSC, wherein indicating that primary gateway itself fails to perceive the access device in existing state in the first advertised information.
CN201410167234.5A 2014-04-24 2014-04-24 Route advertising method and system Active CN105007607B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410167234.5A CN105007607B (en) 2014-04-24 2014-04-24 Route advertising method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410167234.5A CN105007607B (en) 2014-04-24 2014-04-24 Route advertising method and system

Publications (2)

Publication Number Publication Date
CN105007607A CN105007607A (en) 2015-10-28
CN105007607B true CN105007607B (en) 2018-10-23

Family

ID=54380081

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410167234.5A Active CN105007607B (en) 2014-04-24 2014-04-24 Route advertising method and system

Country Status (1)

Country Link
CN (1) CN105007607B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105978742A (en) * 2016-07-19 2016-09-28 成都之达科技有限公司 Transmission method for onboard image data
CN110445717B (en) * 2019-07-17 2022-04-08 新华三技术有限公司成都分公司 Data forwarding method, user access equipment and switch

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101588302A (en) * 2009-06-26 2009-11-25 杭州华三通信技术有限公司 Method and apparatus for updating router
CN101917290A (en) * 2010-08-12 2010-12-15 北京星网锐捷网络技术有限公司 method, device and network equipment for processing label transmitting path fault as well as network equipment
CN101984596A (en) * 2010-11-04 2011-03-09 北京星网锐捷网络技术有限公司 Method, device and routing equipment for avoiding black holes
CN103581025A (en) * 2013-10-23 2014-02-12 华为技术有限公司 Method and system for processing routing information and equipment

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101588302A (en) * 2009-06-26 2009-11-25 杭州华三通信技术有限公司 Method and apparatus for updating router
CN101917290A (en) * 2010-08-12 2010-12-15 北京星网锐捷网络技术有限公司 method, device and network equipment for processing label transmitting path fault as well as network equipment
CN101984596A (en) * 2010-11-04 2011-03-09 北京星网锐捷网络技术有限公司 Method, device and routing equipment for avoiding black holes
CN103581025A (en) * 2013-10-23 2014-02-12 华为技术有限公司 Method and system for processing routing information and equipment

Also Published As

Publication number Publication date
CN105007607A (en) 2015-10-28

Similar Documents

Publication Publication Date Title
CN104270298B (en) Message forwarding method and device in a kind of VXLAN networks
CN103220650B (en) A kind of method and apparatus of WiFi terminal access different business territory
US8699327B2 (en) Multipath virtual router redundancy
US9819578B2 (en) Communication device and method in a communication system, and device and method for communication path control
CN1925496B (en) System and method for load sharing of network layer with multiple network interface cards terminal equipment
CN105162704B (en) The method and device of multicast replication in Overlay network
CN106789629B (en) Business fast convergent method and device
CN107409080A (en) For servicing the system and method for providing maximum filling link via binding
CN102970231B (en) Multicast data flow forwards implementation method and route-bridge(RB)
CN103581025B (en) Method and system for processing routing information and equipment
CN104767680B (en) It route the method and apparatus being switched fast
CN102244609B (en) Solve VPLS and access method and the router that L3 failover causes stopping
CN106936943A (en) The distribution method and system of virtual machine address
CN108696417A (en) Business switch method in backup network and device
CN109495593A (en) Address distribution method and system
CN104683206A (en) Method and device for coordinating and switching layer 2 and layer 3 virtual private networks in bridging apparatus
CN106664248A (en) Method and controller for routing data packets in a software defined network
CN109088823A (en) A kind of method and device for realizing terminal interconnection
CN106341249A (en) Redundant port switching method and device
CN105007607B (en) Route advertising method and system
CN105592490B (en) A kind of route switching method and equipment
CN102224709A (en) Method and apparatus of monitoring on ip bearing net performance
CN106161228B (en) A kind of method and apparatus of publication routing
CN102857435B (en) Method and device for forwarding three-layer data flow in data center site
CN105743784A (en) Switching control method and device in deploying high capacity business

Legal Events

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