CN105991429B - A kind of route reselection determination method and device - Google Patents

A kind of route reselection determination method and device Download PDF

Info

Publication number
CN105991429B
CN105991429B CN201510070630.0A CN201510070630A CN105991429B CN 105991429 B CN105991429 B CN 105991429B CN 201510070630 A CN201510070630 A CN 201510070630A CN 105991429 B CN105991429 B CN 105991429B
Authority
CN
China
Prior art keywords
node
routing
response message
dra
error response
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
CN201510070630.0A
Other languages
Chinese (zh)
Other versions
CN105991429A (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.)
China Mobile Communications Group Co Ltd
Original Assignee
China Mobile Communications Group 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 China Mobile Communications Group Co Ltd filed Critical China Mobile Communications Group Co Ltd
Priority to CN201510070630.0A priority Critical patent/CN105991429B/en
Publication of CN105991429A publication Critical patent/CN105991429A/en
Application granted granted Critical
Publication of CN105991429B publication Critical patent/CN105991429B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Mobile Radio Communication Systems (AREA)

Abstract

The present invention relates to field of communication technology more particularly to a kind of route reselection determination methods and device based on diameter Diameter, this method comprises: the request message that second node is sent is transmitted to third node by the first DRA node;After receiving routing error response message, based on the source host mark wherein carried, the source host type for sending the routing error response message is determined;Based on source host type, judge whether to need to initiate route reselection;After determination does not need to initiate route reselection, permanent error response message is returned to second node;After determination needs to initiate route reselection, judge whether there is the other routings that can be used in transmitting the request message, if it does not exist, if then source host type is the DRA node matched with the first DRA node, permanent error response message is returned to second node, if source host type is the DRA node not matched with the first DRA, routing error response message is returned to second node.

Description

