CN111865784A - Route visualization method and system of SR network - Google Patents

Route visualization method and system of SR network Download PDF

Info

Publication number
CN111865784A
CN111865784A CN202010555889.5A CN202010555889A CN111865784A CN 111865784 A CN111865784 A CN 111865784A CN 202010555889 A CN202010555889 A CN 202010555889A CN 111865784 A CN111865784 A CN 111865784A
Authority
CN
China
Prior art keywords
equipment
route
information
hop
routing
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.)
Granted
Application number
CN202010555889.5A
Other languages
Chinese (zh)
Other versions
CN111865784B (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.)
Fiberhome Telecommunication Technologies Co Ltd
Original Assignee
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 Fiberhome Telecommunication Technologies Co Ltd filed Critical Fiberhome Telecommunication Technologies Co Ltd
Priority to CN202010555889.5A priority Critical patent/CN111865784B/en
Publication of CN111865784A publication Critical patent/CN111865784A/en
Application granted granted Critical
Publication of CN111865784B publication Critical patent/CN111865784B/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/34Source routing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/22Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks comprising specially adapted graphical user interfaces [GUI]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/74Address processing for routing
    • H04L45/745Address table lookup; Address filtering
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/50Reducing energy consumption in communication networks in wire-line communication networks, e.g. low power modes or reduced link rate

Landscapes

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

Abstract

The invention discloses a route visualization method and a route visualization system of an SR network, and relates to the technical field of transmission network equipment management. The method comprises the following steps: configuring SR-BE service by setting IS-IS protocol, and constructing SR service subnet and subnet IP index; inquiring real-time routing IP information of equipment according to source and destination equipment of SR-BE service appointed by a user; according to the real-time routing IP information, quickly retrieving subnet equipment and fiber connection information from the subnet IP index, and restoring and visualizing a real-time route; and when the equipment adjusts the route according to a best-effort forwarding algorithm, restoring the current route again and visualizing the current route according to the reported route change information. The invention can efficiently restore and present the real-time route of the equipment, is beneficial to the troubleshooting of equipment and network problems, can effectively improve the network maintenance efficiency and reduce the operation cost.

Description

