CN113489613A - Message forwarding method and device - Google Patents

Message forwarding method and device Download PDF

Info

Publication number
CN113489613A
CN113489613A CN202110805540.7A CN202110805540A CN113489613A CN 113489613 A CN113489613 A CN 113489613A CN 202110805540 A CN202110805540 A CN 202110805540A CN 113489613 A CN113489613 A CN 113489613A
Authority
CN
China
Prior art keywords
path
route
gateway
use identifier
selected equivalent
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
Application number
CN202110805540.7A
Other languages
Chinese (zh)
Other versions
CN113489613B (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.)
Ruijie Networks Co Ltd
Original Assignee
Ruijie Networks Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Ruijie Networks Co Ltd filed Critical Ruijie Networks Co Ltd
Priority to CN202110805540.7A priority Critical patent/CN113489613B/en
Publication of CN113489613A publication Critical patent/CN113489613A/en
Application granted granted Critical
Publication of CN113489613B publication Critical patent/CN113489613B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • H04L41/0823Configuration setting characterised by the purposes of a change of settings, e.g. optimising configuration for enhancing reliability
    • H04L41/0836Configuration setting characterised by the purposes of a change of settings, e.g. optimising configuration for enhancing reliability to enhance reliability, e.g. reduce downtime
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0805Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability
    • H04L43/0811Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability by checking connectivity
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/20Hop count for routing purposes, e.g. TTL
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/74Address processing for routing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/74Address processing for routing
    • H04L45/745Address table lookup; Address filtering

Abstract

The invention discloses a message forwarding method and a device, wherein the method comprises the following steps: regularly detecting whether communication connection between the gateway of the at least two transmission networks is normal or not, if the communication connection between the gateway of the first transmission network of the at least two transmission networks is detected to be abnormal, suspending using a first path corresponding to a first gateway in a selected equivalent route of a routing table, wherein an outgoing interface of each path included in the selected equivalent route is a logic return port, and the next hop is an Internet Protocol (IP) address of the corresponding gateway; and after receiving the message to be forwarded, searching a route corresponding to the message to be forwarded in the route table, determining whether the searched route is the selected equivalent route, and if the searched route is determined to be the selected equivalent route, forwarding the message to be forwarded based on a second path normally used in the selected equivalent route. The scheme can ensure that the service of the access equipment is not interrupted.

Description

