CN108337164B - Routing method and system - Google Patents
Routing method and system Download PDFInfo
- Publication number
- CN108337164B CN108337164B CN201710048663.4A CN201710048663A CN108337164B CN 108337164 B CN108337164 B CN 108337164B CN 201710048663 A CN201710048663 A CN 201710048663A CN 108337164 B CN108337164 B CN 108337164B
- Authority
- CN
- China
- Prior art keywords
- core network
- packet
- router
- network equipment
- detection packet
- 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
Links
Images
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
The application discloses a routing method and a system, wherein the method comprises the following steps: a router on the SGI interface sends a detection packet of a path test of Network Quality Analysis (NQA) to core network equipment; when the core network equipment is in a main state, returning a corresponding reply message to the router equipment according to the detection packet; when the core network equipment is in a standby state, executing refusing operation on the detection packet; and the router selects the corresponding core network equipment as the next hop of the route according to the received reply message. The invention can realize the routing under the main disaster recovery scene and the backup disaster recovery scene, and has low cost.
Description
Technical Field
The present invention relates to mobile communication technologies, and in particular, to a routing method and system.
Background
In a primary and backup disaster recovery scenario, an lte access network communicates with an application server through a Customer Premises Equipment (CPE) or a drop device (e.g., a camera), a generic routing protocol encapsulation (GRE) tunnel needs to be configured on a router of an SGI interface of a core network, and two routes are configured for each CPE, where a next hop is an IP of the SGI interface of the primary and backup core networks, and a specific networking is shown in fig. 1.
Since the core network does not support dynamic routing protocols: an Open Shortest Path First (OSPF) protocol cannot issue routing information of a Terminal Access Unit (TAU)/CPE or a drop equipment ball machine, so a GRE channel needs to be established between a router on a Secure Gateway Interface (SGI) and the TAU/CPE, and a Keep Alive of the GRE is used to detect a state of a GRE tunnel, so as to determine that core network is an active core network.
In order to make the route of the SGI interface support the GRE protocol, the software platform of the core network needs to be upgraded and modified, and meanwhile, because a GRE tunnel needs to be configured for each TAU/CPE, the configuration of the router device needs to be improved, which results in higher cost of the existing route implementation scheme in the main and standby disaster tolerance scenarios.
Disclosure of Invention
In view of the above, the main objective of the present invention is to provide a routing method and system, which can implement routing in the primary and backup disaster recovery scenarios and have low cost.
In order to achieve the purpose, the technical scheme provided by the invention is as follows:
a routing method, comprising:
a router on the SGI interface sends a detection packet of a path test of Network Quality Analysis (NQA) to core network equipment;
when the core network equipment is in a main state, returning a corresponding reply message to the router equipment according to the detection packet; when the core network equipment is in a standby state, executing refusing operation on the detection packet;
and the router selects the corresponding core network equipment as the next hop of the route according to the received reply message.
A routing system, comprising:
a router, which is arranged on the SGI interface and used for sending a detection packet of a path test of Network Quality Analysis (NQA) to the core network equipment; selecting corresponding core network equipment as a next hop of the route according to the received reply message of the detection packet;
the main core network equipment is used for returning a corresponding reply message to the router equipment according to the detection packet;
and the standby core network equipment is used for executing rejection operation on the detection packet.
In summary, the routing method and system provided by the present invention send, by the router on the SGI interface, the probe packet of the NQA path test, and enable the core network device to execute different probe packet processing according to the current state, so that the router can identify the active core network device and the standby core network device by sending the probe packet of the NQA path test, thereby determining the core network device corresponding to the next hop of the route. Therefore, only by adopting the NQA and route linkage technology on the router of the SGI interface, the routing of the message is selected, so that the routing in the main disaster recovery scene and the backup disaster recovery scene is realized, a GRE tunnel does not need to be configured for each TAU/CPE, and the software platform of the core network does not need to be upgraded and changed, so that the method and the device are easy to realize and have low cost.
Drawings
Fig. 1 is a schematic routing diagram in a conventional primary and backup disaster recovery scenario;
FIG. 2 is a schematic flow chart of a method according to an embodiment of the present invention;
fig. 3 is a schematic structural diagram of a system according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention will be described in further detail with reference to the accompanying drawings and specific embodiments.
The core idea of the invention is as follows: by utilizing a Network Quality Analysis (NQA) related technology, a router on an SGI (service gateway interface) is subjected to NQA path test, the router is triggered to send a detection packet (ping data packet) to a core network, and the core network can detect the main or standby state of the core network after receiving the ping data packet, so that the core network can be routed to the main core network according to a detection result fed back by the core network. Therefore, routing under the main disaster recovery scene and the standby disaster recovery scene can be realized without upgrading the external router equipment, the characteristic requirement that the equipment needs to support a dynamic routing protocol is effectively avoided, and the specification requirement on the external router equipment is further reduced.
Fig. 2 is a schematic flow chart of a method according to an embodiment of the present invention, and as shown in fig. 2, a routing method implemented by the embodiment mainly includes:
In this step, the router on the SGI interface needs to enable ICMP testing of the NQA, that is, to send a probe packet (i.e., ping data packet) of a path test of the NQA to each core network device, so as to identify the active core network device in the subsequent step according to a test result, that is, a corresponding message fed back by the core network device, thereby determining the next hop of the message route.
Preferably, for convenience of implementation, the probe packet may be a probe packet of an Internet Control Message Protocol (ICMP) test.
Here, by configuring different detection packet processing modes for core network devices in different states, only the core network device in the active state can feed back a corresponding reply message to the router device, so that the router device can identify the active core network device only according to the received reply message of the detection packet, and further can determine the next hop of the route, thereby implementing the route on the SGI interface in the active and standby disaster tolerant scenarios.
For the core network device in the standby state, after receiving the probe packet of the router, it needs to perform a rejection operation, that is, it does not respond to the ICMP probe of the router, specifically, it may implement this purpose by adopting a manner of filtering out the probe packet or closing the port, and specifically, it may implement the following two methods:
the method comprises the following steps: configuring a router side IP address on an SGI interface on core network equipment in advance;
the rejecting operation is: and discarding the detection packet, and adding a detection packet taking the IP address of the router side as a source IP in a detection packet filtering blacklist of the core network equipment.
The second method comprises the following steps: the rejecting operation is: the corresponding physical port is closed. Namely, the physical port on the core network device that needs to be switched over the data path is closed.
By adopting the two methods, the core network equipment in the standby state can be ensured not to respond to the detection packet sent by the router on the SGI interface, so that the router on the SGI interface can only receive the reply message returned by the main core network equipment.
In this step, it is limited in step 202 that only the active core network device can return the corresponding reply packet, so the router can directly use the core network device corresponding to the received reply packet as the next hop of the route, and thus, the route switching on the SGI interface in the disaster recovery scenario can be realized without establishing a GRE tunnel, which is easy to realize and low in cost compared with the existing routing method.
Fig. 3 is a schematic structural diagram of a routing system corresponding to the above method, and as shown in fig. 3, the routing system includes:
the router is arranged on the SGI interface and used for sending a detection packet of a path test of network quality analysis NQA to the core network equipment; selecting corresponding core network equipment as a next hop of the route according to the received reply message of the detection packet;
the main core network equipment is used for returning a corresponding reply message to the router equipment according to the detection packet;
and the standby core network equipment is used for executing rejection operation on the detection packet.
Preferably, the standby core network device is configured to discard the control packet after receiving the probe packet, and add a probe packet using a router side IP address on an SGI interface as a source IP in a probe packet filtering blacklist of the device, where the router side IP address on the SGI interface is pre-configured on the core network device.
Preferably, the standby core network device is configured to close the corresponding physical port after receiving the probe packet.
Preferably, the probe packet may be a probe packet of an ICMP test.
In summary, the above description is only a preferred embodiment of the present invention, and is not intended to limit the scope of the present invention. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.
Claims (8)
1. A routing method, comprising:
a router on the SGI interface sends a detection packet of a path test of network quality analysis NQA to core network equipment;
when the core network equipment is in a main state, returning a corresponding reply message to the router equipment according to the detection packet; when the core network equipment is in a standby state, executing refusing operation on the detection packet;
and the router selects the core network equipment which sends the reply message as the next hop of the route according to the received reply message.
2. The method of claim 1, further comprising:
configuring a router side IP address on an SGI interface on core network equipment in advance;
the rejecting operation is: and discarding the control packet, and adding a detection packet taking the IP address of the router side as a source IP in a detection packet filtering blacklist of the core network equipment.
3. The method of claim 1, wherein the denying operation is: the corresponding physical port is closed.
4. The method of claim 1, wherein the probing packet is an Internet control message protocol ICMP probing packet.
5. A routing system, comprising:
the router is arranged on the SGI interface and used for sending a detection packet of an Internet control message protocol ICMP (Internet control message protocol) test of Network Quality Analysis (NQA) to the core network equipment; selecting core network equipment for sending the reply message as a next hop of the route according to the received reply message of the detection packet;
the main core network equipment is used for returning a corresponding reply message to the router equipment according to the detection packet;
and the standby core network equipment is used for executing rejection operation on the detection packet.
6. The system according to claim 5, wherein the standby core network device is configured to discard the control packet after receiving the probe packet, and add a probe packet using a router-side IP address on an SGI interface as a source IP to a probe packet filtering blacklist of the device, where the router-side IP address on the SGI interface is preconfigured on the core network device.
7. The system according to claim 5, wherein the standby core network device is configured to close the corresponding physical port after receiving the probe packet.
8. The system of claim 5, wherein the probing packet is an Internet control message protocol ICMP test probing packet.
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 CN108337164A (en) | 2018-07-27 |
CN108337164B true 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 (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101374039A (en) * | 2007-08-22 | 2009-02-25 | 华为技术有限公司 | Method for protecting transmission business and concourse node |
CN101841408A (en) * | 2010-05-07 | 2010-09-22 | 北京星网锐捷网络技术有限公司 | Primary/standby route equipment switching method and route equipment |
Family Cites Families (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8072879B2 (en) * | 2006-02-03 | 2011-12-06 | Cisco Technology, Inc. | 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 |
CN101771604B (en) * | 2008-12-31 | 2013-01-09 | 华为技术有限公司 | Routing detection method, system and intermediate routing device |
CN102045178B (en) * | 2009-10-16 | 2016-03-30 | 中兴通讯股份有限公司 | The method of Virtual Private LAN Service multicast protection and device |
CN101841432A (en) * | 2010-05-26 | 2010-09-22 | 中兴通讯股份有限公司 | Port backup method, device and system for service access router |
CN105657748B (en) * | 2016-03-16 | 2020-06-26 | 华为技术有限公司 | Communication method and network equipment based on tunnel binding |
-
2017
- 2017-01-20 CN CN201710048663.4A patent/CN108337164B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101374039A (en) * | 2007-08-22 | 2009-02-25 | 华为技术有限公司 | Method for protecting transmission business and concourse node |
CN101841408A (en) * | 2010-05-07 | 2010-09-22 | 北京星网锐捷网络技术有限公司 | Primary/standby route equipment switching method and route equipment |
Also Published As
Publication number | Publication date |
---|---|
CN108337164A (en) | 2018-07-27 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109873760B (en) | Method and device for processing route, and method and device for data transmission | |
US11621926B2 (en) | Network device and method for sending BGP information | |
US9380111B2 (en) | Feature peer network with scalable state information | |
US9648542B2 (en) | Session-based packet routing for facilitating analytics | |
US10243862B2 (en) | Systems and methods for sampling packets in a network flow | |
EP2944056B1 (en) | Distributed traffic inspection in a telecommunications network | |
JP2017529011A (en) | Chaining network service functions in communication networks | |
US10924518B2 (en) | UPF programming over enhanced N9 interface | |
CN105939274A (en) | Message forwarding method and apparatus | |
CN109379760B (en) | MEC bypass system and method | |
US8625406B2 (en) | Multicast fast re-route | |
US8381301B1 (en) | Split-flow attack detection | |
US9467370B2 (en) | Method and system for network traffic steering based on dynamic routing | |
CN113692753A (en) | Network device and method for searching edge service implemented in network device | |
CN106507414B (en) | Message forwarding method and device | |
CN107896182B (en) | Message forwarding method and device | |
US9560174B2 (en) | Network routing overlay | |
CN107786386B (en) | Selective transmission of Bidirectional Forwarding Detection (BFD) messages for authenticating multicast connections | |
US8923303B2 (en) | Method, system and installation for forwarding data transmission frames | |
CN107659436B (en) | Method and device for preventing service interruption | |
CN103457794B (en) | Method and system for confirming faults of IP bearer network | |
CN110351159B (en) | Cross-intranet network performance testing method and device | |
CN105100300B (en) | Method and device for converting network address into NAT | |
US9426186B2 (en) | Methods and systems for load balancing call sessions over a dual ring internet protocol (IP) network | |
CN108337164B (en) | Routing method and system |
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 |