Route visualization method and system of SR network
Technical Field
The present invention relates to the technical field of transmission network device management, and in particular, to a route visualization method and system for an SR (segmented routing) network.
Background
SR network is a new network technology, and has been increasingly widely used because it has the advantages of simplifying the network and having good scalability. With the rapid development of internet application, the demands of operators on network equipment and service quality are increasing day by day, and how to efficiently monitor and maintain a large amount of equipment and service quality of a novel SR network and service in the network has important significance.
However, at present, a routing visualization scheme capable of performing fast SR network is lacking in operation and maintenance management of SR network devices, and services cannot be restored and presented from dynamic device-side services. Once equipment or network faults occur in the SR network, the equipment or network problems cannot be accurately positioned, so that the maintenance efficiency is reduced, and the operation cost is increased.
In view of the above, it is obvious that the prior art has inconvenience and disadvantages in practical use, and improvements need to be made by those skilled in the art.
Disclosure of Invention
The invention aims to overcome the defects of the background technology, and provides a route visualization method and a route visualization system for an SR network, which can efficiently restore and present real-time routes of equipment, are beneficial to the troubleshooting of equipment and network problems, can effectively improve the network maintenance efficiency, and reduce the operation cost.
In order to achieve the above object, the present invention provides a route visualization method for an SR network, comprising the following steps:
configuring SR-BE service by setting IS-IS protocol, and constructing SR service subnet and subnet IP index; inquiring real-time routing IP information of equipment according to source and destination equipment of SR-BE service appointed by a user; according to the real-time routing IP information, quickly retrieving subnet equipment and fiber connection information from the subnet IP index, and restoring and visualizing a real-time route; and when the equipment adjusts the route according to a best-effort forwarding algorithm, restoring the current route again and visualizing the current route according to the reported route change information.
On the basis of the technical scheme, the method for inquiring the real-time routing IP information of the equipment according to the source and the destination equipment of the SR-BE service specified by the user specifically comprises the following steps:
acquiring a source device IP and a destination device IP of an SR-BE service appointed by a user; and inquiring dynamic hop-by-hop routing IP information of the SR path from the equipment according to the source equipment IP and the destination equipment IP of the SR-BE service specified by the user.
On the basis of the technical scheme, according to a source device IP and a destination device IP of an SR-BE service specified by a user, dynamic hop-by-hop routing IP information of an SR path is inquired from a device, and the method specifically comprises the following steps:
Judging whether a source device IP and a destination device IP of the SR service belong to the same SR subnet or not according to the constructed SR service subnet, and if not, exiting; if the routing information belongs to the same SR subnet, according to a source device IP of the SR-BE service specified by a user, sending dynamic hop-by-hop routing IP information for inquiring the SR path to the source device, and returning forward routing information by the device; and then according to the destination equipment IP of the SR-BE service appointed by the user, sending dynamic hop-by-hop routing IP information for inquiring the SR path to the destination equipment, and returning the reverse routing information by the equipment.
On the basis of the technical scheme, according to the real-time routing IP information, subnet equipment and fiber connecting information are quickly retrieved from the subnet IP index, and real-time routing is restored and visualized, and the method specifically comprises the following steps:
according to the IP information of the output port of the source equipment in the inquired dynamic hop-by-hop routing IP information, positioning the output port of the service passing through the source equipment from the IP index of the port of the source equipment; inquiring opposite terminal equipment of the port connected with the optical fiber according to the positioned output port of the source equipment so as to position next hop equipment; according to the IP information of the next hop node entry port in the dynamic hop-by-hop route, positioning the service passing through the entry port of the next hop equipment from the IP index of the next hop equipment port; and repeatedly executing the operation of positioning the next hop equipment and the input port of the next hop equipment until all the nodes of the dynamic hop-by-hop route are completely traversed, finishing the route restoration, and visualizing the service route to the interface.
On the basis of the technical scheme, after the device adjusts the route according to the best-effort forwarding algorithm, the current route is restored again according to the reported route change information, and the current route is visualized, and meanwhile, the route before adjustment is visualized.
The invention also provides a route visualization system of the SR network, which comprises: the system comprises a subnet and IP index construction module, a real-time route IP query module, a real-time route reduction visualization module and a real-time route adjustment visualization module;
the subnet and IP index building module thereof are used for: configuring SR-BE service by setting IS-IS protocol, and constructing SR service subnet and subnet IP index; the real-time routing IP inquiry module is used for: inquiring real-time routing IP information of equipment according to source and destination equipment of SR-BE service appointed by a user; the real-time route reduction visualization module is used for: according to the real-time routing IP information, quickly retrieving subnet equipment and fiber connection information from the subnet IP index, and restoring and visualizing a real-time route; the real-time routing adjustment visualization module is configured to: and when the equipment adjusts the route according to a best-effort forwarding algorithm, restoring the current route again and visualizing the current route according to the reported route change information.
On the basis of the technical scheme, the real-time routing IP query module queries real-time routing IP information of equipment according to the source and the destination equipment of the SR-BE service specified by a user, and specifically comprises the following steps:
acquiring a source device IP and a destination device IP of an SR-BE service appointed by a user; and inquiring dynamic hop-by-hop routing IP information of the SR path from the equipment according to the source equipment IP and the destination equipment IP of the SR-BE service specified by the user.
On the basis of the technical scheme, the real-time routing IP query module queries dynamic hop-by-hop routing IP information of an SR path from equipment according to a source equipment IP and a destination equipment IP of an SR-BE service specified by a user, and specifically comprises the following steps:
judging whether a source device IP and a destination device IP of the SR service belong to the same SR subnet or not according to the constructed SR service subnet, and if not, exiting; if the routing information belongs to the same SR subnet, according to a source device IP of the SR-BE service specified by a user, sending dynamic hop-by-hop routing IP information for inquiring the SR path to the source device, and returning forward routing information by the device; and then according to the destination equipment IP of the SR-BE service appointed by the user, sending dynamic hop-by-hop routing IP information for inquiring the SR path to the destination equipment, and returning the reverse routing information by the equipment.
On the basis of the technical scheme, the real-time route reduction visualization module is used for quickly retrieving subnet equipment and fiber connection information from the subnet IP index according to the real-time route IP information, and reducing and visualizing the real-time route, and specifically comprises the following steps:
according to the IP information of the output port of the source equipment in the inquired dynamic hop-by-hop routing IP information, positioning the output port of the service passing through the source equipment from the IP index of the port of the source equipment; inquiring opposite terminal equipment of the port connected with the optical fiber according to the positioned output port of the source equipment so as to position next hop equipment; according to the IP information of the next hop node entry port in the dynamic hop-by-hop route, positioning the service passing through the entry port of the next hop equipment from the IP index of the next hop equipment port; and repeatedly executing the operation of positioning the next hop equipment and the input port of the next hop equipment until all the nodes of the dynamic hop-by-hop route are completely traversed, finishing the route restoration, and visualizing the service route to the interface.
On the basis of the technical scheme, the real-time routing adjustment visualization module restores the current routing and visualizes the current routing, and meanwhile, the visualization adjustment front routing is also visualized.
The invention has the beneficial effects that:
(1) The invention can inquire the real-time routing information of the equipment in the SR network according to the appointed source and destination equipment of the SR-BE service; the subnet equipment and the fiber connecting information can be quickly retrieved from the subnet IP index according to the real-time routing IP information, and the real-time routing is restored and visualized; after the device adjusts the route according to the best effort forwarding algorithm, the current route can BE quickly restored according to the change information, the current route is visualized, the effect of efficiently restoring and presenting the real-time route of the device can BE realized aiming at the dynamic change characteristic of the SR-BE service, the troubleshooting of the device and the network problem is facilitated, the network maintenance efficiency can BE effectively improved, and the operation cost is reduced.
(2) In the invention, a fast route reduction algorithm based on adjacent network elements and hop-by-hop IP analysis is adopted, and subnet equipment and fiber connection information can be quickly retrieved from the subnet IP index according to real-time route IP information, so that the real-time route of the equipment is efficiently reduced and presented, the equipment and network problems are favorably checked, and the network maintenance efficiency can be improved to the greatest extent.
(3) The method can be applied to all equipment routing visualization scenes related to the SR network, and has wide application range.
Drawings
Fig. 1 is a flowchart of a route visualization method of an SR network in an embodiment of the present invention;
FIG. 2 is a flowchart illustrating step B according to an embodiment of the present invention;
FIG. 3 is a flowchart illustrating step C according to an embodiment of the present invention;
fig. 4 is a block diagram of a route visualization system of the SR network in the embodiment of the present invention.
Detailed Description
First, the design principle of the present invention is further explained: as known to those skilled in the art, SR-BE (Segment Routing-Base efficiency Service) Service in SR network refers to segmented Service based on best Effort forwarding. SR-BE service real-time routing is a routing dynamically generated by equipment through real-time calculation by a forwarding algorithm. Moreover, the service is connectionless-oriented, and the route of the service changes dynamically with the operation state of the network. Therefore, for the dynamic change characteristic of the SR-BE service, how to visualize the routing of the service in the SR network in real time and reflect the routing change information in real time in order to implement efficient operation and maintenance management of the SR network device becomes a technical problem mainly solved by the present invention.
In order to solve the above problems, the solution proposed by the present invention is: inquiring real-time routing information of equipment in the SR network through specified SR-BE service source and sink equipment; based on the adjacent equipment information of the real-time route, the real-time route is restored and visualized by the rapid route restoration method based on the IP; when the equipment adjusts the route according to the best-effort forwarding algorithm, the equipment reports route change information, quickly restores the current route according to the change information, and visualizes the current route and the route before adjustment.
In order that those skilled in the art will better understand the present invention, the following detailed description of the invention is provided in conjunction with the accompanying drawings and the detailed description of the invention.
However, it should be noted that: the examples to be described next are only some specific examples, and are not intended to limit the embodiments of the present invention necessarily to the following specific steps, values, conditions, data, orders, and the like. Those skilled in the art can, upon reading this specification, utilize the concepts of the present invention to construct more embodiments than those specifically described herein.
Example one
Referring to fig. 1, the present embodiment provides a route visualization method for an SR network, including the following steps:
A. configuring SR-BE service by setting IS-IS protocol, and constructing SR service subnet and subnet IP index;
B. inquiring real-time routing IP information of equipment according to source and destination equipment of SR-BE service appointed by a user;
C. according to the real-time routing IP information, quickly retrieving subnet equipment and fiber connection information from the subnet IP index, and restoring and visualizing a real-time route;
D. and when the equipment adjusts the route according to a best-effort forwarding algorithm, restoring the current route again and visualizing the current route according to the reported route change information.
Further, in practical application, the step a specifically includes the following operations:
a1, configuring SR-BE service by setting ISIS protocol;
a2, constructing an SR service subnet index for rapidly inquiring whether a certain device belongs to the SR subnet;
a3, constructing IP indexes of devices and device fiber connection ports in the SR service subnet, and quickly positioning the ports and fiber connection ports corresponding to a certain IP of a certain device.
Further, in practical application, in step D, after the device adjusts the route according to the best-effort forwarding algorithm, the current route is restored again according to the operation of step C and the route change information reported by the device; and when the route visualization is carried out, the current route and the route before adjustment can be simultaneously visualized on the interface according to the requirement.
Example two
Referring to fig. 2, the basic steps of the route visualization method for the SR network provided in this embodiment are the same as those of the first embodiment, except that, as a preferred implementation, step B of the method specifically includes the following operations:
b1, obtaining the source device IP and the destination device IP of the SR-BE service appointed by the user;
b2, according to the source device IP and the destination device IP of the SR-BE service appointed by the user, inquiring the dynamic hop-by-hop route IP information of the SR Path from the device, thereby obtaining the real-time route IP information of the device.
Further, in an optional implementation, step B2 specifically includes the following operations:
b21, judging whether the source device IP and the destination device IP of the SR service belong to the same SR subnet according to the constructed SR service subnet, and if not, exiting; if the SR subnet belongs to the same SR subnet, the step B22 is carried out;
b22, according to the source device IP of the SR-BE service appointed by the user, sending the dynamic hop-by-hop route IP information for inquiring SR Path to the source device, and returning the forward route information by the device;
b23, according to the user-specified SR-BE service destination device IP, sending the dynamic hop-by-hop route IP information for inquiring SR Path to the destination device, and the device returning the reverse route information.
EXAMPLE III
Referring to fig. 3, the basic steps of the route visualization method for the SR network provided in this embodiment are the same as those of the embodiment, except that, as a preferred implementation, step C of the method specifically includes the following operations:
c1, according to the output port IP information of the source device in the inquired dynamic hop-by-hop route IP information, locating the output port of the service passing through the source device from the source device port IP index. Specifically, step C1 may include the following operations: c11, acquiring a first node in the dynamic hop-by-hop route IP queue returned by the equipment as a source node; judging whether the IP of the input port of the node is consistent with the IP of the source equipment, if not, exiting; if yes, go to step C12; and step C12, judging the IP information of the output port of the source node, and positioning the output port of the service passing through the source device from the IP index of the port of the source device.
And C2, inquiring the opposite end device of the port connected with the fiber according to the outlet port of the source device positioned in C1, so as to position the next hop device. Specifically, step C2 may include the following operations: c21, inquiring the connection fiber of the output port of the source device, judging whether the output port has the connection fiber information, if not, informing the user to supplement the connection fiber information and quit; otherwise, go to step C22; and step C22, obtaining the opposite terminal device, namely positioning to the next hop device, through the source and destination port information of the fiber connection information.
C3, according to the next hop node entry port IP information in the dynamic hop-by-hop route, positioning the service passing through the entry port of the next hop device from the next hop device port IP index. Specifically, step C3 may include the following operations: c31, acquiring the next hop device and its input port through the fiber connection information, judging whether the input port IP of the next hop device is consistent with the next hop input port IP returned by the device, if not, informing the user that the fiber connection information has problems and quitting; otherwise, go to step C32; and step C32, positioning the fiber connection device and the next hop device, and restoring the routing information of the source device, the fiber connection device and the next hop device.
And C4, repeatedly executing C2 to C3 until all nodes of the dynamic hop-by-hop route are completely traversed, finishing restoring the route, and visualizing the service route to the interface.
It can be seen from the above operations that, in this embodiment, a fast route reduction algorithm based on adjacent network elements and hop-by-hop IP analysis is adopted, and subnet equipment and fiber connection information can be quickly retrieved from a subnet IP index according to real-time route IP information, so that the real-time route of the equipment is efficiently reduced and presented, which is beneficial to troubleshooting of equipment and network problems, and can effectively improve network maintenance efficiency and reduce operation cost.
Example four
Based on the same inventive concept, referring to fig. 4, an embodiment of the present invention further provides a routing visualization system for an SR network, where the system includes: the system comprises a subnet and IP index building module, a real-time route IP inquiry module, a real-time route reduction visualization module and a real-time route adjustment visualization module.
The subnet and its IP index constructing module are used for: configuring SR-BE service by setting IS-IS protocol, and constructing SR service subnet and subnet IP index;
a real-time routing IP query module, configured to: inquiring real-time routing IP information of equipment according to source and destination equipment of SR-BE service appointed by a user;
a real-time route restoration visualization module configured to: according to the real-time routing IP information, quickly retrieving subnet equipment and fiber connection information from the subnet IP index, and restoring and visualizing a real-time route;
A real-time routing adjustment visualization module to: and when the equipment adjusts the route according to a best-effort forwarding algorithm, restoring the current route again and visualizing the current route according to the reported route change information.
Further, in practical application, the specific process of constructing the subnet and the IP index constructing module thereof includes: configuring SR-BE service by setting ISIS protocol; constructing an SR service subnet index for rapidly inquiring whether a certain device belongs to the SR subnet; and constructing an IP index of the equipment and the equipment fiber connection port in the SR service subnet, and quickly positioning the port and the fiber connection corresponding to a certain IP of certain equipment.
Further, in an optional implementation manner, when the real-time route adjustment visualization module restores the current route again according to the reported route change information, the real-time route restoration visualization module may be used to perform specific operations. And when the real-time routing adjustment visualization module is used for visualizing the routing, the current routing and the routing before adjustment can be visualized on an interface simultaneously according to the requirement.
EXAMPLE five
The basic structure of the route visualization system of the SR network provided in this embodiment is the same as that of the fourth embodiment, except that the real-time route IP query module queries the real-time route IP information of the device according to the source and destination devices of the SR-BE service specified by the user, and specifically includes the following steps: acquiring a source device IP and a destination device IP of an SR-BE service appointed by a user; and inquiring dynamic hop-by-hop routing IP information of the SR path from the equipment according to the source equipment IP and the destination equipment IP of the SR-BE service specified by the user.
Further, in an optional implementation manner, the real-time routing IP query module queries dynamic hop-by-hop routing IP information of an SR path from a device according to a source device IP and a sink device IP of an SR-BE service specified by a user, and specifically includes the following steps:
judging whether a source device IP and a destination device IP of the SR service belong to the same SR subnet or not according to the constructed SR service subnet, and if not, exiting; if the routing information belongs to the same SR subnet, according to a source device IP of the SR-BE service specified by a user, sending dynamic hop-by-hop routing IP information for inquiring the SR path to the source device, and returning forward routing information by the device; and then according to the destination equipment IP of the SR-BE service appointed by the user, sending dynamic hop-by-hop routing IP information for inquiring the SR path to the destination equipment, and returning the reverse routing information by the equipment.
EXAMPLE six
The basic structure of the route visualization system of the SR network provided in this embodiment is the same as that of the fifth embodiment, and the difference is that the real-time route restoration visualization module quickly retrieves subnet equipment and fiber connection information from the subnet IP index according to the real-time route IP information, and restores and visualizes the real-time route, which specifically includes the following steps:
1) And positioning the service passing through the output port of the source equipment from the IP index of the port of the source equipment according to the output port IP information of the source equipment in the inquired dynamic hop-by-hop routing IP information. In actual operation, a first node in a dynamic hop-by-hop routing IP queue returned by the equipment can be obtained as a source node; judging whether the IP of the input port of the node is consistent with the IP of the source equipment, and if not, exiting; if the service is consistent with the source device, the IP information of the output port of the source node is judged, and the service is positioned from the IP index of the port of the source device through the output port of the source device.
2) And inquiring opposite terminal equipment of the port connected with the fiber according to the positioned output port of the source equipment so as to position next hop equipment. In actual operation, the connection fiber of the output port of the source device can be inquired firstly, whether the output port has the connection fiber information or not is judged, and if the connection fiber information does not exist, the user is informed to supplement the connection fiber information and quit; otherwise, the opposite terminal device is obtained through the source and destination port information of the fiber connection information, that is, the next hop device is located.
3) And according to the IP information of the next hop node entry port in the dynamic hop-by-hop route, positioning the service passing through the entry port of the next hop equipment from the IP index of the next hop equipment port. In actual operation, the next hop device and the input port thereof can be obtained through the fiber connection information, whether the input port IP of the next hop device is consistent with the next hop input port IP returned by the device or not is judged, and if not, a user is informed that the fiber connection information has a problem and quits; otherwise, positioning the fiber connection and the next hop equipment, and restoring the routing information of the source equipment, the fiber connection and the next hop equipment.
4) And repeatedly executing the operation of positioning the next hop equipment and the input port of the next hop equipment until all the nodes of the dynamic hop-by-hop route are completely traversed, finishing the route restoration, and visualizing the service route to the interface.
Note that: the above-described embodiments are merely examples and are not intended to be limiting, and those skilled in the art can combine and combine some steps and devices from the above-described separately embodiments to achieve the effects of the present invention according to the concept of the present invention, and such combined and combined embodiments are also included in the present invention, and such combined and combined embodiments are not described herein separately.
Advantages, effects, and the like, which are mentioned in the embodiments of the present invention, are only examples and are not limiting, and they cannot be considered as necessarily possessed by the various embodiments of the present invention. Furthermore, the foregoing specific details disclosed herein are merely for purposes of example and for purposes of clarity of understanding, and are not intended to limit the embodiments of the invention to the particular details which may be employed to practice the embodiments of the invention.
The block diagrams of devices, apparatuses, systems involved in the embodiments of the present invention are only given as illustrative examples, and are not intended to require or imply that the connections, arrangements, configurations, etc. must be made in the manner shown in the block diagrams. These devices, apparatuses, devices, systems may be connected, arranged, configured in any manner, as will be appreciated by those skilled in the art. Words such as "including," "comprising," "having," and the like are open-ended words that mean "including, but not limited to," and are used interchangeably therewith. As used in connection with embodiments of the present invention, the terms "or" and "refer to the term" and/or "and are used interchangeably herein unless the context clearly dictates otherwise. The word "such as" is used in connection with embodiments of the present invention to mean, and is used interchangeably with, the word "such as but not limited to".
The flow charts of steps in the embodiments of the present invention and the above description of the methods are merely illustrative examples and are not intended to require or imply that the steps of the various embodiments must be performed in the order presented. As will be appreciated by those skilled in the art, the order of the steps in the above embodiments may be performed in any order. Words such as "thereafter," "then," "next," etc. are not intended to limit the order of the steps; these words are only used to guide the reader through the description of these methods. Furthermore, any reference to an element in the singular, for example, using the articles "a," "an," or "the" is not to be construed as limiting the element to the singular.
In addition, the steps and devices in the embodiments of the present invention are not limited to be implemented in a certain embodiment, and in fact, some steps and devices in the embodiments of the present invention may be combined according to the concept of the present invention to conceive new embodiments, and these new embodiments are also included in the scope of the present invention.
The respective operations in the embodiments of the present invention may be performed by any appropriate means capable of performing the corresponding functions. The means may comprise various hardware and/or software components and/or modules including, but not limited to, hardware circuitry or a processor.
The method of an embodiment of the invention includes one or more acts for implementing the method described above. The methods and/or acts may be interchanged with one another without departing from the scope of the claims. In other words, unless a specific order of actions is specified, the order and/or use of specific actions may be modified without departing from the scope of the claims.
The functions in the embodiments of the present invention may be implemented in hardware, software, firmware, or any combination thereof. If implemented in software, the functions may be stored as one or more instructions on a tangible computer-readable medium. A storage media may be any available tangible media that can be accessed by a computer. By way of example, and not limitation, such computer-readable media can comprise RAM, ROM, EEPROM, CD-ROM or other optical disk storage, magnetic disk storage or other magnetic storage devices, or any other tangible medium that can be used to carry or store desired program code in the form of instructions or data structures and that can be accessed by a computer. As used herein, disk (disk) and Disc (Disc) include Compact Disc (CD), laser Disc, optical Disc, DVD (Digital Versatile Disc), floppy disk and blu-ray Disc where disks reproduce data magnetically, while discs reproduce data optically with lasers.
Accordingly, a computer program product may perform the operations presented herein. For example, such a computer program product may be a computer-readable tangible medium having instructions stored (and/or encoded) thereon that are executable by one or more processors to perform the operations described herein. The computer program product may include packaged material.
Other examples and implementations are within the scope and spirit of the embodiments of the invention and the following claims. For example, due to the nature of software, the functions described above may be implemented using software executed by a processor, hardware, firmware, hard-wired, or any combination of these. Features implementing functions may also be physically located at various locations, including being distributed such that portions of functions are implemented at different physical locations.
Various changes, substitutions and alterations to the techniques described herein may be made by those skilled in the art without departing from the techniques of the teachings as defined by the appended claims. Moreover, the scope of the claims of the present disclosure is not limited to the particular aspects of the process, machine, manufacture, composition of matter, means, methods and acts described above. Processes, machines, manufacture, compositions of matter, means, methods, or acts, presently existing or later to be developed that perform substantially the same function or achieve substantially the same result as the corresponding aspects described herein may be utilized. Accordingly, the appended claims are intended to include within their scope such processes, machines, manufacture, compositions of matter, means, methods, or acts.
The previous description of the disclosed aspects is provided to enable any person skilled in the art to make or use the present invention. Various modifications to these aspects will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other aspects without departing from the scope of the invention. Thus, the present invention is not intended to be limited to the aspects shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.
The foregoing description has been presented for purposes of illustration and description. Furthermore, the description is not intended to limit embodiments of the invention to the form disclosed herein. While a number of example aspects and embodiments have been discussed above, those of skill in the art will recognize certain variations, modifications, alterations, additions and sub-combinations thereof. And those not described in detail in this specification are within the skill of the art.

