WO2014019157A1 - 通信路径的处理方法与装置 - Google Patents
通信路径的处理方法与装置 Download PDFInfo
- Publication number
- WO2014019157A1 WO2014019157A1 PCT/CN2012/079472 CN2012079472W WO2014019157A1 WO 2014019157 A1 WO2014019157 A1 WO 2014019157A1 CN 2012079472 W CN2012079472 W CN 2012079472W WO 2014019157 A1 WO2014019157 A1 WO 2014019157A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- path
- information
- control layer
- layer device
- reset
- 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.)
- Ceased
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/06—Management of faults, events, alarms or notifications
- H04L41/0654—Management of faults, events, alarms or notifications using network fault recovery
- H04L41/0668—Management of faults, events, alarms or notifications using network fault recovery by dynamic selection of recovery network elements, e.g. replacement by the most appropriate element after failure
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/06—Management of faults, events, alarms or notifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/06—Management of faults, events, alarms or notifications
- H04L41/0604—Management of faults, events, alarms or notifications using filtering, e.g. reduction of information by using priority, element types, position or time
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/06—Management of faults, events, alarms or notifications
- H04L41/0654—Management of faults, events, alarms or notifications using network fault recovery
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W24/00—Supervisory, monitoring or testing arrangements
- H04W24/04—Arrangements for maintaining operational condition
Definitions
- the present invention relates to the field of communications, and in particular, to a method and an apparatus for processing a communication path. Background technique
- gateway devices are required to gradually evolve to more refined service control and charging functions based on the completion of basic data forwarding functions. Support operators' richer business implementation and control.
- the gateway device is divided into two, which are respectively called a control layer device and a forwarding layer device.
- the control layer device handles signaling with external devices, such as signaling between the AAA server, signaling with the PCRF, and the like.
- the control layer device completes the signaling negotiation, the signaling or information that needs to be forwarded by the forwarding layer device is sent to the forwarding layer device.
- the forwarding layer device needs to forward the signaling or information forwarding to the external device. Therefore, the current control layer device is responsible for processing signaling, and the forwarding layer device is responsible for forwarding corresponding signaling or information.
- the defects of the prior art are:
- each external device may also use multiple IP addresses, thereby identifying a large number of path states and corresponding peer device states.
- the control layer device also transmits a large amount of information through the forwarding layer device, thereby causing a large amount of signaling load on the interface between the control layer device and the forwarding plane device, and between the control layer device and the forwarding plane device. When the interface fails, it will lead to the control layer The path status is misjudged, and the status of the peer device corresponding to the path is also misjudged.
- the object of the present invention is to solve the problem that a large amount of signaling and information load is generated on the interface between the control layer device and the forwarding plane device in the prior art, and a misjudgment is generated, and a communication path processing method and apparatus are provided.
- an embodiment of the present invention provides a method for processing a communication path, where the method includes:
- the fault state of the path and/or the reset state of the peer device is reported to the control layer device, released on the fault path, and/or reset
- the peer device connects to the session on the path.
- an embodiment of the present invention provides a method for processing a communication path, where the method includes:
- an embodiment of the present invention provides a processing device for a communication path, where the device includes:
- An obtaining unit configured to acquire path processing parameters from local configuration information or from a control plane device, obtain path information from a control layer device, and/or restart a counter parameter, and obtain the path processing parameter, path information, and/or restart counter parameter Send to the identification unit;
- An identification unit configured to receive the path processing parameter, the path information, and/or the restart counter parameter sent by the acquiring unit, and when the path information is an increased path, add a path with the peer device, The path processing parameter and/or the restart counter parameter replied by the peer device identifies the state of the path and/or the state of the peer device, and sends the state of the path and/or the state of the peer device To the execution unit;
- An execution unit configured to receive a status of the path sent by the identification unit and/or a status of the peer device, and report the status to the control layer device when the path is faulty and/or the peer device is reset
- the fault state of the path and/or the reset state of the peer device releases the session on the fault path and/or the path to the reset peer device connection.
- an embodiment of the present invention provides a processing device for a communication path, where the device includes:
- An obtaining unit configured to acquire path processing parameters from local configuration information or a control layer device, obtain session information from a control layer device, and/or restart a counter parameter, and send the session information to a determining unit, where the path processing parameter and/or Sending the restart counter parameter to the identification unit;
- a determining unit configured to receive session information sent by the acquiring unit, and when the session information is a session establishment, determine whether to increase a path with the peer device, and send the determination result to the identifying unit;
- An identification unit configured to receive the path processing parameter and/or the restart counter parameter sent by the acquiring unit, and the determination result sent by the determining unit, if a path is added to the peer device, The path processing parameter and/or the restart counter parameter replied by the peer device identifies the state of the path and/or the state of the peer device, and the status of the path to be identified And/or the status of the peer device is sent to the execution unit;
- An execution unit configured to receive a status of the path sent by the identification unit and/or a status of the peer device, and report the status to the control layer device when the path is faulty and/or the peer device is reset
- the fault state of the path and/or the reset state of the peer device releases all sessions on the fault path and/or with the reset peer device connection path.
- an embodiment of the present invention provides a processing device for a communication path, where the device includes:
- a receiver configured to acquire path processing parameters from local configuration information or from a control plane device, obtain path information from a control layer device, and/or restart a counter parameter, and obtain the path processing parameter, path information, and/or restart counter parameter Sent to the processor;
- a processor configured to receive the path processing parameter, the path information, and/or the restart counter parameter sent by the receiver, when the path information is an increased path, add a path with the peer device,
- the path processing parameter/or the restart counter parameter replied by the peer device identifies the state of the path and/or the state of the peer device;
- the processor is further configured to report the status of the path and/or the status of the peer device to the control layer device when the path is faulty and/or the peer device is reset, and the fault is released. All sessions on the path and/or connected to the reset peer device;
- Memory used to store the execution flow of the processor.
- an embodiment of the present invention provides a processing device for a communication path, where the device includes:
- a receiver configured to obtain path processing parameters from local configuration information or a control layer device, obtain session information from a control layer device, and/or restart a counter parameter, and send the path processing parameter, session information, and/or restart counter parameter Give the processor;
- a processor configured to receive the path processing parameter, the session information, and/or the restart counter parameter sent by the receiver, and when the session information is a session establishment, determine whether to increase a path with the peer device;
- the processor is further configured to: if the path is added to the peer device, identify the state of the path and/or the pair by using the path processing parameter and/or a restart counter parameter replied by the peer device The state of the end device;
- the processor is further configured to report the fault state of the path and/or the reset state of the peer device to the control layer device when the path is faulty and/or the peer device is reset, and release the All sessions on the fault path and/or on the path to the reset peer device;
- Memory used to store the execution flow of the processor.
- the forwarding layer device obtains various parameters from the control layer device or the local network system, and determines whether to establish or delete with the peer device according to the instruction of the control layer device.
- the path is used to identify the status of the path and the status of the peer device and report the status of the peer device to the control layer device, and perform corresponding processing according to the processing information of the control layer device.
- the control layer device is reduced.
- the signaling or information between the forwarding layer devices reduces the misjudgment of the path or the reset of the peer device.
- FIG. 1 is a flowchart of a method for processing a communication path according to Embodiment 1 of the present invention
- FIG. 2 is a signaling flowchart of a method for processing a communication path according to Embodiment 1 of the present invention
- FIG. 3 is a signaling flowchart of obtaining information from a control layer device according to Embodiment 1 of the present invention
- FIG. 5 is a signaling flowchart of identifying a path state and a peer state according to Embodiment 1 of the present invention
- FIG. 6 is a signaling flowchart provided by Embodiment 2 of the present invention; Flow chart of the path processing method;
- FIG. 7 is a signaling flowchart of a method for processing a communication path according to Embodiment 2 of the present invention
- FIG. 8 is a signaling flowchart of obtaining information from a control layer device according to Embodiment 2 of the present invention
- Figure 2 is a signaling flow chart for obtaining information from the local configuration information.
- Figure 10 is a signaling flow chart for identifying the path state and the peer state according to the second embodiment of the present invention.
- Figure 11 is a flowchart of the third embodiment of the present invention. Processing of the communication path implementing the method of the first embodiment Device diagram
- FIG. 12 is a schematic diagram of a processing apparatus for implementing a communication path according to a method of Embodiment 2 according to Embodiment 4 of the present invention.
- FIG. 13 is a schematic diagram of a processing device for implementing a communication path according to Embodiment 5 of the present invention.
- FIG. 14 is a schematic diagram of a processing apparatus for implementing a communication path according to Embodiment 6 of the present invention. detailed description
- FIG. 1 is a flowchart of a method for processing a communication path according to Embodiment 1 of the present invention.
- the forwarding layer device obtains the path processing parameter from the local configuration information or the control layer device, obtains the path information from the control layer device, and/or restarts the counter parameter, and the forwarding layer device obtains the path. Relevant information, identify the status of the path and/or the status of the peer device, and identify the path fault status and/or the peer device reset status when the forwarding layer device recognizes the path fault and/or resets the peer device. The device is reported to the control layer device, and the session is terminated on the fault path and/or the path of the peer device with the reset device.
- the execution entity is a forwarding layer device, as shown in FIG.
- FIG. 2 is a signaling flowchart of a method for processing a communication path according to Embodiment 1 of the present invention. The method for processing a communication path requires the following steps, including:
- Step 110 The forwarding layer device obtains path processing parameters from the local configuration information or from the control layer device, acquires path information from the control layer device, and/or restarts the counter parameter.
- FIG. 3 is a signaling flowchart of obtaining information from a control layer device according to Embodiment 1 of the present invention, where the control layer device and the peer device are first performed.
- the communication negotiation is specifically: performing communication negotiation for establishing a session with the peer device that is to establish the communication path or performing communication negotiation with the peer device that has established the communication path, whether the communication negotiation is existing. The technology is not repeated here.
- the control layer device communicates with the peer device, it determines whether the forwarding layer needs to add a path (or delete the path). After the control layer device completes the judgment, it sends the path processing parameter and path to the forwarding layer device. Information and/or restart counter parameters;
- the path processing parameters include: a sending period, a time threshold, a number threshold, and the like.
- the path information carries the path type (GTP or PMIP) of the session, the source IP address, the source port, the destination IP address, and the destination port.
- FIG. 4 is a signaling flowchart of obtaining information from local configuration information according to Embodiment 1 of the present invention; the forwarding layer device obtains path processing parameters from local configuration information, Then, the control layer device performs communication negotiation with the peer device, where the communication negotiation is specifically: performing communication negotiation for establishing a session with the peer device that is to establish the communication path, or performing communication for releasing the session with the peer device that has established the communication path.
- the communication negotiation is a prior art, and is not repeated here.
- control layer device After the control layer device performs communication negotiation with the peer device, it is determined whether the forwarding layer needs to add a path (or delete the path), and after the control layer device completes the judgment, it will The forwarding layer device sends path information and/or restarts the counter parameters;
- the path processing parameters include: a sending period, a time threshold, a number threshold, and the like.
- the path information carries the path type (GTP or PMIP) of the session, the source IP address, the source port, the destination IP address, and the destination port.
- Step 120 When the path information is an increased path, add a path with the peer device, and identify the state of the path by using the path processing parameter and/or a restart counter parameter replied by the peer device. Or the state of the peer device;
- the control layer device and the peer device are ready to establish a GTP bearer or PMIP session communication, and the control layer device determines whether the path needs to be added. If the path is considered to be increased, the path information carries the added path. , and send the path information to the forwarding layer In the standby, the forwarding layer device is instructed to establish a path with the peer device; the forwarding layer device adds a path to the peer device that communicates with the control layer device according to the path information of the control layer device;
- the response information is sent to the control layer device, and a path counter is set for the path.
- the response information is used to notify the control layer device that the path is added to the peer device.
- the path label set by the control layer device for the path may be received; or the forwarding layer device customizes the path label set by the path; or the forwarding layer device uses the path.
- the path type, the path IP address, and the path port carried in the information to identify the path, and the path information of the path is further included in the response information;
- the control layer device and the peer device are ready to release the GTP bearer or the PMIP session communication, and the control layer device determines whether the path needs to be deleted. If the path needs to be deleted, the path information carries the deletion path, and The path information is sent to the forwarding layer device, and the forwarding layer device is instructed to delete the path with the peer device. The forwarding layer device deletes the existing path with the peer device according to the instruction of the control layer device, and sends the response information to the control layer device. Informing the control layer device to delete the path that already exists with the peer device;
- the path processing parameter may be obtained from the forwarding layer local configuration information or from the control layer device.
- the path processing parameter delivered by the control layer device is used. Priority is used, and the path processing parameters delivered by the control layer device can be applied to one path or multiple paths.
- the forwarding layer device uses the obtained path processing parameter and/or the restart counter parameter to identify the state of the path and/or the state of the peer device.
- the specific process is as shown in FIG. 5, which is the identification path provided by the embodiment 1 of the present invention.
- the forwarding layer device periodically sends the response request information to the peer device, and the period may be set according to requirements, for example, 30 seconds.
- the response request information may further include a restart counter parameter, and the forwarding layer device determines itself. Whether the response response information sent by the peer device is received within the time threshold; if the forwarding layer device receives the transmission sent by the peer device within the time threshold In response to the response information, the forwarding layer device clears the path counter of the path, and determines whether the response response information further includes a restart counter parameter replied by the peer device, if the response response information includes the peer device If the restart counter parameter is replied, it is determined whether the restart counter parameter value is changed (usually whether the restart counter parameter value is increased by 1).
- the forwarding layer device clears that the peer device has been reset and sets the peer device status. If the response response information sent by the peer device is not received within the time threshold, the forwarding layer device increases the value of the path counter of the path by one;
- the forwarding layer device determines whether the value of the path counter of the path exceeds the threshold of the number of times; if the value of the path counter of the path exceeds the threshold of the number of times, the state of the path is set to a fault state.
- Step 130 When the path is faulty and/or the peer device is reset, the forwarding layer device reports the fault state of the path and/or the reset state of the peer device to the control layer device, and releases the fault path. A session on the path to and/or from the reset peer device.
- step 120 when the path is faulty and/or the peer device is reset, the forwarding layer device uses the path type, path IP address, and path port carried in the path label or path information in step 120 to The fault state and/or the reset state of the peer device is reported to the control layer device, and at the same time, the session on the fault path and/or the connection path with the reset peer device is released by itself;
- the forwarding layer device releases all the sessions on the fault path, clears the information of the fault path, such as a GTP bearer or a PMIP session, or directly fails the fault.
- Path deletion When the status of the path is a fault state, after forwarding the path fault status to the control layer device, the forwarding layer device releases all the sessions on the fault path, clears the information of the fault path, such as a GTP bearer or a PMIP session, or directly fails the fault.
- the forwarding layer device releases all the sessions on the path after reporting the path fault state to the control layer device, and clears the information of the path, such as a GTP bearer or a PMIP session, or directly the path.
- the method may further include: receiving, by the control layer device, the control layer device to reset itself Information, including, in the reset information, a restart counter parameter that is reset by the control layer device; sending, to the peer device that is in communication with the control layer device, notification information that carries the reset restart counter parameter, to And causing the peer device to learn that the control layer device itself is reset; the step may be performed at any of the foregoing steps;
- the control layer device when the control layer device fails, the control layer device resets itself, and after the control layer device resets itself, the self-reset information is sent to the forwarding layer device, and the forwarding layer device receives the control layer device and sends the control layer device to reset itself.
- the information includes: a reset counter parameter that is reset by the control layer device in the reset information; after receiving the restart counter parameter of the control layer device re-device, the forwarding layer device sends a carry-reset to all the peer devices that communicate with the control layer device.
- the notification information of the counter parameter is restarted, so that all the peer devices are informed that the control layer device itself resets, and the restart counter parameter is reset.
- the method may further include: receiving, by the control layer device, first interface fault processing information; specifically, the control layer device And the first interface fault processing information is sent to the forwarding layer device, where the processing interface fault of the forwarding layer device is processed when the interface between the control layer device and the forwarding layer device is faulty, and the step may be performed in the foregoing steps. Execute anywhere;
- the first interface fault processing information is instructed by the control layer device for any or all sessions, and the forwarding layer device receives the first interface fault processing information sent by the control layer device;
- the interface fault processing information is set to the first priority, and the first interface fault processing information that the control layer device indicates for all sessions is set to the second priority;
- the forwarding layer device customizes the second interface fault processing information, and sets the second interface fault processing information configured by the custom to the third priority;
- the first priority is higher than the second priority and the third priority, and the second priority is higher than the third priority;
- the forwarding layer device When the interface with the control layer device fails, the forwarding layer device according to the received interface Handling the priority of the obstacle processing information;
- the interface fault information is specifically: when the interface with the control layer device fails, the connected session is terminated immediately; or when the interface with the control layer device fails, the connected session is terminated after the allocated quota is used up; or When the interface with the control layer device fails, the connected session is retained.
- the forwarding layer device obtains various parameters from the local configuration information or from the control layer device, adds or deletes the path according to the instruction of the control layer device, and uses the acquisition.
- the various types of parameters identify the state of the path and/or the state of the peer device, and process the fault path and/or the path connected to the reset peer device.
- the control layer device itself The fault path or the path connected to the reset peer device is processed accordingly, which reduces the signaling or information between the control layer device and the forwarding layer device, and reduces the misjudgment of the path or the reset of the peer device.
- FIG. 6 is a flowchart of a method for processing a communication path according to Embodiment 2 of the present invention.
- the forwarding layer device obtains the path processing parameter from the local configuration information or from the control layer device, acquires the session information and/or restarts the counter parameter from the control layer device, and according to the session information, The forwarding layer device determines whether to increase (or delete) the path with the peer device, and if the path is added to the peer device, the state of the path is identified, and/or the state of the peer device is identified, the path layer fault and/or the pair is identified at the forwarding layer device.
- the terminal device is reset, the identified path fault state and/or the peer device reset state are reported to the control layer device, and at the same time, the session on the fault path and/or the connection path with the reset peer device is released.
- the execution entity is a forwarding layer device, as shown in FIG. 6 and combined with the signaling flowchart of FIG. 7.
- FIG. 7 is a signaling flowchart of a processing method for a communication path according to Embodiment 2 of the present invention, and implements a communication path.
- the processing method requires the following steps, including: Step 610:
- the forwarding layer device acquires path processing parameters from the local configuration information or from the control plane device, acquires session information from the control layer device, and/or restarts the counter parameter.
- FIG. 8 is a signaling flowchart of obtaining information from a control layer device according to Embodiment 2 of the present invention; and the control layer device sends a path processing parameter to a forwarding layer device. And/or restart the counter parameters;
- the path processing parameter includes: a sending period, a time threshold, a number threshold, and the like; in another implementation manner, as shown in FIG. 9, FIG. 9 is a method for obtaining information from local configuration information according to Embodiment 2 of the present invention. a signaling flow chart; the forwarding layer device obtains a path processing parameter from the local configuration information, and the control layer device sends a restart counter parameter to the forwarding layer device;
- the path processing parameter includes: a sending period, a time threshold, a number threshold, and the like; after the forwarding layer device obtains the restart counter parameter from the control layer device, the control layer device performs communication negotiation with the peer device, where the communication negotiation is specifically, The communication negotiation of establishing a session with the peer device that is to establish the communication path or the communication negotiation with the peer device that has established the communication path is performed.
- the communication negotiation is a prior art, and the control layer is not repeated here.
- the session information is sent to the forwarding layer device.
- the session information carries the path type (GTP or PMIP), source IP address, source port, destination IP address, and destination port of the session.
- Step 620 When the session information is a session establishment, the forwarding layer device determines whether to increase a path with the peer device.
- the control layer device sends the session information to the forwarding layer device after establishing the GTP bearer or the PMIP session communication with the peer device according to the description of the step 610.
- the forwarding layer device determines whether Adding a path to the peer device, if the forwarding layer device determines that the first GTP bearer or the PMIP session is established with the peer device, it is considered that the path needs to be added, and the path is added to the peer device;
- the response information is sent to the control layer device, and a path counter is set for the path.
- the response information is used to notify the control layer device that the pair is The end device increases the path;
- the path label of the path setting may be customized; or the forwarding layer device uses the path type, the path IP address, and the path port carried in the path information to identify the path. And the path information of the path is further included in the response information.
- the session information carries the deletion path. The session information is sent to the forwarding layer device. The forwarding layer device determines whether the path needs to be deleted. If the forwarding layer device determines that it is the last GTP bearer or PMIP session with the peer device, delete the path that already exists with the peer device. And sending a response message to the control layer device, informing the control layer device to delete the path that already exists with the peer device;
- the path processing parameter may be obtained from the forwarding layer local configuration information or from the control layer device.
- the path processing parameter delivered by the control layer device is used. Priority is used, and the path processing parameters delivered by the control layer device can be applied to one path or multiple paths.
- Step 630 If a path is added to the peer device, the forwarding layer device uses the path processing parameter and/or the restart counter parameter replied by the peer device to identify the state of the path and/or the peer device. status;
- the forwarding layer device uses the obtained path processing parameter and/or the restart counter parameter to identify the state of the established path and/or the state of the corresponding peer device, as shown in FIG.
- FIG. 10 is a signaling flowchart of identifying a path state and a peer state according to Embodiment 2 of the present invention:
- the forwarding layer device periodically sends the response request information to the peer device, and the period may be set according to requirements, for example, 30 seconds.
- the response request information may further include a restart counter parameter, and the forwarding layer device determines itself. Whether the response response information sent by the peer device is received within the time threshold; if the forwarding layer device receives the response response information sent by the peer device within the time threshold, the forwarding layer device clears the path counter of the path At the same time, judgment office Whether the response counter information further includes a restart counter parameter replied by the peer device, and if the response response information includes a restart counter parameter replied by the peer device, whether the restart counter parameter value is changed, (usually restarting the counter parameter value) Whether to increase 1) If the restart counter parameter value is increased by 1, the forwarding layer device clears that the peer device has been reset, and sets the peer device state to the reset state; if the response response message sent by the peer device is not received within the time threshold, The forwarding layer device increases the value of the path counter of the path by
- the forwarding layer device determines whether the value of the path counter of the path exceeds the threshold of the number of times; if the value of the path counter of the path exceeds the threshold of the number of times, the state of the path is set to a fault state.
- Step 640 When the path is faulty and/or the peer device is reset, the forwarding layer device reports the fault state of the path and/or the reset state of the peer device to the control layer device, and releases the fault path. All sessions on the path to and/or from the reset peer device;
- step 630 when the path is faulty and/or the peer device is reset, the forwarding layer device uses the path label, the path IP address, and the path port carried in the path label or the path information in step 620 to The fault state and/or the reset state of the peer device is reported to the control layer device, and at the same time, the session on the fault path and/or the connection path with the reset peer device is released by itself;
- the forwarding layer device releases all the sessions on the fault path, clears the information of the fault path, such as a GTP bearer or a PMIP session, or directly fails the fault.
- Path deletion When the status of the path is a fault state, after forwarding the path fault status to the control layer device, the forwarding layer device releases all the sessions on the fault path, clears the information of the fault path, such as a GTP bearer or a PMIP session, or directly fails the fault.
- the forwarding layer device releases all the sessions on the path after reporting the path fault state to the control layer device, and clears the information of the path, such as a GTP bearer or a PMIP session, or directly the path.
- the method may further include: receiving, by the control layer device, the control layer device self-reset information, where the reset information is The restart counter parameter that is reset by the control layer device is included; Sending the notification information carrying the reset restart counter parameter to the peer device that communicates with the control layer device, so that the peer device learns that the control layer device itself resets; Execute anywhere in the step;
- the control layer device when the control layer device fails, the control layer device resets itself, and after the control layer device resets itself, the self-reset information is sent to the forwarding layer device, and the forwarding layer device receives the control layer device and sends the control layer device to reset itself.
- the information includes: a reset counter parameter that is reset by the control layer device in the reset information; after receiving the restart counter parameter of the control layer device re-device, the forwarding layer device sends a carry-reset to all the peer devices that communicate with the control layer device.
- the notification information of the counter parameter is restarted, so that all the peer devices are informed that the control layer device itself resets, and the restart counter parameter is reset.
- the method may further include: receiving, by the control layer device, first interface fault processing information; specifically, the control layer device And the first interface fault processing information is sent to the forwarding layer device, where the processing interface fault of the forwarding layer device is processed when the interface between the control layer device and the forwarding layer device is faulty, and the step may be performed in the foregoing steps. Execute anywhere;
- the first interface fault processing information is instructed by the control layer device for any or all sessions, and the forwarding layer device receives the first interface fault processing information sent by the control layer device;
- the interface fault processing information is set to the first priority, and the first interface fault processing information that the control layer device indicates for all sessions is set to the second priority;
- the forwarding layer device customizes the second interface fault processing information, and sets the second interface fault processing information configured by the custom to the third priority;
- the first priority is higher than the second priority and the third priority, and the second priority is higher than the third priority;
- the interface fault information is specifically: when the interface with the control layer device fails, the connected session is terminated immediately; or when the interface with the control layer device fails, the connected session is terminated after the allocated quota is used up; or When the interface with the control layer device fails, the connected session is retained.
- the forwarding layer device obtains various parameters from the control layer device or the local configuration information, and determines whether to establish or delete a path with the peer device according to the indication of the control layer device, and identify The status of the path and/or the status of the peer device, and the fault path and/or the path connected to the reset peer device are processed accordingly.
- the control layer device self-pairs the fault path or resets The path of the peer device connection is processed accordingly, which reduces the signaling or information between the control layer device and the forwarding layer device, and reduces the misjudgment of the path or the reset of the peer device.
- FIG. 11 is a schematic diagram of a processing device for implementing a communication path according to Embodiment 1 of the present invention.
- Each unit in the device exists in the forwarding layer device, the device includes: an obtaining unit 1110, an identifying unit 1120, and an executing unit 1130;
- the obtaining unit 1110 is configured to acquire path processing parameters from the local configuration information or from the control layer device, acquire path information from the control layer device, and/or restart the counter parameter, and obtain the path processing parameter, path information, and/or Restarting the counter parameter and sending it to the identification unit;
- the identifying unit 1120 is configured to receive the path processing parameter, the path information, and/or the restart counter parameter that are sent by the acquiring unit, and when the path information is an added path, add a path to the peer device, The path processing parameter and/or the restart counter parameter replied by the peer device identifies the state of the path and/or the state of the peer device, the state of the path and/or the state of the peer device Send to the execution unit;
- the executing unit 1130 is configured to receive a status of the path sent by the identifying unit and/or a status of the peer device, and when the path is faulty and/or the peer device is reset, The layer device reports the fault state of the path and/or the reset state of the peer device, and releases the fault. a session on the path and/or on the path to the reset peer device;
- the acquiring unit 1110 is configured to receive, by the control layer device, the control layer device self-reset information, where the reset information includes a restart counter parameter that is reset by the control layer device, and the control layer to be received
- the restarting counter parameter of the device resetting is sent to the sending unit
- the identifying unit 1120 is configured to receive a restart counter parameter that is reset by the control layer device sent by the acquiring unit, and send, to the peer device, the reset
- the notification information of the counter parameter is restarted, so that the peer device learns that the control layer device itself resets.
- the executing unit 1130 is specifically configured to: when the path is faulty and/or the peer device is reset, delete the fault path or delete a path that is connected to the reset peer device.
- the identifying unit 1120 is further configured to: send, to the control layer device, response information, where the response information is used to notify that the control layer device has added a path with the peer device;
- the identification unit 1120 is further configured to: receive a path label set by the control layer device for the path, or customize a path label of the path, and further include a path of the path in the response information. Or the path type, the path IP address, and the path port carried in the path information to identify the path;
- the executing unit 1130 is specifically configured to report the fault state of the path and/or the pair to the control layer device by using the path label or the path type, the path IP address, and the path port carried in the path information. The reset status of the end device.
- the identifying unit 1120 is further configured to: set a path counter for the path;
- the path processing parameter includes a time threshold and a number threshold
- the identifying unit 1120 is further configured to: periodically send the response request information to the peer device according to the time threshold, where the response request information may further include a restart counter parameter;
- the path counter is cleared, and the response is determined.
- the response information further includes the reply of the peer device Restarting the counter parameter, if the response response information includes a restart counter parameter replied by the peer device, identifying whether the restart counter parameter value is increased by 1, and if the restart counter parameter value in the response response information is increased by 1, setting The peer device status is reset;
- the value of the path counter is increased by 1;
- the state of the path is set to a fault state.
- the identifying unit 1 120 is further configured to: when the path information is a deleted path, deleting a path that has been established with the peer device;
- the device further includes: a first receiving unit 1140, configured to receive first interface fault processing information that is indicated by the control layer device for any or all sessions;
- the configuration unit 1150 is configured to customize the second interface fault processing information.
- the setting unit 1160 is configured to set the first interface fault processing information indicated by the control layer device for any session to a first priority, and set, by the control layer device, the first interface fault processing information indicated for all the sessions to The second priority is used to set the second interface fault processing information of the customized configuration to the third priority;
- the processing unit 1170 is configured to perform processing according to the priority of the first interface fault processing information or the second interface fault processing information when the interface with the control layer device fails; the first interface fault information Or the second interface fault information is specifically: when the interface with the control layer device fails, the connected session is terminated immediately; or when the interface with the control layer device fails, the allocated quota is used up. The session is terminated after the connection; or when the interface with the control layer device fails, the connected session is retained.
- the processing unit of the communication path acquires the unit from the control layer
- the device obtains various parameters from the local configuration information, and the identification unit adds or deletes the path according to the instruction of the control layer device and the peer device, and uses the obtained various parameters to identify the status of the path and/or the status of the peer device.
- the unit processes the fault path and/or the path connected to the reset peer device.
- the control layer device performs corresponding processing on the fault path or the path connected to the reset peer device.
- the signaling or information between the control layer device and the forwarding layer device is reduced, and the misjudgment of the generation path or the reset of the peer device is reduced.
- FIG. 12 is a schematic diagram of a processing device for implementing a communication path according to Embodiment 2 of the present invention.
- Each unit in the device exists in the forwarding layer device, and the device includes: an obtaining unit 1200, a determining unit 121 0, an identifying unit 1220, and an executing unit 1230;
- the acquiring unit 1200 is configured to acquire path processing parameters from the local configuration information or the control layer device, acquire session information from the control layer device, and/or restart the counter parameter, and send the session information to the determining unit, where the path is Processing parameters and/or the restart counter parameters are sent to the identification unit;
- the determining unit 1210 is configured to receive the session information sent by the acquiring unit, and when the session information is to establish a session, determine whether to increase the path with the peer device, and send the determination result to the identifying unit;
- the identifying unit 1220 is configured to receive the path processing parameter and/or the restart counter parameter sent by the acquiring unit, and the determining result sent by the determining unit, if the path is added to the peer device, use
- the path processing parameter and/or the restart counter parameter replied by the peer device identifies a status of the path and/or a status of the peer device, a status of the identified path and/or the pair
- the status of the end device is sent to the execution unit;
- the executing unit 1230 is configured to receive a status of the path sent by the identifying unit and/or a status of the peer device, and when the path is faulty and/or the peer device is reset, The layer device reports the fault state of the path and/or the reset state of the peer device, and releases all sessions on the fault path and/or the connection path with the reset peer device;
- the acquiring unit 1200 is configured to receive the reset information of the control layer device that is sent by the control layer device, where the reset information includes a restart counter parameter that is reset by the control layer device, and the control layer that is to be received
- the restarting counter parameter of the device resetting is sent to the sending unit;
- the identifying unit 1220 is configured to receive a restart counter parameter that is reset by the control layer device and sent by the acquiring unit, to the peer end that communicates with the control layer device
- the device sends the notification information that carries the reset restart counter parameter, so that the peer device learns that the control layer device itself resets;
- the executing unit 1240 is specifically configured to: delete the fault path or delete a path connected to the reset peer device when the path is faulty and/or the peer device is reset;
- the determining unit 1210 is specifically configured to: when the establishing session is the first session with the peer device, adding a path with the peer device;
- the identifying unit 1220 is further configured to: send, to the control layer device, response information, where the response information is used to notify that the control layer device has added a path with the peer device;
- the identifying unit 1220 is further configured to: customize a path label of the path, and further include a path label of the path in the response information; or use a path type and a path IP carried in the path information Address, path port to identify the path;
- the executing unit 1230 is specifically configured to report the fault state of the path and/or the pair to the control layer device by using the path label or the path type, the path IP address, and the path port carried in the path information.
- the identifying unit 1220 is further configured to: set a path counter for the path;
- the path processing parameter includes a time threshold and a number threshold
- the identifying unit 1220 is further configured to: periodically send, to the peer device, response request information according to a time threshold, where the response request information includes a restart counter parameter;
- the path counter is cleared, and the response is determined. Whether the response information further includes the reply of the peer device Restarting the counter parameter, if the response response information includes the restart counter parameter replied by the peer device, identifying whether the restart counter parameter value is increased by 1, if the restart counter parameter value in the response response information is increased by 1, Setting the peer device status to reset;
- the value of the path counter is increased by 1;
- the state of the path is set to a fault state.
- the determining unit 1210 is further configured to: when the session information is a deletion session, determine whether to delete a path with the peer device;
- deletion session information is the last session with the peer device, deleting the path established with the peer device;
- the device further includes: a first receiving unit 1240, configured to receive first interface fault processing information that is indicated by the control layer device for any or all sessions;
- the configuration unit 1250 is configured to customize the second interface fault processing information.
- the setting unit 1260 is configured to set the first interface fault processing information indicated by the control layer device for any session as the first priority, and indicate, by the control layer device, the first interface fault processing information configured for all sessions as The second priority is used to set the second interface fault processing information of the customized configuration to the third priority;
- the processing unit 1270 is configured to perform processing according to the priority of the first interface fault processing information or the second interface fault processing information when the interface with the control layer device fails; the first interface fault information Or the second interface fault information is specifically: when the interface with the control layer device fails, the connected session is terminated immediately; or when the interface with the control layer device fails, the allocated quota is used up. Terminating the connected session; or when When the interface of the control layer device fails, the connected session is retained.
- the acquiring unit obtains various types of parameters from the control layer device or the local configuration information, and the determining unit determines whether to establish or delete the path with the peer device according to the instruction of the control layer device.
- the identification unit identifies the status of the path and/or the status of the peer device, and the execution unit processes the fault path and/or the path connected to the reset peer device.
- the control layer device itself fails.
- the path and/or the path connected to the reset peer device are processed accordingly, which reduces the signaling or information between the control layer device and the forwarding layer device, and reduces the misjudgment of the generation path or the reset of the peer device.
- the processing device of the communication path provided by the embodiment of the present invention may also be implemented as follows to implement the processing method of the communication path in the first embodiment of the present invention.
- the apparatus includes: a receiver 1 310, a processor 1 320, and a memory 1 330.
- the receiver 1 310 is configured to obtain path processing parameters from the local configuration information or from the control layer device, acquire path information from the control layer device, and/or restart the counter parameter, and obtain the path processing parameter and path information. And/or restarting the counter parameters to be sent to the processor;
- the processor 1 320 is configured to receive the path processing parameter, the path information, and/or the restart counter parameter sent by the receiver, and when the path information is an added path, add a path to the peer device, and use The path processing parameter/or the restart counter parameter replied by the peer device identifies a status of the path and/or a status of the peer device;
- the processor 1 320 is further configured to report the status of the path and/or the status of the peer device to the control layer device when the path is faulty and/or the peer device is reset, and release All sessions on the fault path and/or on the path to the reset peer device;
- the memory 1 330 is configured to store an execution flow of the processor.
- the receiver 1 310 is specifically configured to receive, by the control layer device, the control layer device self-reset information, where the reset information includes a restart counter parameter that is reset by the control layer device, and the received The restart counter parameter reset by the control layer device is sent to the processor, and the processor sends the restart counter parameter reset by the control layer device to the transmitter;
- the device further includes: a transmitter 1 340, configured to receive a restart counter parameter that is reset by the control layer device that is sent by the processor, and send, to the peer device that is in communication with the control layer device, And resetting the notification information of the restart counter parameter, so that the peer device learns that the control layer device itself resets.
- the processor 1 320 is further configured to: delete the fault path or delete a path connected to the reset peer device when the path is faulty and/or the peer device is reset.
- the processor 1 320 is further configured to: send, to the control layer device, response information, where the response information is used to notify the control layer device that a path is added to the peer device;
- the processor 1 320 may be further configured to: receive a path label set by the control layer device for the path; or customize a path label of the path, and further include the path in the response information.
- the processor 1 320 is further specifically configured to report, by using the path label or the path type, the path IP address, and the path port carried in the path information, the fault status of the path to the control layer device, and the Reset status of the peer device.
- the processor 1 320 is further configured to: set a path counter for the path;
- the transmitter 1 340 is further configured to: send the response request information to the peer device;
- the receiver 1310 is further configured to: receive the response response information sent by the peer device, and send the response The response information is sent to the processor;
- the path processing parameter includes a time threshold and a number threshold
- the processor 1120 is further configured to: send a response request message to the peer device according to the time threshold, and the response request information may further include a restart counter parameter;
- the path counter is cleared, and it is determined whether the response information further includes the reply of the peer device. Restarting the counter parameter, if the response response information includes the restart counter parameter replied by the peer device, identifying whether the restart counter parameter value is increased by 1, if the restart counter parameter value in the response response information is increased by 1, Setting the peer device status to reset;
- the value of the path counter is increased by 1;
- the state of the path is set to a fault state.
- the processor 1 320 is further configured to: when the path information is a deletion path, delete a path that has been established with the peer device, send response information to the control layer device, and notify the control layer device Delete the established path.
- the receiver 1 340 is further configured to: receive, by the control layer device, first interface fault processing information that is instructed for any or all of the sessions;
- the processor 1 320 is specifically configured to: configure the second receiving fault processing information by using a custom interface; the processor 1 320 is further configured to: set, by the control layer device, the first interface fault processing information indicated by any session Setting the first interface fault processing information indicated by the control layer device for all the sessions as the second priority, and setting the second interface fault processing information of the custom configuration to the third priority;
- the processor 1 320 is further configured to: when the interface with the control layer device fails, perform processing according to the priority of the first interface fault processing information or the second interface fault processing information;
- the first interface failure information or the second interface failure information is specifically: when the interface with the control layer device fails, immediately terminate the connected session; or when the interface with the control layer device fails Terminating the connected session after the allocated quota is used up; or retaining the connected session when the interface with the control layer device fails.
- the processing device of the communication path provided by the embodiment of the present invention, the receiver is configured from the control layer Prepare or obtain various parameters from the local configuration information, and send various parameters to the processor.
- the processor adds or deletes the path with the peer device according to the indication and parameters of the control layer device, and identifies the state of the path and/or The state of the peer device, the processor also processes the fault path and/or the path connected to the reset peer device.
- the control layer device itself pairs the fault path and/or the reset.
- the path of the end device connection is processed accordingly, which reduces the signaling or information between the control layer device and the forwarding layer device, and reduces the misjudgment of the path or the reset of the peer device.
- the processing device of the communication path may also be implemented as follows to implement the processing method of the communication path in the second embodiment of the present invention. As shown in FIG. 14, the processing device of the communication path is shown in FIG. The method includes: a receiver 1410, a processor 1420, and a memory 1430.
- the receiver 1410 is configured to obtain path processing parameters from the local configuration information or the control layer device, obtain session information from the control layer device, and/or restart the counter parameter, and use the path processing parameter, the session information, and/or Or restart the counter parameters sent to the processor;
- the processor 1420 is configured to receive the path processing parameter, the session information, and/or the restart counter parameter sent by the receiver, and when the session information is to establish a session, determine whether to increase a path with the peer device;
- the processor 1420 is further configured to: if the path is added to the peer device, identify the state of the path and/or the using the path processing parameter and/or the restart counter parameter replied by the peer device Status of the peer device;
- the processor 1420 is further configured to report the fault state of the path and/or the reset state of the peer device to the control layer device when the path is faulty and/or the peer device is reset, and release All sessions on the fault path and/or on the path to the reset peer device;
- the memory 1430 is configured to store an execution flow of the processor.
- the receiver 1410 is specifically configured to: receive the control layer device self-reset information sent by the control layer device, and include, in the reset information, a restart counter parameter that is reset by the control layer device, and the received control
- the restarting counter parameter that is reset by the layer device is sent to the processor, and the processor sends the restart counter parameter that is reset by the control layer device to the transmitter;
- the device further includes: a transmitter 1440, configured to receive, by the processor, a restart counter parameter that is reset by the control layer device, and send, to the peer device that communicates with the control layer device, the carry And setting the notification information of the restart counter parameter, so that the peer device learns that the control layer device itself resets.
- the processor 1420 is further configured to: when the path is faulty and/or the peer device is reset, delete the fault path or delete a path that is connected to the reset peer device.
- the processor 1420 is further configured to: send, to the control layer device, response information, where the response information is used to notify the control layer device that a path is added to the peer device;
- the processor may be further configured to: customize a path label of the path, and further include a path label of the path in the response information; or use a path type and a path IP address carried in the path information Path port to identify the path;
- the processor is further configured to report, by using the path label or the path type, the path IP address, and the path port, the fault state of the path and the peer end to the control layer device.
- the reset state of the device is further configured to report, by using the path label or the path type, the path IP address, and the path port, the fault state of the path and the peer end to the control layer device. The reset state of the device.
- the processor 1420 is further configured to: set a path counter for the path;
- the transmitter 1440 is further configured to: send the response request information to the peer device;
- the receiver 1410 is further configured to: receive the response response information sent by the peer device, and send the response response information Sent to the processor;
- the path processing parameter includes a time threshold and a number threshold
- the processor 1420 is further configured to: send, according to a time threshold, a periodic indication that the sender sends the response request information to the peer device, where the response request information may further include a restart counter parameter;
- the path counter is cleared, and it is determined whether the response response information further includes a restart counter parameter replied by the peer device, if The response response information includes a restart meter replied by the peer device And determining, by the identifier, whether the value of the restart counter parameter is increased by one, and if the value of the restart counter parameter in the response response information is increased by 1, the state of the peer device is set to be reset;
- the value of the path counter is increased by 1;
- the state of the path is set to a fault state.
- the processor 1420 is further configured to: when the session information is a deletion session, determine whether to delete the path with the peer device;
- deletion session information is the last session with the peer device, deleting the path established with the peer device;
- the receiver 141 0 is further configured to: receive, by the control layer device, first interface fault processing information that is instructed for any or all of the sessions;
- the processor 1420 is specifically configured to: customize the second receiving fault processing information; the processor 1420 is further configured to: set, by the control layer device, the first interface fault processing information indicated by any session to the first interface a first priority, the first interface fault processing information indicated by the control layer device for all sessions is set to a second priority, and the second interface fault processing information of the custom configuration is set to a third priority;
- the processor 1420 is further configured to: when the interface with the control layer device fails, perform processing according to the priority of the first interface fault processing information or the second interface fault processing information;
- the first interface failure information or the second interface failure information is specifically: when the interface with the control layer device fails, immediately terminate the connected session; or when the interface with the control layer device fails Terminating the connected session after the allocated quota is used up; or when When the interface of the control layer device fails, the connected session is retained.
- the receiver obtains various parameters from the control layer device or the local configuration information, and sends the acquired various parameters to the processor and the memory, and the processor is configured according to the control layer device. Instructing to determine whether to add or delete a path with the peer device, and to identify the status of the path and/or the status of the peer device, and to process the fault path and/or the path connected to the reset peer device, and the existing Compared with the technology, the control layer device processes the fault path and/or the path connected to the reset peer device by itself, reduces the signaling or information between the control layer device and the forwarding layer device, and reduces the generation path or the pair. The misjudgment of the end device reset.
- RAM random access memory
- ROM read-only memory
- EEPROM electrically programmable ROM
- EEPROM electrically erasable programmable ROM
- registers hard disk, removable disk, CD-ROM, or technical field Any other form of storage medium known.
- the forwarding layer device obtains various parameters from the control layer device or the local network system, and determines whether it is related to the control layer device according to the instruction of the control layer device.
- the peer device establishes or deletes the path, and uses the obtained parameters to identify the status of the path and the status of the peer device and report the device to the control layer, and performs corresponding processing according to the processing information of the control layer device.
- the signaling or information between the control layer device and the forwarding layer device is reduced, and the misjudgment of the generation path or the reset of the peer device is reduced.
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
- Telephonic Communication Services (AREA)
Abstract
本发明实施例涉及一种通信路径的处理方法与装置。所述方法包括:从本地配置信息或者从控制层设备获取路径处理参数,从控制层设备获取路径信息和/或重启计数器参数;当所述路径信息为增加路径时,则与所述对端设备增加路径,利用所述路径处理参数和/或所述对端设备的重启计数器参数识别所述路径的状态和/或所述对端设备的状态;当所述路径故障和/或对端设备复位时,则向所述控制层设备上报所述路径的故障状态和/或所述对端设备的复位状态,释放在故障路径上和/或与复位的对端设备连接路径上的会话。
Description
通信路径的处理方法与装置
技术领域
本发明涉及通讯领域, 尤其涉及一种通信路径的处理方法与装置。 背景技术
随着移动互联网业务的发展、 以及多种类型的移动接入网络的融合, 需 要网关设备在完成基本的数据转发功能的基础上, 逐渐在向更精细化的业务 控制和计费功能发展, 从而支撑运营商更丰富的业务实施和控制。
目前, 在现有的控制和转发解耦架构下, 将网关设备一分为二, 分别称 为控制层设备和转发层设备。 控制层设备处理与外部设备之间的信令, 比如 与 AAA服务器之间的信令、 与 PCRF之间的信令等等。 控制层设备完成信令协 商后, 将转发层设备需要转发的信令或信息下发至转发层设备中, 转发层设 备将需要转发至外部设备的信令或信息转发。 因此, 目前的控制层设备负责 处理信令, 转发层设备负责转发相应的信令或信息。
在 GTP协议中定义由控制层设备识别对端设备的状态和相应的传输链路 是否出现故障, 并对出现故障的路径和对端设备复位进行相应的处理, 转发 层设备仅需双向透传路径管理机制的相应信令或信息即可, 因此, 现有技术 存在缺陷是:
由于控制层设备通常需要与大量的基站、 基站控制器、 其他网关设备互 联, 每个外部的设备还可能釆用多个 IP地址, 从而需要识别数量庞大的路径 状态和相应的对端设备的状态, 控制层设备还要将大量的信息通过转发层设 备透传, 从而在控制层设备和转发面设备之间的接口上引起大量的信令负荷, 而且, 当控制层设备和转发面设备之间的接口出现故障时, 将导致控制层设
备对路径状态出现误判, 同时与路径相应的对端设备状态也会出现误判。 发明内容
本发明的目的是为了解决现有技术中控制层设备和转发面设备之间的接 口上引起大量的信令和信息负荷, 产生误判的问题, 提供了一种通信路径的 处理方法与装置。
在第一方面, 本发明实施例提供了一种通信路径的处理方法, 所述方法 包括:
从本地配置信息或者从控制面设备获取路径处理参数, 从控制层设备获 取路径信息和 /或重启计数器参数;
当所述路径信息为增加路径时, 则与所述对端设备增加路径, 利用所述 路径处理参数和 /或所述对端设备回复的重启计数器参数识别所述路径的状 态和 /或所述对端设备的状态;
当所述路径故障和 /或对端设备复位时 ,则向所述控制层设备上报所述路 径的故障状态和 /或所述对端设备的复位状态, 释放在故障路径上和 /或与复 位的对端设备连接路径上的会话。
在第二方面, 本发明实施例提供了一种通信路径的处理方法, 所述方法 包括:
从本地配置信息或者从控制面设备获取路径处理参数, 从控制层设备获 取会话信息和 /或重启计数器参数;
当所述会话信息为建立会话时, 判断是否增加与所述对端设备的路径; 如果与所述对端设备增加路径,则利用所述路径处理参数和 /或所述对端 设备回复的重启计数器参数识别所述路径的状态和 /或所述对端设备的状态; 当所述路径故障和 /或对端设备复位时 ,则向所述控制层设备上报所述路 径的故障状态和 /或所述对端设备的复位状态, 释放在故障路径上和 /或与复 位的对端设备连接路径上的所有会话。
在第三方面, 本发明实施例提供了一种通信路径的处理装置, 所述装置 包括:
获取单元, 用于从本地配置信息或者从控制面设备获取路径处理参数, 从控制层设备获取路径信息和 /或重启计数器参数, 将获取的所述路径处理参 数、 路径信息和 /或重启计数器参数发送给识别单元;
识别单元, 用于接收所述获取单元发送的所述路径处理参数、 路径信息 和 /或重启计数器参数, 当所述路径信息为增加路径时, 则与所述对端设备增 加路径, 利用所述路径处理参数和 /或所述对端设备回复的重启计数器参数识 别所述路径的状态和 /或所述对端设备的状态, 将所述路径的状态和 /或所述 对端设备的状态发送至执行单元;
执行单元,用于接收所述识别单元发送的所述路径的状态和 /或所述对端 设备的状态, 当所述路径故障和 /或对端设备复位时, 则向所述控制层设备上 报所述路径的故障状态和 /或所述对端设备的复位状态, 释放在故障路径上和 /或与复位的对端设备连接路径上的会话。
在第四方面, 本发明实施例提供了一种通信路径的处理装置, 所述装置 包括:
获取单元, 用于从本地配置信息或者控制层设备获取路径处理参数, 从 控制层设备获取会话信息和 /或重启计数器参数, 将所述会话信息发送给判断 单元, 所述路径处理参数和 /或所述重启计数器参数发送给识别单元;
判断单元, 用于接收所述获取单元发送的会话信息, 当所述会话信息为 建立会话时, 判断是否增加与所述对端设备的路径, 将判断结果发送给识别 单元;
识别单元,用于接收所述获取单元发送的所述路径处理参数和 /或所述重 启计数器参数及所述判断单元发送的所述判断结果, 如果与所述对端设备增 加路径, 则利用所述路径处理参数和 /或所述对端设备回复的重启计数器参数 识别所述路径的状态和 /或所述对端设备的状态, 将识别出的所述路径的状态
和 /或所述对端设备的状态发送给执行单元;
执行单元,用于接收所述识别单元发送的所述路径的状态和 /或所述对端 设备的状态, 当所述路径故障和 /或对端设备复位时, 则向所述控制层设备上 报所述路径的故障状态和 /或所述对端设备的复位状态, 释放在故障路径上和 /或与复位的对端设备连接路径上的所有会话。
在第五方面, 本发明实施例提供了一种通信路径的处理装置, 所述装置 包括:
接收器, 用于从本地配置信息或者从控制面设备获取路径处理参数, 从 控制层设备获取路径信息和 /或重启计数器参数, 将获取的所述路径处理参 数、 路径信息和 /或重启计数器参数发送给处理器;
处理器, 用于接收所述接收器发送的所述路径处理参数、 路径信息和 /或 重启计数器参数, 当所述路径信息为增加路径时, 则与所述对端设备增加路 径, 利用所述路径处理参数 /或所述对端设备回复的重启计数器参数识别所述 路径的状态和 /或所述对端设备的状态;
所述处理器, 还用于当所述路径出现故障和 /或对端设备复位时, 则向所 述控制层设备上报所述路径的状态和 /或所述对端设备的状态, 释放在故障路 径上和 /或与复位的对端设备连接路径上的所有会话;
存储器, 用于存储处理器的执行流程。
在第六方面, 本发明实施例提供了一种通信路径的处理装置, 所述装置 包括:
接收器, 用于从本地配置信息或者控制层设备中获取路径处理参数, 从 控制层设备中获取会话信息和 /或重启计数器参数, 将所述路径处理参数、 会 话信息和 /或重启计数器参数发送给处理器;
处理器, 用于接收所述接收器发送的所述路径处理参数、 会话信息和 /或 重启计数器参数, 当所述会话信息为建立会话时, 判断是否增加与所述对端 设备的路径;
所述处理器, 还用于如果与所述对端设备增加路径, 则利用所述路径处 理参数和 /或所述对端设备回复的重启计数器参数识别所述路径的状态和 /或 所述对端设备的状态;
所述处理器, 还用于当所述路径故障和 /或对端设备复位时, 则向所述控 制层设备上报所述路径的故障状态和 /或所述对端设备的复位状态, 释放在故 障路径上和 /或与复位的对端设备连接路径上的所有会话;
存储器, 用于存储处理器的执行流程。
通过应用本发明实施例提供的通信路径的处理方法与装置, 转发层设备 从控制层设备或本地网络系统中获取各类参数, 根据控制层设备的指示或自 行判断是否与对端设备建立或删除路径, 并利用获取的各类参数识别路径的 状态和对端设备的状态并上报控制层设备, 按照控制层设备的处理信息进行 相应的处理, 与现有技术相比, 减少了控制层设备和转发层设备之间的信令 或信息, 降低产生路径或对端设备复位的误判。 附图说明
图 1为本发明实施例一提供的通信路径的处理方法流程图;
图 2为本发明实施例一提供的通信路径的处理方法信令流程图; 图 3为本发明实施例一提供的从控制层设备中获取信息的信令流程图; 图 4为本发明实施例一提供的从本地配置信息中获取信息的信令流程图; 图 5为本发明实施例一提供的识别路径状态和对端状态的信令流程图; 图 6为本发明实施例二提供的通信路径的处理方法流程图;
图 7为本发明实施例二提供的通信路径的处理方法信令流程图; 图 8为本发明实施例二提供的从控制层设备中获取信息的信令流程图; 图 9为本发明实施例二提供的从本地配置信息中获取信息的信令流程图; 图 10为本发明实施例二提供的识别路径状态和对端状态的信令流程图; 图 11为本发明实施例三提供的用于实现实施例一方法的通信路径的处理
装置图;
图 12为本发明实施例四提供的用于实现实施例二方法的通信路径的处理 装置图;
图 1 3为本发明实施例五提供的用于实现实施例一方法的通信路径的处理 装置图;
图 14为本发明实施例六提供的用于实现实施例二方法的通信路径的处理 装置图。 具体实施方式
为使本发明的目的、 技术方案和优点更加清楚, 下面结合附图对本发明 具体实施例作进一步的详细描述。
下面以图 1为例详细说明本发明实施例公开的通信路径的处理方法,图 1 本发明实施例一提供的通信路径的处理方法流程图。
本文发明实施例提供的通信路径的处理方法中, 转发层设备从本地配置 信息或者从控制层设备获取路径处理参数, 从控制层设备中获取路径信息和 / 或重启计数器参数, 转发层设备根据获取的相关信息, 对路径的状态和 /或对 端设备的状态进行识别, 转发层设备识别到路径故障和 /或对端设备复位时, 将识别到的路径故障状态和 /或对端设备复位状态上报给控制层设备, 同时, 释放在故障路径上和 /或与复位的对端设备连接路径上的会话, 在本发明实施 例中执行主体为转发层设备, 如图 1所示, 并结合图 2中的信令流程图, 图 2 为本发明实施例一提供的通信路径的处理方法信令流程图, 实现通信路径的 处理方法需要以下步骤, 具体包括:
步骤 110、转发层设备从本地配置信息或者从控制层设备获取路径处理参 数, 从控制层设备获取路径信息和 /或重启计数器参数;
具体地, 在一种实现方式下, 如图 3所示, 图 3为本发明实施例一提供 的从控制层设备中获取信息的信令流程图, 首先控制层设备与对端设备进行
通信协商, 所述通信协商具体为: 与准备建立通信路径的对端设备进行建立 会话的通信协商或者与已经建立通信路径的对端设备进行是否释放会话的通 信协商, 所述通信协商为现有技术, 此处不再复述, 控制层设备与对端设备 进行通信协商后, 判断是否需要转发层增加路径 (或者删除路径) , 控制层 设备判断完成后将向转发层设备发送路径处理参数、 路径信息和 /或重启计数 器参数;
所述路径处理参数包括: 发送周期、 时间阈值、 次数阈值等参数。 所述 路径信息中携带会话的路径类型 (GTP或者 PMIP ) 、 源 IP地址、 源端口、 目 的 IP地址、 目的端口。
在另一种实现方式下, 如图 4所示, 图 4为本发明实施例一提供的从本 地配置信息中获取信息的信令流程图; 转发层设备从本地配置信息中获取路 径处理参数, 然后控制层设备与对端设备进行通信协商, 所述通信协商具体 为: 与准备建立通信路径的对端设备进行建立会话的通信协商或者与已经建 立通信路径的对端设备进行是否释放会话的通信协商, 所述通信协商为现有 技术, 此处不再复述, 控制层设备与对端设备进行通信协商后, 判断是否需 要转发层增加路径 (或者删除路径) , 控制层设备判断完成后将向转发层设 备发送路径信息和 /或重启计数器参数;
所述路径处理参数包括: 发送周期、 时间阈值、 次数阈值等参数。 所述 路径信息中携带会话的路径类型 (GTP或者 PMIP ) 、 源 IP地址、 源端口、 目 的 IP地址、 目的端口。
步骤 120、 当所述路径信息为增加路径时, 则与所述对端设备增加路径, 利用所述路径处理参数和 /或所述对端设备回复的重启计数器参数识别所述 路径的状态和 /或所述对端设备的状态;
具体地,根据步骤 110的描述,控制层设备与对端设备进行准备建立 GTP 承载或者 PMIP会话通信, 控制层设备判断是否需要增加路径, 如果认为需要 增加路径时, 则在路径信息中携带增加路径, 并将路径信息发送至转发层设
备中, 指示转发层设备建立与对端设备的路径; 转发层设备则按照控制层设 备的路径信息, 与控制层设备通信的对端设备增加路径;
转发层设备与对端设备增加路径后, 向控制层设备发送响应信息, 为该 条路径设置路径计数器; 所述响应信息用于告知所述控制层设备已与所述对 端设备增加路径;
可选地, 转发层设备与对端设备增加路径后, 还可接收控制层设备为所 述路径设置的路径标号; 或者转发层设备自定义所述路径设置的路径标号; 或者转发层设备利用路径信息中携带的路径类型、 路径 IP地址、 路径端口以 标识路径, 则在所述响应信息中还包括所述路径的路径标号;
根据步骤 110的描述, 控制层设备与对端设备进行准备释放 GTP承载或 者 PMIP会话通信, 控制层设备判断是否需要删除路径, 如果认为需要删除路 径时, 则在路径信息中携带删除路径, 并将路径信息发送至转发层设备中, 指示转发层设备删除与对端设备的路径; 转发层设备则按照控制层设备的指 示, 删除与对端设备已存在的路径, 并向控制层设备发送响应信息, 告知控 制层设备删除与对端设备已存在的路径;
需要说明的是, 在步骤 110中已说明路径处理参数可从转发层本地配置 信息中或者从控制层设备中获取, 当获取的路径处理参数数值不同时, 以控 制层设备下发的路径处理参数优先使用, 而且, 控制层设备下发的路径处理 参数可适用于一条路径也可适用于多条路径;
转发层设备利用获取的路径处理参数和 /或重启计数器参数识别路径的 状态和 /或对端设备的状态, 具体过程为, 如图 5所示, 图 5为本发明实施例 一提供的识别路径状态和对端状态的信令流程图:
根据时间阈值, 转发层设备向对端设备周期性的发送应答请求信息, 所 述周期可根据需要自行设置, 如 30秒; 在应答请求信息中还可进一步包括重 启计数器参数, 转发层设备判断自身是否在时间阈值内接收到由对端设备发 送的应答响应信息; 如果在时间阈值内转发层设备接收到由对端设备发送的
应答响应信息, 则转发层设备将该条路径的路径计数器清零, 同时, 判断所 述应答响应信息中是否还包括对端设备回复的重启计数器参数, 如果所述应 答响应信息中包括对端设备回复的重启计数器参数, 则识别重启计数器参数 值是否改变, (通常是重启计数器参数值是否增加 1 )如果重启计数器参数值 增加 1 ,则转发层设备明确对端设备已经复位,设置对端设备状态为复位状态; 如果在时间阈值内没有接收到由对端设备发送的应答响应信息, 则转发 层设备将该条路径的路径计数器的值增加 1 ;
然后, 转发层设备判断该条路径的路径计数器的值是否超过次数阈值; 如果该条路径的路径计数器的值超过次数阈值, 则设置该条路径的状态为故 障状态。
步骤 130、 当所述路径故障和 /或对端设备复位时, 转发层设备则向所述 控制层设备上报所述路径的故障状态和 /或所述对端设备的复位状态, 释放在 故障路径上和 /或与复位的对端设备连接路径上的会话。
具体地, 根据步骤 120的描述, 当路径故障和 /或对端设备复位时, 转发 层设备利用在步骤 120 中的路径标号或者路径信息中携带的路径类型、 路径 IP地址、路径端口, 将路径的故障状态和 /或对端设备的复位状态上报至控制 层设备, 同时, 自行释放在故障路径上和 /或与复位的对端设备连接路径上的 会话;
当路径的状态为故障状态时, 转发层设备在向控制层设备上报路径故障 状态后, 释放故障路径上的所有会话, 清除故障路径的信息, 例如 GTP承载 或者 PMIP会话, 或者直接将所述故障路径删除;
当对端设备状态为复位状态时, 转发层设备在向控制层设备上报路径故 障状态后, 释放该路径上的所有会话, 清除该路径的信息, 例如 GTP承载或 者 PMIP会话, 或者直接将该路径删除;
可选地, 在转发层设备处理完上述故障状态的路径或者对端设备复位的 状态后, 还可包括步骤: 接收所述控制层设备发送的该控制层设备自身复位
信息, 在所述复位信息中包括所述控制层设备重新设置的重启计数器参数; 向与所述控制层设备通信的所述对端设备发送携带所述重新设置的重启计数 器参数的通知信息, 以使所述对端设备获知所述控制层设备自身复位; 所述 步骤可以在上述步骤中任意处执行;
具体地, 当控制层设备出现故障时, 控制层设备自行复位, 控制层设备 自行复位后, 将自行复位信息发送至转发层设备中, 转发层设备接收控制层 设备发送的该控制层设备自身复位信息, 在复位信息中包括控制层设备重新 设置的重启计数器参数; 转发层设备接收到控制层设备重新设备的重启计数 器参数后, 向与该控制层设备通信的全部的对端设备发送携带重新设置的重 启计数器参数的通知信息, 以使全部的对端设备获知该控制层设备自身复位, 并重新设置重启计数器参数。
可选地, 在转发层设备处理完上述故障状态的路径或者对端设备复位的 状态后, 还可包括步骤: 接收所述控制层设备发送的第一接口故障处理信息; 具体地, 控制层设备还向转发层设备发送第一接口故障处理信息, 用以 指示在控制层设备与转发层设备之间的接口出现问题时, 转发层设备的处理 接口故障的处理方式, 所述步骤可以在上述步骤中任意处执行;
所述第一接口故障处理信息由控制层设备针对任一或者全部会话进行指 示, 转发层设备接收控制层设备发送的第一接口故障处理信息; 将控制层设 备针对任一会话进行指示的第一接口故障处理信息设置为第一优先级, 将控 制层设备针对全部会话进行指示的第一接口故障处理信息设置为第二优先 级;
或者, 转发层设备自定义第二接口故障处理信息, 将自定义进行配置的 第二接口故障处理信息设置为第三优先级;
所述第一优先级高于所述第二优先级和所述第三优先级, 所述第二优先 级高于所述第三优先级;
当与控制层设备的接口出现故障时, 转发层设备根据接收的所述接口故
障处理信息的优先级进行处理;
所述接口故障信息具体为: 当与控制层设备的接口出现故障时, 立即终 止连接的会话; 或者当与控制层设备的接口出现故障时, 在分配的配额用完 后终止连接的会话; 或者当与控制层设备的接口出现故障时, 保留连接的会 话。
通过应用本发明实施例提供的通信路径的处理方法, 转发层设备从本地 配置信息或者从控制层设备中获取各类参数, 根据控制层设备的指示与对端 设备增加或删除路径, 并利用获取的各类参数识别路径的状态和 /或对端设备 的状态, 并对故障路径和 /或与复位的对端设备连接的路径进行相应的处理, 与现有技术相比, 控制层设备自行对故障路径或者与复位的对端设备连接的 路径进行相应的处理, 减少了控制层设备和转发层设备之间的信令或信息, 降低产生路径或对端设备复位的误判。
为使本发明的目的、 技术方案和优点更加清楚, 下面结合附图对本发明 具体实施例作进一步的详细描述。
下面以图 6为例详细说明本发明实施例公开的通信路径的处理方法,图 6 本发明实施例二提供的通信路径的处理方法流程图。
本文发明实施例提供的通信路径的处理方法中, 转发层设备从本地配置 信息或者从控制层设备中获取路径处理参数, 从控制层设备中获取会话信息 和 /或重启计数器参数, 根据会话信息, 转发层设备判断是否增加(或删除) 与对端设备的路径, 如果与对端设备增加路径, 识别路径的状态和 /或对端设 备的状态, 在转发层设备识别到路径故障和 /或对端设备复位时, 将识别到的 路径故障状态和 /或对端设备复位状态上报给控制层设备, 同时, 释放在故障 路径上和 /或与复位的对端设备连接路径上的会话, 在本发明实施例中执行主 体为转发层设备, 如图 6所示, 并结合图 7的信令流程图, 图 7为本发明实 施例二提供的通信路径的处理方法信令流程图, 实现通信路径的处理方法需 要以下步骤, 具体包括:
步骤 610、转发层设备从本地配置信息或者从控制面设备获取路径处理参 数, 从控制层设备获取会话信息和 /或重启计数器参数;
具体地, 在一种实现方式下, 如图 8所示, 图 8为本发明实施例二提供 的从控制层设备中获取信息的信令流程图; 控制层设备向转发层设备发送路 径处理参数和 /或重启计数器参数;
所述路径处理参数包括: 发送周期、 时间阈值、 次数阈值等参数; 在另一种实现方式下, 如图 9所示, 图 9为本发明实施例二提供的从本 地配置信息中获取信息的信令流程图; 转发层设备从本地配置信息中获取路 径处理参数, 控制层设备向转发层设备发送重启计数器参数;
所述路径处理参数包括: 发送周期、 时间阈值、 次数阈值等参数; 转发层设备从控制层设备中获取重启计数器参数后, 控制层设备与对端 设备进行通信协商, 所述通信协商具体是, 与准备建立通信路径的对端设备 进行建立会话的通信协商或者与已经建立通信路径的对端设备进行是否释放 会话的通信协商, 所述通信协商为现有技术, 此处不再复述, 控制层设备与 对端设备进行通信协商后, 将会话信息发送至转发层设备中, 所述会话信息 中携带会话的路径类型 ( GTP 或者 PMIP ) 、 源 IP地址、 源端口、 目的 IP地 址、 目的端口。
步骤 620、 当所述会话信息为建立会话时,转发层设备判断是否增加与所 述对端设备的路径;
具体地, 根据步骤 610 的描述, 控制层设备在与对端设备进行建立 GTP 承载或者 PMIP会话通信后, 将会话信息发送至转发层设备中, 当会话信息为 建立会话时, 转发层设备判断是否增加与所述对端设备的路径, 如果转发层 设备判断出是与对端设备建立的首次 GTP承载或者 PMIP会话, 则认为需要增 加路径, 将与对端设备增加路径;
转发层设备与对端设备增加路径后, 向控制层设备发送响应信息, 为该 条路径设置路径计数器; 所述响应信息用于告知所述控制层设备已与所述对
端设备增加路径;
可选地, 转发层设备与对端设备增加路径后, 还可自定义所述路径设置 的路径标号;或者转发层设备利用路径信息中携带的路径类型、路径 IP地址、 路径端口以标识路径, 则在所述响应信息中还包括所述路径的路径标号; 根据步骤 610的描述, 控制层设备在与对端设备进行准备释放 GTP承载 或者 PMIP会话通信后, 则在会话信息中携带删除路径, 并将会话信息发送至 转发层设备中, 转发层设备判断是否需要删除路径, 如果转发层设备判断出 是与对端设备的最后 GTP承载或者 PMIP会话, 则删除与对端设备已存在的路 径, 并向控制层设备发送响应信息, 告知控制层设备删除与对端设备已存在 的路径;
需要说明的是, 在步骤 610中已说明路径处理参数可从转发层本地配置 信息中或者从控制层设备中获取, 当获取的路径处理参数数值不同时, 以控 制层设备下发的路径处理参数优先使用, 而且, 控制层设备下发的路径处理 参数可适用于一条路径也可适用于多条路径;
步骤 630、如果与所述对端设备增加路径,则转发层设备利用所述路径处 理参数和 /或所述对端设备回复的重启计数器参数识别所述路径的状态和 /或 所述对端设备的状态;
具体地, 根据步骤 620的描述, 转发层设备利用获取的路径处理参数和 / 或重启计数器参数识别建立的路径的状态和 /或相应的对端设备的状态, 具体 过程为, 如图 10所示, 图 10为本发明实施例二提供的识别路径状态和对端 状态的信令流程图:
根据时间阈值, 转发层设备向对端设备周期性的发送应答请求信息, 所 述周期可根据需要自行设置, 如 30秒; 在应答请求信息中还可进一步包括重 启计数器参数, 转发层设备判断自身是否在时间阈值内接收到由对端设备发 送的应答响应信息; 如果在时间阈值内转发层设备接收到由对端设备发送的 应答响应信息, 则转发层设备将该条路径的路径计数器清零, 同时, 判断所
述应答响应信息中是否还包括对端设备回复的重启计数器参数, 如果所述应 答响应信息中包括对端设备回复的重启计数器参数, 则识别重启计数器参数 值是否改变, (通常是重启计数器参数值是否增加 1 )如果重启计数器参数值 增加 1 ,则转发层设备明确对端设备已经复位,设置对端设备状态为复位状态; 如果在时间阈值内没有接收到由对端设备发送的应答响应信息, 则转发 层设备将该条路径的路径计数器的值增加 1 ;
然后, 转发层设备判断该条路径的路径计数器的值是否超过次数阈值; 如果该条路径的路径计数器的值超过次数阈值, 则设置该条路径的状态为故 障状态。
步骤 640、 当所述路径故障和 /或对端设备复位时, 则转发层设备向所述 控制层设备上报所述路径的故障状态和 /或所述对端设备的复位状态, 释放在 故障路径上和 /或与复位的对端设备连接路径上的所有会话;
具体地, 根据步骤 630的描述, 当路径故障和 /或对端设备复位时, 转发 层设备利用在步骤 620 中的路径标号或者路径信息中携带的路径类型、 路径 IP地址、路径端口, 将路径的故障状态和 /或对端设备的复位状态上报至控制 层设备, 同时, 自行释放在故障路径上和 /或与复位的对端设备连接路径上的 会话;
当路径的状态为故障状态时, 转发层设备在向控制层设备上报路径故障 状态后, 释放故障路径上的所有会话, 清除故障路径的信息, 例如 GTP承载 或者 PMIP会话, 或者直接将所述故障路径删除;
当对端设备状态为复位状态时, 转发层设备在向控制层设备上报路径故 障状态后, 释放该路径上的所有会话, 清除该路径的信息, 例如 GTP承载或 者 PMIP会话, 或者直接将该路径删除;
可选地, 在转发层设备处理完上述故障状态的路径或者对端设备复位的 状态后, 还可包括步骤: 接收所述控制层设备发送的该控制层设备自身复位 信息, 在所述复位信息中包括所述控制层设备重新设置的重启计数器参数;
向与所述控制层设备通信的所述对端设备发送携带所述重新设置的重启计数 器参数的通知信息, 以使所述对端设备获知所述控制层设备自身复位; 所述 步骤可以在上述步骤中任意处执行;
具体地, 当控制层设备出现故障时, 控制层设备自行复位, 控制层设备 自行复位后, 将自行复位信息发送至转发层设备中, 转发层设备接收控制层 设备发送的该控制层设备自身复位信息, 在复位信息中包括控制层设备重新 设置的重启计数器参数; 转发层设备接收到控制层设备重新设备的重启计数 器参数后, 向与该控制层设备通信的全部的对端设备发送携带重新设置的重 启计数器参数的通知信息, 以使全部的对端设备获知该控制层设备自身复位, 并重新设置重启计数器参数。
可选地, 在转发层设备处理完上述故障状态的路径或者对端设备复位的 状态后, 还可包括步骤: 接收所述控制层设备发送的第一接口故障处理信息; 具体地, 控制层设备还向转发层设备发送第一接口故障处理信息, 用以 指示在控制层设备与转发层设备之间的接口出现问题时, 转发层设备的处理 接口故障的处理方式, 所述步骤可以在上述步骤中任意处执行;
所述第一接口故障处理信息由控制层设备针对任一或者全部会话进行指 示, 转发层设备接收控制层设备发送的第一接口故障处理信息; 将控制层设 备针对任一会话进行指示的第一接口故障处理信息设置为第一优先级, 将控 制层设备针对全部会话进行指示的第一接口故障处理信息设置为第二优先 级;
或者, 转发层设备自定义第二接口故障处理信息, 将自定义进行配置的 第二接口故障处理信息设置为第三优先级;
所述第一优先级高于所述第二优先级和所述第三优先级, 所述第二优先 级高于所述第三优先级;
当与控制层设备的接口出现故障时, 转发层设备根据接收的所述接口故 障处理信息的优先级进行处理;
所述接口故障信息具体为: 当与控制层设备的接口出现故障时, 立即终 止连接的会话; 或者当与控制层设备的接口出现故障时, 在分配的配额用完 后终止连接的会话; 或者当与控制层设备的接口出现故障时, 保留连接的会 话。
通过应用本发明实施例提供的通信路径的处理方法, 转发层设备从控制 层设备或本地配置信息中获取各类参数, 根据控制层设备的指示自行判断是 否与对端设备建立或删除路径, 识别路径的状态和 /或对端设备的状态, 并对 故障路径和 /或与复位的对端设备连接的路径进行相应的处理, 与现有技术相 比, 控制层设备自行对故障路径或者与复位的对端设备连接的路径进行相应 的处理, 减少了控制层设备和转发层设备之间的信令或信息, 降低产生路径 或对端设备复位的误判。
相应地,本发明实施例还提供了一种通信路径的处理装置,如图 11所示, 图 11为本发明实施例三提供的用于实现实施例一方法的通信路径的处理装置 图,所述装置中的各单元存在于转发层设备中,所述装置包括:获取单元 1110、 识别单元 1120和执行单元 1130;
所述获取单元 1110, 用于从本地配置信息或者从控制层设备获取路径处 理参数, 从控制层设备获取路径信息和 /或重启计数器参数, 将获取的所述路 径处理参数、 路径信息和 /或重启计数器参数发送给识别单元;
识别单元 1120, 用于接收所述获取单元发送的所述路径处理参数、 路径 信息和 /或重启计数器参数, 当所述路径信息为增加路径时, 则与所述对端设 备增加路径, 利用所述路径处理参数和 /或所述对端设备回复的重启计数器参 数识别所述路径的状态和 /或所述对端设备的状态, 将所述路径的状态和 /或 所述对端设备的状态发送至执行单元;
执行单元 1130 ,用于接收所述识别单元发送的所述路径的状态和 /或所述 对端设备的状态, 当所述路径故障和 /或所述对端设备复位时, 则向所述控制 层设备上报所述路径的故障状态和 /或所述对端设备的复位状态, 释放在故障
路径上和 /或与复位的对端设备连接路径上的会话;
所述获取单元 1110, 用于接收所述控制层设备发送的该控制层设备自身 复位信息, 在所述复位信息中包括所述控制层设备重新设置的重启计数器参 数, 将接收的所述控制层设备重新设置的重启计数器参数发送给发送单元; 识别单元 1120, 用于接收所述获取单元发送的所述控制层设备重新设置 的重启计数器参数, 向所述对端设备发送携带所述重新设置的重启计数器参 数的通知信息, 以使所述对端设备获知所述控制层设备自身复位。
所述执行单元 1130具体用于: 当所述路径故障和 /或所述对端设备复位 时, 删除所述故障路径或者删除与所述复位的对端设备连接的路径。
所述识别单元 1120还用于, 向所述控制层设备发送响应信息, 所述响应 信息用于告知所述控制层设备已与所述对端设备增加路径;
所述识别单元 1120还可进一步用于,接收所述控制层设备为所述路径设 置的路径标号, 或者自定义所述路径的路径标号, 则在所述响应信息中还包 括所述路径的路径标号; 或者利用所述路径信息中携带的路径类型、 路径 IP 地址、 路径端口以标识路径;
所述执行单元 1130具体用于,利用所述路径标号或者所述路径信息中携 带的路径类型、 路径 IP地址、 路径端口向所述控制层设备上报所述路径的故 障状态和 /或所述对端设备的复位状态。
所述识别单元 1120还用于, 为所述路径设置路径计数器;
所述路径处理参数包括时间阈值和次数阈值;
所述识别单元 1120进一步具体用于, 根据时间阈值, 周期性的向所述对 端设备发送应答请求信息, 所述应答请求信息中还可进一步包括重启计数器 参数;
判断是否在时间阈值内接收到所述对端设备发送的应答响应信息; 如果在时间阈值内接收到所述对端设备发送的应答响应信息, 则将所述 路径计数器清零, 判断所述应答响应信息中是否还包括对端设备回复的所述
重启计数器参数, 如果所述应答响应信息中包括对端设备回复的重启计数器 参数, 则识别所述重启计数器参数值是否增加 1 , 若所述应答响应信息中的重 启计数器参数值增加 1 , 则设置所述对端设备状态为复位;
如果在时间阈值内没有接收到所述对端设备发送的应答响应信息, 则将 路径计数器的值增加 1 ;
判断所述路径计数器的值是否超过次数阈值;
如果所述路径计数器的值超过次数阈值, 则设置所述路径的状态为故障 状态。
所述识别单元 1 120还具体用于: 当所述路径信息为删除路径时, 则删除 与所述对端设备已建立的路径;
向所述控制层设备发送响应信息, 告知所述控制层设备删除所述已建立 的路径
所述装置还包括: 第一接收单元 1140 , 用于接收所述控制层设备针对任 一或者全部会话进行指示的第一接口故障处理信息;
或者, 配置单元 1150 , 用于自定义第二接口故障处理信息;
设置单元 1160 , 用于将所述控制层设备针对任一会话指示的第一接口故 障处理信息设置为第一优先级, 将所述控制层设备针对全部会话指示的第一 接口故障处理信息设置为第二优先级, 将自定义配置的第二接口故障处理信 息设置为第三优先级;
处理单元 1170 , 用于当与所述控制层设备的接口出现故障时, 根据所述 第一接口故障处理信息或者所述第二接口故障处理信息的优先级进行处理; 所述第一接口故障信息或者所述第二接口故障信息具体为: 当与所述控 制层设备的接口出现故障时, 立即终止连接的会话; 或者当与所述控制层设 备的接口出现故障时, 在分配的配额用完后终止连接的会话; 或者当与所述 控制层设备的接口出现故障时, 保留连接的会话。
通过应用本发明实施例提供的通信路径的处理装置, 获取单元从控制层
设备或者从本地配置信息中获取各类参数, 识别单元根据控制层设备的指示 与对端设备增加或删除路径, 并利用获取的各类参数识别路径的状态和 /或对 端设备的状态, 执行单元对故障路径和 /或与复位的对端设备连接的路径进行 相应的处理, 与现有技术相比, 控制层设备自行对故障路径或者与复位的对 端设备连接的路径进行相应的处理, 减少了控制层设备和转发层设备之间的 信令或信息, 降低产生路径或对端设备复位的误判。
相应地,本发明实施例还提供了一种通信路径的处理装置,如图 12所示, 图 12为本发明实施例四提供的用于实现实施例二方法的通信路径的处理装置 图,所述装置中的各单元存在于转发层设备中,所述装置包括:获取单元 1200、 判断单元 121 0、 识别单元 1220和执行单元 1230;
所述装置中获取单元 1200 , 用于从本地配置信息或者控制层设备获取路 径处理参数, 从控制层设备获取会话信息和 /或重启计数器参数, 将所述会话 信息发送给判断单元, 所述路径处理参数和 /或所述重启计数器参数发送给识 别单元;
判断单元 1210 , 用于接收所述获取单元发送的会话信息, 当所述会话信 息为建立会话时, 判断是否增加与所述对端设备的路径, 将判断结果发送给 识别单元;
识别单元 1220 ,用于接收所述获取单元发送的所述路径处理参数和 /或所 述重启计数器参数及所述判断单元发送的所述判断结果, 如果与所述对端设 备增加路径, 则利用所述路径处理参数和 /或所述对端设备回复的重启计数器 参数识别所述路径的状态和 /或所述对端设备的状态, 将识别出的所述路径的 状态和 /或所述对端设备的状态发送给执行单元;
执行单元 1230 ,用于接收所述识别单元发送的所述路径的状态和 /或所述 对端设备的状态, 当所述路径故障和 /或所述对端设备复位时, 则向所述控制 层设备上报所述路径的故障状态和 /或所述对端设备的复位状态, 释放在故障 路径上和 /或与复位的对端设备连接路径上的所有会话;
所述获取单元 1200 , 用于接收所述控制层设备发送的该控制层设备自身 复位信息, 在所述复位信息中包括所述控制层设备重新设置的重启计数器参 数, 将接收的所述控制层设备重新设置的重启计数器参数发送给发送单元; 识别单元 1220 , 用于接收所述获取单元发送的所述控制层设备重新设置 的重启计数器参数, 向与所述控制层设备通信的所述对端设备发送携带所述 重新设置的重启计数器参数的通知信息, 以使所述对端设备获知所述控制层 设备自身复位;
所述执行单元 1240具体用于: 当所述路径故障和 /或所述对端设备复位 时, 删除所述故障路径或者删除与所述复位的对端设备连接的路径;
所述判断单元 1210具体用于: 当所述建立会话为与所述对端设备的首次 会话时, 则增加与所述对端设备的路径;
所述识别单元 1220还用于, 向所述控制层设备发送响应信息, 所述响应 信息用于告知所述控制层设备已与所述对端设备增加路径;
所述识别单元 1220还可进一步用于, 自定义所述路径的路径标号, 则在 所述响应信息中还包括所述路径的路径标号; 或者利用所述路径信息中携带 的路径类型、 路径 IP地址、 路径端口以标识路径;
所述执行单元 1230具体用于,利用所述路径标号或者所述路径信息中携 带的路径类型、 路径 IP地址、 路径端口向所述控制层设备上报所述路径的故 障状态和 /或所述对端设备的复位状态;
所述识别单元 1220还用于, 为所述路径设置路径计数器;
所述路径处理参数包括时间阈值和次数阈值;
所述识别单元 1220进一步具体用于, 根据时间阈值, 周期性的向所述对 端设备发送应答请求信息, 所述应答请求信息中包括重启计数器参数;
判断是否在时间阈值内接收到所述对端设备发送的应答响应信息; 如果在时间阈值内接收到所述对端设备发送的应答响应信息, 则将所述 路径计数器清零, 判断所述应答响应信息中是否还包括对端设备回复的所述
重启计数器参数, 如果所述应答响应信息中包括对端设备回复的所述重启计 数器参数, 则识别所述重启计数器参数值是否增加 1 , 若所述应答响应信息中 的重启计数器参数值增加 1 , 则设置所述对端设备状态为复位;
如果在时间阈值内没有接收到所述对端设备发送的应答响应信息, 则将 路径计数器的值增加 1 ;
判断所述路径计数器的值是否超过次数阈值;
如果所述路径计数器的值超过次数阈值, 则设置所述路径的状态为故障 状态。
所述判断单元 1210还具体用于: 当所述会话信息为删除会话时, 则判断 是否删除与所述对端设备的路径;
当所述删除会话信息为与所述对端设备的最后会话时, 则删除与所述对 端设备已建立的路径;
向所述控制层设备发送响应信息, 告知所述控制层设备删除所述已建立 的路径;
所述装置还包括: 第一接收单元 1240 , 用于接收所述控制层设备针对任 一或者全部会话进行指示的第一接口故障处理信息;
或者, 配置单元 1250 , 用于自定义第二接口故障处理信息;
设置单元 1260 , 用于将所述控制层设备针对任一会话指示的第一接口故 障处理信息设置为第一优先级, 将所述控制层设备针对全部会话配置的第一 接口故障处理信息指示为第二优先级, 将自定义配置的第二接口故障处理信 息设置为第三优先级;
处理单元 1270 , 用于当与所述控制层设备的接口出现故障时, 根据所述 第一接口故障处理信息或者所述第二接口故障处理信息的优先级进行处理; 所述第一接口故障信息或者所述第二接口故障信息具体为: 当与所述控 制层设备的接口出现故障时, 立即终止连接的会话; 或者当与所述控制层设 备的接口出现故障时, 在分配的配额用完后终止连接的会话; 或者当与所述
控制层设备的接口出现故障时, 保留连接的会话。
通过应用本发明实施例提供的通信路径的处理装置, 获取单元从控制层 设备或本地配置信息中获取各类参数, 判断单元根据控制层设备的指示自行 判断是否与对端设备建立或删除路径, 识别单元识别路径的状态和 /或对端设 备的状态, 执行单元对故障路径和 /或与复位的对端设备连接的路径进行相应 的处理, 与现有技术相比, 控制层设备自行对故障路径和 /或与复位的对端设 备连接的路径进行相应的处理, 减少了控制层设备和转发层设备之间的信令 或信息, 降低产生路径或对端设备复位的误判。
另外, 本发明实施例提供的通信路径的处理装置还可以釆用实现方式如 下, 用以实现本发明实施例一中的通信路径的处理方法, 如图 1 3所示, 所述 通信路径的处理装置包括: 接收器 1 310、 处理器 1 320、 存储器 1 330。
所述装置中接收器 1 310 , 用于从本地配置信息或者从控制层设备获取路 径处理参数, 从控制层设备获取路径信息和 /或重启计数器参数, 将获取的所 述路径处理参数、 路径信息和 /或重启计数器参数发送给处理器;
处理器 1 320 , 用于接收所述接收器发送的所述路径处理参数、 路径信息 和 /或重启计数器参数, 当所述路径信息为增加路径时, 则与所述对端设备增 加路径, 利用所述路径处理参数 /或所述对端设备回复的重启计数器参数识别 所述路径的状态和 /或所述对端设备的状态;
所述处理器 1 320 ,还用于当所述路径出现故障和 /或对端设备复位时,则 向所述控制层设备上报所述路径的状态和 /或所述对端设备的状态, 释放在故 障路径上和 /或与复位的对端设备连接路径上的所有会话;
存储器 1 330 , 用于存储处理器的执行流程。
所述接收器 1 310具体用于,接收所述控制层设备发送的该控制层设备自 身复位信息, 在所述复位信息中包括所述控制层设备重新设置的重启计数器 参数, 将接收的所述控制层设备重新设置的重启计数器参数发送给处理器, 所述处理器将所述控制层设备重新设置的重启计数器参数发送给发送器;
所述装置还包括: 发送器 1 340 , 用于接收所述处理器发送的所述控制层 设备重新设置的重启计数器参数, 向与所述控制层设备通信的所述对端设备 发送携带所述重新设置的重启计数器参数的通知信息, 以使所述对端设备获 知所述控制层设备自身复位。
所述处理器 1 320还具体用于: 当所述路径故障和 /或所述对端设备复位 时, 删除所述故障路径或者删除与所述复位的对端设备连接的路径。
所述处理器 1 320还具体用于: 向所述控制层设备发送响应信息, 所述响 应信息用于告知所述控制层设备已与所述对端设备增加路径;
所述处理器 1 320还可进一步用于:接收所述控制层设备为所述路径设置 的路径标号; 或者自定义所述路径的路径标号, 则在所述响应信息中还包括 所述路径的路径标号; 或者利用所述路径信息中携带的路径类型、 路径 IP地 址、 路径端口以标识路径;
所述处理器 1 320更进一步具体用于,利用所述路径标号或者所述路径信 息中携带的路径类型、 路径 IP地址、 路径端口向所述控制层设备上报所述路 径的故障状态和所述对端设备的复位状态。
所述处理器 1 320还具体用于, 为所述路径设置路径计数器;
所述发送器 1 340还具体用于, 向所述对端设备发送应答请求信息; 所述接收器 1 310还具体用于, 接收所述对端设备发送的应答响应信息, 并将所述应答响应信息发送给处理器;
所述路径处理参数包括时间阈值和次数阈值;
所述处理器 1120还具体用于: 根据时间阈值, 周期性的指示发送器向所 述对端设备发送应答请求信息, 所述应答请求信息中还可进一步包括重启计 数器参数;
判断是否在时间阈值内接收到应答响应信息;
如果在时间阈值内接收到所述对端设备发送的应答响应信息, 则将所述 路径计数器清零, 判断所述应答响应信息中是否还包括所述对端设备回复的
重启计数器参数, 如果所述应答响应信息中包括所述对端设备回复的重启计 数器参数, 则识别所述重启计数器参数值是否增加 1 , 若所述应答响应信息中 的重启计数器参数值增加 1 , 则设置所述对端设备状态为复位;
如果在时间阈值内没有接收到所述应答响应信息, 则将路径计数器的值 增力口 1 ;
判断所述路径计数器的值是否超过次数阈值;
如果所述路径计数器的值超过次数阈值, 则设置所述路径的状态为故障 状态。
所述处理器 1 320还具体用于: 当所述路径信息为删除路径时, 则删除与 所述对端设备已建立的路径, 向所述控制层设备发送响应信息, 告知所述控 制层设备删除所述已建立的路径。
所述接收器 1 340还具体用于:接收所述控制层设备针对任一或者全部会 话进行指示的第一接口故障处理信息;
所述处理器 1 320具体用于, 自定义配置第二接收故障处理信息; 所述处理器 1 320还具体用于,将所述控制层设备针对任一会话指示的第 一接口故障处理信息设置为第一优先级, 将所述控制层设备针对全部会话指 示的第一接口故障处理信息设置为第二优先级, 将自定义配置的第二接口故 障处理信息设置为第三优先级;
所述处理器 1 320进一步具体用于, 当与所述控制层设备的接口出现故障 时, 根据所述第一接口故障处理信息或者所述第二接口故障处理信息的优先 级进行处理;
所述第一接口故障信息或者所述第二接口故障信息具体为: 当与所述控 制层设备的接口出现故障时, 立即终止连接的会话; 或者当与所述控制层设 备的接口出现故障时, 在分配的配额用完后终止连接的会话; 或者当与所述 控制层设备的接口出现故障时, 保留连接的会话。
通过应用本发明实施例提供的通信路径的处理装置, 接收器从控制层设
备或者从本地配置信息中获取各类参数, 并将各类参数发送至处理器中, 处 理器根据控制层设备的指示和参数与对端设备增加或删除路径, 并识别路径 的状态和 /或对端设备的状态, 处理器还对故障路径和 /或与复位的对端设备 连接的路径进行相应的处理, 与现有技术相比, 控制层设备自行对故障路径 和 /或与复位的对端设备连接的路径进行相应的处理, 减少了控制层设备和转 发层设备之间的信令或信息, 降低产生路径或对端设备复位的误判。
另外, 本发明实施例提供的通信路径的处理装置还可以釆用实现方式如 下, 用以实现本发明实施例二中的通信路径的处理方法, 如图 14所示, 所述 通信路径的处理装置包括: 接收器 1410、 处理器 1420、 存储器 1430。
所述装置中接收器 1410 , 用于从本地配置信息或者控制层设备中获取路 径处理参数, 从控制层设备中获取会话信息和 /或重启计数器参数, 将所述路 径处理参数、 会话信息和 /或重启计数器参数发送给处理器;
处理器 1420 , 用于接收所述接收器发送的所述路径处理参数、 会话信息 和 /或重启计数器参数, 当所述会话信息为建立会话时, 判断是否增加与所述 对端设备的路径;
所述处理器 1420 , 还用于如果与所述对端设备增加路径, 则利用所述路 径处理参数和 /或所述对端设备回复的重启计数器参数识别所述路径的状态 和 /或所述对端设备的状态;
所述处理器 1420 ,还用于当所述路径故障和 /或对端设备复位时,则向所 述控制层设备上报所述路径的故障状态和 /或所述对端设备的复位状态, 释放 在故障路径上和 /或与复位的对端设备连接路径上的所有会话;
存储器 1430 , 用于存储处理器的执行流程。
所述接收器 1410具体用于:接收所述控制层设备发送的该控制层设备自 身复位信息, 在所述复位信息中包括所述控制层设备重新设置的重启计数器 参数, 将接收的所述控制层设备重新设置的重启计数器参数发送给处理器, 所述处理器将所述控制层设备重新设置的重启计数器参数发送给发送器;
所述装置还包括: 发送器 1440, 用于接收所述处理器发送的所述控制层 设备重新设置的重启计数器参数, 向与所述控制层设备通信的所述对端设备 发送携带所述重新设置的重启计数器参数的通知信息, 以使所述对端设备获 知所述控制层设备自身复位。
所述处理器 1420还具体用于: 当所述路径故障和 /或所述对端设备复位 时, 删除所述故障路径或者删除与所述复位的对端设备连接的路径。
所述处理器 1420还具体用于: 向所述控制层设备发送响应信息, 所述响 应信息用于告知所述控制层设备已与所述对端设备增加路径;
所述处理器还可进一步用于: 自定义所述路径的路径标号, 则在所述响 应信息中还包括所述路径的路径标号; 或者利用所述路径信息中携带的路径 类型、 路径 IP地址、 路径端口以标识路径;
所述处理器更进一步具体用于, 利用所述路径标号或者所述路径信息中 携带的路径类型、 路径 IP地址、 路径端口向所述控制层设备上报所述路径的 故障状态和所述对端设备的复位状态。
所述处理器 1420还具体用于, 为所述路径设置路径计数器;
所述发送器 1440还具体用于, 向所述对端设备发送应答请求信息; 所述接收器 1410还具体用于, 接收所述对端设备发送的应答响应信息, 并将所述应答响应信息发送给处理器;
所述路径处理参数包括时间阈值和次数阈值;
所述处理器 1420还具体用于: 根据时间阈值, 周期性的指示发送器向所 述对端设备发送应答请求信息, 所述应答请求信息中还可进一步包括重启计 数器参数;
判断是否在时间阈值内接收到应答响应信息;
如果在时间阈值内接收到所述对端设备发送的应答响应信息, 则将所述 路径计数器清零, 判断所述应答响应信息中是否还包括所述对端设备回复的 重启计数器参数, 如果所述应答响应信息中包括所述对端设备回复的重启计
数器参数, 则识别所述重启计数器参数值是否增加 1 , 若所述应答响应信息中 的重启计数器参数值增加 1 , 则设置所述对端设备状态为复位;
如果在时间阈值内没有接收到所述对端设备发送的应答响应信息, 则将 路径计数器的值增加 1 ;
判断所述路径计数器的值是否超过次数阈值;
如果所述路径计数器的值超过次数阈值, 则设置所述路径的状态为故障 状态。
所述处理器 1420还具体用于: 当所述会话信息为删除会话时, 则判断是 否删除与所述对端设备的路径;
当所述删除会话信息为与所述对端设备的最后会话时, 则删除与所述对 端设备已建立的路径;
向所述控制层设备发送响应信息, 告知所述控制层设备删除所述已建立 的路径。
所述接收器 141 0还具体用于:接收所述控制层设备针对任一或者全部会 话进行指示的第一接口故障处理信息;
所述处理器 1420具体用于, 自定义配置第二接收故障处理信息; 所述处理器 1420还具体用于,将所述控制层设备针对任一会话指示的第 一接口故障处理信息设置为第一优先级, 将所述控制层设备针对全部会话指 示的第一接口故障处理信息设置为第二优先级, 将自定义配置的第二接口故 障处理信息设置为第三优先级;
所述处理器 1420进一步具体用于, 当与所述控制层设备的接口出现故障 时, 根据所述第一接口故障处理信息或者所述第二接口故障处理信息的优先 级进行处理;
所述第一接口故障信息或者所述第二接口故障信息具体为: 当与所述控 制层设备的接口出现故障时, 立即终止连接的会话; 或者当与所述控制层设 备的接口出现故障时, 在分配的配额用完后终止连接的会话; 或者当与所述
控制层设备的接口出现故障时, 保留连接的会话。
通过应用本发明实施例提供的通信路径的处理装置, 接收器从控制层设 备或本地配置信息中获取各类参数, 将获取的各类参数发送至处理器和存储 器, 处理器根据控制层设备的指示自行判断是否与对端设备增加或删除路径, 并识别路径的状态和 /或对端设备的状态, 对故障路径和 /或与复位的对端设 备连接的路径进行相应的处理, 与现有技术相比, 控制层设备自行对故障路 径和 /或与复位的对端设备连接的路径进行相应的处理, 减少了控制层设备和 转发层设备之间的信令或信息, 降低产生路径或对端设备复位的误判。
专业人员应该还可以进一步意识到, 结合本文中所公开的实施例描述的 各示例的单元及算法步骤, 能够以电子硬件、 计算机软件或者二者的结合来 实现, 为了清楚地说明硬件和软件的可互换性, 在上述说明中已经按照功能 一般性地描述了各示例的组成及步骤。 这些功能究竟以硬件还是软件方式来 执行, 取决于技术方案的特定应用和设计约束条件。 专业技术人员可以对每 个特定的应用来使用不同方法来实现所描述的功能, 但是这种实现不应认为 超出本发明的范围。
结合本文中所公开的实施例描述的方法或算法的步骤可以用硬件、 处理 器执行的软件模块, 或者二者的结合来实施。 软件模块可以置于随机存储器 ( RAM ) 、 内存、 只读存储器(ROM ) 、 电可编程 R0M、 电可擦除可编程 R0M、 寄存器、 硬盘、 可移动磁盘、 CD-R0M、 或技术领域内所公知的任意其它形式 的存储介质中。
以上所述的具体实施方式, 对本发明的目的、 技术方案和有益效果进行 了进一步详细说明, 所应理解的是, 以上所述仅为本发明的具体实施方式而 已, 并不用于限定本发明的保护范围, 凡在本发明的精神和原则之内, 所做 的任何修改、 等同替换、 改进等, 均应包含在本发明的保护范围之内。
通过应用本发明实施例提供的路径管理装置, 转发层设备从控制层设备 或本地网络系统中获取各类参数, 根据控制层设备的指示或自行判断是否与
对端设备建立或删除路径, 并利用获取的各类参数识别路径的状态和对端设 备的状态并上报控制层设备, 按照控制层设备的处理信息进行相应的处理, 与现有技术相比, 减少了控制层设备和转发层设备之间的信令或信息, 降低 产生路径或对端设备复位的误判。
Claims
1、 一种通信路径的处理方法, 其特征在于, 所述方法包括:
从本地配置信息或者从控制层设备获取路径处理参数, 从控制层设备获 取路径信息和 /或重启计数器参数;
当所述路径信息为增加路径时, 则与所述对端设备增加路径, 利用所述 路径处理参数和 /或所述对端设备回复的重启计数器参数识别所述路径的状 态和 /或所述对端设备的状态;
当所述路径故障和 /或所述对端设备复位时 ,则向所述控制层设备上 4艮所 述路径的故障状态和 /或所述对端设备的复位状态, 释放在故障路径上和 /或 与复位的对端设备连接路径上的会话。
2、 根据权利要求 1所述的通信路径的处理方法, 其特征在于, 所述方法 还包括:
接收所述控制层设备发送的该控制层设备自身复位信息 , 在所述复位信 息中包括所述控制层设备重新设置的重启计数器参数;
向所述对端设备发送携带所述重新设置的重启计数器参数的通知信息, 以使所述对端设备获知所述控制层设备自身复位。
3、 根据权利要求 1所述的通信路径的处理方法, 其特征在于, 所述方法 还包括: 删除所述故障路径或者删除与所述复位的对端设备连接的路径。
4、 根据权利要求 1所述的通信路径的处理方法, 其特征在于, 所述当所 述路径信息为增加路径时, 则与所述对端设备增加路径之后还包括:
向所述控制层设备发送响应信息, 所述响应信息用于告知所述控制层设 备已与所述对端设备增加路径;
在所述向所述控制层设备发送响应信息之前还可进一步包括: 接收所述 控制层设备为所述路径设置的路径标号; 或者自定义所述路径的路径标号; 则在所述响应信息中还包括所述路径的路径标号; 或者利用所述路径信息中 携带的路径类型、 路径 IP地址、 路径端口以标识路径;
所述向所述控制层设备上报所述路径的故障状态和 /或所述对端设备的 复位状态具体为:
利用所述路径标号或者所述路径信息中携带的路径类型、 路径 IP地址、 路径端口向所述控制层设备上报所述路径的故障状态和 /或所述对端设备的 复位状态。
5、 根据权利要求 1所述的通信路径的处理方法, 其特征在于, 所述当所 述路径信息为增加路径时, 则与所述对端设备增加路径之后还包括:
为所述路径设置路径计数器;
所述利用所述路径处理参数和 /或所述对端设备回复的重启计数器参数 识别所述路径的状态和 /或所述对端设备的状态具体为:
所述路径处理参数包括时间阈值和次数阈值;
根据时间阈值, 周期性的向所述对端设备发送应答请求信息, 所述应答 请求信息中还可进一步包括重启计数器参数;
判断是否在时间阈值内接收到所述对端设备发送的应答响应信息; 如果在时间阈值内接收到所述对端设备发送的应答响应信息, 则将所述 路径计数器清零, 判断所述应答响应信息中是否还包括所述对端设备回复的 重启计数器参数, 如果所述应答响应信息中包括所述对端设备回复的重启计 数器参数, 则识别所述重启计数器参数值是否增加 1 , 若所述应答响应信息中 的重启计数器参数值增加 1 , 则设置所述对端设备状态为复位;
如果在时间阈值内没有接收到所述对端设备发送的应答响应信息, 则将 路径计数器的值增加 1 ;
判断所述路径计数器的值是否超过次数阈值;
如果所述路径计数器的值超过次数阈值, 则设置所述路径的状态为故障 状态。
6、 根据权利要求 1所述的通信路径的处理方法, 其特征在于, 所述方法 还包括:
当所述路径信息为删除路径时 , 则删除与所述对端设备已建立的路径; 向所述控制层设备发送响应信息, 告知所述控制层设备删除所述已建立 的路径。
7、 根据权利要求 1所述的通信路径的处理方法, 其特征在于, 所述方法 还包括:
接收所述控制层设备针对任一或者全部会话进行指示的第一接口故障处 理信息;
或者, 自定义第二接口故障处理信息;
将所述控制层设备针对任一会话指示的第一接口故障处理信息设置为第 一优先级, 将所述控制层设备针对全部会话指示的第一接口故障处理信息设 置为第二优先级, 将自定义配置的第二接口故障处理信息设置为第三优先级; 当与所述控制层设备的接口出现故障时, 根据所述第一接口故障处理信 息或者所述第二接口故障处理信息的优先级进行处理;
所述第一接口故障信息或者所述第二接口故障信息具体为: 当与所述控 制层设备的接口出现故障时, 立即终止连接的会话; 或者当与所述控制层设 备的接口出现故障时, 在分配的配额用完后终止连接的会话; 或者当与所述 控制层设备的接口出现故障时, 保留连接的会话。
8、 一种通信路径的处理方法, 其特征在于, 所述方法包括:
从本地配置信息或者从控制层设备获取路径处理参数, 从控制层设备获 取会话信息和 /或重启计数器参数;
当所述会话信息为建立会话时, 判断是否增加与所述对端设备的路径; 如果与所述对端设备增加路径,则利用所述路径处理参数和 /或所述对端 设备回复的重启计数器参数识别所述路径的状态和 /或所述对端设备的状态; 当所述路径故障和 /或对端设备复位时 ,则向所述控制层设备上报所述路 径的故障状态和 /或所述对端设备的复位状态, 释放在故障路径上和 /或与复 位的对端设备连接路径上的所有会话。
9、 根据权利要求 8所述的通信路径的处理方法, 其特征在于, 所述方法 还包括:
接收所述控制层设备发送的该控制层设备自身复位信息 , 在所述复位信 息中包括所述控制层设备重新设置的重启计数器参数;
向所述对端设备发送携带所述控制层设备重新设置的重启计数器参数的 通知信息, 以使所述对端设备获知所述控制层设备自身复位。
10、 根据权利要求 8所述的通信路径的处理方法, 其特征在于, 所述方 法还包括: 删除所述故障路径或者删除与所述复位的对端设备连接的路径。
11、 根据权利要求 8所述的通信路径的处理方法, 其特征在于, 所述当 所述会话信息为建立会话时, 判断是否增加与所述对端设备的路径具体为: 当所述建立会话为与所述对端设备的首次会话时, 则增加与所述对端设 备的路径。
12、 根据权利要求 8所述的通信路径的处理方法, 其特征在于, 所述如 果与所述对端设备增加路径之后还包括:
向所述控制层设备发送响应信息, 所述响应信息用于告知所述控制层设 备已与所述对端设备增加路径;
在所述向所述控制层设备发送响应信息之前还可进一步包括: 自定义所 述路径的路径标号, 则在所述响应信息中还包括所述路径的路径标号; 或者 利用所述路径信息中携带的路径类型、 路径 IP地址、 路径端口以标识路径; 所述向所述控制层设备上报所述路径的故障状态和 /或所述对端设备的 复位状态具体为:
利用所述路径标号或者所述路径信息中携带的路径类型、 路径 IP地址、 路径端口向所述控制层设备上报所述路径的故障状态和 /或所述对端设备的 复位状态。
13、 根据权利要求 8所述的通信路径的处理方法, 其特征在于, 所述如 果与所述对端设备增加路径之后还包括:
为所述路径设置路径计数器;
所述利用所述路径处理参数和所述对端设备的重启计数器参数识别所述 路径的状态和 /或所述对端设备的状态具体为:
所述路径处理参数包括时间阈值和次数阈值;
根据时间阈值, 周期性的向所述对端设备发送应答请求信息, 所述应答 请求信息中还可进一步包括重启计数器参数;
判断是否在时间阈值内接收到所述对端设备发送的应答响应信息; 如果在时间阈值内接收到所述对端设备发送的应答响应信息, 则将所述 路径计数器清零, 判断所述应答响应信息中是否还包括所述对端设备回复的 重启计数器参数, 如果所述应答响应信息中包括所述对端设备回复的重启计 数器参数, 则识别所述重启计数器参数值是否增加 1 , 若所述应答响应信息中 的重启计数器参数值增加 1 , 则设置所述对端设备状态为复位;
如果在时间阈值内没有接收到所述对端设备发送的应答响应信息, 则将 路径计数器的值增加 1 ;
判断所述路径计数器的值是否超过次数阈值;
如果所述路径计数器的值超过次数阈值, 则设置所述路径的状态为故障 状态。
14、 根据权利要求 8所述的通信路径的处理方法, 其特征在于, 所述方 法还包括:
当所述会话信息为删除会话时,则判断是否删除与所述对端设备的路径; 当所述删除会话信息为与所述对端设备的最后会话时, 则删除与所述对 端设备已建立的路径;
还可进一步向所述控制层设备发送响应信息, 告知所述控制层设备删除 所述已建立的路径。
15、 根据权利要求 8所述的通信路径的处理方法, 其特征在于, 所述方 法还包括:
接收所述控制层设备针对任一或者全部会话进行指示的第一接口故障处 理信息;
或者, 自定义第二接口故障处理信息;
将所述控制层设备针对任一会话指示的第一接口故障处理信息设置为第 一优先级, 将所述控制层设备针对全部会话指示的第一接口故障处理信息设 置为第二优先级, 将自定义配置的第二接口故障处理信息设置为第三优先级; 当与所述控制层设备的接口出现故障时, 根据所述第一接口故障处理信 息或者所述第二接口故障处理信息的优先级进行处理;
所述第一接口故障信息或者所述第二接口故障信息具体为: 当与所述控 制层设备的接口出现故障时, 立即终止连接的会话; 或者当与所述控制层设 备的接口出现故障时, 在分配的配额用完后终止连接的会话; 或者当与所述 控制层设备的接口出现故障时, 保留连接的会话。
16、 一种通信路径的处理装置, 其特征在于, 所述装置包括:
获取单元, 用于从本地配置信息或者从控制层设备获取路径处理参数, 从控制层设备获取路径信息和 /或重启计数器参数, 将获取的所述路径处理参 数、 路径信息和 /或重启计数器参数发送给识别单元;
识别单元, 用于接收所述获取单元发送的所述路径处理参数、 路径信息 和 /或重启计数器参数, 当所述路径信息为增加路径时, 则与所述对端设备增 加路径, 利用所述路径处理参数和 /或所述对端设备回复的重启计数器参数识 别所述路径的状态和 /或所述对端设备的状态, 将所述路径的状态和 /或所述 对端设备的状态发送至执行单元;
执行单元,用于接收所述识别单元发送的所述路径的状态和 /或所述对端 设备的状态, 当所述路径故障和 /或所述对端设备复位时, 则向所述控制层设 备上报所述路径的故障状态和 /或所述对端设备的复位状态, 释放在故障路径 上和 /或与复位的对端设备连接路径上的会话。
17、 根据权利要求 16所述的通信路径的处理装置, 其特征在于, 所述获
取单元还用于,
接收所述控制层设备发送的该控制层设备自身复位信息 , 在所述复位信 息中包括所述控制层设备重新设置的重启计数器参数, 将接收的所述控制层 设备重新设置的重启计数器参数发送给识别单元;
所述识别单元还用于, 接收所述获取单元发送的所述控制层设备重新设 置的重启计数器参数, 向所述对端设备发送携带所述重新设置的重启计数器 参数的通知信息, 以使所述对端设备获知所述控制层设备自身复位。
18、 根据权利要求 16所述的通信路径的处理装置, 其特征在于, 所述执 行单元具体用于: 当所述路径故障和 /或所述对端设备复位时, 删除所述故障 路径或者删除与所述复位的对端设备连接的路径。
19、 根据权利要求 16所述的通信路径的处理装置, 其特征在于, 所述识 别单元还用于,
向所述控制层设备发送响应信息, 所述响应信息用于告知所述控制层设 备已与所述对端设备增加路径;
所述识别单元还可进一步用于, 接收所述控制层设备为所述路径设置的 路径标号, 或者自定义所述路径的路径标号, 则在所述响应信息中还包括所 述路径的路径标号;或者利用所述路径信息中携带的路径类型、路径 IP地址、 路径端口以标识路径;
所述执行单元具体用于, 利用所述路径标号或者所述路径信息中携带的 路径类型、 路径 IP地址、 路径端口向所述控制层设备上报所述路径的故障状 态和 /或所述对端设备的复位状态。
20、 根据权利要求 19所述的通信路径的处理装置, 其特征在于, 所述识 别单元还用于, 为所述路径设置路径计数器;
所述路径处理参数包括时间阈值和次数阈值;
所述识别单元进一步具体用于, 根据时间阈值, 周期性的向所述对端设 备发送应答请求信息, 所述应答请求信息中还可进一步包括重启计数器参数;
判断是否在时间阈值内接收到所述对端设备发送的应答响应信息; 如果在时间阈值内接收到所述对端设备发送的应答响应信息, 则将所述 路径计数器清零, 判断所述应答响应信息中是否还包括所述对端设备回复的 所述重启计数器参数, 如果所述应答响应信息中包括所述对端设备回复的重 启计数器参数, 则识别所述重启计数器参数值是否增加 1 , 若所述应答响应信 息中的重启计数器参数值增加 1 , 则设置所述对端设备状态为复位;
如果在时间阈值内没有接收到所述对端设备发送的应答响应信息, 则将 路径计数器的值增加 1 ;
判断所述路径计数器的值是否超过次数阈值;
如果所述路径计数器的值超过次数阈值, 则设置所述路径的状态为故障 状态。
21、 根据权利要求 16所述的通信路径的处理装置, 其特征在于, 所述识 别单元还具体用于:
当所述路径信息为删除路径时, 则删除与所述对端设备已建立的路径; 向所述控制层设备发送响应信息, 告知所述控制层设备删除所述已建立 的路径。
22、 根据权利要求 16所述的通信路径的处理装置, 其特征在于, 所述装 置还包括:
第一接收单元, 用于接收所述控制层设备针对任一或者全部会话进行指 示的第一接口故障处理信息;
或者, 配置单元, 用于自定义第二接口故障处理信息;
设置单元, 用于将所述控制层设备针对任一会话指示的第一接口故障处 理信息设置为第一优先级, 将所述控制层设备针对全部会话指示的第一接口 故障处理信息设置为第二优先级, 将自定义配置的第二接口故障处理信息设 置为第三优先级;
处理单元, 用于当与所述控制层设备的接口出现故障时, 根据所述第一
接口故障处理信息或者所述第二接口故障处理信息的优先级进行处理; 所述第一接口故障信息或者所述第二接口故障信息具体为: 当与所述控 制层设备的接口出现故障时, 立即终止连接的会话; 或者当与所述控制层设 备的接口出现故障时, 在分配的配额用完后终止连接的会话; 或者当与所述 控制层设备的接口出现故障时, 保留连接的会话。
23、 一种通信路径的处理装置, 其特征在于, 所述装置包括:
获取单元, 用于从本地配置信息或者控制层设备获取路径处理参数, 从 控制层设备获取会话信息和 /或重启计数器参数, 将所述会话信息发送给判断 单元, 所述路径处理参数和 /或所述重启计数器参数发送给识别单元;
判断单元, 用于接收所述获取单元发送的会话信息, 当所述会话信息为 建立会话时, 判断是否增加与所述对端设备的路径, 将判断结果发送给识别 单元;
识别单元,用于接收所述获取单元发送的所述路径处理参数和 /或所述重 启计数器参数及所述判断单元发送的所述判断结果, 如果与所述对端设备增 加路径, 则利用所述路径处理参数和 /或所述对端设备回复的重启计数器参数 识别所述路径的状态和 /或所述对端设备的状态, 将识别出的所述路径的状态 和 /或所述对端设备的状态发送给执行单元;
执行单元,用于接收所述识别单元发送的所述路径的状态和 /或所述对端 设备的状态, 当所述路径故障和 /或所述对端设备复位时, 则向所述控制层设 备上报所述路径的故障状态和 /或所述对端设备的复位状态, 释放在故障路径 上和 /或与复位的对端设备连接路径上的所有会话。
24、 根据权利要求 23所述的通信路径的处理装置, 其特征在于, 所述获 取单元还用于,
接收所述控制层设备发送的该控制层设备自身复位信息 , 在所述复位信 息中包括所述控制层设备重新设置的重启计数器参数, 将接收的所述控制层 设备重新设置的重启计数器参数发送给识别单元;
所述识别单元还用于, 接收所述获取单元发送的所述控制层设备重新设 置的重启计数器参数 , 向与所述控制层设备通信的所述对端设备发送携带所 述重新设置的重启计数器参数的通知信息, 以使所述对端设备获知所述控制 层设备自身复位。
25、 根据权利要求 23所述的通信路径的处理装置, 其特征在于, 所述执 行单元具体用于: 当所述路径故障和 /或所述对端设备复位时, 删除所述故障 路径或者删除与所述复位的对端设备连接的路径。
26、 根据权利要求 23所述的通信路径的处理装置, 其特征在于, 所述判 断单元具体用于, 当所述建立会话为与所述对端设备的首次会话时, 则增加 与所述对端设备的路径。
27、 根据权利要求 23所述的通信路径的处理装置, 其特征在于, 所述识 别单元还用于,
向所述控制层设备发送响应信息, 所述响应信息用于告知所述控制层设 备已与所述对端设备增加路径;
所述识别单元还可进一步用于, 自定义所述路径的路径标号, 则在所述 响应信息中还包括所述路径的路径标号; 或者利用所述路径信息中携带的路 径类型、 路径 IP地址、 路径端口以标识路径;
所述执行单元具体用于, 利用所述路径标号或者所述路径信息中携带的 路径类型、 路径 IP地址、 路径端口向所述控制层设备上报所述路径的故障状 态和 /或所述对端设备的复位状态。
28、 根据权利要求 27所述的通信路径的处理装置, 其特征在于, 所述识 别单元还用于, 为所述路径设置路径计数器;
所述路径处理参数包括时间阈值和次数阈值;
所述识别单元进一步具体用于, 根据时间阈值, 周期性的向所述对端设 备发送应答请求信息, 所述应答请求信息中包括重启计数器参数;
判断是否在时间阈值内接收到所述对端设备发送的应答响应信息;
如果在时间阈值内接收到所述对端设备发送的应答响应信息, 则将所述 路径计数器清零, 判断所述应答响应信息中是否还包括所述对端设备回复的 所述重启计数器参数, 如果所述应答响应信息中包括所述对端设备回复的所 述重启计数器参数, 则识别所述重启计数器参数值是否增加 1 , 若所述应答响 应信息中的重启计数器参数值增加 1 , 则设置所述对端设备状态为复位;
如果在时间阈值内没有接收到所述对端设备发送的应答响应信息, 则将 路径计数器的值增加 1 ;
判断所述路径计数器的值是否超过次数阈值;
如果所述路径计数器的值超过次数阈值, 则设置所述路径的状态为故障 状态。
29、 根据权利要求 23所述的通信路径的处理装置, 其特征在于, 所述判 断单元还具体用于:
当所述会话信息为删除会话时,则判断是否删除与所述对端设备的路径; 当所述删除会话信息为与所述对端设备的最后会话时, 则删除与所述对 端设备已建立的路径;
还可进一步向所述控制层设备发送响应信息, 告知所述控制层设备删除 所述已建立的路径。
30、 根据权利要求 23所述的通信路径的处理装置, 其特征在于, 所述装 置还包括:
第一接收单元, 用于接收所述控制层设备针对任一或者全部会话进行指 示的第一接口故障处理信息;
或者, 配置单元, 用于自定义第二接口故障处理信息;
设置单元, 用于将所述控制层设备针对任一会话指示的第一接口故障处 理信息设置为第一优先级, 将所述控制层设备针对全部会话指示的第一接口 故障处理信息设置为第二优先级, 将自定义配置的第二接口故障处理信息设 置为第三优先级;
处理单元, 用于当与所述控制层设备的接口出现故障时, 根据所述第一 接口故障处理信息或者所述第二接口故障处理信息的优先级进行处理;
所述第一接口故障信息或者所述第二接口故障信息具体为: 当与所述控 制层设备的接口出现故障时, 立即终止连接的会话; 或者当与所述控制层设 备的接口出现故障时, 在分配的配额用完后终止连接的会话; 或者当与所述 控制层设备的接口出现故障时, 保留连接的会话。
31、 一种通信路径的处理装置, 其特征在于, 所述装置包括:
接收器, 用于从本地配置信息或者从控制层设备获取路径处理参数, 从 控制层设备获取路径信息和 /或重启计数器参数, 将获取的所述路径处理参 数、 路径信息和 /或重启计数器参数发送给处理器;
处理器, 用于接收所述接收器发送的所述路径处理参数、 路径信息和 /或 重启计数器参数, 当所述路径信息为增加路径时, 则与所述对端设备增加路 径, 利用所述路径处理参数 /或所述对端设备回复的重启计数器参数识别所述 路径的状态和 /或所述对端设备的状态;
所述处理器, 还用于当所述路径出现故障和 /或对端设备复位时, 则向所 述控制层设备上报所述路径的状态和 /或所述对端设备的状态, 释放在故障路 径上和 /或与复位的对端设备连接路径上的所有会话;
存储器, 用于存储处理器的执行流程。
32、 根据权利要求 31所述的通信路径的处理装置, 其特征在于, 所述接 收器具体用于,
接收所述控制层设备发送的该控制层设备自身复位信息 , 在所述复位信 息中包括所述控制层设备重新设置的重启计数器参数, 将接收的所述控制层 设备重新设置的重启计数器参数发送给处理器, 所述处理器将所述控制层设 备重新设置的重启计数器参数发送给发送器;
所述装置还包括: 发送器, 用于接收所述处理器发送的所述控制层设备 重新设置的重启计数器参数, 向与所述控制层设备通信的所述对端设备发送
携带所述重新设置的重启计数器参数的通知信息, 以使所述对端设备获知所 述控制层设备自身复位。
33、 根据权利要求 31所述的通信路径的处理装置, 其特征在于, 所述处 理器还具体用于: 当所述路径故障和 /或所述对端设备复位时, 删除所述故障 路径或者删除与所述复位的对端设备连接的路径。
34、 根据权利要求 31所述的通信路径的处理装置, 其特征在于, 所述处 理器还具体用于,
向所述控制层设备发送响应信息, 所述响应信息用于告知所述控制层设 备已与所述对端设备增加路径;
所述处理器还可进一步用于: 接收所述控制层设备为所述路径设置的路 径标号, 或者自定义所述路径的路径标号, 则在所述响应信息中还包括所述 路径的路径标号; 或者利用所述路径信息中携带的路径类型、 路径 IP地址、 路径端口以标识路径;
所述处理器更进一步具体用于, 利用所述路径标号或者所述路径信息中 携带的路径类型、 路径 IP地址、 路径端口向所述控制层设备上报所述路径的 故障状态和所述对端设备的复位状态。
35、 根据权利要求 31所述的通信路径的处理装置, 其特征在于, 所述处 理器还具体用于, 为所述路径设置路径计数器;
所述发送器还具体用于, 向所述对端设备发送应答请求信息;
所述接收器还具体用于, 接收所述对端设备发送的应答响应信息, 并将 所述应答响应信息发送给处理器;
所述路径处理参数包括时间阈值和次数阈值;
所述处理器进一步具体用于:根据时间阈值, 周期性的指示发送器向所述 对端设备发送应答请求信息, 所述应答请求信息中还可进一步包括重启计数 器参数;
判断是否在时间阈值内接收到应答响应信息;
如果在时间阈值内接收到所述对端设备发送的应答响应信息, 则将所述 路径计数器清零, 判断所述应答响应信息中是否还包括所述对端设备回复的 重启计数器参数, 如果所述应答响应信息中包括所述对端设备回复的重启计 数器参数, 则识别所述重启计数器参数值是否增加 1 , 若所述应答响应信息中 的重启计数器参数值增加 1 , 则设置所述对端设备状态为复位;
如果在时间阈值内没有接收到所述应答响应信息, 则将路径计数器的值 增力口 1 ;
判断所述路径计数器的值是否超过次数阈值;
如果所述路径计数器的值超过次数阈值, 则设置所述路径的状态为故障 状态。
36、 根据权利要求 31所述的通信路径的处理装置, 其特征在于, 所述处 理器还具体用于:
当所述路径信息为删除路径时, 则删除与所述对端设备已建立的路径, 向所述控制层设备发送响应信息, 告知所述控制层设备删除所述已建立的路 径。
37、 根据权利要求 31所述的通信路径的处理装置, 其特征在于, 所述接 收器还具体用于,
接收所述控制层设备针对任一或者全部会话进行指示的第一接口故障处 理信息, 将获取的第一接口故障处理信息发送给处理器;
所述处理器具体用于, 自定义配置第二接收故障处理信息;
所述处理器还具体用于, 将所述控制层设备针对任一会话指示的第一接 口故障处理信息设置为第一优先级, 将所述控制层设备针对全部会话指示的 第一接口故障处理信息设置为第二优先级, 将自定义配置的第二接口故障处 理信息设置为第三优先级;
所述处理器进一步具体用于, 当与所述控制层设备的接口出现故障时, 根据所述第一接口故障处理信息或者所述第二接口故障处理信息的优先级进
行处理;
所述第一接口故障信息或者所述第二接口故障信息具体为: 当与所述控 制层设备的接口出现故障时, 立即终止连接的会话; 或者当与所述控制层设 备的接口出现故障时, 在分配的配额用完后终止连接的会话; 或者当与所述 控制层设备的接口出现故障时, 保留连接的会话。
38、 一种通信路径的处理装置, 其特征在于, 所述装置包括:
接收器, 用于从本地配置信息或者控制层设备中获取路径处理参数, 从 控制层设备中获取会话信息和 /或重启计数器参数, 将所述路径处理参数、 会 话信息和 /或重启计数器参数发送给处理器;
处理器, 用于接收所述接收器发送的所述路径处理参数、 会话信息和 /或 重启计数器参数, 当所述会话信息为建立会话时, 判断是否增加与所述对端 设备的路径;
所述处理器, 还用于如果与所述对端设备增加路径, 则利用所述路径处 理参数和 /或所述对端设备回复的重启计数器参数识别所述路径的状态和 /或 所述对端设备的状态;
所述处理器, 还用于当所述路径故障和 /或对端设备复位时, 则向所述控 制层设备上报所述路径的故障状态和 /或所述对端设备的复位状态, 释放在故 障路径上和 /或与复位的对端设备连接路径上的所有会话;
存储器, 用于存储处理器的执行流程。
39、 根据权利要求 38所述的通信路径的处理装置, 其特征在于, 所述接 收器具体用于:
接收所述控制层设备发送的该控制层设备自身复位信息 , 在所述复位信 息中包括所述控制层设备重新设置的重启计数器参数, 将接收的所述控制层 设备重新设置的重启计数器参数发送给处理器, 所述处理器将所述控制层设 备重新设置的重启计数器参数发送给发送器;
所述装置还包括: 发送器, 用于接收所述处理器发送的所述控制层设备
重新设置的重启计数器参数, 向与所述控制层设备通信的所述对端设备发送 携带所述重新设置的重启计数器参数的通知信息, 以使所述对端设备获知所 述控制层设备自身复位。
40、 根据权利要求 38所述的通信路径的处理装置, 其特征在于, 所述处 理器还具体用于: 当所述路径故障和 /或所述对端设备复位时, 删除所述故障 路径或者删除与所述复位的对端设备连接的路径。
41、 根据权利要求 38所述的通信路径的处理装置, 其特征在于, 所述处 理器还具体用于,
向所述控制层设备发送响应信息, 所述响应信息用于告知所述控制层设 备已与所述对端设备增加路径;
所述处理器还可进一步用于: 自定义所述路径的路径标号, 则在所述响 应信息中还包括所述路径的路径标号; 或者利用所述路径信息中携带的路径 类型、 路径 IP地址、 路径端口以标识路径;
所述处理器更进一步具体用于, 利用所述路径标号或者所述路径信息中 携带的路径类型、 路径 IP地址、 路径端口向所述控制层设备上报所述路径的 故障状态和所述对端设备的复位状态。
42、 根据权利要求 38所述的通信路径的处理装置, 其特征在于, 所述处 理器还具体用于, 为所述路径设置路径计数器;
所述发送器还具体用于, 向所述对端设备发送应答请求信息;
所述接收器还具体用于, 接收所述对端设备发送的应答响应信息, 并将 所述应答响应信息发送给处理器;
所述路径处理参数包括时间阈值和次数阈值;
所述处理器进一步具体用于: 根据时间阈值, 周期性的指示发送器向所 述对端设备发送应答请求信息, 所述应答请求信息中还可进一步包括重启计 数器参数;
判断是否在时间阈值内接收到应答响应信息;
如果在时间阈值内接收到所述对端设备发送的应答响应信息, 则将所述 路径计数器清零, 判断所述应答响应信息中是否还包括所述对端设备回复的 重启计数器参数, 如果所述应答响应信息中包括所述对端设备回复的重启计 数器参数, 则识别所述重启计数器参数值是否增加 1 , 若所述应答响应信息中 的重启计数器参数值增加 1 , 则设置所述对端设备状态为复位;
如果在时间阈值内没有接收到所述对端设备发送的应答响应信息, 则将 路径计数器的值增加 1 ;
判断所述路径计数器的值是否超过次数阈值;
如果所述路径计数器的值超过次数阈值, 则设置所述路径的状态为故障 状态。
43、 根据权利要求 38所述的通信路径的处理装置, 其特征在于, 所述处 理器还具体用于:
当所述会话信息为删除会话时,则判断是否删除与所述对端设备的路径; 当所述删除会话信息为与所述对端设备的最后会话时, 则删除与所述对 端设备已建立的路径;
还可进一步向所述控制层设备发送响应信息, 告知所述控制层设备删除 所述已建立的路径。
44、 根据权利要求 38所述的通信路径的处理装置, 其特征在于, 所述接 收器还具体用于,
接收所述控制层设备针对任一或者全部会话进行指示的第一接口故障处 理信息, 将获取的第一接口故障处理信息发送给处理器;
所述处理器具体用于, 自定义配置第二接收故障处理信息;
所述处理器还具体用于, 将所述控制层设备针对任一会话指示的第一接 口故障处理信息设置为第一优先级, 将所述控制层设备针对全部会话指示的 第一接口故障处理信息设置为第二优先级, 将自定义配置的第二接口故障处 理信息设置为第三优先级;
所述处理器进一步具体用于, 当与所述控制层设备的接口出现故障时, 根据所述第一接口故障处理信息或者所述第二接口故障处理信息的优先级进 行处理;
所述第一接口故障信息或者所述第二接口故障信息具体为: 当与所述控 制层设备的接口出现故障时, 立即终止连接的会话; 或者当与所述控制层设 备的接口出现故障时, 在分配的配额用完后终止连接的会话; 或者当与所述 控制层设备的接口出现故障时, 保留连接的会话。
Priority Applications (8)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201280001027.1A CN103999406B (zh) | 2012-08-01 | 2012-08-01 | 通信路径的处理方法与装置 |
| EP18168504.1A EP3425850B1 (en) | 2012-08-01 | 2012-08-01 | Method and device for processing communication path |
| EP12882068.5A EP2874349B1 (en) | 2012-08-01 | 2012-08-01 | Communication path processing method and apparatus |
| CN201710824904.XA CN107682262B (zh) | 2012-08-01 | 2012-08-01 | 通信路径的处理方法与装置 |
| PCT/CN2012/079472 WO2014019157A1 (zh) | 2012-08-01 | 2012-08-01 | 通信路径的处理方法与装置 |
| US14/610,693 US9503317B2 (en) | 2012-08-01 | 2015-01-30 | Method and device for processing communication path |
| US15/291,838 US10243783B2 (en) | 2012-08-01 | 2016-10-12 | Method and device for processing communication path |
| US16/276,372 US11233694B2 (en) | 2012-08-01 | 2019-02-14 | Method and device for processing communication path |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| PCT/CN2012/079472 WO2014019157A1 (zh) | 2012-08-01 | 2012-08-01 | 通信路径的处理方法与装置 |
Related Child Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| US14/610,693 Continuation US9503317B2 (en) | 2012-08-01 | 2015-01-30 | Method and device for processing communication path |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2014019157A1 true WO2014019157A1 (zh) | 2014-02-06 |
Family
ID=50027085
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2012/079472 Ceased WO2014019157A1 (zh) | 2012-08-01 | 2012-08-01 | 通信路径的处理方法与装置 |
Country Status (4)
| Country | Link |
|---|---|
| US (3) | US9503317B2 (zh) |
| EP (2) | EP2874349B1 (zh) |
| CN (2) | CN103999406B (zh) |
| WO (1) | WO2014019157A1 (zh) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US9289466B2 (en) | 2010-04-30 | 2016-03-22 | Molecular Partners Ag | Modified binding proteins inhibiting the VEGF-A receptor interaction |
Families Citing this family (9)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| EP2874349B1 (en) | 2012-08-01 | 2018-07-04 | Huawei Technologies Co., Ltd. | Communication path processing method and apparatus |
| FR3008573B1 (fr) * | 2013-07-15 | 2016-11-18 | Sagemcom Broadband Sas | Equipement utilisateur proposant une duree a appliquer a une temporisation a fixer par un equipement d'un reseau cœur |
| US11416852B1 (en) * | 2017-12-15 | 2022-08-16 | Worldpay, Llc | Systems and methods for generating and transmitting electronic transaction account information messages |
| BR112021005238A2 (pt) | 2018-09-20 | 2021-06-15 | Nokia Technologies Oy | um método e um aparelho para codificação e decodificação de material de imagem/vídeo digital |
| US12021933B2 (en) * | 2022-03-04 | 2024-06-25 | Oversec, Uab | Network connection status detection |
| US12015672B2 (en) | 2022-03-04 | 2024-06-18 | Oversec, Uab | Network reconnection request handling |
| US12015674B2 (en) | 2022-03-04 | 2024-06-18 | Oversec, Uab | Virtual private network connection status detection |
| US12113774B2 (en) | 2022-03-04 | 2024-10-08 | Oversec, Uab | Virtual private network resource management |
| US12200066B2 (en) | 2022-03-04 | 2025-01-14 | Oversec, Uab | Virtual private network connection management |
Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN1725702A (zh) * | 2004-07-20 | 2006-01-25 | 联想网御科技(北京)有限公司 | 一种网络安全设备及其组成的实现高可用性的系统及方法 |
| CN101064687A (zh) * | 2007-02-07 | 2007-10-31 | 中兴通讯股份有限公司 | 路由收敛的方法 |
| CN101364940A (zh) * | 2008-09-09 | 2009-02-11 | 中兴通讯股份有限公司 | 一种路由器内部通信方法及路由设备 |
| CN102195828A (zh) * | 2010-03-16 | 2011-09-21 | 华为技术有限公司 | 服务器端口状态的探测方法和探测器 |
Family Cites Families (26)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US7103002B2 (en) * | 2000-07-12 | 2006-09-05 | Telefonktiebolaget Lm Ericsson (Publ) | Communication management in networks having split control planes and user planes |
| CN100352215C (zh) * | 2003-09-02 | 2007-11-28 | 华为技术有限公司 | 一种标签交换路径状态的自动检测及处理方法 |
| CN1323518C (zh) * | 2003-09-28 | 2007-06-27 | 华为技术有限公司 | 一种路由路径故障修复方法 |
| US7414997B2 (en) * | 2004-03-12 | 2008-08-19 | Lucent Technologies Inc. | GPRS tunneling protocol path integrity protocol |
| US7813263B2 (en) * | 2004-06-30 | 2010-10-12 | Conexant Systems, Inc. | Method and apparatus providing rapid end-to-end failover in a packet switched communications network |
| CN100466605C (zh) * | 2005-07-30 | 2009-03-04 | 华为技术有限公司 | 一种转发引擎状态检测方法和路由设备 |
| US7720016B2 (en) * | 2005-10-28 | 2010-05-18 | Hong Kong Applied Science And Technology Research Institute Co., Ltd. | Multi-hop routing method with bandwidth reservation in wireless network |
| CN101330445B (zh) * | 2007-06-21 | 2011-08-24 | 华为技术有限公司 | 承载路径的实现方法及其装置、系统 |
| EP2286632B1 (en) * | 2008-06-09 | 2017-03-29 | Telefonaktiebolaget LM Ericsson (publ) | A system and method of releasing resources in a telecommunications network |
| CN101383734B (zh) * | 2008-10-20 | 2012-06-27 | 华为技术有限公司 | 一种状态检测方法、系统和装置 |
| CN101729360B (zh) * | 2008-10-22 | 2012-01-04 | 华为技术有限公司 | 设置路径状态的方法和装置 |
| WO2010061573A1 (ja) * | 2008-11-28 | 2010-06-03 | パナソニック株式会社 | 経路制御装置、方法、およびプログラム |
| KR101641096B1 (ko) * | 2009-02-16 | 2016-07-20 | 삼성전자주식회사 | 이동통신 시스템에서 노드 간 경로 관리 방법 및 장치 |
| KR101652442B1 (ko) * | 2009-05-05 | 2016-08-30 | 엘지전자 주식회사 | 이동통신 네트워크 내에서 제어 평면(Control Plane)을 담당하는 서버 및 커넥션 설정을 제어하는 방법 |
| WO2011095256A1 (en) * | 2010-02-02 | 2011-08-11 | Telefonaktiebolaget L M Ericsson (Publ) | Restart of peer node |
| US20120044865A1 (en) * | 2010-08-20 | 2012-02-23 | Industrial Technology Research Institute | Apparatus And Method For Coupling An M2M Device To A Wireless Network |
| CN102395209B (zh) * | 2010-11-08 | 2015-07-29 | 开曼群岛威睿电通股份有限公司 | 机器对机器应用的类别识别方法及其移动装置与服务网络 |
| US20120124431A1 (en) * | 2010-11-17 | 2012-05-17 | Alcatel-Lucent Usa Inc. | Method and system for client recovery strategy in a redundant server configuration |
| CN102548019B (zh) * | 2010-12-15 | 2016-07-27 | 华为技术有限公司 | 公共路径的建立和使用方法、m2m的通信方法及系统 |
| KR101541987B1 (ko) * | 2011-03-18 | 2015-08-04 | 알까뗄 루슨트 | 지리적 리던던트 게이트웨이에서 페일오버 복원을 위한 시스템 및 방법 |
| CN102355456B (zh) * | 2011-09-01 | 2014-04-02 | 大唐移动通信设备有限公司 | 一种重启计数器的管理方法及装置 |
| CN102315987B (zh) * | 2011-09-13 | 2017-05-10 | 中兴通讯股份有限公司 | 环网保护组链路回切方法及装置 |
| US20130339438A1 (en) * | 2011-12-02 | 2013-12-19 | Qualcomm Incorporated | Systems and methods for group based access control of machine to machine devices |
| CN103369497B (zh) * | 2012-03-27 | 2018-11-30 | 中兴通讯股份有限公司 | 触发消息计数器的更新方法、机器类型通信服务器和终端 |
| US9148863B2 (en) * | 2012-04-06 | 2015-09-29 | Via Telecom Co., Ltd. | Mobile communication devices, service networks, and methods for managing operation of a registration procedure for machine-to-machine (M2M) communications |
| EP2874349B1 (en) * | 2012-08-01 | 2018-07-04 | Huawei Technologies Co., Ltd. | Communication path processing method and apparatus |
-
2012
- 2012-08-01 EP EP12882068.5A patent/EP2874349B1/en not_active Not-in-force
- 2012-08-01 EP EP18168504.1A patent/EP3425850B1/en active Active
- 2012-08-01 WO PCT/CN2012/079472 patent/WO2014019157A1/zh not_active Ceased
- 2012-08-01 CN CN201280001027.1A patent/CN103999406B/zh active Active
- 2012-08-01 CN CN201710824904.XA patent/CN107682262B/zh active Active
-
2015
- 2015-01-30 US US14/610,693 patent/US9503317B2/en active Active
-
2016
- 2016-10-12 US US15/291,838 patent/US10243783B2/en active Active
-
2019
- 2019-02-14 US US16/276,372 patent/US11233694B2/en active Active
Patent Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN1725702A (zh) * | 2004-07-20 | 2006-01-25 | 联想网御科技(北京)有限公司 | 一种网络安全设备及其组成的实现高可用性的系统及方法 |
| CN101064687A (zh) * | 2007-02-07 | 2007-10-31 | 中兴通讯股份有限公司 | 路由收敛的方法 |
| CN101364940A (zh) * | 2008-09-09 | 2009-02-11 | 中兴通讯股份有限公司 | 一种路由器内部通信方法及路由设备 |
| CN102195828A (zh) * | 2010-03-16 | 2011-09-21 | 华为技术有限公司 | 服务器端口状态的探测方法和探测器 |
Non-Patent Citations (1)
| Title |
|---|
| See also references of EP2874349A4 * |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US9289466B2 (en) | 2010-04-30 | 2016-03-22 | Molecular Partners Ag | Modified binding proteins inhibiting the VEGF-A receptor interaction |
Also Published As
| Publication number | Publication date |
|---|---|
| US20150146518A1 (en) | 2015-05-28 |
| CN107682262B (zh) | 2020-11-17 |
| EP2874349A4 (en) | 2015-07-15 |
| CN107682262A (zh) | 2018-02-09 |
| US10243783B2 (en) | 2019-03-26 |
| EP3425850B1 (en) | 2020-10-28 |
| US9503317B2 (en) | 2016-11-22 |
| CN103999406B (zh) | 2017-09-29 |
| EP2874349B1 (en) | 2018-07-04 |
| EP3425850A1 (en) | 2019-01-09 |
| US11233694B2 (en) | 2022-01-25 |
| US20190182104A1 (en) | 2019-06-13 |
| US20170033978A1 (en) | 2017-02-02 |
| EP2874349A1 (en) | 2015-05-20 |
| CN103999406A (zh) | 2014-08-20 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| WO2014019157A1 (zh) | 通信路径的处理方法与装置 | |
| US12356488B2 (en) | Communications method and apparatus | |
| US20220060416A1 (en) | Routing Rule Management Method and Communications Apparatus | |
| CN111083718B (zh) | 一种会话管理方法、网络功能及网络系统 | |
| JP2021518075A (ja) | サービス加入方法および装置 | |
| JP2020519107A (ja) | レポート送信方法、レポート受信方法、装置及びシステム | |
| WO2010121528A1 (zh) | 一种移动终端及其基于p2p模式的数据传输方法 | |
| CN104144124B (zh) | 数据转发方法、装置及系统 | |
| US20220264355A1 (en) | Communication Method, Apparatus, and System | |
| KR20210072796A (ko) | 이벤트 모니터링을 지원하기 위한 방법 및 장치 | |
| CN105072149A (zh) | 通过代理网关建立远程通信的方法及装置 | |
| CN103036729A (zh) | 一种开放网络能力的系统、方法和相关网元 | |
| CN104159289B (zh) | 家庭终端的认证注册方法和装置 | |
| WO2017101028A1 (zh) | 数据传输方法、m2m服务器、pgw、sgw及服务网络节点 | |
| CN105072148A (zh) | 与终端建立连接的方法及装置 | |
| KR20150009910A (ko) | 컨트롤러와 네트워크 장치 간 연결 상태 확인 방법 | |
| CN102098795B (zh) | 一种控制终端进行重接入的方法及系统 | |
| CN101577945B (zh) | 响应消息中错误指示参数的传输方法、系统及服务网关 | |
| CN105187236B (zh) | 一种网络流量迁移的方法 | |
| CN107306282B (zh) | 一种链路保活方法及装置 | |
| CN105359483A (zh) | 一种网络配置方法、装置及系统 | |
| US20170311135A1 (en) | Control Signaling Transmission Method in MCPTT Architecture and Related Device | |
| CN102413099B (zh) | 获取被叫信息失败时处理VoIP呼叫的方法及系统 | |
| CN1889397B (zh) | 一种智能光网络中的业务路径建立方法 | |
| CN106330823A (zh) | 一种会话保活方法及装置 |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| 121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 12882068 Country of ref document: EP Kind code of ref document: A1 |
|
| NENP | Non-entry into the national phase |
Ref country code: DE |
|
| WWE | Wipo information: entry into national phase |
Ref document number: 2012882068 Country of ref document: EP |