CN109525493B - Network path establishing method and device - Google Patents

Network path establishing method and device Download PDF

Info

Publication number
CN109525493B
CN109525493B CN201811270894.0A CN201811270894A CN109525493B CN 109525493 B CN109525493 B CN 109525493B CN 201811270894 A CN201811270894 A CN 201811270894A CN 109525493 B CN109525493 B CN 109525493B
Authority
CN
China
Prior art keywords
state
node device
protocol
network
source node
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
CN201811270894.0A
Other languages
Chinese (zh)
Other versions
CN109525493A (en
Inventor
华一强
张艳菲
郑毅
赫罡
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China United Network Communications Group Co Ltd
Original Assignee
China United Network Communications Group Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China United Network Communications Group Co Ltd filed Critical China United Network Communications Group Co Ltd
Priority to CN201811270894.0A priority Critical patent/CN109525493B/en
Publication of CN109525493A publication Critical patent/CN109525493A/en
Application granted granted Critical
Publication of CN109525493B publication Critical patent/CN109525493B/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/12Shortest path evaluation
    • H04L45/123Evaluation of link metrics
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/12Shortest path evaluation
    • H04L45/124Shortest path evaluation using a combination of metrics
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/70Admission control; Resource allocation
    • H04L47/82Miscellaneous aspects
    • H04L47/825Involving tunnels, e.g. MPLS

Landscapes

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

Abstract

The embodiment of the invention provides a network path establishing method and device, relates to the technical field of communication, and can automatically and preferentially establish a network path based on a network protocol with better performance, reduce the fault probability of manual planning and network configuration, and further improve the network performance. The method comprises the following steps: the network control node acquires network state information of source node equipment and network state information of target node equipment, and if the first protocol state of the source node equipment and the first protocol state of the target node equipment are both in a support state, the network control node establishes a first network path according to the equipment identification of the source node equipment and the equipment identification of the target node equipment.

Description

Network path establishing method and device
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a method and an apparatus for establishing a network path.
Background
The rise of information and communication technology services has profound influence on the daily production and life of people, brings great convenience to users, simultaneously puts higher requirements on the infrastructure construction of information and communication, and hopes that the information and communication technology services can be supplied according to needs, can be changed as required, and are flexible and robust. The emergence of SDN (Software Defined Network) technology is adapted to trends of Network IT, device Software and hardware standardization. The design concept of the SDN is to separate a control plane and a forwarding plane of a network, a logically centralized control plane can support flexible scheduling of network resources, a flexible open interface can support on-demand calling of network capabilities, and programmable control is implemented. In this way, the network capability is promoted to be conveniently called, and innovation of network service is supported. The SDN controller is a control center of the SDN network, and the control center is a forwarding device.
A Virtual Private Network (VPN) is a Private Network established on a public Network to perform encrypted communication, and is widely used in enterprise networks. Telecom operators typically provide enterprises with Multi-protocol Label Switching (MPLS) VPNs. MPLS VPNs are MPLS technologies applied on network routing and switching devices. At present, the Traffic Engineering Protocol based on MPLS mainly includes a Resource ReSerVation Protocol (RSVP-TE) based on Traffic Engineering extension and a restricted Label Distribution Protocol (CR-LDP) based on Routing, which has the advantages of long time to surface, and realization of interoperability of devices of different manufacturers among devices of a main manufacturer, that is, a Traffic Engineering tunnel between a source node and a target node which are devices of different manufacturers can be established; the method has the disadvantages that each node of the traffic engineering path needs to establish and maintain an intermediate state, a soft state mechanism needs to be refreshed in real time, the protocol is complex, and faults are easy to generate. The SR-TE protocol is a next-generation Traffic Engineering protocol supported by equipment of a main stream manufacturer, and has the advantages of only needing a source node to maintain a state, being simple and good in performance, and having the defects that due to the fact that the time of the appearance is short, SR-TE interoperability between equipment of the main stream manufacturer is imperfect, namely, an SR-TE Traffic Engineering tunnel cannot be established between the equipment of which the source node and a target node are different manufacturers, and only an SR-TE tunnel can be established between the equipment of which the source node and the target node are the same manufacturer. The operator hopes to use the tunnel of SR-TE protocol as much as possible from the viewpoint of network performance stability, and the like, and cannot configure the equipment of SR-TE tunnel, and if the tunnel of RSVP-TE or CR-LDP protocol needs to be reconfigured. To improve the efficiency of the configuration and enable fast provisioning of services, these require centralized control by the SDN controller.
Disclosure of Invention
Embodiments of the present invention provide a method and an apparatus for establishing a network path, which can automatically and preferentially establish a network path based on a network protocol with better performance, reduce the probability of failure in manual planning and network configuration, and further improve network performance.
In order to achieve the above object, an embodiment of the present invention provides a network path establishing method, where the network path establishing method includes:
the network control node acquires network state information of source node equipment and network state information of target node equipment, wherein the network state information of the source node equipment comprises first state indication information of the source node equipment and equipment identification of the source node equipment, the first state indication information of the source node equipment is used for indicating a first protocol state of the source node equipment, the first protocol state of the source node equipment comprises a support state or a non-support state, the network state information of the target node equipment comprises first state indication information of the target node equipment and equipment identification of the target node equipment, the first state indication information of the target node equipment is used for indicating the first protocol state of the target node equipment, and the first protocol state of the target node equipment comprises a support state or a non-support state;
if the first protocol state of the source node device and the first protocol state of the target node device are both in a support state, the network control node establishes a first network path according to the device identifier of the source node device and the device identifier of the target node device.
Correspondingly, an embodiment of the present invention further provides a network path establishing apparatus, where the network path establishing apparatus includes:
an acquisition unit for a network control node to acquire network state information of a source node device and network state information of a target node device, the network state information of the source node device comprises first state indication information of the source node device and a device identification of the source node device, the first status indication information of the source node device is used for indicating the first protocol status of the source node device, the first protocol state of the source node device comprises a support state or a non-support state, the network state information of the target node device comprises first state indication information of the target node device and a device identification of the target node device, the first state indication information of the target node device is used for indicating a first protocol state of the target node device, and the first protocol state of the target node device comprises a support state or a non-support state;
and the establishing unit is used for establishing a first network path by the network control node according to the equipment identifier of the source node equipment and the equipment identifier of the target node equipment if the first protocol state of the source node equipment and the first protocol state of the target node equipment are both in a support state.
The invention provides a network path establishing method and a network path establishing device, wherein network state information of source node equipment and network state information of target node equipment are obtained, if a first protocol state of the source node equipment and a first protocol state of the target node equipment are both in a support state, a network control node establishes a first network path according to an equipment identifier of the source node equipment and an equipment identifier of the target node equipment, so that a network path based on a network protocol with better performance can be automatically and preferentially established, the fault probability of manual planning and network configuration is reduced, and the network performance is improved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a flowchart of a network path establishing method according to an embodiment of the present invention;
fig. 2 is a flowchart of another network path establishment method according to an embodiment of the present invention;
fig. 3 is a flowchart of another network path establishment method according to an embodiment of the present invention;
fig. 4 is a flowchart of another network path establishment method according to an embodiment of the present invention;
fig. 5 is a schematic functional block diagram of a network path establishment apparatus according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
As shown in fig. 1, a specific procedure for the network path establishment apparatus 10 to establish the first network path is shown. The specific process can comprise the following steps:
step 101, a network control node acquires network state information of a source node device and network state information of a target node device, where the network state information of the source node device includes first state indication information of the source node device and a device identifier of the source node device, the first state indication information of the source node device is used to indicate a first protocol state of the source node device, the first protocol state of the source node device includes a support state or a non-support state, the network state information of the target node device includes first state indication information of the target node device and a device identifier of the target node device, the first state indication information of the target node device is used to indicate the first protocol state of the target node device, and the first protocol state of the target node device includes a support state or a non-support state.
Specifically, the network control node may be an SDN controller, the device identifier of the source node device may be vendor information of the source node device, and the first protocol may be a traffic engineering protocol with short time to come, good performance, and high requirement for vendor information, for example: SR-TE protocol.
It should be noted that the network control node may store the network state information of the source node device and the network state information of the target node device. The network control Node may have a data structure of a linked list, the devices of the same Node may be connected together through the linked list, and the pointer Node of the Node points to the head of the linked list.
For example: the device information stored in the network control Node may include { Equipment: Node, Product mode1, vendor, TE1type, TE2type }, where Equipment may represent a device name, Node may represent a Node name, Product mode may represent a model of the device, vendor may represent vendor information, TE1type may represent a first protocol state, and TE2type may represent a second protocol state. The equipment information belonging to the same Node forms a linked list, and the Node points to the head of the linked list.
Referring to table 1, table 1 shows network state information of a source node device and network state information of a target node device, which are acquired by a network control node.
TABLE 1
Node name Device name First protocol state Device identification
Source node Device A Support for Manufacturer 1
Source node Device B Support for Manufacturer 2
Source node Device C Do not support Manufacturer 3
Target node Device D Support for Manufacturer 2
Target node Device E Support for Manufacturer 3
Target node Apparatus F Do not support Manufacturer 4
The network state information of the source node device further includes port information of the source node device, link broadband information of the source node device, connection information of the source node device, link on-off information of the source node device, link delay information of the source node device, link load information of the source node device, device model information of the source node device, and device version information of the source node device.
Specifically, the network control node may obtain port information of the source node device and connection information of the source node device through protocols such as BGP-LS, LLDP, and the like, where the connection information of the source node device is used to indicate device information connected to the source node device. The network control node can acquire the first state indication information of the source node device, the link broadband information of the source node device and the link on-off information of the source node device in a mode reported by the device. The network control node may obtain link delay information of the source node device and link load information of the source node device through network measurement or a pre-configured manner. The network control node may obtain the device model information of the source node device, the device version information of the source node device, and the device identifier of the source node device through the CLI and the NETCONF protocols.
The network state information of the target node device further includes port information of the target node device, link broadband information of the target node device, connection information of the target node device, link on-off information of the target node device, link delay information of the target node device, link load information of the target node device, device model information of the target node device, and device version information of the target node device.
Specifically, the network control node may obtain port information of the target node device and connection information of the target node device through protocols such as BGP-LS and LLDP, where the connection information of the target node device is used to indicate device information connected to the target node device. The network control node can acquire the first state indication information of the target node device, the link broadband information of the target node device and the link on-off information of the target node device in a mode reported by the device. The network control node may obtain link delay information of the target node device and link load information of the target node device through network measurement or a pre-configured manner. The network control node can acquire the device model information of the target node device, the device version information of the target node device and the device identifier of the target node device through CLI and NETCONF protocols.
Step 102, if the first protocol state of the source node device and the first protocol state of the target node device are both support states, the network control node establishes a first network path according to the device identifier of the source node device and the device identifier of the target node device.
Specifically, if the first protocol state of the source node device and the first protocol state of the target node device are both in a support state, the network control node establishes a first network path according to the device identifier of the source node device and the device identifier of the target node device, and sets and stores the identifier of the network path and manufacturer information corresponding to the identifier of the network path in the network control node. The identifier of the network path is used for identifying the network path established by the network control node, and the manufacturer information corresponding to the identifier of the network path includes the manufacturer information of the source node device in the network path or the manufacturer information of the target node device in the network path.
For example, if the network control node establishes the first network path between the source node device and the target node device, the identifier of the network path may be the first network path, and the vendor information corresponding to the identifier of the network path may be vendor information of the source node device in the first network path or vendor information of the target node device in the first network path.
The invention provides a network path establishing method, which comprises the steps of acquiring network state information of source node equipment and network state information of target node equipment, if a first protocol state of the source node equipment and a first protocol state of the target node equipment are both in a support state, and establishing a first network path by a network control node according to an equipment identifier of the source node equipment and an equipment identifier of the target node equipment, so that a network path based on a network protocol with better performance can be automatically and preferentially established, the fault probability of manual planning and network configuration is reduced, and the network performance is improved.
Further, as shown in fig. 2, step 102 may be replaced by step 203.
Step 203, if the first protocol state of the source node device and the first protocol state of the target node device are both support states, and the device identifier of the source node device is the same as the device identifier of the target node device, establishing a first network path between the source node device and the target node device.
It should be noted that, if multiple pairs of devices with the same device identifier and supporting the first protocol exist between the source node and the target node, the first network path may be established for each pair of the source node device and the target node device, or the first network path may be established by selecting one pair of the source node device and the target node device according to the requirement.
In table 1, the source node device whose first protocol state is the support state includes a device a and a device B, and the destination node device whose first protocol state is the support state includes a device D and a device C. In device a, device B, device C, and device D, the vendor information of device B and device D are all vendor 2, and thus, a first network path may be established between device B and device D.
As an example, the specific algorithm for establishing the first network path may be:
for (Equipment1 ═ Node Source- > Head; Equipment 1! ═ Node Source- > Tail; Equipment1 ═ Equipment1- > Next)// traverse the Source Node;
{
for (Equipment 2: Node Destination- > Head; Equipment 2! Node Destination- > Tail; Equipment2 ═ Equipment2- > Next)// Equipment traversing the sink Node;
{ If (Equipment1- > render ═ Equipment2- > render) & (Equipment1- > TE1type ═ ENABLE) & (Equipment2- > TE1type ═ ENABLE)// If the devices of the source-sink node all support TE2
TE1 initial (Equipment1, Equipment2)// establishing a traffic engineering path one between devices whose source and sink nodes meet the conditions;
}
}
further, the network state information of the source node device further includes second state indication information of the source node device, where the second state indication information of the source node device is used to indicate a second protocol state of the source node device, the second protocol state of the source node device includes a supported state or an unsupported state, and the network state information of the target node device further includes second state indication information of the target node device, the second state indication information of the target node device is used to indicate a second protocol state of the target node device, and the second protocol state of the target node device includes a supported state or an unsupported state. The second protocol may be a traffic engineering protocol with long appearance time, inferior performance to the first protocol, and low requirement on vendor information, for example: RSVP-TE, CR-LDP protocol.
Referring to table 2, table 2 shows second protocol states of the source node device and the target node device.
TABLE 2
Node name Device name First protocol state Device identification Second protocol state
Source node Device A Support for Manufacturer 1 Support for
Source node Device B Support for Manufacturer 2 Support for
Source node Device C Do not support Manufacturer 3 Support for
Target node Device D Support for Manufacturer 2 Support for
Target node Device E Support for Manufacturer 3 Support for
Target node Apparatus F Do not support Manufacturer 4 Do not support
As shown in fig. 3, step 102 may be replaced by step 304.
Step 304, if at least one of the first protocol state of the source node device and the first protocol state of the target node device is an unsupported state, the network control node establishes a second network path according to the second protocol state of the source node device and the second protocol state of the target node device.
Specifically, if at least one of the first protocol state of the source node device and the first protocol state of the target node device is an unsupported state, the network control node establishes a second network path according to the second protocol state of the source node device and the second protocol state of the target node device, and sets and stores a network path identifier and manufacturer information corresponding to the network path identifier in the network control node. The identifier of the network path is used for identifying the network path established by the network control node, and the vendor information of the network path includes the vendor information of the source node device in the network path and the vendor information of the target node device in the second network path.
For example, if the network control node establishes a second network path between the source node device and the target node device, the identifier of the network path may be the second network path, and the vendor information corresponding to the identifier of the network path may be the vendor information of the source node device in the second network path and the vendor information of the target node device in the second network path.
Further, as shown in fig. 4, step 304 may be replaced by step 405.
Step 405, if at least one of the first protocol state of the source node device and the first protocol state of the target node device is a non-support state, and both the second protocol state of the source node device and the second protocol state of the target node device are support states, establishing a second network path between the source node device and the target node device according to a first preset policy.
In table 2, the source node devices whose second protocol states are support states include device a, device B, and device C, and the destination node devices whose second protocol states are support states include device D and device E. Thus, second network paths may be established between device a and device D, device a and device E, device B and device D, device B and device E, device C and device D, and device C and device E.
The network control node may also establish a second network path between the source node device and the target node device according to the following policy:
strategy 1: if a first network path has already been established between a first source node device and a first destination node device, a second network path is not established between the first source node device and the first destination node device.
Strategy 2: if a first network path has been established between a first source node device and a first target node device, a second network path is still established between the first source node device and the first target node device, so as to implement load sharing or active/standby switching of the first network path and the second network path.
Strategy 3: if a first network path cannot be established between a first source node device and a first target node device, a second network path is established between the first source node device and the first target node device.
Strategy 4: if the first network path cannot be established between the first source node device and the first target node device, but the first network path may be established between other source node devices except the first source node device and other target node devices except the first target node device, and the second network path is not established between the first source node device and the first target node device.
It should be understood by those skilled in the art that the network control node may also establish the second network path according to other policies, and the present invention is not particularly limited.
As an example, the specific algorithm for establishing the second network path may be:
for (Equipment1 ═ Node Source- > Head; Equipment 1! ═ Node Source- > Tail; Equipment1 ═ Equipment1- > Next)// traverse the Source Node;
{ For (Equipment2 ═ Node Destination- > Head; Equipment 2! ═ Node Destination- > Tail; Equipment2 ═ Equipment2- > Next)// Equipment traversing the sink Node;
{ If (Equipment1- > TE2type ═ ENABLE) & (Equipment2- > TE2type ═ ENABLE)// If the devices of the source and sink nodes all support TE1 and the device vendors are the same
TE2 Policy (Equipment1, Equipment2)// Policy function, deciding whether to create TE2 between the source and sink nodes according to the service requirement, if create TE2, the Policy function calls TE2initial function;
}
}
further, step 102 may be followed by step 103 and step 104.
Step 103, the network control node configures network paths for the source node device and the target node device according to the stored network path identifiers and establishes tunnels corresponding to the network paths.
Specifically, the network control node may store in advance the protocol types corresponding to the first network path and the second network path. The network control node may configure network paths of different protocols for the source node device and the target node device according to the stored network path identifier and the protocol type corresponding to the path identifier.
Illustratively, the network control node configures an SR-TE protocol for a source node device and a target node device of which the network path identifiers are the first network path; the network control node configures the RSVP-TE protocol or the CR-LDP protocol for the source node device and the target node device for which the network path is identified as the second network path.
And step 104, the network control node automatically selects the tunnel corresponding to the network path according to a second preset strategy.
Specifically, when the VPN service is established, the network control node may automatically select a tunnel corresponding to the network path according to the following policy.
Strategy 1: if a tunnel of a first network path and a tunnel of a second network path are established between the source node device and the target node device, the service is preferentially selected to be established on the tunnel of the first network path.
Strategy 2: if a tunnel of a first network path and a tunnel of a second network path are established between the source node device and the target node device, a service is established on the tunnel of the first network path and the tunnel of the second network path.
Strategy 3: if a tunnel of a first network path and a tunnel of a second network path are established between the source node device and the target node device, a service is established on the tunnel of the first network path, and protection is performed on the tunnel of the second network path.
Strategy 4: if the tunnel of the first network path and the tunnel of the second network path cannot be established between the source node device and the target node device, the service establishment does not use the tunnels.
Strategy 5: if only the tunnel of the first network path can be established between the source node equipment and the target node equipment, the service is established on the tunnel of the first network path.
Strategy 6: if only the tunnel of the second network path can be established between the source node device and the target node device, the service is established on the tunnel of the second network path.
It should be understood by those skilled in the art that the network control node may also automatically select the tunnel corresponding to the network path according to other policies, and the present invention is not limited in particular.
After the VPN service is established, the network control node may bind the VPN to the selected tunnel and introduce the traffic into the selected tunnel.
Correspondingly, an embodiment of the present invention further provides a network path establishing apparatus 10, as shown in fig. 5, where the network path establishing apparatus 10 includes:
an obtaining unit 11, configured to, by a network control node, obtain network state information of a source node device and network state information of a target node device, the network state information of the source node device comprises first state indication information of the source node device and a device identification of the source node device, the first status indication information of the source node device is used for indicating the first protocol status of the source node device, the first protocol state of the source node device comprises a support state or a non-support state, the network state information of the target node device comprises first state indication information of the target node device and a device identification of the target node device, the first state indication information of the target node device is used for indicating a first protocol state of the target node device, and the first protocol state of the target node device includes a support state or a non-support state.
The establishing unit 12 is configured to, if the first protocol state of the source node device and the first protocol state of the target node device are both in a support state, establish, by the network control node, a first network path according to the device identifier of the source node device and the device identifier of the target node device.
Further, the establishing unit 12 is specifically configured to:
if the first protocol state of the source node device and the first protocol state of the target node device are both in a support state, and the device identifier of the source node device is the same as the device identifier of the target node device, a first network path is established between the source node device and the target node device.
Further, the network state information of the source node device further includes second state indication information of the source node device, where the second state indication information of the source node device is used to indicate a second protocol state of the source node device, the second protocol state of the source node device includes a supported state or an unsupported state, and the network state information of the target node device further includes second state indication information of the target node device, the second state indication information of the target node device is used to indicate a second protocol state of the target node device, the second protocol state of the target node device includes a supported state or an unsupported state, and if at least one of the first protocol state of the source node device and the first protocol state of the target node device is the unsupported state, the establishing unit 12 is further configured to:
and the network control node establishes a second network path according to the second protocol state of the source node equipment and the second protocol state of the target node equipment.
Further, the establishing unit 12 is further specifically configured to:
and if at least one of the first protocol state of the source node device and the first protocol state of the target node device is a non-support state and both the second protocol state of the source node device and the second protocol state of the target node device are support states, establishing a second network path between the source node device and the target node device according to a first preset strategy.
The invention provides a network path establishing device, which is characterized in that network state information of source node equipment and network state information of target node equipment are obtained, if a first protocol state of the source node equipment and a first protocol state of the target node equipment are both in a support state, a network control node establishes a first network path according to an equipment identifier of the source node equipment and an equipment identifier of the target node equipment, so that a network path based on a network protocol with better performance can be automatically and preferentially established, the fault probability of manual planning and network configuration is reduced, and the network performance is improved.
In the several embodiments provided in the present application, it should be understood that the disclosed method and apparatus may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one logical division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may be physically included alone, or two or more units may be integrated into one unit. The integrated unit can be realized in a form of hardware, or in a form of hardware plus a software functional unit.
The integrated unit implemented in the form of a software functional unit may be stored in a computer readable storage medium. The software functional unit is stored in a storage medium and includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute some steps of the methods according to the embodiments of the present invention. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
The above description is only for the specific embodiments of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present invention, and all the changes or substitutions should be covered within the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the appended claims.

Claims (6)

1. A network path establishment method, characterized in that the network path establishment method comprises:
the network control node acquires network state information of source node equipment and network state information of target node equipment, wherein the network state information of the source node equipment comprises first state indication information of the source node equipment and equipment identification of the source node equipment, the first state indication information of the source node equipment is used for indicating a first protocol state of the source node equipment, the first protocol state of the source node equipment comprises a support state or a non-support state, the network state information of the target node equipment comprises first state indication information of the target node equipment and equipment identification of the target node equipment, the first state indication information of the target node equipment is used for indicating the first protocol state of the target node equipment, and the first protocol state of the target node equipment comprises a support state or a non-support state; the equipment identifier is manufacturer information, and the first protocol is a segment routing traffic engineering (SR-TE) protocol;
if the first protocol state of the source node device and the first protocol state of the target node device are both in a support state, the network control node establishes a first network path according to the device identifier of the source node device and the device identifier of the target node device;
the network state information of the source node device further includes second state indication information of the source node device, the second state indication information of the source node device is used for indicating a second protocol state of the source node device, the second protocol state of the source node device includes a supported state or an unsupported state, the network state information of the target node device further includes second state indication information of the target node device, the second state indication information of the target node device is used for indicating a second protocol state of the target node device, the second protocol state of the target node device includes a supported state or an unsupported state, and the second protocol is RSVP-TE protocol or CR-LDP protocol;
if at least one of the first protocol state of the source node device and the first protocol state of the target node device is an unsupported state, the network path establishing method further includes:
the network control node establishes a second network path according to the second protocol state of the source node device and the second protocol state of the target node device, and the method comprises the following steps: if the second protocol state of the source node equipment and the second protocol state of the target node equipment are both in a support state, establishing a second network path between the source node equipment and the target node equipment according to a first preset strategy;
the network control node configures network paths with different protocols for the source node equipment and the target node equipment according to the network path identifier and the protocol type corresponding to the path identifier and establishes a tunnel corresponding to the network path;
and when the VPN service of the virtual private network is established, the network control node automatically selects the tunnel corresponding to the network path according to a second preset strategy.
2. The method according to claim 1, wherein the network control node establishing the first network path according to the device identifier of the source node device and the device identifier of the target node device comprises:
and if the device identifier of the source node device is the same as the device identifier of the target node device, establishing a first network path between the source node device and the target node device.
3. A network path establishment apparatus, characterized in that the network path establishment apparatus comprises:
an acquisition unit for a network control node to acquire network state information of a source node device and network state information of a target node device, the network state information of the source node device comprises first state indication information of the source node device and a device identification of the source node device, the first status indication information of the source node device is used for indicating the first protocol status of the source node device, the first protocol state of the source node device comprises a support state or a non-support state, the network state information of the target node device comprises first state indication information of the target node device and a device identification of the target node device, the first state indication information of the target node device is used for indicating a first protocol state of the target node device, and the first protocol state of the target node device comprises a support state or a non-support state; the equipment identifier is manufacturer information, and the first protocol is a segment routing traffic engineering (SR-TE) protocol;
a establishing unit, configured to, if the first protocol state of the source node device and the first protocol state of the target node device are both in a support state, establish, by a network control node, a first network path according to a device identifier of the source node device and a device identifier of the target node device; the network state information of the source node device further includes second state indication information of the source node device, the second state indication information of the source node device is used for indicating a second protocol state of the source node device, the second protocol state of the source node device includes a supported state or an unsupported state, the network state information of the target node device further includes second state indication information of the target node device, the second state indication information of the target node device is used for indicating a second protocol state of the target node device, the second protocol state of the target node device includes a supported state or an unsupported state, and the second protocol is RSVP-TE protocol or CR-LDP protocol; if at least one of the first protocol state of the source node device and the first protocol state of the target node device is an unsupported state, the network path establishing method further includes: the network control node establishes a second network path according to the second protocol state of the source node device and the second protocol state of the target node device, and the method comprises the following steps: if the second protocol state of the source node equipment and the second protocol state of the target node equipment are both in a support state, establishing a second network path between the source node equipment and the target node equipment according to a first preset strategy;
the establishing unit is further configured to configure network paths of different protocols for the source node device and the target node device according to the network path identifier and the protocol type corresponding to the path identifier, and establish a tunnel corresponding to the network path;
when the VPN service is established, the establishing unit is further used for automatically selecting a tunnel corresponding to the network path according to a second strategy.
4. The apparatus according to claim 3, wherein if the first protocol state of the source node device and the first protocol state of the target node device are both support states, the establishing unit is specifically configured to:
and if the device identifier of the source node device is the same as the device identifier of the target node device, establishing a first network path between the source node device and the target node device.
5. A network path establishment system, comprising: at least one processor, and a memory; it is characterized in that the preparation method is characterized in that,
the memory is for storing a computer program such that the computer program when executed by the at least one processor implements the network path establishment method of any of claims 1-2.
6. A computer storage medium on which a computer program is stored, which program, when executed by a processor, implements the network path establishment method according to any one of claims 1-2.
CN201811270894.0A 2018-10-29 2018-10-29 Network path establishing method and device Active CN109525493B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811270894.0A CN109525493B (en) 2018-10-29 2018-10-29 Network path establishing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811270894.0A CN109525493B (en) 2018-10-29 2018-10-29 Network path establishing method and device

Publications (2)

Publication Number Publication Date
CN109525493A CN109525493A (en) 2019-03-26
CN109525493B true CN109525493B (en) 2022-01-28

Family

ID=65773645

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811270894.0A Active CN109525493B (en) 2018-10-29 2018-10-29 Network path establishing method and device

Country Status (1)

Country Link
CN (1) CN109525493B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110493058B (en) * 2019-08-26 2023-04-07 奇安信科技集团股份有限公司 Method and device for constructing network topology structure, storage medium and terminal
CN110519168B (en) * 2019-08-27 2022-03-11 北京华为数字技术有限公司 Method for establishing SRTE tunnel and related equipment
CN112788637A (en) * 2020-06-29 2021-05-11 中兴通讯股份有限公司 Tunnel protection method, edge router, and computer-readable medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2007041939A1 (en) * 2005-10-09 2007-04-19 Huawei Technologies Co., Ltd. A method and device for establishing network connection service and an automatically exchanging optical network
CN102724117A (en) * 2012-06-06 2012-10-10 华为技术有限公司 Multi-protocol label switching (MPLS) traffic engineering (TE) tunnel building method and device
CN104702590A (en) * 2014-12-09 2015-06-10 网神信息技术(北京)股份有限公司 Switching method and device of communication protocol
CN106878917A (en) * 2015-12-11 2017-06-20 比亚迪股份有限公司 The transfer control method of information, system, terminal and data acquisition unit

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8074270B1 (en) * 2003-06-30 2011-12-06 Juniper Networks, Inc. Automatic configuration of network tunnels
US8848702B2 (en) * 2011-02-19 2014-09-30 Cisco Technology, Inc. Automated transitioning between different communication protocols in a network
CN102387042B (en) * 2011-11-22 2014-03-12 华为技术有限公司 Automatic configuration method and system as well as network node
US9923798B1 (en) * 2012-06-28 2018-03-20 Juniper Networks, Inc. Dynamic load balancing of network traffic on a multi-path label switched path using resource reservation protocol with traffic engineering
CN103916303B (en) * 2014-04-18 2018-01-09 新华三技术有限公司 A kind of MPLS traffic engineering tunnels configuration device and method
CN107306216B (en) * 2016-04-19 2021-08-31 中兴通讯股份有限公司 Flow forwarding method and device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2007041939A1 (en) * 2005-10-09 2007-04-19 Huawei Technologies Co., Ltd. A method and device for establishing network connection service and an automatically exchanging optical network
CN102724117A (en) * 2012-06-06 2012-10-10 华为技术有限公司 Multi-protocol label switching (MPLS) traffic engineering (TE) tunnel building method and device
CN104702590A (en) * 2014-12-09 2015-06-10 网神信息技术(北京)股份有限公司 Switching method and device of communication protocol
CN106878917A (en) * 2015-12-11 2017-06-20 比亚迪股份有限公司 The transfer control method of information, system, terminal and data acquisition unit

Also Published As

Publication number Publication date
CN109525493A (en) 2019-03-26

Similar Documents

Publication Publication Date Title
JP5813072B2 (en) Method and apparatus for providing full logical connectivity in an MPLS network
EP2984795B1 (en) End-to-end (e2e) application packet flow visibility
JP5410998B2 (en) Software control plane for switches and routers
CN102823205B (en) Aggregating data traffic from access domains
US10341200B2 (en) Network management layer—configuration management
US10587494B2 (en) Network control method and apparatus
JP2023541070A (en) Enhanced SD-WAN path quality measurement and selection
CN109525493B (en) Network path establishing method and device
US10855530B2 (en) Method and apparatus for implementing composed virtual private network VPN
CN105162704B (en) The method and device of multicast replication in Overlay network
US11616724B2 (en) Packet transmission method and apparatus
US8238265B2 (en) Auto-binding SDP RSVP LSP tunnel
US10511544B2 (en) Path computation element protocol response and simple network management protocol confirmation for tunnel configuration
US10142200B2 (en) Methods and systems for a network appliance module enabling dynamic VDC aware span
CN109120657B (en) Service configuration method and node
CN111092824B (en) Traffic management system, traffic management method, electronic terminal, and storage medium
CN111917646B (en) SD-WAN-based multi-data center interconnection optimization implementation method and system
US20190199577A1 (en) Oss dispatcher for policy-based customer request management
US9160626B2 (en) Method and apparatus for object grouping and state modeling for application instances
US9667554B2 (en) DS domain generating method, device and system
US11252085B2 (en) Link resource transmission method and apparatus
WO2020118505A1 (en) Service path establishment method, network device, and system
CN105991436B (en) Transmission processing method and device for end-to-end service
CN117880103A (en) Network data processing method and device, electronic equipment and storage medium
Appelman et al. Architecture of dynamic VPNs in OpenFlow

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