Claims (10)

1. A route visualization method for an SR network is characterized by comprising the following steps:
configuring SR-BE service by setting IS-IS protocol, and constructing SR service subnet and subnet IP index;
inquiring real-time routing IP information of equipment according to source and destination equipment of SR-BE service appointed by a user;
According to the real-time routing IP information, quickly retrieving subnet equipment and fiber connection information from the subnet IP index, and restoring and visualizing a real-time route;
and when the equipment adjusts the route according to a best-effort forwarding algorithm, restoring the current route again and visualizing the current route according to the reported route change information.
2. The route visualization method of the SR network according to claim 1, wherein querying the device real-time routing IP information according to the source and sink devices of the SR-BE service specified by the user, specifically comprises the following steps:
acquiring a source device IP and a destination device IP of an SR-BE service appointed by a user;
and inquiring dynamic hop-by-hop routing IP information of the SR path from the equipment according to the source equipment IP and the destination equipment IP of the SR-BE service specified by the user.
3. The route visualization method of the SR network according to claim 2, wherein the dynamic hop-by-hop route IP information of the SR path is queried from the device according to the source device IP and the sink device IP of the SR-BE service specified by the user, specifically comprising the steps of:
judging whether a source device IP and a destination device IP of the SR service belong to the same SR subnet or not according to the constructed SR service subnet, and if not, exiting;
If the routing information belongs to the same SR subnet, according to a source device IP of the SR-BE service specified by a user, sending dynamic hop-by-hop routing IP information for inquiring the SR path to the source device, and returning forward routing information by the device;
and then according to the destination equipment IP of the SR-BE service appointed by the user, sending dynamic hop-by-hop routing IP information for inquiring the SR path to the destination equipment, and returning the reverse routing information by the equipment.
4. The route visualization method of the SR network according to claim 2, wherein the real-time route is restored and visualized by quickly retrieving subnet equipment and fiber connection information from the subnet IP index according to the real-time route IP information, specifically comprising the steps of:
according to the IP information of the output port of the source equipment in the inquired dynamic hop-by-hop routing IP information, positioning the output port of the service passing through the source equipment from the IP index of the port of the source equipment;
inquiring opposite terminal equipment of the port connected with the optical fiber according to the positioned output port of the source equipment so as to position next hop equipment;
according to the IP information of the next hop node entry port in the dynamic hop-by-hop route, positioning the service passing through the entry port of the next hop equipment from the IP index of the next hop equipment port;
and repeatedly executing the operation of positioning the next hop equipment and the input port of the next hop equipment until all the nodes of the dynamic hop-by-hop route are completely traversed, finishing the route restoration, and visualizing the service route to the interface.
5. A method for route visualization of SR networks according to any of the claims 1 to 4, characterized in that: when the device adjusts the route according to the best-effort forwarding algorithm, the current route is restored again according to the reported route change information, and the route before adjustment is visualized while the current route is visualized.
6. A route visualization system for an SR network, the system comprising: the system comprises a subnet and IP index construction module, a real-time route IP query module, a real-time route reduction visualization module and a real-time route adjustment visualization module;
the subnet and IP index building module thereof are used for: configuring SR-BE service by setting IS-IS protocol, and constructing SR service subnet and subnet IP index;
the real-time routing IP inquiry module is used for: inquiring real-time routing IP information of equipment according to source and destination equipment of SR-BE service appointed by a user;
the real-time route reduction visualization module is used for: according to the real-time routing IP information, quickly retrieving subnet equipment and fiber connection information from the subnet IP index, and restoring and visualizing a real-time route;
the real-time routing adjustment visualization module is configured to: and when the equipment adjusts the route according to a best-effort forwarding algorithm, restoring the current route again and visualizing the current route according to the reported route change information.
7. The system for visualizing routing of SR network of claim 6, wherein the real-time routing IP query module queries device real-time routing IP information according to user-specified SR-BE service source and sink devices, specifically comprising the steps of:
acquiring a source device IP and a destination device IP of an SR-BE service appointed by a user; and inquiring dynamic hop-by-hop routing IP information of the SR path from the equipment according to the source equipment IP and the destination equipment IP of the SR-BE service specified by the user.
8. The system for visualizing routing of SR network of claim 7, wherein the real-time routing IP query module queries dynamic hop-by-hop routing IP information of SR path from device according to source device IP and sink device IP of SR-BE service specified by user, comprising in particular the steps of:
judging whether a source device IP and a destination device IP of the SR service belong to the same SR subnet or not according to the constructed SR service subnet, and if not, exiting; if the routing information belongs to the same SR subnet, according to a source device IP of the SR-BE service specified by a user, sending dynamic hop-by-hop routing IP information for inquiring the SR path to the source device, and returning forward routing information by the device; and then according to the destination equipment IP of the SR-BE service appointed by the user, sending dynamic hop-by-hop routing IP information for inquiring the SR path to the destination equipment, and returning the reverse routing information by the equipment.
9. The routing visualization system of the SR network of claim 7, wherein the real-time routing reduction visualization module fast retrieves subnet equipment and fiber connection information from the subnet IP index according to the real-time routing IP information, and reduces and visualizes the real-time routing, specifically comprising the steps of:
according to the IP information of the output port of the source equipment in the inquired dynamic hop-by-hop routing IP information, positioning the output port of the service passing through the source equipment from the IP index of the port of the source equipment;
inquiring opposite terminal equipment of the port connected with the optical fiber according to the positioned output port of the source equipment so as to position next hop equipment;
according to the IP information of the next hop node entry port in the dynamic hop-by-hop route, positioning the service passing through the entry port of the next hop equipment from the IP index of the next hop equipment port;
and repeatedly executing the operation of positioning the next hop equipment and the input port of the next hop equipment until all the nodes of the dynamic hop-by-hop route are completely traversed, finishing the route restoration, and visualizing the service route to the interface.
10. A route visualization system for an SR network according to any of claims 6 to 9 wherein: and the real-time routing adjustment visualization module restores the current routing again and visualizes the current routing, and meanwhile, visualizes the route before adjustment.
CN202010555889.5A 2020-06-17 2020-06-17 Route visualization method and system of SR network Active CN111865784B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010555889.5A CN111865784B (en) 2020-06-17 2020-06-17 Route visualization method and system of SR network

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010555889.5A CN111865784B (en) 2020-06-17 2020-06-17 Route visualization method and system of SR network

