Message routing method and device

A routing and message technology, applied in the field of communication, can solve problems such as generating a large number of signaling storms

Active Publication Date: 2015-01-21
HUAWEI TECH CO LTD
View PDF6 Cites 6 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, the current route reselection technology makes many routing devices repeatedly perform route reselecti

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Message routing method and device
  • Message routing method and device
  • Message routing method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0070] see Figure 1-2 , the embodiment of the present invention provides a method for routing messages, including:

[0071] Step 101: Receive a first error response sent by a downstream device, where the first error response at least carries an identifier of the routing device through which the first error response passes.

[0072] Step 102: According to the identification of the routing device through which the first error response has passed and the identification of the routing device through which the first request message corresponding to the first error response has been stored locally, select the next node for the first request message that has not passed through the first request message. jump device.

[0073] Step 103: Send the first request message to the selected next-hop device.

[0074] In the embodiment of the present invention, since the first error response carries the identification of the routing device it passes through, the routing device can use the ide...

Embodiment 2

[0076] see figure 2 , the embodiment of the present invention provides a method for routing messages, including:

[0077] Step 201: the first routing device receives a request message sent by the client, the first routing device is a routing device directly connected to the client, and the request message includes routing information of the destination device.

[0078] When the client needs to send a request message to the destination device, the client selects a routing device from the routing devices directly connected to it. Preferably, the routing device with the shortest path to the destination device is selected, and the selected routing device is referred to as the first routing device for ease of description. Then the client sends the request message to the first routing device.

[0079] For example, see Picture 1-1 , when the client needs to send a request message to the server, the client selects routing device 1 from the routing devices 1 and 2 directly connecte...

Embodiment 3

[0154] The embodiment of the present invention provides a method for routing messages. The embodiment of the present invention is applied to a network architecture with a dual-plane structure as shown in 1-1. In this network architecture, each routing device has only two next routing devices. see image 3 , the method includes:

[0155] Step 301: Receive a first request message sent by an upstream device, where the first request message includes routing information of the destination device.

[0156] Step 302: Determine whether the first request message can be delivered to the destination device corresponding to the routing information.

[0157] Step 303: If the destination device corresponding to the routing information cannot be delivered, generate a first error response including a first error code, and the first error code is used to indicate that the first request message cannot be delivered to the destination device.

[0158] Step 304: Send a first error response to t...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention discloses a message routing method and device, and belongs to the field of communications. The method comprises the steps that a first wrong response sent by downstream equipment is received, wherein the first wrong response at least carries an identifier of routing equipment through which the first wrong response passes; according to the identifier of the routing equipment through which the first wrong response passes and a locally-stored identifier of routing equipment through which a first request message corresponding to the first wrong response passes, next-hop equipment through which the first request message does not pass is selected for the first request message; the first request message is sent to the next-hop equipment. The message routing device comprises a receiving module, a selecting module and a sending module. According to the message routing method and device, the phenomenon that a large number of signals and a signal storm are generated in a network can be avoided.

Description

technical field [0001] The invention relates to the communication field, in particular to a method and device for routing messages. Background technique [0002] In a Diameter (diameter) network, when a client needs to send a request message to a network element in the network, the client first sends the request message to a routing node on the path between the client and the network element, The routing node finds out the next hop and routes the request message to the next hop. If the next hop is also a routing node, the routing node routes the request message to the next hop according to the above method until the request message is routed to the network element. [0003] Wherein, during the process of sending the request message from the client to the network element, if a routing node on the path finds that the request message cannot be delivered to the network element, the routing node returns an error response along the path , the routing node on the path may reselec...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
IPC IPC(8): H04L12/721
Inventor 颜石专
Owner HUAWEI TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products