CN111865776B - Path creation method, device, system and storage medium - Google Patents

Path creation method, device, system and storage medium Download PDF

Info

Publication number
CN111865776B
CN111865776B CN201911081983.5A CN201911081983A CN111865776B CN 111865776 B CN111865776 B CN 111865776B CN 201911081983 A CN201911081983 A CN 201911081983A CN 111865776 B CN111865776 B CN 111865776B
Authority
CN
China
Prior art keywords
path
attribute information
user traffic
client
session
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201911081983.5A
Other languages
Chinese (zh)
Other versions
CN111865776A (en
Inventor
朱春
唐宏
陈华南
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
ZTE Corp
Original Assignee
ZTE Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by ZTE Corp filed Critical ZTE Corp
Priority to CN201911081983.5A priority Critical patent/CN111865776B/en
Publication of CN111865776A publication Critical patent/CN111865776A/en
Application granted granted Critical
Publication of CN111865776B publication Critical patent/CN111865776B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/22Alternate routing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/24Multipath
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/38Flow based routing

Landscapes

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

Abstract

The embodiment of the invention relates to the field of communication, and discloses a path creation method, a device, a system and a storage medium. In the invention, a first path for forwarding user traffic is created according to first attribute information which is issued by a path calculation unit and used for path creation; and when the session with the path calculation unit is interrupted and the first path has the escape capability, creating a second path for forwarding the user traffic instead of the first path. When the session between the path computation client and the path computation unit is interrupted, the path computation unit can actively create the path to keep forwarding the user traffic, and the problem of user traffic interruption caused by session interruption is avoided.

Description

Path creation method, device, system and storage medium
Technical Field
The present invention relates to the field of communications, and in particular, to a method, an apparatus, a system, and a storage medium for path creation.
Background
Currently, with the development of SDN (Software Defined Network) technology, a Path Computation Element (PCE) is not only a service component as a centralized Computation Path, but also can actively perform dynamic planning and tuning work on an established Path on a Path Computation Client (PCC). RFC8231 proposes a model of an active stateful PCE, namely, a Path which needs to be created by PCC is authorized to the PCE through a Path Computation LSP State Report (PCRpt) message; the PCE may then Update the attribute information and Path information of the Path through a Path Computation Update Request (pcadd) message of the PCEP protocol as needed. In addition, RFC8281 proposes that a PCE directly issues Path creation to a PCC through a label switched Path creation Request (PCInit, Path Computation LSP initial Request) message of a PCEP protocol, and the PCC dynamically creates a Path according to parameters specified in the PCInit message; compared with the active stateful mode in RFC8231, the method has the advantages that any path information does not need to be configured by the PCC, and the path information is completely planned and issued by the PCE.
However, the inventors of the present invention found that: in RFC8281, a path needs to be triggered by a PCE to be created or deleted, so that when a session between a PCC and the PCE is interrupted for some reason, the PCC cannot continuously accept management and control of the PCE, and the PCC needs to delete the path issued by the PCE, which may cause interruption of user traffic carried on the path.
Disclosure of Invention
An object of embodiments of the present invention is to provide a method, an apparatus, a system, and a storage medium for creating a path, so that when a session between a path computation client and a path computation unit is interrupted, the path computation unit can actively create a path to keep forwarding user traffic, thereby avoiding a problem of interruption of user traffic due to the interruption of the session.
In order to solve the above technical problem, an embodiment of the present invention provides a path creating method, which is applied to a path computation client, and the path creating method includes: creating a first path for forwarding user traffic according to first attribute information for path creation issued by a path calculation unit; and when the session with the path calculation unit is interrupted and the first path has the escape capability, creating a second path for forwarding the user traffic instead of the first path.
The embodiment of the invention also provides a path creating method, which is applied to the path computing unit and comprises the following steps: issuing first attribute information for path creation to a path computation client, so that the path computation client creates a first path for forwarding user traffic according to the first attribute information; and issuing information representing that the first path has the escape capability to the path computation client, so that the path computation client creates a second path for replacing the first path to forward the user traffic when the session with the path computation unit is interrupted and the first path has the escape capability.
The embodiment of the present invention further provides a path creating device in a path computation client, including: a path creating module, configured to create a first path for forwarding user traffic according to the first attribute information for path creation sent by the path computing unit; the judging module is used for judging whether the session with the path calculating unit is interrupted or not and judging whether the first path has the escape capability or not; the path creating module is further used for creating a second path for forwarding the user traffic instead of the first path when the session with the path computing unit is interrupted and the first path has an escape capability.
An embodiment of the present invention further provides a path creating device in a path calculating unit, including: a sending module; the sending module is used for issuing first attribute information for path creation to the path computation client, so that the path computation client creates a first path for forwarding user traffic according to the first attribute information; the sending module is further configured to issue information indicating that the first path has an escape capability to the path computation client, so that the path computation client creates a second path for forwarding the user traffic instead of the first path when a session with the path computation unit is interrupted and the first path has the escape capability.
Embodiments of the present invention also provide a system, comprising: at least one processor; and a memory communicatively coupled to the at least one processor; wherein the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the above path creation method.
Embodiments of the present invention also provide a computer-readable storage medium storing a computer program, which when executed by a processor implements the above-described path creation method.
Compared with the prior art, the method and the device for forwarding the user traffic create the first path used for forwarding the user traffic according to the first attribute information used for creating the path and issued by the path calculating unit; when the conversation with the path computing unit is interrupted and the first path has the escape capability, a second path for forwarding the user traffic instead of the first path is created, so that the problem of user traffic interruption caused by the interruption of the conversation is avoided.
In addition, when the session between the path computation client and the path computation unit is interrupted and has an escape capability, and before the creating a second path for forwarding the user traffic instead of the first path, the method further includes: and judging that the session is not reconnected within the preset time. Because the session between the path computation client and the path computation unit may be interrupted only for a while, that is, the interruption does not exceed the preset time and the connection is reconnected, and at this time, the first path is still in an available state, the first path is continuously utilized to forward the user traffic; and entering to create a second path for replacing the first path to forward the user traffic only when the session is not reconnected within a preset time. Because the first path is a path meeting PCC constraint conditions and is an optimal path, the accuracy of the forwarded user traffic is ensured, and therefore, by using the mode, the user traffic is ensured to be forwarded by using the first path when the first path is available; only if the first path is not available, a second path without constraints is created to forward the user traffic.
In addition, after the creating a second path for forwarding the user traffic instead of the first path, the method further includes: when detecting that the session is reconnected, sending second attribute information of the second path to the path computing unit, so that the path computing unit sends third attribute information to the path computing client when the third attribute information used for path creation is not matched with the second attribute information; the third attribute information is obtained by the path calculation unit according to the searched path requirement corresponding to the first path replaced by the second path; and creating a third path for replacing the second path to forward the user traffic according to the third attribute information issued by the path calculation unit. The second path is an available path which is found as far as possible without constraint, and when the session is reconnected, the created third path is the optimal path meeting the path requirement of the PCC constraint condition, and the created third path is used for replacing the second path to forward the user traffic, so that the accuracy of the forwarded user traffic is further ensured.
In addition, the information representing that the first path has the escape capability and the first attribute information are simultaneously issued to the path calculation client. The embodiment provides a specific way that the information representing that the first path has the escape capability and the first attribute information are simultaneously issued to the path calculation client.
Drawings
One or more embodiments are illustrated by way of example in the accompanying drawings, which correspond to the figures in which like reference numerals refer to similar elements and which are not to scale unless otherwise specified.
Fig. 1 is a flowchart of a path creation method according to a first embodiment of the present invention;
fig. 2 is a structural diagram of an LSP Object according to the first embodiment of the present invention;
fig. 3 is a flowchart of a path creation method according to a second embodiment of the present invention;
fig. 4 is a flowchart of a path creation method according to a third embodiment of the present invention;
fig. 5 is a flowchart of a path creation method according to a fourth embodiment of the present invention;
fig. 6 is a flowchart of a path creation method according to a fifth embodiment of the present invention;
fig. 7 is a structural diagram of a path creation apparatus in a path calculation client according to a sixth embodiment of the present invention;
fig. 8 is a structural diagram of a path creation device in a path calculation unit according to a seventh embodiment of the present invention;
fig. 9 is a block diagram of a system according to an eighth embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention more apparent, embodiments of the present invention will be described in detail below with reference to the accompanying drawings. However, it will be appreciated by those of ordinary skill in the art that numerous technical details are set forth in order to provide a better understanding of the present application in various embodiments of the present invention. However, the technical solution claimed in the present application can be implemented without these technical details and various changes and modifications based on the following embodiments. The following embodiments are divided for convenience of description, and should not constitute any limitation to the specific implementation manner of the present invention, and the embodiments may be mutually incorporated and referred to without contradiction.
A first embodiment of the present invention relates to a path creation method applied to a path computation client, for example: router devices, etc. The present embodiment includes: creating a first path for forwarding user traffic according to first attribute information issued by a path calculation unit; when detecting that the session between the path calculation client and the path calculation unit is interrupted, judging whether the first path has the escape capability; and when the first path has the escape capability, a second path for forwarding the user traffic instead of the first path is created.
A flowchart of a path creation method in the present embodiment is shown in fig. 1, and includes:
step 101, a first path for forwarding user traffic is created according to first attribute information for path creation sent by a path calculation unit.
Specifically, the first attribute information is carried by an ERO object of a PCInit message issued by the PCE, and includes information such as bandwidth and nodes. The PCC receives the PCInit message, analyzes the ERO object therein to obtain first attribute information, that is, the PCC creates a first path for forwarding the user traffic according to the first attribute information in the ERO object of the PCInit message issued by the PCE. In the present embodiment, the number of PCCs and PCEs is 1, and in the present embodiment and the following embodiments, the number of PCCs and PCEs is 1 as an example, but not limited thereto.
And 102, judging whether the first path has the escape capability or not when the interruption of the session with the path calculation unit is detected. When the first path has the escape capability, the process proceeds to step 103, and when the first path does not have the escape capability, the process proceeds to step 104.
Specifically, whether the first path has the escape capability or not can be pre-specified by the PCE, and the PCE issues the escape capability to the PCC; or may be pre-specified by another device and issued to the PCC, and this embodiment is not particularly limited. In this embodiment, the information indicating that the first path has the escape capability and the first attribute information are simultaneously issued to the PCC, that is, the information indicating that the first path has the escape capability and the first attribute information are simultaneously issued to the PCC through the PCInit message.
The information that the first path has the escape capability is carried by an LSP Object of the PCInit message, as shown in fig. 2, a Flag field in the LSP Object of the PCInit message defines a new B bit (Best-escape) to indicate whether the first path has the escape capability, and when the PCE sends down B bit position 1 of the LSP Object in the PCInit message, it indicates that the PCE wants the created first path to have the escape capability; the bit B is not set, which indicates that the PCE hopes that the first path created at this time does not have the escape capability.
In a specific example, the information indicating that the first path has the escape capability may not be issued to the PCC simultaneously with the first attribute information, the first attribute information is issued to the PCC through the PCInit message, and when the PCC receives an external trigger condition, sends, to the PCE, information indicating that the first path has the escape capability or when the PCE that manages the PCC desires the first path to have the escape capability, the information indicating that the first path has the escape capability is issued to the PCC through the PCUpd message, at this time, the B bit position 1 of the LSP Object in the PCUpd message.
Step 103, creating a second path for forwarding the user traffic instead of the first path.
Specifically, when detecting that the session between the PCC and the PCE is interrupted and the first path has the escape capability, the PCC immediately and actively creates a second path for forwarding the user traffic instead of the first path, that is, the second path replaces the first path, so that the continuous forwarding of the traffic is ensured, and the problem of user traffic interruption caused by the interruption of the session is avoided. It is noted that the second path is an available forwarding path that is found as far as possible without constraints.
Step 104, delete the first path.
Specifically, when the session between the PCC and the PCE is interrupted, the PCC no longer receives the control of the PCE, the first path is in an unavailable state, and the first path does not have the escape capability, and the PCC immediately deletes the first path according to the local policy, resulting in interruption of user traffic.
In the prior art, the first path does not have an escape capability, and when detecting that a session of a PCC and a PCE is interrupted, only the first path can be deleted, which causes interruption of user traffic carried on the first path. Compared with the prior art, in the embodiment, when the interruption of the session between the PCC and the PCE is detected and the first path has the escape capability, the PCC immediately and actively creates the second path, and switches the user traffic to the second path for forwarding, that is, the second path replaces the first path, so that the continuous forwarding of the traffic is ensured, and the interruption of the traffic carried on the first path is avoided.
A second embodiment of the present invention relates to a path creation method. This embodiment is substantially the same as the first embodiment, except that: when the session between the path computation client and the path computation unit is interrupted and has an escape capability, and before creating a second path for forwarding the user traffic instead of the first path, the method further comprises the following steps: and judging whether the session is reconnected within a preset time.
A flowchart of the path creation method in the present embodiment is shown in fig. 3, and includes:
steps 201, 202, 204, 205 are similar to steps 101, 102, 104, 103, respectively, and are not described herein again.
Step 203, determining whether the session is reconnected within a preset time. When the session is determined not to be reconnected within the preset time, step 205 is entered; when it is determined that the session is reconnected within the preset time, step 206 is entered.
Specifically, the PCC has a state timeout timer, and the state timeout timer is set with a preset time, and the PCC determines whether the session is reconnected within the preset time set in the state timeout timer. The preset time may be set according to actual conditions, and the embodiment is not particularly limited.
And step 206, continuously forwarding the user traffic by using the first path.
Specifically, the PCC and PCE session are reconnected within a preset time set by the state timeout timer, and at this time, the first path is in an available state, and the user traffic is continuously forwarded by using the first path; and the PCC simultaneously reports the first path to the PCE again, which indicates that the first path is still used for forwarding the user traffic at the moment.
In this embodiment, since the session between the PCC and the PCE may be only interrupted for a while, that is, the interruption does not exceed the preset time and the connection is reconnected, and at this time, the first path is still in an available state, the first path is continuously used to forward the user traffic; and the step of creating a second path and switching the user traffic to the second path for forwarding is only carried out when the session is not reconnected within the preset time. Because the first path is a path meeting PCC constraint conditions and is an optimal path, the accuracy of the forwarded user traffic is ensured, and therefore, by using the mode, the user traffic is ensured to be forwarded by using the first path when the first path is available; only if the first path is not available, a second path without constraints is created to forward the user traffic.
A third embodiment of the present invention relates to a path creation method. This embodiment is substantially the same as the first embodiment, except that: after creating the second path for forwarding the user traffic instead of the first path, the method further comprises: when detecting the session reconnection, sending second attribute information to the path calculation unit; and creating a third path according to the third attribute information issued by the path calculation unit, and switching the user traffic to the third path for forwarding.
A flowchart of the path creation method in the present embodiment is shown in fig. 4, and includes:
the steps 301-304 are similar to the steps 101-104, respectively, and will not be described herein again.
Step 305, when detecting that the session is reconnected, sending second attribute information of a second path to the path computation element, so that the path computation element sends third attribute information to the path computation client when the third attribute information for path creation is not matched with the second attribute information; and the third attribute information is obtained by calculating the path demand corresponding to the inquired first path replaced by the second path by the path calculating unit.
Specifically, the second attribute information related to the second path is carried in the ERO object of the path computation LSP status report message, and when detecting that the session between the PCC and the PCE is reconnected, the PCC sends the path computation LSP status report message to the PCE, so that the PCE can know the attribute information of the second path according to the ERO object of the path computation LSP status report message. Meanwhile, the PCE inquires the path requirement corresponding to the first attribute information of the first path stored locally, calculates third attribute information for path creation, compares the third attribute information with the second attribute information, if the third attribute information is matched with the second attribute information, the PCE does not need to issue the third attribute information to the PCC, and the PCC continues to forward the user flow by using the second path; and if the third attribute information is not matched with the second attribute information, the PCE issues the third attribute information to the PCC. It is worth noting that the PCC and the PCE establish session connection through a PCEP protocol, the PCC sends a path requirement to the PCE after establishing the session connection, the PCE obtains first attribute information used for path creation through calculation according to the path requirement and sends the first attribute information used for path creation to the PCC, and the PCE stores the path requirement and the corresponding first attribute information obtained through calculation according to the path requirement in the local, so that the path requirement can be directly inquired and the attribute information of the path can be calculated. The path requirement may carry route calculation constraint information including a basic route calculation constraint and a custom route calculation constraint, but is not limited thereto, and the present embodiment is not limited thereto.
Step 306, a third path for forwarding the user traffic instead of the second path is created according to the third attribute information issued by the path calculation unit.
Specifically, the third attribute information is carried by an ERO object of the PCUpd message issued by the PCE, and includes information such as bandwidth, node, and the like, that is, the PCC creates a third path according to the ERO object of the PCUpd message issued by the PCE, and the PCC forwards the user traffic by replacing the second path with the created third path, and deletes the second path.
It is to be noted that the third path is created according to the third attribute information, where the attribute information includes node information, that is, the node through which the path passes, the order of passing the node, and the like, and the third attribute information is not matched with the second attribute information, which indicates that the order of passing the node through which the third path passes and the order of passing the node through which the second path passes are different from each other, so that the third path is different from the second path. In addition, although the third attribute and the first attribute are calculated according to the same path requirement, if other factors influencing path calculation are not changed, the calculated third attribute is the same as the first attribute, and the third path is the same as the first path; if other factors influencing path calculation change, the calculated third attribute information is different from the first attribute information, and the third path is a path different from the first path.
In a specific example, after step 303 and before step 304, the method further includes: judging whether the session is reconnected within a preset time; when the session is not reconnected within the preset time, a second path for forwarding the user traffic instead of the first path is created, step 304. And when the session is reconnected within the preset time, continuing to forward the user traffic by using the first path.
In this embodiment, the second path is an available path that is found as far as possible without constraint, and when the session is reconnected, the created third path is an optimal path that satisfies PCC constraint conditions, and the created third path is used to forward the user traffic instead of the second path, so that accuracy of the forwarded user traffic can be ensured.
A fourth embodiment of the present invention relates to a path creation method applied to a path calculation client unit, including: receiving a path requirement sent by a path calculation client, and calculating according to the path requirement to obtain first attribute information of a first path to be created; issuing first attribute information to a path computation client so that the path computation client can create a first path for forwarding user traffic according to the first attribute information; and issuing information representing that the first path has the escape capability to the path calculation client, so that the path calculation client creates a second path for replacing the first path to forward the user traffic when detecting that the session between the path calculation client and the path calculation unit is interrupted and the first path has the escape capability.
A flowchart of the path creation method in the present embodiment is shown in fig. 5, and includes:
step 401, issuing first attribute information for path creation to the path computation client, so that the path computation client creates a first path for forwarding user traffic according to the first attribute information.
Specifically, the PCE carries the calculated first attribute information through an ERO object of the PCInit message, and the PCE issues the PCInit message to the PCC, so that the PCC creates a first path for forwarding the user traffic according to the ERO object of the PCInit message.
Step 402, issuing information representing that the first path has the escape capability to the path computation client, so as to create a second path for forwarding the user traffic instead of the first path when the session between the path computation client and the path computation unit is interrupted and the first path has the escape capability.
In this embodiment, the first attribute information and the information indicating that the first path has the escape capability are simultaneously sent to the PCC. Specifically, a Flag field in an LSP Object of the PCInit message defines a new B bit (Best-escape) and represents the information that the first path has the escape capability with B bit position 1.
In a specific example, the PCE carries information that the first path has the escape capability in the PCUpd message sent to the PCC, defines a new B bit (Best-escape) through a Flag field in an LSP Object of the PCUpd message, and represents the information that the first path has the escape capability by using a B bit position 1.
In the prior art, the PCE does not issue information representing whether the first path has the escape capability, but issues the attribute information of the path to the PCC. Compared with the prior art, in the embodiment, the PCE issues information indicating that the first path has the escape capability to the PCC, so that the PCC creates a second path for forwarding the user traffic instead of the first path when detecting that the session between the PCC and the PCE is interrupted and when the first path has the escape capability.
A fifth embodiment of the present invention relates to a path creation method. This embodiment is substantially the same as the fourth embodiment, except that: after issuing the information representing that the first path has the escape capability to the path calculation client, the method further comprises the following steps: calculating third attribute information for path creation according to the path requirement corresponding to the first path; judging whether the third attribute information of the third path to be created is matched with the second attribute information; and if the third attribute information is not matched with the second attribute information, issuing the third attribute information to the path calculation client.
A flowchart of the path creation method in the present embodiment is shown in fig. 6, and includes:
steps 501-502 are similar to steps 401-402, respectively, and are not described herein again.
Step 503, after the session connection with the path computation client is disconnected and restored, receiving the second attribute information of the second path sent by the path computation client.
Specifically, the second attribute information related to the second path is carried in an ERO object of the path computation LSP status report message, and after the session connection between the PCC and the PCE is disconnected and restored, the PCE receives the second attribute information that the PCC sent the second path.
Step 504, obtaining a path requirement corresponding to the first path replaced by the second path, and calculating third attribute information for path creation according to the path requirement of the first path.
Specifically, the PCC sends a path requirement to the PCE after establishing the session connection, and the PCE receives the path requirement sent by the PCC and calculates to obtain first attribute information for path establishment according to the path requirement; the path requirement information of the first path and the information that the first path has the escape capability are stored in the PCE, and when the PCE receives the second attribute information of the second path sent by the PCC, the PCE inquires the path requirement corresponding to the locally stored first path and calculates third attribute information for path creation according to the path requirement of the first path.
It is worth noting that the third attribute information of the third path to be created is calculated according to the path requirement of the first path, and the calculation can be performed immediately after the second attribute information of the second path sent by the PCC is received; the computation may be performed again when the PCE performs the path re-optimization (i.e., the cycle time of the PCE performing the path optimization), and the embodiment is not particularly limited.
Step 505, determining whether the third attribute information for path creation matches the second attribute information. If not, go to step 506, and if so, go to end.
Specifically, the PCE compares the third attribute information with the second attribute information, and determines whether the third attribute information and the second attribute information are matched, if the third attribute information and the second attribute information are matched, the PCE does not need to issue the third attribute information to the PCC, and the PCC continues to forward the user traffic by using the second path; and if the third attribute information is not matched with the second attribute information, the PCE issues the third attribute information to the PCC.
Step 506, the third attribute information is issued to the path computation client, so that the path computation client creates a third path for replacing the second path to forward the user traffic according to the third attribute information.
Specifically, the third attribute information is carried by an ERO object of the PCUpd message, and the PCE issues the third attribute information to the PCC, so that the PCC creates a third path according to the third attribute information, and switches the user traffic on the second path to the third path for forwarding.
In this embodiment, after the PCC and PCE session are disconnected and restored, the PCE performs path calculation again according to the second attribute information of the second path sent by the PCC, and when the third attribute information is not matched with the second attribute information, issues the third attribute information to the PCC, so that the PCC can create a third path according to the third attribute information to forward the user traffic instead of the second path, and can ensure accuracy of the forwarded user traffic.
A sixth embodiment of the present invention relates to a path creation device in a path computation client. As shown in fig. 7, includes:
a path creating module 601, configured to create a first path for forwarding user traffic according to the first attribute information sent by the path calculating unit; and the second path is used for replacing the first path to forward the user traffic when the session with the path calculation unit is interrupted and the first path has the escape capability.
The determining module 602 is configured to determine whether a session with the path calculating unit is interrupted, and determine whether the first path has an escape capability.
In a specific example, the determining module is further configured to determine whether the session is reconnected within a preset time.
In a specific example, the path creating apparatus in the path computing client further includes a sending module, where the sending module is configured to send the path requirement to the path computing unit, and is further configured to send, when detecting that the session is reconnected, second attribute information of the second path to the path computing unit, so that the path computing unit sends, when third attribute information of a third path used for path creation is not matched with the second attribute information, the third attribute information to the path computing client; and the third attribute information is obtained by calculating the path demand corresponding to the inquired first path replaced by the second path by the path calculating unit. The path creating module is further configured to create a third path for forwarding the user traffic instead of the second path according to the third attribute information issued by the path calculating unit.
It should be noted that this embodiment is an example of the apparatus corresponding to the first, second, and third embodiments, and may be implemented in cooperation with the first, second, and third embodiments. The related technical details mentioned in the first embodiment, the second embodiment and the third embodiment are still valid in the present embodiment, and are not described herein again in order to reduce the repetition. Accordingly, the related-art details mentioned in the present embodiment can also be applied to the first embodiment, the second embodiment, and the third embodiment.
A seventh embodiment of the present invention relates to a path creation device in a path calculation unit. As shown in fig. 8, includes:
a sending module 701, configured to issue first attribute information for path creation to a path computation client, so that the path computation client creates a first path for forwarding user traffic according to the first attribute information; and the system is also used for issuing information representing that the first path has the escape capability to the path computation client so as to create a second path for replacing the first path to forward the user traffic when the session between the path computation client and the path computation unit is interrupted and the first path has the escape capability.
The path creation means of the path calculation unit further comprises a calculation module 702 for calculating first attribute information for path creation.
In a specific example, the path creating apparatus further includes a receiving module, configured to receive, after the session connection with the path computation client is disconnected and restored, second attribute information of the second path sent by the path computation client; the calculation module is used for acquiring the path requirement corresponding to the first path replaced by the second path and calculating third attribute information for path creation according to the path requirement corresponding to the first path; the judging module is used for judging whether the third attribute information of the third path to be created is matched with the second attribute information; the sending module is further configured to issue the third attribute information to the path computation client if the third attribute information is inconsistent with the second attribute information, so that the path computation client creates a third path for forwarding the user traffic instead of the second path according to the third attribute information.
It should be noted that this embodiment is an example of the apparatus corresponding to the fourth and fifth embodiments, and may be implemented in cooperation with the fourth and fifth embodiments. The related technical details mentioned in the fourth embodiment and the fifth embodiment are still valid in this embodiment, and are not described herein again in order to reduce the repetition. Accordingly, the related-art details mentioned in the present embodiment can also be applied in the fourth embodiment and the fifth embodiment.
It should be noted that each module referred to in this embodiment is a logical module, and in practical applications, one logical unit may be one physical unit, may be a part of one physical unit, and may be implemented by a combination of multiple physical units. In addition, in order to highlight the innovative part of the present invention, elements that are not so closely related to solving the technical problems proposed by the present invention are not introduced in the present embodiment, but this does not indicate that other elements are not present in the present embodiment.
An eighth embodiment of the invention is directed to a system, as shown in fig. 9, comprising at least one processor 802; and, a memory 801 communicatively coupled to the at least one processor; the memory 801 stores instructions executable by the at least one processor 802, where the instructions are executable by the at least one processor 802 to enable the at least one processor 802 to perform embodiments of the cell search method described above.
The memory 801 and the processor 802 are coupled by a bus, which may include any number of interconnecting buses and bridges that couple one or more of the various circuits of the processor 802 and the memory 801. The bus may also connect various other circuits such as peripherals, voltage regulators, power management circuits, and the like, which are well known in the art, and therefore, will not be described any further herein. A bus interface provides an interface between the bus and the transceiver. The transceiver may be one element or a plurality of elements, such as a plurality of receivers and transmitters, providing a means for communicating with various other apparatus over a transmission medium. The data processed by the processor 802 is transmitted over a wireless medium through an antenna, which receives the data and transmits the data to the processor 802.
The processor 802 is responsible for managing the bus and general processing and may also provide various functions including timing, peripheral interfaces, voltage regulation, power management, and other control functions. And the memory 801 may be used to store data used by the processor 802 in performing operations.
A ninth embodiment of the present invention relates to a computer-readable storage medium storing a computer program. The computer program realizes the above-described method embodiments when executed by a processor.
That is, as can be understood by those skilled in the art, all or part of the steps in the method for implementing the embodiments described above may be implemented by a program instructing related hardware, where the program is stored in a storage medium and includes several instructions to enable a device (which may be a single chip, a chip, or the like) or a processor (processor) to execute all or part of the steps of the method described in the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
It will be understood by those of ordinary skill in the art that the foregoing embodiments are specific examples for carrying out the invention, and that various changes in form and details may be made therein without departing from the spirit and scope of the invention in practice.

Claims (9)

1. A path creation method applied to a path computation client, the path creation method comprising:
creating a first path for forwarding user traffic according to first attribute information for path creation issued by a path calculation unit;
when the conversation with the path calculation unit is interrupted and the first path has the escape capability, a second path for forwarding the user traffic instead of the first path is created;
after the creating of the second path for forwarding the user traffic instead of the first path, the method further includes:
when detecting that the session is reconnected, sending second attribute information of the second path to the path computing unit, so that the path computing unit sends third attribute information to the path computing client when the third attribute information used for path creation is not matched with the second attribute information; the third attribute information is obtained by the path calculation unit according to the path requirement corresponding to the first path replaced by the second path;
and creating a third path for replacing the second path to forward the user traffic according to the third attribute information issued by the path calculation unit.
2. The path creation method according to claim 1, further comprising, when a session between the path computation client and the path computation unit is interrupted and an escape capability is available, and before the creating a second path for forwarding the user traffic instead of the first path:
and judging that the session is not reconnected within the preset time.
3. The path creation method according to claim 1, wherein information indicating that the first path has an escape capability and the first attribute information are simultaneously delivered to the path calculation client.
4. A path creation method applied to a path calculation unit, the path creation method comprising:
issuing first attribute information for path creation to a path computation client, so that the path computation client creates a first path for forwarding user traffic according to the first attribute information;
issuing information representing that the first path has the escape capability to the path computation client, so that the path computation client creates a second path for replacing the first path to forward the user traffic when the session with the path computation unit is interrupted and the first path has the escape capability;
after the information representing that the first path has the escape capability is issued to the path calculation client, the method further comprises the following steps:
after the session connection with the path computation client is disconnected and restored, receiving second attribute information of the second path sent by the path computation client;
acquiring a path requirement corresponding to the first path replaced by the second path, and calculating third attribute information for path creation according to the path requirement corresponding to the first path;
and when the third attribute information is not matched with the second attribute information, issuing the third attribute information to the path computation client, so that the path computation client creates a third path for replacing the second path to forward the user traffic according to the third attribute information.
5. The path creation method according to claim 4, characterized by comprising: and the first attribute information and the information representing that the first path has the escape capability are simultaneously issued to the path calculation client.
6. A path creation apparatus in a path computation client, comprising:
a path creating module, configured to create a first path for forwarding user traffic according to the first attribute information for path creation sent by the path computing unit;
the judging module is used for judging whether the session with the path calculating unit is interrupted or not and judging whether the first path has the escape capability or not;
the path creating module is further used for creating a second path for forwarding the user traffic instead of the first path when the session with the path computing unit is interrupted and the first path has the escape capability;
the path creating device in the path computing client further comprises a sending module, wherein the sending module is used for sending the path requirement to the path computing unit and sending second attribute information of a second path to the path computing unit when detecting that the session is reconnected, so that the path computing unit sends third attribute information to the path computing client when the third attribute information of a third path for path creation is not matched with the second attribute information; the third attribute information is obtained by the path calculation unit according to the searched path requirement corresponding to the first path replaced by the second path;
the path creating module is further configured to create a third path for forwarding the user traffic instead of the second path according to the third attribute information issued by the path calculating unit.
7. A path creation apparatus in a path calculation unit, characterized by comprising: a sending module;
the sending module is used for issuing first attribute information for path creation to the path computation client, so that the path computation client creates a first path for forwarding user traffic according to the first attribute information;
the sending module is further configured to issue information indicating that the first path has an escape capability to the path computation client, so that the path computation client creates a second path for forwarding the user traffic instead of the first path when a session with the path computation unit is interrupted and the first path has the escape capability;
the path creating device in the path calculating unit further comprises a receiving module, a calculating module and a judging module;
the receiving module is used for receiving second attribute information of a second path sent by the path calculation client after the session connection with the path calculation client is disconnected and recovered;
the calculation module is used for acquiring a path requirement corresponding to the first path replaced by the second path and calculating third attribute information for path creation according to the path requirement corresponding to the first path;
the judging module is used for judging whether the third attribute information of the third path to be created is matched with the second attribute information;
and the sending module is further used for issuing the third attribute information to the path computation client if the third attribute information is inconsistent with the second attribute information, so that the path computation client creates a third path for replacing the second path to forward the user traffic according to the third attribute information.
8. A system, comprising:
at least one processor; and the number of the first and second groups,
a memory communicatively coupled to the at least one processor; wherein the content of the first and second substances,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform a path creation method as claimed in any one of claims 1 to 3 or to perform a path creation method as claimed in any one of claims 4 to 5.
9. A computer-readable storage medium storing a computer program, wherein the computer program, when executed by a processor, implements the path creation method of any one of claims 1 to 3, or implements the path creation method of any one of claims 4 to 5.
CN201911081983.5A 2019-11-07 2019-11-07 Path creation method, device, system and storage medium Active CN111865776B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911081983.5A CN111865776B (en) 2019-11-07 2019-11-07 Path creation method, device, system and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911081983.5A CN111865776B (en) 2019-11-07 2019-11-07 Path creation method, device, system and storage medium

Publications (2)

Publication Number Publication Date
CN111865776A CN111865776A (en) 2020-10-30
CN111865776B true CN111865776B (en) 2021-07-06

Family

ID=72970879

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911081983.5A Active CN111865776B (en) 2019-11-07 2019-11-07 Path creation method, device, system and storage medium

Country Status (1)

Country Link
CN (1) CN111865776B (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101227313A (en) * 2007-01-19 2008-07-23 华为技术有限公司 Business path regulation method and communication system as well as route computing unit
CN101425956A (en) * 2007-10-30 2009-05-06 华为技术有限公司 Method, device and system for path computing unit discovery across autonomous system
CN101582777A (en) * 2008-05-16 2009-11-18 华为技术有限公司 Method and device for acquiring policy and charging control rule
CN102624745A (en) * 2012-04-10 2012-08-01 中兴通讯股份有限公司 Method and device for establishing PCEP session
CN105282023A (en) * 2014-06-30 2016-01-27 中兴通讯股份有限公司 Method and device for calculating path
CN106936712A (en) * 2015-12-30 2017-07-07 华为技术有限公司 Set up method, server and the router of LSP
EP3425859A4 (en) * 2016-12-23 2019-05-01 ZTE Corporation Multi-layer lsp control method and apparatus

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104092611B (en) * 2014-07-17 2018-05-15 新华三技术有限公司 Determine the method and device of trans-regional affined label switched path
CN106374996B (en) * 2016-08-29 2019-01-11 北京邮电大学 A kind of optical network fault processing method and processing device
CN110099002B (en) * 2019-04-12 2021-06-04 烽火通信科技股份有限公司 Path calculation method and device

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101227313A (en) * 2007-01-19 2008-07-23 华为技术有限公司 Business path regulation method and communication system as well as route computing unit
CN101425956A (en) * 2007-10-30 2009-05-06 华为技术有限公司 Method, device and system for path computing unit discovery across autonomous system
CN101582777A (en) * 2008-05-16 2009-11-18 华为技术有限公司 Method and device for acquiring policy and charging control rule
CN102624745A (en) * 2012-04-10 2012-08-01 中兴通讯股份有限公司 Method and device for establishing PCEP session
CN105282023A (en) * 2014-06-30 2016-01-27 中兴通讯股份有限公司 Method and device for calculating path
CN106936712A (en) * 2015-12-30 2017-07-07 华为技术有限公司 Set up method, server and the router of LSP
EP3425859A4 (en) * 2016-12-23 2019-05-01 ZTE Corporation Multi-layer lsp control method and apparatus

Also Published As

Publication number Publication date
CN111865776A (en) 2020-10-30

Similar Documents

Publication Publication Date Title
CN113596863B (en) Method, equipment and medium for determining user plane function and providing information
CN101237399A (en) Method, system and device for getting label switching path
CN113542058B (en) Data source returning method, server and storage medium
JP2017518007A (en) Network control method and apparatus
US20110280129A1 (en) System of Path Computation Element Protocol Support for Large-Scale Concurrent Path Computation
CN112350935B (en) Path calculation method and device for path with stack depth constraint
CN110730478A (en) Slice association method, device, end-to-end slice organizer and storage medium
CN108964961A (en) A kind of method, apparatus and system of management transmission network slice
EP3016328B1 (en) Path acquisition method, path computation element, path computation client and system
CN114827007A (en) Routing method and device for computing power perception, routing node and client equipment
CN113300957A (en) Intelligent backbone network management scheduling system and method based on segment routing
CN100583831C (en) Path calculation unit networking and information obtaining method and communication system and related equipment
US10666562B2 (en) Network path computation method, apparatus, and system
CN111865776B (en) Path creation method, device, system and storage medium
CN109788075B (en) Private network system, data acquisition method and edge server
CN114390629B (en) Control method and system for backhaul route of 5G network terminal
WO2016101163A1 (en) Data transmission method in one machine to machine system and common services entity
CN111464441A (en) Communication method and device
CN104539623A (en) Achieving system and method for IGP multi-process CSPE in hybrid network
KR20190114126A (en) Software-defined network controller for controlling message transmission to switch based on processing completion delay time of message and method thereof
CN115022240A (en) Path establishing method and device, storage medium and electronic device
CN112118122B (en) Method and system for controlling optical transmission network slice
CN104426704A (en) Integration network device and service integration method thereof
CN111064618A (en) Method, device, equipment and storage medium for realizing high availability of server
CN110636104A (en) Resource request method, electronic device and storage medium

Legal Events

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