Message forwarding method and device
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a method and an apparatus for forwarding a packet.
Background
The transmission network is a network used as a transmission channel, is generally configured under service networks such as a switching network, a data network, a support network and the like, is used for providing signal transmission and conversion, and belongs to a basic network of the three service networks. Since the access devices of the service network are deployed at different locations, the Operation and Maintenance are inconvenient, and thus an Operation and Maintenance Center (OMC) is required to perform unified management.
The network cutover is to operate the lines and equipment in use, generally, the service operation requires 24 hours without interruption, the network cutover will directly affect the service carried on the transmission network, and the service interruption will be caused by carelessness.
The interface between the access device and the transmission network is called a return port, and in the process of network cutover, the configuration of the return port of the access device needs to be modified, and the configuration of the return port is modified from the configuration of the transmission network 1 to the configuration of the transmission network 2.
Disclosure of Invention
The embodiment of the invention provides a message forwarding method and a message forwarding device, which are used for solving the problem that in the prior art, the service of access equipment is interrupted in the network cutover process, so that the user experience is greatly reduced.
According to an embodiment of the present invention, a method for forwarding a packet is provided, where at least two transmission networks exist between an access device and an operation and maintenance center OMC, and a physical backhaul of the access device is provided with logical backhaul of the number of the at least two transmission networks, where the method includes:
regularly detecting whether communication connection between the gateway of the at least two transmission networks is normal or not, if the communication connection between the gateway of the first transmission network of the at least two transmission networks is detected to be abnormal, suspending using a first path corresponding to a first gateway in a selected equivalent route of a routing table, wherein an outgoing interface of each path included in the selected equivalent route is a logic return port, and the next hop is an Internet Protocol (IP) address of the corresponding gateway; and the number of the first and second groups,
after receiving a message to be forwarded, searching a route corresponding to the message to be forwarded in the route table, determining whether the searched route is the selected equivalent route, and if the searched route is determined to be the selected equivalent route, forwarding the message to be forwarded based on a second path normally used in the selected equivalent route.
Specifically, suspending the use of the first path corresponding to the first gateway in the selected equivalent route of the routing table specifically includes:
determining whether a first path corresponding to the first gateway in the selected equivalent route of the routing table carries a pause use identifier or a normal use identifier;
and if the first path is determined to carry the normal use identifier, replacing the normal use identifier carried by the first path with the pause use identifier.
Optionally, the method further includes:
and if the communication connection with the first gateway is detected to be normal, the first path is normally used.
Specifically, normally using the first path specifically includes:
determining whether the first path carries a pause use identifier or a normal use identifier;
and if the first path is determined to carry the pause use identifier, replacing the pause use identifier carried by the first path with the normal use identifier.
According to an embodiment of the present invention, there is also provided a packet forwarding apparatus applied in an access device, where at least two transmission networks exist between the access device and an operation and maintenance center OMC, and a physical backhaul of the access device is provided with logical backhaul ports of the number of the at least two transmission networks, where the apparatus includes:
the processing module is used for periodically detecting whether the communication connection between the processing module and the gateways of the at least two transmission networks is normal or not, if the communication connection between the processing module and the first gateway of the first transmission network of the at least two transmission networks is detected to be abnormal, a first path corresponding to the first gateway in the selected equivalent routes of the routing table is paused to be used, an outlet interface of each path included in the selected equivalent routes is a logic return port, and the next hop is the internet protocol IP address of the corresponding gateway; and the number of the first and second groups,
and the transceiver module is used for searching a route corresponding to the message to be forwarded in the routing table after receiving the message to be forwarded, determining whether the searched route is the selected equivalent route, and forwarding the message to be forwarded based on a second path normally used in the selected equivalent route if determining that the searched route is the selected equivalent route.
Specifically, the processing module is configured to suspend using a first path corresponding to the first gateway in the selected equivalent route of the routing table, and specifically configured to:
determining whether a first path corresponding to the first gateway in the selected equivalent route of the routing table carries a pause use identifier or a normal use identifier;
and if the first path is determined to carry the normal use identifier, replacing the normal use identifier carried by the first path with the pause use identifier.
Optionally, the processing module is further configured to:
and if the communication connection with the first gateway is detected to be normal, the first path is normally used.
Specifically, the processing module is configured to normally use the first path, and specifically configured to:
determining whether the first path carries a pause use identifier or a normal use identifier;
and if the first path is determined to carry the pause use identifier, replacing the pause use identifier carried by the first path with the normal use identifier.
According to the embodiment of the invention, the electronic equipment comprises a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory complete mutual communication through the communication bus;
a memory for storing a computer program;
a processor for implementing the above method steps when executing the program stored in the memory.
According to an embodiment of the present invention, there is also provided a computer-readable storage medium having stored therein a computer program, which when executed by a processor, performs the above-mentioned method steps.
The invention has the following beneficial effects:
the embodiment of the invention provides a message forwarding method and a message forwarding device, wherein whether the communication connection between the message forwarding device and gateways of at least two transmission networks is normal or not is regularly detected, if the communication connection between the message forwarding device and a first gateway of a first transmission network of the at least two transmission networks is detected to be abnormal, a first path corresponding to the first gateway in a selected equivalent route of a routing table is suspended for use, an outlet interface of each path included in the selected equivalent route is a logic return port, and the next hop is an internet protocol IP address of the corresponding gateway; and after receiving the message to be forwarded, searching a route corresponding to the message to be forwarded in the route table, determining whether the searched route is the selected equivalent route, and if the searched route is determined to be the selected equivalent route, forwarding the message to be forwarded based on a second path normally used in the selected equivalent route. In the scheme, a physical return port of the access device is provided with at least two logical return ports of the number of the transmission networks, a selected equivalent route is set, an output interface of each path included in the selected equivalent route is a logical return port, and the next hop is an IP address of the corresponding gateway, the access device can regularly detect whether the communication connection between the access device and the gateways of the at least two transmission networks is normal or not so as to update the state of each path of the selected equivalent route, so that after the message to be forwarded is received, the message to be forwarded can be forwarded by using the normally used path in the selected equivalent route, and further the message to be forwarded can be normally forwarded, even in the process of cutting over the at least two transmission networks, the service of the access device can be ensured not to be interrupted, and compared with the prior art, the user experience can be greatly improved.
Drawings
Fig. 1 is a flowchart of a message forwarding method in an embodiment of the present invention;
fig. 2 is a schematic structural diagram of a message forwarding apparatus in an embodiment of the present invention;
fig. 3 is a schematic structural diagram of an electronic device shown in the present application.
Detailed Description
Aiming at the problem that the service interruption of the access equipment in the network cutover process exists in the prior art, so that the user experience is greatly reduced, the embodiment of the invention provides a message forwarding method, which is applied to the access equipment, at least two transmission networks exist between the access equipment and an OMC, a physical return port of the access equipment is provided with a logical return port with the number of the at least two transmission networks, the flow of the method is shown in figure 1, and the execution steps are as follows:
s11: and periodically detecting whether the communication connection between the gateway of the at least two transmission networks is normal or not, and if the communication connection between the gateway of the first transmission network of the at least two transmission networks is detected to be abnormal, suspending the use of the first path corresponding to the first gateway in the selected equivalent route of the routing table.
Each of the at least two transmission networks needs to be provided with a gateway, and the access device can directly communicate with the gateways of the at least two transmission networks, so that the access device can periodically detect whether the communication connection between the access device and the gateways of the at least two transmission networks is normal, a detection period can be set according to actual needs, and if the communication connection abnormality between the access device and the gateway (which can be defined as a first gateway) of one of the at least two transmission networks (which can be defined as a first transmission network) is detected, it is indicated that network cutover may exist, and at this time, a path (which can be defined as a first path) corresponding to the first gateway in the selected equivalent route of the routing table needs to be suspended, so that message loss and service interruption caused by message forwarding using the first path are avoided.
Wherein, the output interface of each path included in the selected equivalent route is a logic return port, and the next hop is the Internet Protocol (IP) address of the corresponding gateway.
S12: after receiving the message to be forwarded, searching a route corresponding to the message to be forwarded in a route table, determining whether the searched route is a selected equivalent route, and if the searched route is determined to be the selected equivalent route, forwarding the message to be forwarded based on a second path normally used in the selected equivalent route.
After receiving the message, the access device may define the message as a message to be forwarded, first search a route corresponding to the message to be forwarded in a routing table, specifically search a destination IP address of the message to be forwarded in a route prefix of the routing table, after the route is found, further determine whether the found route is the selected equivalent route, if the found route is the selected equivalent route, since the access device suspends the use of paths corresponding to gateways with abnormal communication connections in at least two transmission networks during periodic detection, the message to be forwarded may be forwarded based on a path normally used in the selected equivalent route (which may be defined as a second path); if the found route is not the selected equivalent route, the message to be forwarded can be forwarded based on the found route.
It should be noted that S11 and S12 are not in strict sequential order, and at different times, S11 may be executed first and then S12, S12 may be executed first and then S11, or S11 and S12 may be executed simultaneously.
In the scheme, a physical return port of the access device is provided with at least two logical return ports of the number of the transmission networks, a selected equivalent route is set, an output interface of each path included in the selected equivalent route is a logical return port, and the next hop is an IP address of the corresponding gateway, the access device can regularly detect whether the communication connection between the access device and the gateways of the at least two transmission networks is normal or not so as to update the state of each path of the selected equivalent route, so that after the message to be forwarded is received, the message to be forwarded can be forwarded by using the normally used path in the selected equivalent route, and further the message to be forwarded can be normally forwarded, even in the process of cutting over the at least two transmission networks, the service of the access device can be ensured not to be interrupted, and compared with the prior art, the user experience can be greatly improved.
Specifically, the implementation process of the first path corresponding to the first gateway in the equal-cost route selected by suspending use of the routing table in S11 specifically includes:
determining whether a first path corresponding to a first gateway in a selected equivalent route of a routing table carries a pause use identifier or a normal use identifier;
and if the first path is determined to carry the normal use identifier, replacing the normal use identifier carried by the first path with the pause use identifier.
The normal use identifier and the pause use identifier may be predefined as required, and when the first path corresponding to the first gateway in the selected equivalent route of the pause use routing table is the first path, it may be determined whether the first path corresponding to the first gateway in the selected equivalent route of the routing table carries the pause use identifier or the normal use identifier, and if it is determined that the first path carries the normal use identifier, because the first path needs to be paused, the normal use identifier carried by the first path needs to be replaced with the pause use identifier; and if the first path is determined to carry the pause use identifier, the first path does not need to be changed.
Optionally, the method further includes:
and if the communication connection with the first gateway is detected to be normal, the first path is normally used.
In order to ensure that the state of each path in the selected equivalent route is updated in real time, if the communication connection with the first gateway is detected to be normal, the first path is normally used.
Specifically, the normally using the first path specifically includes:
determining whether the first path carries a pause use identifier or a normal use identifier;
and if the first path is determined to carry the pause use identifier, replacing the pause use identifier carried by the first path with the normal use identifier.
The normal use identifier and the pause use identifier may be predefined as required, and when a first path corresponding to a first gateway in a selected equivalent route of the normal use routing table is used, it may be determined whether the first path corresponding to the first gateway in the selected equivalent route of the routing table carries the pause use identifier or the normal use identifier, and if it is determined that the first path carries the pause use identifier, the pause use identifier carried by the first path needs to be replaced with the normal use identifier because the first path needs to be normally used; and if the first path is determined to carry the normal use identifier, the first path does not need to be changed.
Based on the same inventive concept, an embodiment of the present invention provides a packet forwarding apparatus, which is applied to an access device, where at least two transmission networks exist between the access device and an OMC, and a physical backhaul port of the access device is provided with a logical backhaul port of the number of the at least two transmission networks, and the apparatus has a structure as shown in fig. 2, and includes:
the processing module 21 is configured to periodically detect whether communication connection between the processing module and gateways of at least two transmission networks is normal, and suspend using a first path corresponding to a first gateway in a selected equivalent route of the routing table if it is detected that communication connection between the processing module and the first gateway of a first transmission network in the at least two transmission networks is abnormal, where an outgoing interface of each path included in the selected equivalent route is a logical backhaul port, and a next hop is an IP address of the corresponding gateway; and the number of the first and second groups,
the transceiving module 22 is configured to, after receiving the to-be-forwarded packet, search a route corresponding to the to-be-forwarded packet in the routing table, determine whether the searched route is the selected equivalent route, and forward the to-be-forwarded packet based on a second path normally used in the selected equivalent route if it is determined that the searched route is the selected equivalent route.
In the scheme, a physical return port of the access device is provided with at least two logical return ports of the number of the transmission networks, a selected equivalent route is set, an output interface of each path included in the selected equivalent route is a logical return port, and the next hop is an IP address of the corresponding gateway, the access device can regularly detect whether the communication connection between the access device and the gateways of the at least two transmission networks is normal or not so as to update the state of each path of the selected equivalent route, so that after the message to be forwarded is received, the message to be forwarded can be forwarded by using the normally used path in the selected equivalent route, and further the message to be forwarded can be normally forwarded, even in the process of cutting over the at least two transmission networks, the service of the access device can be ensured not to be interrupted, and compared with the prior art, the user experience can be greatly improved.
Specifically, the processing module 21 is configured to suspend using a first path corresponding to a first gateway in the selected equivalent route of the routing table, and specifically configured to:
determining whether a first path corresponding to a first gateway in a selected equivalent route of a routing table carries a pause use identifier or a normal use identifier;
and if the first path is determined to carry the normal use identifier, replacing the normal use identifier carried by the first path with the pause use identifier.
Optionally, the processing module 21 is further configured to:
and if the communication connection with the first gateway is detected to be normal, the first path is normally used.
Specifically, the processing module 21 is configured to normally use the first path, and specifically configured to:
determining whether the first path carries a pause use identifier or a normal use identifier;
and if the first path is determined to carry the pause use identifier, replacing the pause use identifier carried by the first path with the normal use identifier.
An electronic device is further provided in the embodiment of the present application, please refer to fig. 3, which includes a processor 310, a communication interface 320, a memory 330, and a communication bus 340, wherein the processor 310, the communication interface 320, and the memory 330 complete communication with each other through the communication bus 340.
A memory 330 for storing a computer program;
the processor 310 is configured to implement the message forwarding method according to any of the above embodiments when executing the program stored in the memory 330.
The communication interface 320 is used for communication between the above-described electronic device and other devices.
The Memory may include a Random Access Memory (RAM) or a Non-Volatile Memory (NVM), such as at least one disk Memory. Optionally, the memory may also be at least one memory device located remotely from the processor.
The Processor may be a general-purpose Processor, including a Central Processing Unit (CPU), a Network Processor (NP), and the like; but also Digital Signal Processors (DSPs), Application Specific Integrated Circuits (ASICs), Field Programmable Gate Arrays (FPGAs) or other Programmable logic devices, discrete Gate or transistor logic devices, discrete hardware components.
In the scheme, a physical return port of the access device is provided with at least two logical return ports of the number of the transmission networks, a selected equivalent route is set, an output interface of each path included in the selected equivalent route is a logical return port, and the next hop is an IP address of the corresponding gateway, the access device can regularly detect whether the communication connection between the access device and the gateways of the at least two transmission networks is normal or not so as to update the state of each path of the selected equivalent route, so that after the message to be forwarded is received, the message to be forwarded can be forwarded by using the normally used path in the selected equivalent route, and further the message to be forwarded can be normally forwarded, even in the process of cutting over the at least two transmission networks, the service of the access device can be ensured not to be interrupted, and compared with the prior art, the user experience can be greatly improved.
Accordingly, an embodiment of the present application further provides a computer-readable storage medium, where instructions are stored in the computer-readable storage medium, and when the instructions are executed on a computer, the computer is caused to execute the message forwarding method in any of the foregoing embodiments.
In the scheme, a physical return port of the access device is provided with at least two logical return ports of the number of the transmission networks, a selected equivalent route is set, an output interface of each path included in the selected equivalent route is a logical return port, and the next hop is an IP address of the corresponding gateway, the access device can regularly detect whether the communication connection between the access device and the gateways of the at least two transmission networks is normal or not so as to update the state of each path of the selected equivalent route, so that after the message to be forwarded is received, the message to be forwarded can be forwarded by using the normally used path in the selected equivalent route, and further the message to be forwarded can be normally forwarded, even in the process of cutting over the at least two transmission networks, the service of the access device can be ensured not to be interrupted, and compared with the prior art, the user experience can be greatly improved.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While alternative embodiments of the present invention have been described, additional variations and modifications in those embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. It is therefore intended that the following appended claims be interpreted as including alternative embodiments and all such alterations and modifications as fall within the scope of the invention.
It will be apparent to those skilled in the art that various modifications and variations can be made in the embodiments of the present invention without departing from the spirit or scope of the embodiments of the invention. Thus, if such modifications and variations of the embodiments of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to encompass such modifications and variations.

Claims (10)

1. A message forwarding method is applied to an access device, at least two transmission networks exist between the access device and an Operation Maintenance Center (OMC), and a physical backhaul port of the access device is provided with a logical backhaul port of the number of the at least two transmission networks, and the method is characterized by comprising the following steps:
regularly detecting whether communication connection between the gateway of the at least two transmission networks is normal or not, if the communication connection between the gateway of the first transmission network of the at least two transmission networks is detected to be abnormal, suspending using a first path corresponding to a first gateway in a selected equivalent route of a routing table, wherein an outgoing interface of each path included in the selected equivalent route is a logic return port, and the next hop is an Internet Protocol (IP) address of the corresponding gateway; and the number of the first and second groups,
after receiving a message to be forwarded, searching a route corresponding to the message to be forwarded in the route table, determining whether the searched route is the selected equivalent route, and if the searched route is determined to be the selected equivalent route, forwarding the message to be forwarded based on a second path normally used in the selected equivalent route.
2. The method according to claim 1, wherein suspending use of the first path corresponding to the first gateway in the selected equivalent route of the routing table specifically comprises:
determining whether a first path corresponding to the first gateway in the selected equivalent route of the routing table carries a pause use identifier or a normal use identifier;
and if the first path is determined to carry the normal use identifier, replacing the normal use identifier carried by the first path with the pause use identifier.
3. The method of claim 1 or 2, further comprising:
and if the communication connection with the first gateway is detected to be normal, the first path is normally used.
4. The method of claim 3, wherein normally using the first path specifically comprises:
determining whether the first path carries a pause use identifier or a normal use identifier;
and if the first path is determined to carry the pause use identifier, replacing the pause use identifier carried by the first path with the normal use identifier.
5. A message forwarding device is applied to an access device, at least two transmission networks exist between the access device and an Operation Maintenance Center (OMC), and a physical backhaul port of the access device is provided with a logical backhaul port of the number of the at least two transmission networks, and the device is characterized by comprising:
the processing module is used for periodically detecting whether the communication connection between the processing module and the gateways of the at least two transmission networks is normal or not, if the communication connection between the processing module and the first gateway of the first transmission network of the at least two transmission networks is detected to be abnormal, a first path corresponding to the first gateway in the selected equivalent routes of the routing table is paused to be used, an outlet interface of each path included in the selected equivalent routes is a logic return port, and the next hop is the internet protocol IP address of the corresponding gateway; and the number of the first and second groups,
and the transceiver module is used for searching a route corresponding to the message to be forwarded in the routing table after receiving the message to be forwarded, determining whether the searched route is the selected equivalent route, and forwarding the message to be forwarded based on a second path normally used in the selected equivalent route if determining that the searched route is the selected equivalent route.
6. The apparatus according to claim 5, wherein the processing module is configured to suspend using a first path corresponding to the first gateway in the selected equivalent route of the routing table, and is specifically configured to:
determining whether a first path corresponding to the first gateway in the selected equivalent route of the routing table carries a pause use identifier or a normal use identifier;
and if the first path is determined to carry the normal use identifier, replacing the normal use identifier carried by the first path with the pause use identifier.
7. The apparatus of claim 5 or 6, wherein the processing module is further configured to:
and if the communication connection with the first gateway is detected to be normal, the first path is normally used.
8. The apparatus of claim 7, wherein the processing module is configured to use the first path normally, and is specifically configured to:
determining whether the first path carries a pause use identifier or a normal use identifier;
and if the first path is determined to carry the pause use identifier, replacing the pause use identifier carried by the first path with the normal use identifier.
9. An electronic device, characterized in that the electronic device comprises a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory are communicated with each other through the communication bus;
a memory for storing a computer program;
a processor for implementing the method steps of any of claims 1-4 when executing a program stored on a memory.
10. A computer-readable storage medium, characterized in that a computer program is stored in the computer-readable storage medium, which computer program, when being executed by a processor, carries out the method steps of any one of claims 1 to 4.
CN202110805540.7A 2021-07-16 2021-07-16 Message forwarding method and device Active CN113489613B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110805540.7A CN113489613B (en) 2021-07-16 2021-07-16 Message forwarding method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110805540.7A CN113489613B (en) 2021-07-16 2021-07-16 Message forwarding method and device

Publications (2)

Publication Number Publication Date
CN113489613A true CN113489613A (en) 2021-10-08
CN113489613B CN113489613B (en) 2024-03-19

Family

ID=77939813

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110805540.7A Active CN113489613B (en) 2021-07-16 2021-07-16 Message forwarding method and device

Country Status (1)

Country Link
CN (1) CN113489613B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114826987A (en) * 2022-04-01 2022-07-29 阿里云计算有限公司 Gateway forwarding anomaly detection method, device, medium and product

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020114276A1 (en) * 2000-07-26 2002-08-22 Erol Basturk Method and apparatus for bond management according to hierarchy
CN1878130A (en) * 2005-06-08 2006-12-13 华为技术有限公司 Data forwarding method
CN101075970A (en) * 2007-07-19 2007-11-21 杭州华三通信技术有限公司 Method and apparatus for selecting router
CN101312433A (en) * 2007-05-24 2008-11-26 全球帕克特有限公司 Processing packets of a virtual interface associated with tunnels
US20100287274A1 (en) * 2009-05-08 2010-11-11 Canon Kabushiki Kaisha Efficient network utilization using multiple physical interfaces
US20140241345A1 (en) * 2013-02-28 2014-08-28 International Business Machines Corporation Source routing with fabric switches in an ethernet fabric network
CN106375231A (en) * 2015-07-22 2017-02-01 华为技术有限公司 Flow switching method, device and system
CN108809759A (en) * 2018-05-29 2018-11-13 新华三技术有限公司 Detect the method, apparatus and router of link state
CN109327383A (en) * 2017-07-31 2019-02-12 北京华为数字技术有限公司 A kind of fault handling method and equipment
CN112491713A (en) * 2019-09-11 2021-03-12 华为技术有限公司 Data transmission control method and device

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020114276A1 (en) * 2000-07-26 2002-08-22 Erol Basturk Method and apparatus for bond management according to hierarchy
CN1878130A (en) * 2005-06-08 2006-12-13 华为技术有限公司 Data forwarding method
CN101312433A (en) * 2007-05-24 2008-11-26 全球帕克特有限公司 Processing packets of a virtual interface associated with tunnels
CN101075970A (en) * 2007-07-19 2007-11-21 杭州华三通信技术有限公司 Method and apparatus for selecting router
US20100287274A1 (en) * 2009-05-08 2010-11-11 Canon Kabushiki Kaisha Efficient network utilization using multiple physical interfaces
US20140241345A1 (en) * 2013-02-28 2014-08-28 International Business Machines Corporation Source routing with fabric switches in an ethernet fabric network
CN106375231A (en) * 2015-07-22 2017-02-01 华为技术有限公司 Flow switching method, device and system
CN109327383A (en) * 2017-07-31 2019-02-12 北京华为数字技术有限公司 A kind of fault handling method and equipment
CN108809759A (en) * 2018-05-29 2018-11-13 新华三技术有限公司 Detect the method, apparatus and router of link state
CN112491713A (en) * 2019-09-11 2021-03-12 华为技术有限公司 Data transmission control method and device

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
郑宏;: "基于Packet Tracer仿真环境的帧中继实验研究", 辽宁师范大学学报(自然科学版), no. 02, 15 June 2013 (2013-06-15) *
钟秀芳;张沛;: "ByPass流量旁路技术组网实现探析", 中兴通讯技术, no. 06, 10 December 2012 (2012-12-10) *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114826987A (en) * 2022-04-01 2022-07-29 阿里云计算有限公司 Gateway forwarding anomaly detection method, device, medium and product