Method and device for judging routing reselection
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a method and an apparatus for determining a route reselection.
Background
The Diameter (Diameter) Protocol is a typical communication Protocol between core network elements in the Internet Protocol (IP) era, and the core network elements communicate with each other through a Diameter signaling interface. For maintenance and management convenience, a Routing Agent (DRA) node is used to forward Diameter signaling messages between core network elements (i.e., Diameter signaling nodes). In order to ensure safety and reliability, the DRA nodes are generally deployed in pairs, and a pair of DRA nodes are connected through a C link and backup each other to share load together. When the Diameter signaling network adopts a multi-level structure, multiple DRA nodes may be used for switching between Diameter signaling nodes.
The Diameter protocol defines a route reselection mechanism: when receiving a routing error response message (Diameter _ UNABLE _ TO _ delay) for a Diameter request message, support for reselecting other DRA nodes TO send the Diameter request message, so that the message delivery success rate can be improved in the case of link failure. As shown in figure 1, DRA1 has two routes to a target Diameter signaling node, DRA2 and DRA3, respectively; when the DRA2 cannot forward the Diameter request message sent by DRA1, a routing error response message is returned to DRA1, and because DRA1 is configured with other optional next-hop routing nodes DRA3, the Diameter request message can be sent to DRA 3.
Although the routing reselection function improves the success rate of message delivery to a certain extent, the number of times of signaling forwarding is greatly increased, because the international specification does not describe in detail the transmission scenario of the routing reselection error response, for example, some Diameter signaling nodes may transmit the routing reselection error response message due to the fact that Attribute Value Pair (AVP) is not identified or other abnormal scenarios. In this case, even if the DRA node performs route reselection, the problem of error reporting of the destination signaling node cannot be solved, and the network load is increased. As shown in fig. 2, LDRA2-a, HDRA2-a, HDRA1-a, and LDRA1-a are DRA nodes, and the source signaling node sends a request message from LDRA2-a, via HDRA2-a, HDRA1-a, to LDRA 1-a; LDRA1-a finds that the destination signaling node direct route is unavailable, and forwards the request message to LDRA1-b through C link route (the request message is received at the 1 st time); the LDRA1-b finds that a destination signaling node direct route is unavailable, and returns a route error response message to the LDRA 1-a; the LDRA1-a finds that no available route exists, and returns a route error response message to the HDRA 1-a; the HDRA1-a initiates a route reselection and forwards the request message to the LDRA1-b (2 nd receipt of the request message); LDRA1-b finds that the destination signaling node direct route is unavailable, and forwards the request message to LDRA1-a (2 nd time of receiving the request message); the LDRA1-a finds that a destination signaling node direct route is unavailable, and returns a route error response message to the LDRA 1-b; the LDRA1-b finds that no available route exists, and returns a route error response message to the HDRA 1-a; HDRA1-a initiates the route reselection and forwards the request message to HDRA 1-b; HDRA1-b sends the request message to LDRA1-a (receipt of this request message 3 rd time) … …
Therefore, one Diameter request message may be forwarded by the same DRA node multiple times in the network, and when the destination signaling node is a database or a large-capacity node, a large number of Diameter request messages are forwarded multiple times, which may cause message proliferation, thereby greatly increasing network load.
Disclosure of Invention
The embodiment of the invention provides a method and a device for judging routing reselection, which are used for solving the problems that a large number of Diameter request messages are forwarded for multiple times to cause message surge and the network load is greatly increased.
The embodiment of the invention provides a Diameter protocol-based routing reselection determination method, which comprises the following steps:
a first routing agent DRA node in a first operator network forwards a request message sent by a second node to a third node;
after the first DRA node receives a routing error response message sent by a third node, determining the type of a source host sending the routing error response message based on a source host identifier carried in the routing error response message; the source host type is a node in other operator networks, a non-DRA node in a first operator network, and a DRA node in the first operator network, and the DRA node in the first operator network is a DRA node paired with the first DRA node or a DRA node not paired with the first DRA node;
judging whether routing reselection needs to be initiated or not based on the determined source host type;
after determining that the routing reselection does not need to be initiated, returning a configured permanent error response message to the second node, wherein the permanent error response message is used for indicating that the routing reselection does not need to be performed;
after determining that the routing reselection needs to be initiated, judging whether other routes capable of being used for transmitting the request message exist, if not, judging that other routes capable of being used for transmitting the request message exist
If the source host type is a DRA node paired with the first DRA node, returning a permanent error response message to the second node; and if the source host type is a DRA node which is not paired with the first DRA, returning a routing error response message to the second node.
Optionally, after determining whether there is another route that can be used for transmitting the request message, the method further includes:
and after determining that other routes capable of being used for transmitting the request message exist, sending the request message to a next hop node of the first DRA node in the other routes.
Optionally, determining whether to initiate a route reselection based on the determined source host type includes:
determining that a route reselection does not need to be initiated when the source host type is determined to be a node in another operator network.
Optionally, determining whether to initiate a route reselection based on the determined source host type includes:
determining that no routing reselection needs to be initiated when the source host type is determined to be a non-DRA node in a first operator network.
Optionally, determining whether to initiate a route reselection based on the determined source host type includes:
and when the source host type is determined to be a DRA node in the first operator network, determining that the routing reselection needs to be initiated.
Optionally, the persistent error response message is configured according to the following steps:
modifying the cause value in the received routing error response message from the routing reselection error cause value into a permanent error cause value indicating that routing reselection is not needed, and taking the routing error response message after the cause value is modified as the permanent error response message; or,
and generating a permanent error response message carrying the permanent error cause value.
The embodiment of the invention provides a Diameter protocol-based routing reselection determination device, which comprises:
a sending module, configured to forward a request message sent by a second node to a first routing agent DRA node in a first operator network to a third node;
a determining module, configured to determine, after receiving a routing error response message sent by a third node, a source host type for sending the routing error response message based on a source host identifier carried in the routing error response message; the source host type is a node in other operator networks, a non-DRA node in a first operator network, and a DRA node in the first operator network, and the DRA node in the first operator network is a DRA node paired with the first DRA node or a DRA node not paired with the first DRA node;
a determining module, configured to determine whether to initiate a route reselection based on the determined source host type, and instruct the sending module to return a configured permanent error response message to the second node after determining that the route reselection is not required to be initiated, where the permanent error response message is used to instruct that the route reselection is not required; after determining that routing reselection needs to be initiated, determining whether other routes capable of being used for transmitting the request message exist, if not, instructing the sending module to return a permanent error response message to the second node if the source host type is a DRA node paired with the first DRA node; and if the source host type is a DRA node which is not paired with the first DRA, indicating the sending module to return a routing error response message to the second node.
In the embodiment of the invention, a first DRA node in a first operator network forwards a request message sent by a second node to a third node, and after receiving a routing error response message sent by the third node, determines the type of an origin host sending the routing error response message based on an origin host identifier carried in the routing error response message; judging whether routing reselection needs to be initiated or not based on the determined source host type; after determining that the routing reselection does not need to be initiated, returning a configured permanent error response message to the second node, wherein the permanent error response message is used for indicating that the routing reselection does not need to be performed; after determining that routing reselection needs to be initiated, judging whether other routes capable of being used for transmitting the request message exist, if not, returning a permanent error response message to the second node if the source host type is a DRA node paired with the first DRA node; and if the source host type is a DRA node which is not paired with the first DRA, returning a routing error response message to the second node. Therefore, the embodiment of the invention can reduce the invalid reselection times of the route, thereby reducing the invalid forwarding of the signaling message and greatly lightening the network load.
Drawings
FIG. 1 is a schematic diagram of a route reselection;
FIG. 2 is a second schematic diagram of route reselection;
fig. 3 is a flowchart of a method for determining a route reselection according to an embodiment of the present invention;
fig. 4(a) is a flowchart of a method for determining a route reselection according to a second embodiment of the present invention;
FIG. 4(b) is a schematic routing diagram corresponding to FIG. 4 (a);
fig. 5(a) is a flowchart of a method for determining a route reselection according to a third embodiment of the present invention;
FIG. 5(b) is a schematic routing diagram corresponding to FIG. 5 (a);
fig. 6(a) is a flowchart of a method for determining a route reselection according to a fourth embodiment of the present invention;
FIG. 6(b) is a schematic routing diagram corresponding to FIG. 6 (a);
fig. 7 is a schematic structural diagram of a device for determining a route reselection according to an embodiment of the present invention.
Detailed Description
The basic idea of the embodiment of the invention is as follows: a first DRA node in a first operator network forwards a request message sent by a second node to a third node, and after receiving a routing error response message sent by the third node, determines the type of an origin host sending the routing error response message based on an origin host identifier carried in the routing error response message; judging whether routing reselection needs to be initiated or not based on the determined source host type; after determining that the routing reselection does not need to be initiated, returning a configured permanent error response message to the second node, wherein the permanent error response message is used for indicating that the routing reselection does not need to be performed; after determining that routing reselection needs to be initiated, judging whether other routes capable of being used for transmitting the request message exist, if not, returning a permanent error response message to the second node if the source host type is a DRA node paired with the first DRA node; and if the source host type is a DRA node which is not paired with the first DRA, returning a routing error response message to the second node. Therefore, the embodiment of the invention can reduce the invalid reselection times of the route, thereby reducing the invalid forwarding of the signaling message and greatly lightening the network load.
The embodiments of the present invention will be described in further detail with reference to the drawings attached hereto.
Example one
As shown in fig. 3, a flowchart of a method for determining a route reselection according to a first embodiment of the present invention includes the following steps:
s301: and the first DRA node in the first operator network forwards the request message sent by the second node to the third node.
The request message is a Diameter signaling request message.
S302: after receiving a routing error response message sent by a third node, a first DRA node determines the type of a source host sending the routing error response message based on a source host identifier carried in the routing error response message; the source host type is a node in other operator networks, a non-DRA node in a first operator network, and a DRA node in the first operator network, and the DRA node in the first operator network is a DRA node paired with the first DRA node or a DRA node not paired with the first DRA node.
S303: and the first DRA node judges whether routing reselection needs to be initiated or not based on the determined source host type, if not, the step goes to S304, and if so, the step goes to S305.
S304: and the first DRA returns a configured permanent error response message to the second node, wherein the permanent error response message is used for indicating that the routing reselection is not needed.
Here, the permanent error response message for indicating that no route reselection is required may be obtained by modifying a cause value in the route error response message, or may be a newly configured message. Specifically, a cause value in the received routing error response message is modified from a routing reselection error cause value to a permanent error cause value indicating that no routing reselection is needed, and the routing error response message after the cause value is modified is used as the permanent error response message; alternatively, a permanent error response message carrying a permanent error cause value is generated.
S305: and judging whether other routes capable of being used for transmitting the request message exist or not, if so, entering S306, and if not, entering S307.
S306: and sending the request message to a next hop node of the first DRA node in the other routes.
S307: if the source host type is a DRA node paired with the first DRA node, returning a permanent error response message to the second node; and if the source host type is a DRA node which is not paired with the first DRA, returning a routing error response message to the second node.
Considering the safety backup factor, the DRA nodes are arranged in pairs, and signaling links are arranged between the signaling nodes and the pair of DRA nodes. Here, the DRA node paired with the first DRA node refers to another DRA node that is deployed in pair with the first DRA node in a signaling link deployment.
In a specific implementation, the routing error response message may be generated by a DRA node of the first operator network or another operator network, or may be generated by a Diameter signaling node (destination node) of the first operator network or another operator network. The DRA node generates a routing error response message related to a routing state, a congestion state and the like, and the Diameter signaling node generates a routing error response message related to an application layer processing result, a congestion state and the like.
The DRA node or the Diameter signaling node that generates the routing error response message will fill its own host identity, such as the source host name, in the source host name field of the routing error response message. In the transmission process of the routing error response message, the source host name cannot be modified by the DRA node, so that the type of the node with the error can be judged by analyzing the source host name, and whether routing reselection needs to be initiated or not is further determined. For example, if the source host type is a node in another operator network or a non-DRA node (i.e., a Diameter signaling node) in the operator network, it is determined that the routing reselection does not need to be initiated, and a configured permanent error response message is returned to the second node, where the configured permanent error response message is used to indicate that the second node does not need to perform routing reselection. For another example, if the source host type is a DRA node in the operator network, initiating a route reselection, that is, determining whether there is another route that can be used for transmitting the request message, and if not, returning a permanent error response message to the second node if the source host type is a DRA node paired with the first DRA node; and if the source host type is a DRA node which is not paired with the first DRA, returning a routing error response message to the second node.
After the first DRA node returns the permanent error response message to the second node, the second node does not initiate routing reselection, and directly returns the permanent error response message to the previous hop node or performs error processing. After the first DRA node returns a routing error response message to the second node, the second node initiates routing reselection and judges whether other available routes exist.
The inventive idea is further illustrated below by means of several specific examples.
Example two
Fig. 4(a) is a flowchart of a method for determining a route reselection according to a second embodiment of the present invention, and fig. 4(b) is a corresponding schematic route diagram; under the condition that the path is normal, an origin signaling node of the first operator network sends a Diameter request message from DRA1a, and the Diameter request message is forwarded by nodes such as DRA2a, DRA3a and DRA4a … … in sequence and then reaches a destination signaling node of the second operator network, that is, the routing path is the origin signaling node- > DRA1a- > DRA2a- > DRA3a- > DRA4a- > … … (a node in the second operator network) - > the destination signaling node.
The method specifically comprises the following steps:
s401: an origin signaling node of the first operator network sends a Diameter request message from DRA1a, passes through DRA2a and DRA3a, and reaches DRA4 a.
S402: after DRA4a forwards the Diameter request message, a routing error response message is received.
S403: and the DRA4a determines that the type of the source host sending the routing error response message is a node in the second operator network based on the source host identifier carried in the routing error response message.
S404: DRA4a does not initiate a route reselection and returns a permanent error response message to DRA3 a.
S405: after receiving the permanent error response message, DRA3a does not initiate routing reselection and directly forwards the message to DRA2 a.
S406: after receiving the permanent error response message, DRA2a does not initiate routing reselection and directly forwards the message to DRA1 a.
S407: after receiving the permanent error response message, DRA1a does not initiate the route reselection and directly forwards the message to the source signaling node.
S408: after the source signaling node receives the permanent error response message, the source signaling node does not initiate routing reselection and executes corresponding error processing.
EXAMPLE III
Fig. 5(a) is a flowchart of a method for determining a route reselection according to a third embodiment of the present invention, and fig. 5(b) is a corresponding schematic route diagram; under the condition that the path is normal, an original signaling node in the first operator network sends a Diameter request message from DRA1a, and the Diameter request message is forwarded by nodes such as DRA2a, DRA3a and DRA4a in sequence and then reaches a destination signaling node of the first operator network, that is, the routing path is the original signaling node- > DRA1a- > DRA2a- > DRA3a- > DRA4a- > destination signaling node.
The method specifically comprises the following steps:
s501: an origin signaling node of the first operator network sends a Diameter request message from DRA1a, passes through DRA2a and DRA3a, and reaches DRA4 a.
S502: after DRA4a forwards the Diameter request message, a routing error response message is received.
S503: DRA4a determines that the type of the source host sending the routing error response message is a Diameter signaling node (i.e., a destination signaling node) based on the source host identity carried in the routing error response message.
S504: DRA4a does not initiate a route reselection and returns a permanent error response message to DRA3 a.
S505: after receiving the permanent error response message, DRA3a does not initiate routing reselection and directly forwards the message to DRA2 a.
S506: after receiving the response message of returning permanent error, DRA2a does not initiate the route reselection, and directly forwards the message to DRA1 a.
S507: after receiving the response message of returning permanent error, DRA1a does not initiate the route reselection, and directly forwards the message to the source signaling node.
S508: after the source signaling node receives the returned permanent error response message, the source signaling node does not initiate routing reselection and executes corresponding error processing.
Example four
Fig. 6(a) is a flowchart of a method for determining a route reselection according to a fourth embodiment of the present invention, and fig. 6(b) is a schematic diagram of a corresponding route; under the condition that the path is normal, an origin signaling node of the first operator network sends a Diameter request message from DRA1a, and the Diameter request message is forwarded by nodes such as DRA2a, DRA3a and DRA4a in sequence and then reaches a destination signaling node of the first operator network, that is, the routing path is the origin signaling node- > DRA1a- > DRA2a- > DRA3a- > DRA4a- > destination signaling node.
The method specifically comprises the following steps:
s601: an origin signaling node of the first operator network sends a Diameter request message from DRA1a, passes through DRA2a and DRA3a, and reaches DRA4 a.
S602: DRA4a fails to forward the Diameter request message (direct routing of DRA4a to the destination signaling node is unavailable) and forwards the Diameter request message to DRA4b via a C-link.
S603: DRA4b fails to forward the Diameter request message (direct routing from DRA4b to the destination signaling node is unavailable), and returns a routing error response message to DRA4 a.
S604: based on the source host identifier carried in the routing error response message, DRA4a determines that the type of the source host sending the routing error response message is a DRA node (DRA4b) paired with DRA4 a.
S605: DRA4a initiates a route reselection but finds that there is no other route (route reselection identity) that can be used to transmit the request message, and returns a permanent error response message to DRA3 a.
S606: after receiving the permanent error response message, DRA3a does not initiate routing reselection and directly forwards the message to DRA2 a.
S607: after receiving the permanent error response message, DRA2a does not initiate routing reselection and directly forwards the message to DRA1 a.
S608: after receiving the permanent error response message, DRA1a does not initiate the route reselection and directly forwards the message to the source signaling node.
S609: after the source signaling node receives the permanent error response message, the source signaling node does not initiate routing reselection and executes corresponding error processing.
By adopting the embodiment, when the source host initiating the routing error response message is a node which is not in the operator network or a non-DRA node in the operator network, the routing reselection is not initiated any more, and the permanent error response message is directly returned; when a source host initiating the routing error response message is a paired DRA node of the operator network, initiating routing reselection, and returning a permanent error response message after the routing reselection fails; and when the source host initiating the routing error response message is a non-paired DRA node of the operator network, initiating routing reselection, and returning the routing error response message after the routing reselection fails. In this way, after receiving the permanent error response message, the subsequent node does not need to initiate invalid route reselection any more, thereby reducing the invalid route reselection times.
Based on the same inventive concept, the embodiment of the present invention further provides a device for determining a route reselection corresponding to the method for determining a route reselection, and because the principle of the device for solving the problem is similar to that of the method for determining a route reselection according to the embodiment of the present invention, the implementation of the device may refer to the implementation of the method, and repeated details are not repeated.
As shown in fig. 7, a schematic structural diagram of a device for determining a route reselection according to an embodiment of the present invention includes:
a sending module 71, configured to forward a request message sent by a second node to a first routing agent DRA node in a first operator network to a third node;
a determining module 72, configured to determine, after receiving the routing error response message sent by the third node, a source host type for sending the routing error response message based on a source host identifier carried in the routing error response message; the source host type is a node in other operator networks, a non-DRA node in a first operator network, and a DRA node in the first operator network, and the DRA node in the first operator network is a DRA node paired with the first DRA node or a DRA node not paired with the first DRA node;
a determining module 73, configured to determine whether to initiate a route reselection based on the source host type determined by the determining module 72, and instruct the sending module to return a configured permanent error response message to the second node after determining that the route reselection is not required to be initiated, where the permanent error response message is used to instruct that the route reselection is not required to be performed; after determining that routing reselection needs to be initiated, determining whether other routes capable of being used for transmitting the request message exist, if not, instructing the sending module to return a permanent error response message to the second node if the source host type is a DRA node paired with the first DRA node; and if the source host type is a DRA node which is not paired with the first DRA, indicating the sending module to return a routing error response message to the second node.
Optionally, the determining module 73 is further configured to, after determining whether there is another route that can be used for transmitting the request message, instruct the sending module to send the request message to a next hop node of the first DRA node in the other route if it is determined that there is another route that can be used for transmitting the request message.
Optionally, the determining module 73 is specifically configured to:
determining that a route reselection does not need to be initiated when the source host type is determined to be a node in another operator network.
Optionally, the determining module 73 is specifically configured to:
determining that no routing reselection needs to be initiated when the source host type is determined to be a non-DRA node in a first operator network.
Optionally, the determining module 73 is specifically configured to:
and when the source host type is determined to be a DRA node in the first operator network, determining that the routing reselection needs to be initiated.
Optionally, the determining module 73 is specifically configured to configure the permanent error response message according to the following steps:
modifying the cause value in the received routing error response message from the routing reselection error cause value into a permanent error cause value indicating that routing reselection is not needed, and taking the routing error response message after the cause value is modified as the permanent error response message; or,
and generating a permanent error response message carrying the permanent error cause value.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
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 preferred 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. Therefore, it is intended that the appended claims be interpreted as including preferred 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 changes and modifications may be made in the present invention without departing from the spirit and scope of the invention. Thus, if such modifications and variations 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 include such modifications and variations.

