CN108337164A - Method for routing and system - Google Patents
Method for routing and system Download PDFInfo
- Publication number
- CN108337164A CN108337164A CN201710048663.4A CN201710048663A CN108337164A CN 108337164 A CN108337164 A CN 108337164A CN 201710048663 A CN201710048663 A CN 201710048663A CN 108337164 A CN108337164 A CN 108337164A
- Authority
- CN
- China
- Prior art keywords
- equipment
- core network
- detection packet
- router
- detection
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W24/00—Supervisory, monitoring or testing arrangements
- H04W24/04—Arrangements for maintaining operational condition
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L45/00—Routing or path finding of packets in data switching networks
- H04L45/22—Alternate routing
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W40/00—Communication routing or communication path finding
- H04W40/02—Communication route or path selection, e.g. power-based or shortest path routing
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
This application discloses a kind of method for routing and system, wherein method includes:Router on SGI interfaces sends the detection packet of the path testing of Network Quality Analysis (NQA) to equipment of the core network;It when the equipment of the core network is master state, is wrapped according to the detection, returns to corresponding message of replying to the router device;When the equipment of the core network is stand-by state, the detection is wrapped and executes refusal operation;The router selects corresponding equipment of the core network as the next-hop of routing according to the reply message received.Using the present invention, the routing under active and standby disaster tolerance scene may be implemented, and at low cost.
Description
Technical field
The present invention relates to mobile communication technologies, more particularly to a kind of method for routing and system.
Background technology
ELTE accesses net under active and standby disaster tolerance scene, customer terminal equipment (CPE) or under hang standby (such as camera
Deng) and application server communication, it needs to configure generalized routing protocol encapsulation (GRE) on the router of the SGI interfaces of core net
Tunnel, and two routings are configured for each CPE, next-hop is the IP of the SGI interfaces of active and standby core net respectively, specific group
Net is as shown in Figure 1.
Since core net does not support dynamic routing protocol:Ospf (OSPF) agreement, can not issue end
End access unit (TAU)/CPE or under hang the routing iinformation of standby ball machine, so needing to connect by security gateway interface (SGI)
Gre tunnel is established between router and TAU/CPE on mouth, the shape of which gre tunneling is detected by the Keep Alive of GRE
State, to determine that core net is primary core net.
In order to make the routing of SGI interfaces support GRE protocol, need to carry out upgrading change to the software platform of core net, together
When, due to needing to configure a gre tunneling for each TAU/CPE, the configuration for improving router device is needed, in this way, then causing
Route implementing scheme cost under existing active and standby disaster tolerance scene is higher.
Invention content
In view of this, the main purpose of the present invention is to provide a kind of method for routing and system, may be implemented in active and standby appearance
Routing under calamity scene, and it is at low cost.
In order to achieve the above object, technical solution proposed by the present invention is:
A kind of method for routing, including:
Router on SGI interfaces sends the detection packet of the path testing of Network Quality Analysis (NQA) to equipment of the core network;
It when the equipment of the core network is master state, is wrapped according to the detection, returns to corresponding message of replying to described
Router device;When the equipment of the core network is stand-by state, the detection is wrapped and executes refusal operation;
The router selects corresponding equipment of the core network as the next of routing according to the reply message received
It jumps.
A kind of route system, including:
Router is set on SGI interfaces, and the path for sending Network Quality Analysis (NQA) to equipment of the core network is surveyed
The detection packet of examination;According to the reply message of the detection packet received, select corresponding equipment of the core network as under routing
One jumps;
Primary equipment of the core network returns to corresponding message of replying to the router device for being wrapped according to the detection;
Spare core net equipment executes refusal operation for being wrapped to the detection.
In conclusion method for routing proposed by the present invention and system, the path of NQA is sent by the router on SGI interfaces
The detection packet of test, and so that equipment of the core network is executed different detection packets according to current state and handle, so that router
Primary, spare core net equipment can be identified, may thereby determine that by the detection packet of the path testing of transmission NQA
Go out the corresponding equipment of the core network of route next jump.In this way, only by the router of SGI interfaces, being linked using NQA and routing
Technology, to select the routing of message, to realize the routing under active and standby disaster tolerance scene, without matching for each TAU/CPE
A gre tunneling is set, need not also carry out upgrading change to the software platform of core net, therefore the present invention is easily achieved and cost
It is low.
Description of the drawings
Fig. 1 is the routing schematic diagram under traditional active and standby disaster tolerance scene;
Fig. 2 is the method flow schematic diagram of the embodiment of the present invention;
Fig. 3 is the system structure diagram of the embodiment of the present invention.
Specific implementation mode
To make the object, technical solutions and advantages of the present invention clearer, right below in conjunction with the accompanying drawings and the specific embodiments
The present invention is described in further detail.
Core of the invention thought is:Using Network Quality Analysis (NQA) the relevant technologies, the router on SGI interfaces
On, the path testing of NQA is carried out, triggering router sends detection packet (ping data packets) and arrives core net, and core net receives ping
After data packet, the active or standby state of itself can be detected, in this way, main core can be routed to according to the testing result that core net is fed back
The heart is online.This way it is not necessary to upgrade to external router device, you can realize the routing under active and standby disaster tolerance scene, effectively
Circumvention device needs to support the property requirements of dynamic routing protocol, and then reduces the specification demands to external router device.
Fig. 2 is the method flow schematic diagram of the embodiment of the present invention, as shown in Fig. 2, the method for routing master that the embodiment is realized
Including:
Router in step 201, SGI interfaces sends the path testing of Network Quality Analysis (NQA) to equipment of the core network
Detection packet.
In this step, the router on SGI interfaces needs the ICMP tests of enabled NQA, i.e., is sent to each equipment of the core network
The detection packet (i.e. ping data packets) of the path testing of NQA, so as in subsequent step according to test result, i.e. equipment of the core network
The corresponding message of feedback, identifies primary equipment of the core network, may thereby determine that the next-hop of outgoing packet routing.
Preferably, for the ease of realizing, the detection packet can be Internet Control Message Protocol (ICMP) test
Detection packet.
Step 202, when the equipment of the core network is master state, wrapped according to the detection, return to corresponding reply and report
Text gives the router device;When the equipment of the core network is stand-by state, the detection is wrapped and executes refusal operation.
Here, different detection packet processing modes is configured by the equipment of the core network to different conditions so that be only in
The equipment of the core network of master state can just feed back corresponding message of replying to router device, so as to so that router device
According only to the reply message of the detection packet received, you can identify primary equipment of the core network, and then can determine routing
Next-hop realizes the routing on SGI interfaces under active and standby disaster tolerance scene.
For the equipment of the core network in stand-by state, after the detection packet for receiving router, need to execute refusal operation,
The icmp probe of router is not responding to, specifically, may be used and filter out detection packet or the mode of close port realizes this
One purpose specifically can be used following two methods and realize:
Method one:The router side IP address on SGI interfaces is configured on equipment of the core network in advance;
The refusal operates:The detection packet is abandoned, and in the detection packet filtering blacklist of the equipment of the core network
Increase using router side IP address as the detection packet of source IP.
Method two:The refusal operates:Corresponding physical port is closed.It needs to do that is, closing on equipment of the core network
The physical port of data path switching.
It may insure that the equipment of the core network in stand-by state will not be to the routing on SGI interfaces using above two method
The detection packet that device is sent is responded, and can only receive what primary equipment of the core network returned with the router ensured on SGI interfaces
Reply message.
Step 203, the router select corresponding equipment of the core network as road according to the reply message received
By next-hop.
In this step, corresponding reply can be just returned due to having limited only primary equipment of the core network in step 202
Message, therefore, router can directly using the received corresponding equipment of the core network of message of replying as the next-hop routeing,
In this way, gre tunneling need not be established, you can realize the route handoff on SGI interfaces under active and standby disaster tolerance scene, therefore compared to
Existing method for routing is easily achieved, and at low cost.
Fig. 3 is a kind of route system structural schematic diagram corresponding with the above method, as shown in figure 3, the system includes:
Router is set on SGI interfaces, the path testing for sending Network Quality Analysis NQA to equipment of the core network
Detection packet;According to the reply message of the detection packet received, select corresponding equipment of the core network as the next of routing
It jumps;
Primary equipment of the core network returns to corresponding message of replying to the router device for being wrapped according to the detection;
Spare core net equipment executes refusal operation for being wrapped to the detection.
Preferably, the spare core net equipment, is wrapped for abandoning the control after receiving the detection packet, and
Increase in the detection packet filtering blacklist of this equipment using the router side IP address on SGI interfaces as the detection packet of source IP, it is described
Router side IP address on SGI interfaces is pre-configured on this equipment of the core network.
Preferably, the spare core net equipment, for corresponding physical port to be closed after receiving the detection packet
It closes.
Preferably, the detection packet can be the detection packet of ICMP tests.
In conclusion the above is merely preferred embodiments of the present invention, being not intended to limit the scope of the present invention.
All within the spirits and principles of the present invention, any modification, equivalent replacement, improvement and so on should be included in the present invention's
Within protection domain.
Claims (8)
1. a kind of method for routing, which is characterized in that including:
Router on SGI interfaces sends the detection packet of the path testing of Network Quality Analysis NQA to equipment of the core network;
It when the equipment of the core network is master state, is wrapped according to the detection, returns to corresponding message of replying to the routing
Device equipment;When the equipment of the core network is stand-by state, the detection is wrapped and executes refusal operation;
The router selects corresponding equipment of the core network as the next-hop of routing according to the reply message received.
2. according to the method described in claim 1, it is characterized in that, the method further includes:
The router side IP address on SGI interfaces is configured on equipment of the core network in advance;
The refusal operates:The control packet is abandoned, and is increased in the detection packet filtering blacklist of the equipment of the core network
Using router side IP address as the detection packet of source IP.
3. according to the method described in claim 1, it is characterized in that, refusal operation is:Corresponding physical port is closed.
4. according to the method described in claim 1, it is characterized in that, detection packet is Internet Control Message Protocol ICMP
The detection packet of test.
5. a kind of route system, which is characterized in that including:
Router is set on SGI interfaces, the Internet controls for sending Network Quality Analysis NQA to equipment of the core network
The detection packet of message protocol ICMP tests;According to the reply message of the detection packet received, corresponding core net is selected to set
The standby next-hop as routing;
Primary equipment of the core network returns to corresponding message of replying to the router device for being wrapped according to the detection;
Spare core net equipment executes refusal operation for being wrapped to the detection.
6. system according to claim 5, which is characterized in that the spare core net equipment, for described in receiving
The control packet is abandoned after detection packet, and is increased with the router on SGI interfaces in the detection packet filtering blacklist of this equipment
Side IP address is the detection packet of source IP, and the router side IP address on the SGI interfaces is pre-configured on this equipment of the core network.
7. system according to claim 5, which is characterized in that the spare core net equipment, for described in receiving
Corresponding physical port is closed after detection packet.
8. system according to claim 5, which is characterized in that the detection packet is Internet Control Message Protocol ICMP
The detection packet of test.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710048663.4A CN108337164B (en) | 2017-01-20 | 2017-01-20 | Routing method and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710048663.4A CN108337164B (en) | 2017-01-20 | 2017-01-20 | Routing method and system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108337164A true CN108337164A (en) | 2018-07-27 |
CN108337164B CN108337164B (en) | 2021-12-17 |
Family
ID=62921748
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710048663.4A Active CN108337164B (en) | 2017-01-20 | 2017-01-20 | Routing method and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108337164B (en) |
Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20070183317A1 (en) * | 2006-02-03 | 2007-08-09 | Jean-Philippe Vasseur | Technique for determining whether to reestablish fast rerouted primary tunnels based on backup tunnel path quality feedback |
CN101060442A (en) * | 2006-04-22 | 2007-10-24 | 华为技术有限公司 | A linkage status detection device and method |
CN101068139A (en) * | 2007-06-28 | 2007-11-07 | 中兴通讯股份有限公司 | Media gateway upper connection link main spare protecting method |
CN101374039A (en) * | 2007-08-22 | 2009-02-25 | 华为技术有限公司 | Method for protecting transmission business and concourse node |
CN101771604A (en) * | 2008-12-31 | 2010-07-07 | 华为技术有限公司 | Routing detection method, system and intermediate routing device |
CN101841432A (en) * | 2010-05-26 | 2010-09-22 | 中兴通讯股份有限公司 | Port backup method, device and system for service access router |
CN101841408A (en) * | 2010-05-07 | 2010-09-22 | 北京星网锐捷网络技术有限公司 | Primary/standby route equipment switching method and route equipment |
CN102045178A (en) * | 2009-10-16 | 2011-05-04 | 中兴通讯股份有限公司 | Method and device for service multicast protection of virtual private LAN (Local Area Network) service |
CN105657748A (en) * | 2016-03-16 | 2016-06-08 | 华为技术有限公司 | Communication method based on tunnel binding and network devices |
-
2017
- 2017-01-20 CN CN201710048663.4A patent/CN108337164B/en active Active
Patent Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20070183317A1 (en) * | 2006-02-03 | 2007-08-09 | Jean-Philippe Vasseur | Technique for determining whether to reestablish fast rerouted primary tunnels based on backup tunnel path quality feedback |
CN101060442A (en) * | 2006-04-22 | 2007-10-24 | 华为技术有限公司 | A linkage status detection device and method |
CN101068139A (en) * | 2007-06-28 | 2007-11-07 | 中兴通讯股份有限公司 | Media gateway upper connection link main spare protecting method |
CN101374039A (en) * | 2007-08-22 | 2009-02-25 | 华为技术有限公司 | Method for protecting transmission business and concourse node |
CN101771604A (en) * | 2008-12-31 | 2010-07-07 | 华为技术有限公司 | Routing detection method, system and intermediate routing device |
CN102045178A (en) * | 2009-10-16 | 2011-05-04 | 中兴通讯股份有限公司 | Method and device for service multicast protection of virtual private LAN (Local Area Network) service |
CN101841408A (en) * | 2010-05-07 | 2010-09-22 | 北京星网锐捷网络技术有限公司 | Primary/standby route equipment switching method and route equipment |
CN101841432A (en) * | 2010-05-26 | 2010-09-22 | 中兴通讯股份有限公司 | Port backup method, device and system for service access router |
CN105657748A (en) * | 2016-03-16 | 2016-06-08 | 华为技术有限公司 | Communication method based on tunnel binding and network devices |
Non-Patent Citations (2)
Title |
---|
段小焕,等: ""基于NQA技术的校园网双出口链路的优化"", 《自动化与仪器仪表》 * |
董靖超: ""NQA技术与应用"", 《电脑与电信》 * |
Also Published As
Publication number | Publication date |
---|---|
CN108337164B (en) | 2021-12-17 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9648542B2 (en) | Session-based packet routing for facilitating analytics | |
US11863433B2 (en) | Scalable and programmable mechanism for targeted in-situ OAM implementation in segment routing networks | |
US11621926B2 (en) | Network device and method for sending BGP information | |
JP6430634B2 (en) | Chaining network service functions in communication networks | |
US9130859B1 (en) | Methods and apparatus for inter-virtual local area network multicast services | |
US20220007251A1 (en) | Using location indentifier separation protocol to implement a distributed user plane function architecture for 5g mobility | |
US10084706B2 (en) | Method and device for processing service function chaining | |
WO2016197344A1 (en) | Method, device and system for realizing service link | |
CN108574614A (en) | A kind of message processing method, equipment and network system | |
EP2544409A1 (en) | Generic monitoring packet handling mechanism for OpenFlow 1.1 | |
EP2579544A1 (en) | Methods and apparatus for a scalable network with efficient link utilization | |
US9912586B2 (en) | Method, system, and device for establishing pseudo wire | |
US10321352B2 (en) | Method and apparatus for traffic steering | |
KR101699643B1 (en) | Oam method and device based on multi-protocol label switching | |
CN108882305A (en) | A kind of shunt method and device of data packet | |
CN101425942A (en) | Method, apparatus and system for bidirectional forwarding detection implementation | |
CN109088823B (en) | Method and device for realizing terminal interconnection | |
EP3750073B1 (en) | A method for seamless migration of session authentication to a different stateful diameter authenticating peer | |
CN109379760B (en) | MEC bypass system and method | |
WO2015184840A1 (en) | Method, apparatus and system for acquiring response message, and method, apparatus and system for routing response message | |
CN109039916A (en) | Message forwarding method, device and storage medium | |
CN107659436A (en) | A kind of method and device for preventing service disconnection | |
US10680900B2 (en) | BGP logical topology generation method, and device | |
US20230261963A1 (en) | Underlay path discovery for a wide area network | |
CN107172378B (en) | Multimedia conference system, gatekeeper's server and method for configuring route |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |