CN111614558B - Method and system for optimizing work of main and standby path calculation units - Google Patents

Method and system for optimizing work of main and standby path calculation units Download PDF

Info

Publication number
CN111614558B
CN111614558B CN202010394565.8A CN202010394565A CN111614558B CN 111614558 B CN111614558 B CN 111614558B CN 202010394565 A CN202010394565 A CN 202010394565A CN 111614558 B CN111614558 B CN 111614558B
Authority
CN
China
Prior art keywords
path calculation
unit
path
client
calculation unit
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
CN202010394565.8A
Other languages
Chinese (zh)
Other versions
CN111614558A (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 Information And Communication Technology Group Co ltd
Fiberhome Telecommunication Technologies Co Ltd
Original Assignee
China Information And Communication Technology Group Co ltd
Fiberhome Telecommunication Technologies 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 Information And Communication Technology Group Co ltd, Fiberhome Telecommunication Technologies Co Ltd filed Critical China Information And Communication Technology Group Co ltd
Priority to CN202010394565.8A priority Critical patent/CN111614558B/en
Publication of CN111614558A publication Critical patent/CN111614558A/en
Application granted granted Critical
Publication of CN111614558B publication Critical patent/CN111614558B/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/14Routing performance; Theoretical aspects
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/32Flooding
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/50Routing or path finding of packets in data switching networks using label swapping, e.g. multi-protocol label switch [MPLS]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management

Landscapes

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

Abstract

The invention discloses a method and a system for optimizing the work of a main/standby path computing unit, which relate to the technical field of communication and comprise the following steps: the path calculation client receives the flooding message and identifies a corresponding target path calculation unit; the path calculation client establishes connection or maintains connection with the target path calculation unit, and updates the session connection number of the target path calculation unit; the path calculation client selects a connected path calculation unit which accords with a preset marking principle to add a working mark, and then only sends a path calculation request to the connected path calculation unit which is added with the working mark; the connected path calculation unit is a path calculation unit connected with the path calculation client. The invention reasonably selects the path calculation unit based on the session connection number and the priority, and avoids the path calculation of different path calculation units at the same time.

Description

Method and system for optimizing work of main and standby path calculation units
Technical Field
The invention relates to the technical field of communication, in particular to a method and a system for optimizing the work of a main/standby path computing unit.
Background
An ASON (automatic Switched Optical network) refers to an Optical network capable of directly providing services as required, which has flexibility and high expandability, a transmission device is a basic transmission carrier of the ASON, and usually provides a linear or ring networking structure, the ASON adds a distributed intelligent control plane on the basis of a traditional Optical network transmission plane and a management plane, so that transmission, switching and data networks are combined together, and real routing setting, end-to-end service scheduling and network automatic recovery are realized, the control plane shields a bottom layer Optical signal transmission process, provides a logical Optical channel to an upper layer, and when a channel bottom layer fails, another route is calculated from a network topology as a new channel by automatically using an Open Shortest Path First (OSPF) protocol, so that a service transmission signal carried by an original channel is automatically Switched to the new route;
under the distributed control plane, each network node has control functions of routing calculation, wavelength allocation, signaling processing and the like, and the network reliability and the availability are high. However, along with the expansion of network scale, the ASON control performance is reduced, the network convergence speed is slow, and a Path Computation Element (PCE) needs to be introduced to perform centralized Path Computation so as to solve the problems of insufficient single-node Computation capability and resource contention and service switching caused by the distributed control of the conventional ASON network;
in an MPLS (Multi-Protocol Label Switching)/GMPLS (generalized Multi-Protocol Label Switching) network structure based on a Path Computation Element (PCE), the PCE is a functional entity in the network that is specifically responsible for Path Computation. The PCE provides a Path computation function for a Path Computation Client (PCC) by collecting information such as network topology, link status, etc. The PCC initiates an LSP signaling establishing process by utilizing a path obtained by PCE calculation, finally realizes flow engineering, a centralized control architecture puts high requirements on the availability of the PCE, and in order to avoid the problem of single node failure, a main PCE mode and a standby PCE mode are needed to be adopted during actual deployment.
However, it is an urgent problem to solve how to perform load sharing on PCEs, that is, how to select a proper PCE to respond when facing a path computation request, so as to complete the path computation work.
Disclosure of Invention
Aiming at the defects in the prior art, the invention aims to provide a method and a system for optimizing the work of a main path computing unit and a standby path computing unit.
In order to achieve the above purposes, the technical scheme adopted by the invention is as follows:
in a first aspect, the present invention discloses a method for optimizing the operation of a primary/standby path computation unit, the method comprising the steps of:
the path calculation client receives the flooding message and identifies a corresponding target path calculation unit;
the path calculation client establishes connection or maintains connection with the target path calculation unit, and updates the session connection number of the target path calculation unit;
the path calculation client selects a connected path calculation unit which accords with a preset marking principle to add a working mark, and then only sends a path calculation request to the connected path calculation unit which adds the working mark; wherein the content of the first and second substances,
the method comprises the following steps that the path calculation client selects a connected path calculation unit which accords with a preset marking principle to add a working mark, and specifically comprises the following steps:
the path calculation client screens out the connected path calculation unit with the maximum session connection number in the connected path calculation units, and adds a working mark to the connected path calculation unit with the maximum session connection number;
if the number of the connected path computing units with the largest session connection number is not less than 1, adding a working mark to the connected path computing unit with the highest priority in each connected path computing unit with the largest session connection number;
the connected path calculation unit is a path calculation unit connected with the path calculation client.
On the basis of the above technical solution, the path computation client establishes a connection or maintains a connection with the target path computation element, and updates the session connection number corresponding to the target path computation element, which specifically includes the following steps:
when the path calculation client is not connected with the target path calculation unit, establishing connection with the target path calculation unit, establishing a session connection number record item corresponding to the target path calculation unit, and recording the session connection number of the target path calculation unit;
and when the path calculation client is connected with the target path calculation unit, maintaining the connection with the target path calculation unit and updating the session connection number corresponding to the target path calculation unit.
On the basis of the technical scheme, the method further comprises the following steps:
when the connected path calculation unit is disconnected from the path calculation client, the path calculation client updates the session connection number of the disconnected connected path calculation unit to zero.
On the basis of the technical scheme, when a newly added path computation client exists, the method further comprises the following steps:
the newly added path calculation client side is connected with each target path calculation unit;
each target path calculation unit sends the session connection number of the target path calculation unit to each connected path calculation client;
and updating the session connection number of each target path calculation unit recorded by each path calculation client and each newly added path calculation client.
In a second aspect, the present invention further discloses a system for optimizing the operation of the main/standby path computing unit, where the system includes:
the message receiving unit is arranged in the path calculation client and used for receiving the flooding message and identifying the corresponding target path calculation unit;
a connection updating unit provided in the path calculation client for creating or maintaining a connection between the path calculation client and the target path calculation unit and updating the number of session connections of the target path calculation unit;
the working mark unit is arranged in the path calculation client and used for selecting the connected path calculation unit which accords with the preset mark principle to add the working mark;
the permission setting unit is arranged in the path calculation client and is used for configuring the path calculation client to subsequently send a path calculation request only to the connected path calculation unit added with the working mark;
the work marking unit is also used for screening out the connected path computing unit with the largest session connection number in each connected path computing unit and adding a work mark to the connected path computing unit with the largest session connection number;
the working mark unit is further configured to add a working mark to the connected path calculation unit with the highest priority among the connected path calculation units with the largest session connection number if the number of the connected path calculation units with the largest session connection number is not less than 1.
On the basis of the foregoing technical solution, the connection updating unit is specifically configured to, when the path computation client is not connected to the target path computation unit, create a connection between the path computation client and the target path computation unit, create a session connection number record item corresponding to the target path computation unit, and record a session connection number of the target path computation unit;
the connection updating unit is further specifically configured to, when the path computation client is connected to the target path computation unit, maintain a connection between the path computation client and the target path computation unit, and update a session connection number corresponding to the target path computation unit.
On the basis of the above technical solution, the connection updating unit is further configured to update, by the path calculation client, the session connection number of the disconnected connected path calculation unit to zero when the connected path calculation unit is disconnected from the path calculation client.
On the basis of the technical scheme, when a newly added path calculation client exists:
after the newly added path calculation client establishes connection with each target path calculation unit and each target path calculation unit sends the session connection number of the target path calculation client to each connected path calculation client,
the connection updating unit in the newly added path calculation client is further configured to update the recorded session connection number of each target path calculation unit.
Drawings
Fig. 1 is a flowchart illustrating steps of a method for optimizing operation of a primary/standby path computation element according to an embodiment of the present invention;
fig. 2 is a flowchart of an operation example of a method for optimizing the operation of a primary/standby path calculation unit according to a first embodiment of the present invention;
FIG. 3 is a diagram illustrating a topology of a prior art embodiment of the present invention;
fig. 4 is a topology example diagram of a primary/standby path calculation unit work optimization method in a first situation according to an embodiment of the present invention;
fig. 5 is a topology example diagram of a primary/standby path calculation unit work optimization method in a second situation according to an embodiment of the present invention;
fig. 6 is a block diagram of a working optimization system of a primary/standby path calculation unit according to a second embodiment of the present invention;
in fig. 6: 1. a message receiving unit; 2. a connection update unit; 3. a work marking unit 4 and an authority setting unit.
Detailed Description
Embodiments of the present invention will be described in further detail below with reference to the accompanying drawings.
The embodiment of the invention provides a method and a system for optimizing the work of a main path computing unit and a standby path computing unit.
In order to achieve the technical effects, the general idea of the application is as follows:
a method for optimizing the operation of a main/standby path computing unit includes the following steps:
s1, the path computation client receives the flooding message and identifies the corresponding target path computation unit;
s2, the path computation client and the target path computation element establish or maintain connection, and update the session connection number of the target path computation element;
s3, the path computation client selects a connected path computation element which accords with a preset marking principle to add a working mark, and then sends a path computation request only to the connected path computation element which adds the working mark; wherein the content of the first and second substances,
the connected path calculation unit is a path calculation unit connected with the path calculation client.
Embodiments of the present invention will be described in further detail below with reference to the accompanying drawings.
Example 1
Referring to fig. 1 to 5, embodiment 1 of the present invention provides a method for optimizing a working of a primary/standby path computing unit, where the method includes the following steps:
s1, the path computation client receives the flooding message and identifies the corresponding target path computation unit;
s2, the path computation client and the target path computation element establish or maintain connection, and update the session connection number of the target path computation element;
s3, the path computation client selects a connected path computation element which accords with a preset marking principle to add a working mark, and then sends a path computation request only to the connected path computation element which adds the working mark; wherein the content of the first and second substances,
the connected path calculation unit is a path calculation unit connected with the path calculation client.
It should be noted that the Path computation client and the Path computation unit work when Path switching is required, the Path computation unit is a functional entity specially responsible for Path computation in the network, and provides a Path computation function for the Path computation client by collecting information such as network topology and link state, and further, the Path computation client initiates an LSP (label switched Path) signaling establishment process according to the Path computed by the Path computation unit.
In the embodiment of the invention, when the path computation client receives the flooding message, particularly the OSPF flooding message, a proper path unit needs to be selected for connection,
firstly, a path calculation client receives a flooding message and identifies a corresponding target path calculation unit in the flooding message;
then, the path computation client identifies whether the path computation client belongs to a connected path computation unit which is currently connected, and creates or maintains connection according to a corresponding identification result;
that is, in step S2, the path computation client establishes or maintains a connection with the target path computation unit, finds the session connection count entry corresponding to the target path computation unit, where the session connection count entry is used to record the session connection count of the corresponding target path computation unit, and updates the session connection count in the session connection count entry of the target path computation unit, where the step specifically includes the following steps:
when the path calculation client is not connected with the target path calculation unit, establishing connection with the target path calculation unit and establishing the number of session connections corresponding to the target path calculation unit;
when the path calculation client is connected with the target path calculation unit, the path calculation client maintains the connection with the target path calculation unit and updates the session connection number corresponding to the target path calculation unit;
that is, no matter whether the target path computation element has been connected to the path computation client before, after the path computation client receives the flooding message and identifies the target path computation element, the connection is either maintained or established, and at this time, the target path computation element may already be referred to as a connected path computation element;
further, step S3 is started, where the path computation client selects a connected path computation element that meets the preset marking rule to add a working mark, and then sends a path computation request only to the connected path computation element to which the working mark is added, and this step is mainly used to select which of the connected path computation elements connected to the path computation client is subsequently responsible for performing path computation;
according to the embodiment of the invention, the path calculation units are reasonably selected, so that different path calculation units are prevented from simultaneously performing path calculation, the mutual influence of the path calculation work of different path calculation units is avoided, and the normal operation of the path calculation work can be ensured.
In another embodiment of the present invention, the method for adding a working label to a connected path computing unit according to a preset label principle by a path computing client includes the following steps:
the path calculation client screens out the connected path calculation unit with the maximum session connection number in the connected path calculation units, and adds a working mark to the connected path calculation unit with the maximum session connection number;
and if the number of the connected path calculation units with the largest session connection number is not less than 1, adding a working mark to the connected path calculation unit with the highest priority in each connected path calculation unit with the largest session connection number.
In another implementation manner in this embodiment of the present invention, the creating or maintaining a connection between the path computation client and the target path computation unit, and updating the session connection number corresponding to the target path computation unit specifically includes the following steps:
when the path calculation client is not connected with the target path calculation unit, establishing connection with the target path calculation unit, establishing a session connection number record item corresponding to the target path calculation unit, and recording the session connection number of the target path calculation unit;
and when the path calculation client is connected with the target path calculation unit, maintaining the connection with the target path calculation unit and updating the session connection number corresponding to the target path calculation unit.
In another implementation manner of the embodiment of the present invention, the method further includes the following steps:
when the connected path calculation unit is disconnected from the path calculation client, the path calculation client updates the session connection number of the disconnected connected path calculation unit to zero.
In another implementation manner of the embodiment of the present invention, when there is a newly added path computation client, the method further includes the following steps:
the newly added path calculation client side is connected with each target path calculation unit;
each target path calculation unit sends the session connection number of the target path calculation unit to each connected path calculation client;
updating the session connection number of each target path calculation unit recorded by each path calculation client and each newly added path calculation client;
it should be noted that the step is mainly used for adjustment when the network joins the new path calculation client;
in addition, each target path calculation unit sends the session connection number of the target path calculation unit to each connected path calculation client through a flooding message.
In the embodiment of the invention, no matter the current path calculation unit or the target path calculation unit, when the path calculation client updates the session connection number of the corresponding path calculation unit, the record condition in the path calculation client is actually updated, and the corresponding path calculation unit updates the session connection number of the corresponding path calculation client;
therefore, in the embodiment of the present invention, when the number of session connections between the path computation unit and the path computation client changes, the path computation unit updates the number of session connections between itself and the path computation client, and issues the updated number of session connections;
in actual work, when detecting that the number of session connections between the path computation unit and the path computation client changes, the path computation unit may issue the updated number of session connections, and specifically may send the updated number of session connections to the path computation client, where the specific issue manner may be a flooding issue manner;
then, the path calculation client receives the updated session connection number and updates the session connection number recorded by the path calculation unit corresponding to the path calculation client;
it should be noted that, the updated session connection number is issued by the path computation unit, and the path computation client receives the issued session connection number and updates the recording condition of itself on the session connection number.
In practical application, the technical scheme of the embodiment of the invention is shown through 2 conditions.
In the first case: taking fig. 4 as an example in the drawings of the specification, PCE1 is a high-priority PCE, PCE2 is a low-priority PCE, and a NE newly joining a network may automatically select the same PCE for path computation:
a1, starting system, NE1, NE2 and NE3 respectively receiving flooding information of PCE1 and PCE2, the number of session connections is 0;
a2, NE1, NE2 and NE3 establish session connections with PCE1 and PCE2 respectively;
a3, PCE1, PCE2 flood the new session connection number 3;
after A4, NE1, NE2 and NE3 receive the flooding messages of PCE1 and PCE2, the number of local session connections is updated to be 3;
a5, because PCE1 has high priority, NE1, NE2 and NE3 mark PCE1 as a 'working' PCE, and send a subsequent path calculation request to PCE 1;
a6, DCN network failure, NE1, NE2 and NE3 lost connectivity to PCE 1;
a7, NE1, NE2 and NE3 update the number of locally stored PCE1 session connections to be 0, and mark PCE2 as a 'working' PCE;
a8 and NE4 join the network, and establish session connection with PCE1 and PCE 2;
a9 and NE4 receive flooding messages of PCE1 and PCE2, and update the local session connection number: PCE1 is 1, PCE2 is 4;
a10, NE4 marks PCE2 as an active PCE and sends a subsequent rout calculation request to PCE 2.
In the second case: taking fig. 5 of the accompanying drawings as an example to illustrate another application of the embodiment of the present invention, when a network connection changes, a NE in a network may automatically switch to the same PCE to perform path computation, NE1 and NE2 in a topology connect PCE1 through router R1, R2 connects PCE2, and NE3 connects PCE1 and PCE2 through router R3, and the specific working flow is as follows:
b1, starting a system, establishing session connection between NE1, NE2 and NE3 with PCE1 and PCE2 respectively, wherein the flooding connection number of PCE1 is 3, and the flooding connection number of PCE2 is 3;
b2, because PCE1 has high priority, NE1, NE2 and NE3 mark PCE1 as a 'working' PCE and send a subsequent path calculation request to PCE 1;
b3 and router R1 are invalid, NE1 and NE2 lose the connection with PCE1, PCE1 session connection number stored locally is updated to be 0, PCE2 is marked as 'working' PCE, and PCE1 floods new connection number to be 1;
b4, NE3 receives the flooding message of PCE1, since the connection number of PCE2 is greater than that of the current "working" PCE1, NE3 marks PCE2 as a "working" PCE, and sends a subsequent routing request to PCE 2.
It should be noted that, in the drawings of the specification of the embodiment of the present invention, the NE is a Net Element, that is, a network Element, and the NE corresponds to the PCC, that is, the network Element corresponds to the path computation client;
the DCN is a data communication network.
In addition, the present invention IS also applicable to more than 2 PCEs, while being applicable to networks using other IGP routing protocols, such as IS-IS protocols.
Based on the same inventive concept, the present application provides an embodiment of a master/standby path calculation unit work optimization system corresponding to the embodiment, which is detailed in embodiment two
Example two
Referring to fig. 6, an embodiment of the present invention provides a system for optimizing the operation of a primary/standby path computing unit, where the system includes:
the message receiving unit 1 is arranged in the path calculation client and used for receiving the flooding message and identifying the corresponding target path calculation unit;
a connection updating unit 2 provided in the path calculation client for creating or maintaining a connection between the path calculation client and the target path calculation unit and updating the number of session connections of the target path calculation unit;
the working mark unit 3 is arranged in the path calculation client and used for selecting the connected path calculation unit which accords with the preset mark principle to add the working mark;
and the permission setting unit 4 is arranged in the path calculation client and is used for configuring the path calculation client to subsequently send a path calculation request only to the connected path calculation unit added with the working mark.
In the embodiment of the invention, when the path computation client receives the flooding message, particularly the OSPF flooding message, a proper path unit needs to be selected for connection,
firstly, a path calculation client receives a flooding message and identifies a corresponding target path calculation unit in the flooding message;
then, the path computation client identifies whether the path computation client belongs to a connected path computation unit which is currently connected, and creates or maintains connection according to a corresponding identification result;
the method comprises the following steps that a path calculation client side and a target path calculation unit establish connection or maintain connection, and the session connection number of the target path calculation unit is updated, and the method specifically comprises the following steps:
when the path calculation client is not connected with the target path calculation unit, establishing connection with the target path calculation unit and establishing the number of session connections corresponding to the target path calculation unit;
when the path calculation client is connected with the target path calculation unit, the path calculation client maintains the connection with the target path calculation unit and updates the session connection number corresponding to the target path calculation unit;
that is, no matter whether the target path computation unit is connected with the path computation client before, after the re-path computation client receives the flooding message and identifies the target path computation unit, the connection is either maintained or established, and at this time, the target path computation unit can be called a connected path computation unit;
furthermore, the path calculation client selects the connected path calculation unit which accords with the preset marking principle to add the working mark, and then sends a path calculation request to the connected path calculation unit which is added with the working mark, and the step is mainly used for selecting which one of the connected path calculation units connected with the path calculation client is responsible for path calculation;
according to the embodiment of the invention, the path calculation units are reasonably selected, so that different path calculation units are prevented from simultaneously performing path calculation, the mutual influence of the path calculation work of different path calculation units is avoided, and the normal operation of the path calculation work can be ensured.
In another implementation manner in the embodiment of the present invention, the work marking unit 3 is specifically configured to screen out the connected path computing unit with the largest session connection number in each connected path computing unit, and add a work mark to the connected path computing unit with the largest session connection number;
the work marking unit 3 is further specifically configured to add a work mark to the connected path calculation unit with the highest priority among the connected path calculation units with the largest session connection number if the number of the connected path calculation units with the largest session connection number is not less than 1.
In another implementation manner of the embodiment of the present invention, the connection updating unit 2 is configured to, when the path computation client is not connected to the target path computation unit, create a connection between the path computation client and the target path computation unit, create a session connection number record item corresponding to the target path computation unit, and record a session connection number of the target path computation unit;
the connection updating unit 2 is further specifically configured to, when the path computation client is connected to the target path computation unit, maintain a connection between the path computation client and the target path computation unit, search a session connection number record entry corresponding to the target path computation unit, and update a session connection number corresponding to the target path computation unit;
and the session connection number recording item is used for recording the session connection number of the corresponding target path calculation unit.
In another implementation manner of the embodiment of the present invention, the connection updating unit 2 is further configured to, when the connected path calculating unit is disconnected from the path calculating client, update the session connection number of the disconnected connected path calculating unit to zero by the path calculating client.
In another implementation manner in the embodiment of the present invention, when there is a newly added path computation client:
the connection updating unit 2 in the newly added path calculation client is further configured to establish connection between the to-be-newly added path calculation client and each target path calculation unit, and each target path calculation unit updates the recorded session connection number of each target path calculation unit after sending the session connection number of the target path calculation unit to each connected path calculation client.
Based on the same inventive concept, the present application provides an embodiment of a storage medium corresponding to the embodiment described in the third embodiment
EXAMPLE III
A third embodiment of the invention provides a computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out all or part of the method steps of the first embodiment.
The present invention can implement all or part of the flow in the first embodiment, and can also be implemented by using a computer program to instruct related hardware, where the computer program can be stored in a computer-readable storage medium, and when the computer program is executed by a processor, the steps of the above-mentioned method embodiments can be implemented. Wherein the computer program comprises computer program code, which may be in the form of source code, object code, an executable file or some intermediate form, etc. The computer readable medium may include: any entity or device capable of carrying computer program code, recording medium, U-disk, removable hard disk, magnetic disk, optical disk, computer Memory, Read-Only Memory (ROM), random-Access Memory (RAM), electrical carrier wave signals, telecommunications signals, software distribution media, and the like. It should be noted that the computer readable medium may contain other components which may be suitably increased or decreased as required by legislation and patent practice in jurisdictions, for example, in some jurisdictions, in accordance with legislation and patent practice, the computer readable medium does not include electrical carrier signals and telecommunications signals.
Based on the same inventive concept, the application provides an embodiment of a corresponding device, and the detailed description is given in the fourth embodiment
Example four
The fourth embodiment of the present invention further provides an apparatus, which includes a memory and a processor, wherein the memory stores a computer program running on the processor, and the processor executes the computer program to implement all or part of the method steps in the first embodiment.
The processor may be a Central Processing Unit (CP U), or may be other general purpose processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field-Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic device, discrete hardware component, or the like. The general purpose processor may be a microprocessor or the processor may be any conventional processor or the like, the processor being the control center of the computer device and the various interfaces and lines connecting the various parts of the overall computer device.
The memory may be used to store computer programs and/or modules, and the processor may implement various functions of the computer device by executing or executing the computer programs and/or modules stored in the memory, as well as by invoking data stored in the memory. The memory may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, video data, etc.) created according to the use of the cellular phone, etc. In addition, the memory may include high speed random access memory, and may also include non-volatile memory, such as a hard disk, a memory, a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), at least one magnetic disk storage device, a Flash memory device, or other volatile solid state storage device.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, server, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, optical storage, and the like) having computer-usable program code embodied therein.
The present invention has been described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), servers and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present invention without departing from the spirit and scope of the invention. Thus, if such modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include such modifications and variations.

Claims (8)

1. A method for optimizing the operation of a main/standby path computing unit includes the following steps:
the path calculation client receives the flooding message and identifies a corresponding target path calculation unit;
the path calculation client establishes connection or maintains connection with the target path calculation unit, and updates the session connection number of the target path calculation unit;
the path calculation client selects a connected path calculation unit which accords with a preset marking principle to add a working mark, and then only sends a path calculation request to the connected path calculation unit which adds the working mark; wherein the content of the first and second substances,
the method comprises the following steps that the path calculation client selects a connected path calculation unit which accords with a preset marking principle to add a working mark, and comprises the following steps:
the path calculation client screens out the connected path calculation unit with the maximum session connection number in the connected path calculation units, and adds a working mark to the connected path calculation unit with the maximum session connection number;
if the number of the connected path computing units with the largest session connection number is not less than 1, adding a working mark to the connected path computing unit with the highest priority in each connected path computing unit with the largest session connection number;
the connected path calculation unit is a path calculation unit connected with the path calculation client.
2. The method of claim 1, wherein the path computation client establishes a connection or maintains a connection with the target path computation element, and updates a session connection number corresponding to the target path computation element, specifically comprising the steps of:
when the path calculation client is not connected with the target path calculation unit, establishing connection with the target path calculation unit, establishing a session connection number record item corresponding to the target path calculation unit, and recording the session connection number of the target path calculation unit;
and when the path calculation client is connected with the target path calculation unit, maintaining the connection with the target path calculation unit and updating the session connection number corresponding to the target path calculation unit.
3. The method of claim 1, further comprising the steps of:
when the connected path calculation unit is disconnected from the path calculation client, the path calculation client updates the session connection number of the disconnected connected path calculation unit to zero.
4. The method of claim 1, wherein when there is a newly added path computation client, the method further comprises the steps of:
the newly added path calculation client side is connected with each target path calculation unit;
each target path calculation unit sends the session connection number of the target path calculation unit to each connected path calculation client;
and updating the session connection number of each target path calculation unit recorded by each path calculation client and each newly added path calculation client.
5. A primary-backup path computation element work optimization system, the system comprising:
the message receiving unit is arranged in the path calculation client and used for receiving the flooding message and identifying the corresponding target path calculation unit;
a connection updating unit provided in the path calculation client for creating or maintaining a connection between the path calculation client and the target path calculation unit and updating the number of session connections of the target path calculation unit;
the working mark unit is arranged in the path calculation client and used for selecting the connected path calculation unit which accords with the preset mark principle to add the working mark;
the permission setting unit is arranged in the path calculation client and is used for configuring the path calculation client to subsequently send a path calculation request only to the connected path calculation unit added with the working mark;
the work marking unit is also used for screening out the connected path computing unit with the largest session connection number in each connected path computing unit and adding a work mark to the connected path computing unit with the largest session connection number;
the working mark unit is further configured to add a working mark to the connected path calculation unit with the highest priority among the connected path calculation units with the largest session connection number if the number of the connected path calculation units with the largest session connection number is not less than 1.
6. The system of claim 5, wherein:
the connection updating unit is specifically configured to, when the path computation client is not connected to the target path computation unit, create a connection between the path computation client and the target path computation unit, create a session connection number record item corresponding to the target path computation unit, and record a session connection number of the target path computation unit;
the connection updating unit is further specifically configured to, when the path computation client is connected to the target path computation unit, maintain a connection between the path computation client and the target path computation unit, and update a session connection number corresponding to the target path computation unit.
7. The system of claim 5, wherein:
the connection updating unit is further configured to update the session connection number of the disconnected connected path computing unit to zero by the path computing client when the connected path computing unit is disconnected from the path computing client.
8. The system of claim 5, wherein when there is a newly added path computation client:
the connection updating unit in the newly added path calculation client is further configured to establish connection between the to-be-newly added path calculation client and each target path calculation unit, and each target path calculation unit updates the recorded session connection number of each target path calculation unit after sending the session connection number to each connected path calculation client.
CN202010394565.8A 2020-05-11 2020-05-11 Method and system for optimizing work of main and standby path calculation units Active CN111614558B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010394565.8A CN111614558B (en) 2020-05-11 2020-05-11 Method and system for optimizing work of main and standby path calculation units

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010394565.8A CN111614558B (en) 2020-05-11 2020-05-11 Method and system for optimizing work of main and standby path calculation units