Publications (2)

Publication Number Publication Date
CN111865784A true CN111865784A (en) 2020-10-30
CN111865784B CN111865784B (en) 2022-06-07

Family

ID=72986164

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010555889.5A Active CN111865784B (en) 2020-06-17 2020-06-17 Route visualization method and system of SR network

Country Status (1)

Country Link
CN (1) CN111865784B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112260880A (en) * 2020-12-17 2021-01-22 金锐同创(北京)科技股份有限公司 Network access relation display method and related equipment

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1905512A (en) * 2006-08-17 2007-01-31 北京邮电大学 Monitoring and analyzing system for opening shortest path priority route protocol and working method
CN103269286A (en) * 2013-06-04 2013-08-28 上海数讯信息技术有限公司 Border gateway protocol (BGP)-based visual routing monitoring management system
WO2015131560A1 (en) * 2014-09-19 2015-09-11 中兴通讯股份有限公司 Segment routing identifier allocation method and segment routing node
US20150326675A1 (en) * 2014-05-12 2015-11-12 Telefonaktiebolaget L M Ericsson (Publ) Scalable segment identifier allocation in segment routing
US20160337200A1 (en) * 2014-01-29 2016-11-17 Huawei Technologies Co., Ltd. Method and Apparatus for Visualized Network Operation and Maintenance
US20170317929A1 (en) * 2014-10-27 2017-11-02 Zte Corporation Sr information obtainment method and sr network establishment method
US20180295049A1 (en) * 2015-12-09 2018-10-11 Huawei Technologies Co., Ltd. System, method and nodes for performance measurement in segment routing network
CN108880840A (en) * 2017-05-10 2018-11-23 中兴通讯股份有限公司 The method and apparatus for obtaining access path
US20190058657A1 (en) * 2016-02-15 2019-02-21 Telefonaktiebolaget Lm Ericsson (Publ) Ospf extensions for flexible path stitchng and selection for traffic transiting segment routing and mpls networks
WO2019062249A1 (en) * 2017-09-28 2019-04-04 华为技术有限公司 Sr-be inner tunnel label configuration method, device and communication system
US20200153733A1 (en) * 2016-02-15 2020-05-14 Telefonaktiebolaget Lm Ericsson (Publ) Is-is extensions for flexible path stitching and selection for traffic transiting segment routing and mpls networks

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1905512A (en) * 2006-08-17 2007-01-31 北京邮电大学 Monitoring and analyzing system for opening shortest path priority route protocol and working method
CN103269286A (en) * 2013-06-04 2013-08-28 上海数讯信息技术有限公司 Border gateway protocol (BGP)-based visual routing monitoring management system
US20160337200A1 (en) * 2014-01-29 2016-11-17 Huawei Technologies Co., Ltd. Method and Apparatus for Visualized Network Operation and Maintenance
US20150326675A1 (en) * 2014-05-12 2015-11-12 Telefonaktiebolaget L M Ericsson (Publ) Scalable segment identifier allocation in segment routing
WO2015131560A1 (en) * 2014-09-19 2015-09-11 中兴通讯股份有限公司 Segment routing identifier allocation method and segment routing node
US20170317929A1 (en) * 2014-10-27 2017-11-02 Zte Corporation Sr information obtainment method and sr network establishment method
US20180295049A1 (en) * 2015-12-09 2018-10-11 Huawei Technologies Co., Ltd. System, method and nodes for performance measurement in segment routing network
US20190058657A1 (en) * 2016-02-15 2019-02-21 Telefonaktiebolaget Lm Ericsson (Publ) Ospf extensions for flexible path stitchng and selection for traffic transiting segment routing and mpls networks
US20200153733A1 (en) * 2016-02-15 2020-05-14 Telefonaktiebolaget Lm Ericsson (Publ) Is-is extensions for flexible path stitching and selection for traffic transiting segment routing and mpls networks
CN108880840A (en) * 2017-05-10 2018-11-23 中兴通讯股份有限公司 The method and apparatus for obtaining access path
WO2019062249A1 (en) * 2017-09-28 2019-04-04 华为技术有限公司 Sr-be inner tunnel label configuration method, device and communication system
CN109587059A (en) * 2017-09-28 2019-04-05 华为技术有限公司 Configuration method, equipment and the communication system of SR-BE internal layer tunnel label

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
C. LI等: "A Framework for Constructing Service Function Chaining Systems Based on Segment Routing draft-li-spring-sr-sfc-control-plane-framework-02", 《IETF 》 *
YAO. LIU等: "BGP Extensions to Support Packet Network Slicing in SR Policy draft-liu-idr-bgp-network-slicing-00", 《IETF 》 *
刘睿等: "SR技术探究及实现", 《网络新媒体技术》 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112260880A (en) * 2020-12-17 2021-01-22 金锐同创(北京)科技股份有限公司 Network access relation display method and related equipment