Also Published As

Publication number Publication date
CN113489613B (en) 2024-03-19

Similar Documents

Publication Publication Date Title
US10659345B2 (en) Service path protection method, controller, device and system
CN101132320B (en) Method for detecting interface trouble and network node equipment
US11184267B2 (en) Intelligent in-band telemetry auto-configuration for IP networks
CN104081731A (en) Network system and topology management method
CN104980372A (en) Relay System And Switching Device
EP3039830B1 (en) Network switching systems and methods
CN110557342B (en) Apparatus for analyzing and mitigating dropped packets
US10439882B2 (en) Virtualized networking application and infrastructure
CN105743687B (en) Method and device for judging node fault
JP2017121056A (en) Method, device, and system for implementing packet loss detection
CN104253711A (en) Management method for Openflow group tables in SDN (software defined network) and equipment
CN105471747A (en) Intelligent router routing method and apparatus thereof
CN105634952A (en) Fast notification method and apparatus for LSP message
CN108989204B (en) Link state determination method and device
CN113489613B (en) Message forwarding method and device
CN109104647B (en) Ethernet service interrupt processing method, system and networking system
CN106230717B (en) Route obtaining method and device in cluster system
CN111654437A (en) Message forwarding method and device based on data center
CN104506369A (en) Packet loss position detecting method and device
CN108235800A (en) A kind of network failure probing method and control centre's equipment
CN105338127A (en) Media access control MAC address table updating method, switch and system
CN112637053B (en) Method and device for determining backup forwarding path of route
CN104767720A (en) OpenFlow message tracking and filtering method in software defined network
CN108337181B (en) Method and device for managing congestion of switching network
CN112737957B (en) Flow table aging method and device

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