Claims (6)

1. A Diameter protocol-based route reselection determination method is characterized by comprising the following steps:
a first routing agent DRA node in a first operator network forwards a request message sent by a second node to a third node;
after the first DRA node receives a routing error response message sent by a third node, determining the type of a source host sending the routing error response message based on a source host identifier carried in the routing error response message; the source host type is a node in other operator networks, a non-DRA node in a first operator network, and a DRA node in the first operator network, and the DRA node in the first operator network is a DRA node paired with the first DRA node or a DRA node not paired with the first DRA node;
judging whether routing reselection needs to be initiated or not based on the determined source host type, wherein if the source host type is a node in other operator networks or a non-DRA node in a first operator network, the routing reselection is determined not to be initiated, and if the source host type is a DRA node in the first operator network, the routing reselection is initiated;
after determining that the routing reselection does not need to be initiated, returning a configured permanent error response message to the second node, wherein the permanent error response message is used for indicating that the routing reselection does not need to be performed;
after determining that the routing reselection needs to be initiated, judging whether other routes capable of being used for transmitting the request message exist, if not, judging that other routes capable of being used for transmitting the request message exist
If the source host type is a DRA node paired with the first DRA node, returning a permanent error response message to the second node; and if the source host type is a DRA node which is not paired with the first DRA, returning a routing error response message to the second node.
2. The method of claim 1, wherein said determining whether there are additional routes available for transmitting the request message further comprises:
and after determining that other routes capable of being used for transmitting the request message exist, sending the request message to a next hop node of the first DRA node in the other routes.
3. The method of claim 1, wherein the permanent error response message is configured according to the following steps:
modifying the cause value in the received routing error response message from the routing reselection error cause value into a permanent error cause value indicating that routing reselection is not needed, and taking the routing error response message after the cause value is modified as the permanent error response message; or,
and generating a permanent error response message carrying the permanent error cause value.
4. A Diameter protocol based routing reselection determination apparatus, the apparatus comprising:
a sending module, configured to forward a request message sent by a second node to a first routing agent DRA node in a first operator network to a third node;
a determining module, configured to determine, after receiving a routing error response message sent by a third node, a source host type for sending the routing error response message based on a source host identifier carried in the routing error response message; the source host type is a node in other operator networks, a non-DRA node in a first operator network, and a DRA node in the first operator network, and the DRA node in the first operator network is a DRA node paired with the first DRA node or a DRA node not paired with the first DRA node;
a determining module, configured to determine whether to initiate a route reselection based on the source host type determined by the determining module, where if the source host type is a node in another operator network or a non-DRA node in a first operator network, it is determined that the route reselection is not required to be initiated, if the source host type is a DRA node in the first operator network, the route reselection is initiated, and after it is determined that the route reselection is not required to be initiated, the sending module is instructed to return a configured permanent error response message to the second node, where the permanent error response message is used to indicate that the route reselection is not required; after determining that routing reselection needs to be initiated, determining whether other routes capable of being used for transmitting the request message exist, if not, instructing the sending module to return a permanent error response message to the second node if the source host type is a DRA node paired with the first DRA node; and if the source host type is a DRA node which is not paired with the first DRA, indicating the sending module to return a routing error response message to the second node.
5. The apparatus of claim 4, wherein the determining module is further configured to, after determining whether there are other routes that can be used for transmitting the request message, instruct the sending module to send the request message to a next hop node of the first DRA node in the other routes if it is determined that there are other routes that can be used for transmitting the request message.
6. The apparatus of claim 4, wherein the determining module is specifically configured to configure the permanent error response message according to the following steps:
modifying the cause value in the received routing error response message from the routing reselection error cause value into a permanent error cause value indicating that routing reselection is not needed, and taking the routing error response message after the cause value is modified as the permanent error response message; or,
and generating a permanent error response message carrying the permanent error cause value.
CN201510070630.0A 2015-02-10 2015-02-10 A kind of route reselection determination method and device Active CN105991429B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510070630.0A CN105991429B (en) 2015-02-10 2015-02-10 A kind of route reselection determination method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510070630.0A CN105991429B (en) 2015-02-10 2015-02-10 A kind of route reselection determination method and device

Publications (2)

Publication Number Publication Date
CN105991429A CN105991429A (en) 2016-10-05
CN105991429B true CN105991429B (en) 2019-02-05

Family

ID=57041034

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510070630.0A Active CN105991429B (en) 2015-02-10 2015-02-10 A kind of route reselection determination method and device

Country Status (1)

Country Link
CN (1) CN105991429B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109257397B (en) * 2017-07-12 2021-09-28 中国移动通信集团公司 Request message processing method and device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101247321A (en) * 2007-02-14 2008-08-20 华为技术有限公司 Method, device and system for routing diagnosis in network based on diameter protocol
CN102143018A (en) * 2010-12-07 2011-08-03 华为技术有限公司 Message loop detection method, routing agent equipment and networking system
CN103650543A (en) * 2013-06-28 2014-03-19 华为技术有限公司 Routing message transmission method and device
US9240949B2 (en) * 2013-07-31 2016-01-19 Oracle International Corporation Methods, systems and computer readable media for predicting overload conditions using load information
US9602382B2 (en) * 2012-06-28 2017-03-21 Alcatel Lucent Dynamic reaction to diameter routing failures

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101247321A (en) * 2007-02-14 2008-08-20 华为技术有限公司 Method, device and system for routing diagnosis in network based on diameter protocol
CN102143018A (en) * 2010-12-07 2011-08-03 华为技术有限公司 Message loop detection method, routing agent equipment and networking system
US9602382B2 (en) * 2012-06-28 2017-03-21 Alcatel Lucent Dynamic reaction to diameter routing failures
CN103650543A (en) * 2013-06-28 2014-03-19 华为技术有限公司 Routing message transmission method and device
US9240949B2 (en) * 2013-07-31 2016-01-19 Oracle International Corporation Methods, systems and computer readable media for predicting overload conditions using load information

Also Published As

Publication number Publication date
CN105991429A (en) 2016-10-05

Similar Documents

Publication Publication Date Title
US10659345B2 (en) Service path protection method, controller, device and system
CN107342952B (en) Service link selection control method and equipment
CN105490932A (en) Two-way forwarding detection method, device and system
US10355971B2 (en) System and method for data path validation and verification
WO2021135448A1 (en) Service invocation method, apparatus, device, and medium
US10439880B2 (en) Loop-free convergence in communication networks
CN102882704A (en) Link protection method and apparatus in soft restart upgrade process of ISSU (in-service software upgrade)
CN101645810A (en) Method and equipment for detecting pseudo wire (PW)
CN105743816B (en) A kind of link aggregation method and device
WO2015154423A1 (en) Cross-domain service processing method, apparatus and system
CN102158300B (en) Method for establishing path in wavelength division network, communication node and communication system
US10033573B2 (en) Protection switching method, network, and system
CN105634776A (en) Method and device for determining message forwarding interface
KR20130039312A (en) Method of shared mesh protection switching
CN101692654A (en) Method, system and equipment for HUB-Spoken networking
CN105991429B (en) A kind of route reselection determination method and device
CN108235800A (en) A kind of network failure probing method and control centre's equipment
CN107819594B (en) Network fault positioning method and device
US9998807B2 (en) Method and apparatus for establishing trail network
CN109412942B (en) Cloud network transmission routing method and system
CN104852848B (en) A kind of method and apparatus of data transmission
JP6452148B2 (en) Network quality monitoring apparatus and system, and fault monitoring path setting method
EP3537671B1 (en) Protection switching method and system, and nodes
CN114500366B (en) Method and device for preventing routing loop between main node and standby node
CN103618630B (en) A kind of data safe transmission method and equipment based on double up-links

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant