CN113489613B - Message forwarding method and device - Google Patents

Message forwarding method and device Download PDF

Info

Publication number
CN113489613B
CN113489613B CN202110805540.7A CN202110805540A CN113489613B CN 113489613 B CN113489613 B CN 113489613B CN 202110805540 A CN202110805540 A CN 202110805540A CN 113489613 B CN113489613 B CN 113489613B
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.)
Active
Application number
CN202110805540.7A
Other languages
Chinese (zh)
Other versions
CN113489613A (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

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

Landscapes

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

Abstract

The invention discloses a message forwarding method and a message forwarding device, wherein the method comprises the following steps: periodically detecting whether communication connection between the gateways of the at least two transmission networks is normal or not, if abnormal communication connection between the gateways of the first transmission network of the at least two transmission networks is detected, suspending using a first path corresponding to the 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 a 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 routing table, 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 the searched route is determined to be 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 message.
Background
The transmission network is a network used as a transmission channel, and is generally configured under service networks such as a switching network, a data network, a supporting network, and the like, to provide signal transmission and conversion, and belongs to the base networks of the three service networks. Because the access devices of the service network can be deployed at different places, the operation and maintenance are inconvenient, and the operation and maintenance centers (Operation and Maintenance Center, OMC) are required to perform unified management.
Network cutting is to operate the line and equipment in use, usually, the operation of the service is required to be uninterrupted for 24 hours, the network cutting directly affects the service carried on the transmission network, and the service is interrupted if careless.
The interface between the access equipment and the transmission network connection is called a backhaul port, the configuration of the backhaul port of the access equipment needs to be modified in the network cutting process, the configuration of the backhaul port is modified from the configuration of the transmission network 1 to the configuration of the transmission network 2, and the service interruption of the access equipment in the network cutting process can be caused due to the modification of the configuration of the backhaul port on the access equipment, so that the user experience is greatly reduced.
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, service interruption of access equipment is caused in the network cutting process, so that user experience is greatly reduced.
According to an embodiment of the present invention, there are at least two transmission networks between the access device and an operation maintenance center OMC, and a physical backhaul port of the access device sets a logical backhaul port of the number of the at least two transmission networks, where the method includes:
periodically detecting whether communication connection between the gateways of the at least two transmission networks is normal or not, if abnormal communication connection between the gateways of the first transmission network of the at least two transmission networks is detected, suspending using a first path corresponding to the 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 a next hop is an Internet Protocol (IP) address of the corresponding gateway; the method comprises the steps of,
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 forwarding the message to be forwarded based on a second route normally used in the selected equivalent route if the searched route is determined to be 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 normal use identifier carried by the first path is determined to be carried by the first path, replacing the normal use identifier carried by the first path with the pause use identifier.
Optionally, the method further comprises:
and if the communication connection with the first gateway is detected to be normal, the first path is normally used.
Specifically, the normal use of the first path specifically includes:
determining whether the first path carries a pause use identifier or a normal use identifier;
and if the fact that the first path carries the pause use identifier is determined, 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 to an access device, where 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 sets a logical backhaul port of a 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, 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 abnormal, suspending the use of a first path corresponding to the 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; the method comprises the steps of,
and the receiving and transmitting 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 the searched route is determined to be the selected equivalent route.
Specifically, the processing module is configured to suspend use of a first path corresponding to the first gateway in the selected equivalent route of the routing table, and specifically is 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 normal use identifier carried by the first path is determined to be carried by the first path, 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, specifically configured to:
determining whether the first path carries a pause use identifier or a normal use identifier;
and if the fact that the first path carries the pause use identifier is determined, 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 further provided an electronic device including a processor, a communication interface, a memory, and a communication bus, where the processor, the communication interface, and the memory complete communication with each other through the communication bus;
a memory for storing a computer program;
and the processor is used for realizing the steps of the method 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, implements 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, which are used for periodically detecting whether communication connection between gateways of at least two transmission networks is normal or not, if abnormal communication connection between the gateways of the at least two transmission networks is detected, 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 routing table, 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 the searched route is determined to be the selected equivalent route. In the scheme, the physical backhaul ports of the access device are provided with the logical backhaul ports of the number of at least two transmission networks, and the selected equivalent route is provided, the outbound port of each path included in the selected equivalent route is a logical backhaul port, the next hop is the corresponding IP address of the gateway, the access device periodically detects whether the communication connection between the gateway 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 a message to be forwarded is received, the message to be forwarded can be forwarded by using the path normally used in the selected equivalent route, further, the message to be forwarded can be ensured to be forwarded normally, and even in the process of cutting 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 flow chart of a message forwarding method in an embodiment of the present invention;
fig. 2 is a schematic structural diagram of a message forwarding device according to 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 in the prior art, service interruption of access equipment occurs in the network cutting process, so that 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, and the physical backhaul port of the access equipment is provided with the logical backhaul ports of the number of the at least two transmission networks, and the flow of the method is as shown in figure 1, and the execution steps are as follows:
s11: and periodically detecting whether the communication connection between the gateways of at least two transmission networks is normal, and if the communication connection between the gateways of the first transmission network of the at least two transmission networks is abnormal, suspending the use of a 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, the period of detection can be set according to actual needs, if the abnormal communication connection 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, the network cut-over is possible, and at the moment, a path (which can be defined as a first path) corresponding to the first gateway in the selected equivalent route of the routing table is needed to be suspended, so that the message loss caused by using the first path to forward the message is avoided, and the service interruption is caused.
Wherein the outgoing interface of each path included in the selected equivalent route is a logical backhaul, and the next hop is the internet protocol (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 forwarding the message to be forwarded based on a second path normally used in the selected equivalent route if the searched route is determined to be the selected equivalent route.
After receiving the message, the access device can define the message as a message to be forwarded, firstly, a route corresponding to the message to be forwarded is searched in a route table, specifically, a destination IP address of the message to be forwarded is searched in a route prefix of the route table, after the route is searched, whether the searched route is the selected equivalent route is further determined, if the searched route is the selected equivalent route, the access device pauses to use a route corresponding to a gateway with abnormal communication connection in at least two transmission networks during periodical detection, so that the message to be forwarded can be forwarded based on a route (which can be defined as a second route) normally used in the selected equivalent route; 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 strictly sequential, and at different moments, S11 may be executed first, S12 may be executed first, S11 may be executed second, and S11 and S12 may be executed simultaneously.
In the scheme, the physical backhaul ports of the access device are provided with the logical backhaul ports of the number of at least two transmission networks, and the selected equivalent route is provided, the outbound port of each path included in the selected equivalent route is a logical backhaul port, the next hop is the corresponding IP address of the gateway, the access device periodically detects whether the communication connection between the gateway 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 a message to be forwarded is received, the message to be forwarded can be forwarded by using the path normally used in the selected equivalent route, further, the message to be forwarded can be ensured to be forwarded normally, and even in the process of cutting 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 suspending the use of the first path corresponding to the first gateway in the selected equivalent route of the routing table in S11 specifically includes:
determining whether a first path corresponding to a first gateway in the selected equivalent route of the routing table carries a pause use identifier or a normal use identifier;
if the first path carries the normal use identifier, the normal use identifier carried by the first path is replaced by the pause use identifier.
The normal use identifier and the pause use identifier can be predefined according to the need, when a first path corresponding to a first gateway in the selected equivalent route of the pause use routing table is used, the first path corresponding to the first gateway in the selected equivalent route of the routing table can be determined to carry the pause use identifier or the normal use identifier, and if the first path is determined to carry the normal use identifier, the normal use identifier carried by the first path is required to be replaced by the pause use identifier because the first path is required to be paused; if the first path is determined to carry the pause use identifier, no change is needed.
Optionally, the method further comprises:
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 status of each path in the selected equivalent route is updated in real time, if a normal communication connection with the first gateway is detected, the first path is normally used.
Specifically, the implementation process of the normal use first path specifically includes:
determining whether the first path carries a pause use identifier or a normal use identifier;
if the first path carries the pause use identifier, the pause use identifier carried by the first path is replaced by the normal use identifier.
The normal use identifier and the pause use identifier can be predefined according to the need, when a first path corresponding to a first gateway in the selected equivalent route of the normal use routing table is used, the first path carrying the pause use identifier or the normal use identifier corresponding to the first gateway in the selected equivalent route of the routing table can be determined, and if the first path carrying the pause use identifier is determined, the pause use identifier carried by the first path needs to be replaced by the normal use identifier because the first path needs to be used normally; if the first path is determined to carry the normal use identifier, no change is needed.
Based on the same inventive concept, an embodiment of the present invention provides a message 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 a number of the at least two transmission networks, where the structure of the apparatus is shown in fig. 2, and includes:
the processing module 21 is configured to periodically detect whether a communication connection with a gateway of at least two transmission networks is normal, and if it is detected that the communication connection with a first gateway of a first transmission network of the at least two transmission networks is abnormal, suspend using a first path corresponding to the first gateway in a selected equivalent route of the routing table, 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; the method comprises the steps of,
the transceiver module 22 is configured to, after receiving the message to be forwarded, search a route corresponding to the message to be forwarded in the routing table, determine whether the found route is a selected equivalent route, and if it is determined that the found route is the selected equivalent route, forward the message to be forwarded based on a second path normally used in the selected equivalent route.
In the scheme, the physical backhaul ports of the access device are provided with the logical backhaul ports of the number of at least two transmission networks, and the selected equivalent route is provided, the outbound port of each path included in the selected equivalent route is a logical backhaul port, the next hop is the corresponding IP address of the gateway, the access device periodically detects whether the communication connection between the gateway 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 a message to be forwarded is received, the message to be forwarded can be forwarded by using the path normally used in the selected equivalent route, further, the message to be forwarded can be ensured to be forwarded normally, and even in the process of cutting 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 use of a first path corresponding to a first gateway in the selected equivalent route of the routing table, and specifically is configured to:
determining whether a first path corresponding to a first gateway in the selected equivalent route of the routing table carries a pause use identifier or a normal use identifier;
if the first path carries the normal use identifier, the normal use identifier carried by the first path is replaced by the pause use identifier.
Optionally, the processing module 21 is further configured to:
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, specifically configured to:
determining whether the first path carries a pause use identifier or a normal use identifier;
if the first path carries the pause use identifier, the pause use identifier carried by the first path is replaced by the normal use identifier.
The embodiment of the application further provides an electronic device, 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 foregoing embodiments when executing the program stored in the memory 330.
The communication interface 320 is used for communication between the electronic device and other devices.
The Memory may include random access Memory (Random Access Memory, RAM) or may include 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 aforementioned processor.
The processor may be a general-purpose processor, including a central processing unit (Central Processing Unit, CPU), a network processor (Network Processor, NP), etc.; but also digital signal processors (Digital Signal Processing, DSP), application specific integrated circuits (Application Specific Integrated Circuit, ASIC), field programmable gate arrays (Field-Programmable Gate Array, FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components.
In the scheme, the physical backhaul ports of the access device are provided with the logical backhaul ports of the number of at least two transmission networks, and the selected equivalent route is provided, the outbound port of each path included in the selected equivalent route is a logical backhaul port, the next hop is the corresponding IP address of the gateway, the access device periodically detects whether the communication connection between the gateway 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 a message to be forwarded is received, the message to be forwarded can be forwarded by using the path normally used in the selected equivalent route, further, the message to be forwarded can be ensured to be forwarded normally, and even in the process of cutting 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, when the computer readable storage medium runs on a computer, to cause the computer to perform the method for forwarding a message according to any one of the foregoing embodiments.
In the scheme, the physical backhaul ports of the access device are provided with the logical backhaul ports of the number of at least two transmission networks, and the selected equivalent route is provided, the outbound port of each path included in the selected equivalent route is a logical backhaul port, the next hop is the corresponding IP address of the gateway, the access device periodically detects whether the communication connection between the gateway 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 a message to be forwarded is received, the message to be forwarded can be forwarded by using the path normally used in the selected equivalent route, further, the message to be forwarded can be ensured to be forwarded normally, and even in the process of cutting 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 flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations 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 to 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 and the equivalents thereof, the present invention is also intended to include such modifications and variations.

Claims (10)

1. The 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, each of the at least two transmission networks is provided with a gateway, 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 is characterized in that the method comprises the following steps:
periodically detecting whether communication connection between the gateways of the at least two transmission networks is normal or not, if abnormal communication connection between the gateways of the first transmission network of the at least two transmission networks is detected, suspending using a first path corresponding to the 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 a next hop is an Internet Protocol (IP) address of the corresponding gateway; the method comprises the steps of,
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 forwarding the message to be forwarded based on a second route normally used in the selected equivalent route if the searched route is determined to be the selected equivalent route.
2. The method of claim 1, wherein suspending the 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 normal use identifier carried by the first path is determined to be carried by the first path, 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. A method according to claim 3, wherein the normal use of the first path comprises: determining whether the first path carries a pause use identifier or a normal use identifier; and if the fact that the first path carries the pause use identifier is determined, replacing the pause use identifier carried by the first path with the normal use identifier.
5. The utility model provides a message forwarding device, is applied to access equipment, there are two at least transmission networks between access equipment and the operation maintenance center OMC, each transmission network in two at least transmission networks sets up the gateway, the physical back pass mouth of access equipment sets up the logical back pass mouth of the quantity of two at least transmission networks, its characterized in that, the device 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, 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 abnormal, suspending the use of a first path corresponding to the 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; the method comprises the steps of,
and the receiving and transmitting 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 the searched route is determined to be the selected equivalent route.
6. The apparatus of claim 5, wherein the processing module is configured to suspend a first path corresponding to the first gateway in a selected equivalent route using a routing table, 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 normal use identifier carried by the first path is determined to be carried by the first path, 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 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, in particular:
determining whether the first path carries a pause use identifier or a normal use identifier; and if the fact that the first path carries the pause use identifier is determined, 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 in communication 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 the computer-readable storage medium has stored therein a computer program which, when executed by a processor, implements the method steps of any of claims 1-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 CN113489613A (en) 2021-10-08
CN113489613B true 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)

Families Citing this family (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 (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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
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

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7388831B2 (en) * 2000-07-26 2008-06-17 Pluris, Inc. Method and apparatus for bond management according to hierarchy
US8396960B2 (en) * 2009-05-08 2013-03-12 Canon Kabushiki Kaisha Efficient network utilization using multiple physical interfaces
US9270618B2 (en) * 2013-02-28 2016-02-23 International Business Machines Corporation Source routing with fabric switches in an ethernet fabric network

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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
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
ByPass流量旁路技术组网实现探析;钟秀芳;张沛;;中兴通讯技术;20121210(第06期);全文 *
基于Packet Tracer仿真环境的帧中继实验研究;郑宏;;辽宁师范大学学报(自然科学版);20130615(第02期);全文 *

Also Published As

Publication number Publication date
CN113489613A (en) 2021-10-08

Similar Documents

Publication Publication Date Title
CN101132320B (en) Method for detecting interface trouble and network node equipment
CN105723657B (en) Switch, controller, system and link quality detection method
CN103516612B (en) Distribution router generates method and the distribution router of route table items
US10771363B2 (en) Devices for analyzing and mitigating dropped packets
CN105594176B (en) Pass through the method and system of network interface transfers packet
CN101472315A (en) Handover method and apparatus in a wireless telecommunications network
CN103560962A (en) Method for automatically updating host routing table entries of Ethernet switch and switch
CN113489613B (en) Message forwarding method and device
CN104253711A (en) Management method for Openflow group tables in SDN (software defined network) and equipment
CN102281165A (en) Fault detection method based on QoS, system and apparatus thereof
CN104580013A (en) Network communication method and system capable of realizing fast access point selection
CN103188120B (en) The method for detecting packet loss of a kind of multicast service and device
WO2016062067A1 (en) User message forwarding control method and processing node
CN103188171A (en) Message scheduling method and equipment
EP2874349B1 (en) Communication path processing method and apparatus
WO2016101600A1 (en) Line card determination, determination processing method and device, and line card determination system
CN111654437A (en) Message forwarding method and device based on data center
CN104767720A (en) OpenFlow message tracking and filtering method in software defined network
CN108599984B (en) Method for sharing port state, access equipment and system for supporting dual-homing protection
CN108259352B (en) SDN and non-SDN interworking method and device
CN101102231B (en) An automatic discovery method and device of PPP link routing device
CN112637053B (en) Method and device for determining backup forwarding path of route
CN105591932A (en) Method and device for identifying neighbor
CN112737957B (en) Flow table aging method and device
CN105812167A (en) Automatic configuration method and device for mode of VDSL port

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