Publications (2)

Publication Number Publication Date
CN111614558A CN111614558A (en) 2020-09-01
CN111614558B true CN111614558B (en) 2022-04-29

Family

ID=72203267

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010394565.8A Active CN111614558B (en) 2020-05-11 2020-05-11 Method and system for optimizing work of main and standby path calculation units

Country Status (1)

Country Link
CN (1) CN111614558B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101984602A (en) * 2010-11-05 2011-03-09 中兴通讯股份有限公司 Path calculation method, system and node equipment
CN106936712A (en) * 2015-12-30 2017-07-07 华为技术有限公司 Set up method, server and the router of LSP
CN109391554A (en) * 2017-08-04 2019-02-26 中国电信股份有限公司 Traffic scheduling method and system

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8885463B1 (en) * 2011-10-17 2014-11-11 Juniper Networks, Inc. Path computation element communication protocol (PCEP) extensions for stateful label switched path management
CN104301220A (en) * 2013-07-18 2015-01-21 中兴通讯股份有限公司 Path computation elements, path computation client-terminal and load sharing method and system
CN104348744B (en) * 2013-08-01 2019-05-24 中兴通讯股份有限公司 A kind of path calculation method and path-calculating element
CN108023810A (en) * 2016-10-31 2018-05-11 中兴通讯股份有限公司 The notifying method and device of concatenation ability
CN108243105B (en) * 2016-12-23 2021-10-12 中兴通讯股份有限公司 Path calculation method, device, PCC, PCE and path calculation system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101984602A (en) * 2010-11-05 2011-03-09 中兴通讯股份有限公司 Path calculation method, system and node equipment
CN106936712A (en) * 2015-12-30 2017-07-07 华为技术有限公司 Set up method, server and the router of LSP
CN109391554A (en) * 2017-08-04 2019-02-26 中国电信股份有限公司 Traffic scheduling method and system