Also Published As

Publication number Publication date
CN111865784B (en) 2022-06-07

Similar Documents

Publication Publication Date Title
US10212088B2 (en) Tactical traffic engineering based on segment routing policies
US9565027B2 (en) Multi-destination traffic control in multi-level networks
TWI658714B (en) Stream creation with limited topology information
US8265074B2 (en) Collecting network performance data from multiple autonomous systems
US10742551B2 (en) Packet path recording with fixed header size
JP2000324137A (en) Route and path management system
JP6492660B2 (en) COMMUNICATION SYSTEM, CONTROL DEVICE, CONTROL METHOD, AND PROGRAM
US20120163390A1 (en) Method and apparatus for path computation element and routing controller cooperation
US11646963B2 (en) Multi-domain quality of service software-defined networking controller
CN110233765B (en) Low-delay network slicing method and equipment
CN111865784B (en) Route visualization method and system of SR network
US9160648B2 (en) Content-centric network and method of performing routing between domains therefor
CN106572016B (en) Path calculation method and device
CN101155119A (en) Method and device for confirming boundary node of autonomous system and its path computing method
CN110036610B (en) Method and switch for route management in software defined network
CN110971527B (en) Routing information determination method and device
CN102316004B (en) Method and device for determining routing information between nodes in communication network
JP3977791B2 (en) Multicast transfer route setting method and apparatus
CN112217651A (en) Method and device for determining path label of converged network
JP2004208289A (en) Multicast transfer routing method, multicast transfer routing apparatus and program
JP2005159846A (en) Method and apparatus for setting multicast transfer path
JP2013175913A (en) Communication system, path determination device, path determination method, and path determination program
WO2019001101A1 (en) Routing path analysis method and device
CN108366024A (en) Message forwarding method and device
KR101145389B1 (en) Scalable centralized network architecture with de-centralization of network control and network switching apparatus therefor

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