Also Published As

Publication number Publication date
CN111614558A (en) 2020-09-01

Similar Documents

Publication Publication Date Title
CN110535772B (en) Method, device and network element for sending and receiving segmented routing traffic engineering strategy
US9942623B2 (en) Data center network architecture
CN100454830C (en) Method for realizing path computation in network domain
EP2774329A1 (en) Data center network architecture
EP2541847B1 (en) Method and system for establishing an associated bidirectional label-switched path
WO2020244550A1 (en) Path computing method, storage medium, and electronic device
EP3254419B1 (en) Intermediate-system-to-intermediate-system topology-transparent-zone
CN105591911B (en) A kind of generation method and device of LSP
CN112436990B (en) Data forwarding method, data forwarding equipment and computer-readable storage medium
US7590051B1 (en) Method and apparatus for redialing a connection on a communication network
EP4012988A1 (en) Interior gateway protocol flooding optimization method and device, and storage medium
CN111614558B (en) Method and system for optimizing work of main and standby path calculation units
US11641307B2 (en) Method for configuring a network node
Greenberg et al. Refactoring network control and management: A case for the 4D architecture
CN100479449C (en) Method for controlling flow
US10992573B2 (en) Multi-layer LSP control method and apparatus
CN115004655B (en) System and method for Border Gateway Protocol (BGP) controlled network reliability
CN110932978B (en) Implementation method and system for accelerating VPN FRR (virtual private network) switching
CN114374642A (en) Method and device for maintaining routing information
WO2023156016A1 (en) Recovery from a failure of an inter-domain link between two domains
CN115473840A (en) Message issuing method, forwarding path processing method and device
CN115914069A (en) Data forwarding method, system, electronic device and storage medium
CN117354231A (en) Node management method, traffic forwarding method and related devices
CN115567439A (en) Message forwarding method, node, system, network node 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