CN106789331B - Topology structure generation method and system - Google Patents

Topology structure generation method and system Download PDF

Info

Publication number
CN106789331B
CN106789331B CN201710024533.7A CN201710024533A CN106789331B CN 106789331 B CN106789331 B CN 106789331B CN 201710024533 A CN201710024533 A CN 201710024533A CN 106789331 B CN106789331 B CN 106789331B
Authority
CN
China
Prior art keywords
equipment
data information
information
service
cable
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
CN201710024533.7A
Other languages
Chinese (zh)
Other versions
CN106789331A (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.)
Beijign Jinshuxin Digital Technology Co ltd
Original Assignee
Beijign Jinshuxin Digital Technology 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 Beijign Jinshuxin Digital Technology Co ltd filed Critical Beijign Jinshuxin Digital Technology Co ltd
Priority to CN201710024533.7A priority Critical patent/CN106789331B/en
Publication of CN106789331A publication Critical patent/CN106789331A/en
Application granted granted Critical
Publication of CN106789331B publication Critical patent/CN106789331B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • 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/06Management of faults, events, alarms or notifications
    • H04L41/0677Localisation of faults
    • 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/12Discovery or management of network topologies

Landscapes

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

Abstract

The present disclosure provides a topology generation method and system, which are characterized by comprising: acquiring data information of a cable connected with the topological structure; determining a connection relationship between devices in the topology according to the data information; acquiring service data information of equipment in the topological structure; determining data routing information in the equipment according to the service data information; and generating a system topology structure diagram according to the connection relation between the devices and the data routing information inside the devices. For a system formed by any device, automatic generation of a topological structure can be realized, wherein the automatic generation comprises connection topology between devices and automatic generation of a data routing path in the device. Further, according to the obtained topological graph, possible faults in the system can be detected, the specific position of the faults can be positioned, and maintenance personnel can be guided to process the faults in time.

Description

Topology structure generation method and system
Technical Field
The disclosure belongs to the field of computers, and relates to a topology structure generation method and system.
Background
In the current IT operation and maintenance management, a great number of topological patterns are adopted to visually present the connection between devices and ports, so that operation and maintenance management staff can conveniently grasp the running state of the system intuitively. The topology presentation of the telecommunication basic operation and maintenance management system can be divided into the presentation of a topology structure diagram of computer network equipment, storage equipment, cloud computing and other equipment on the operation and maintenance level of the system. And can be divided into professional devices such as broadcast television transmission, image coding, program broadcasting and the like, and the presentation of topological structure diagrams of special devices in other related industries.
The topology structure diagram can be presented in two layers, the first layer is the link topology connection between the device ports, and is the connection mode between each device port in the whole system. For example, in the field of telecommunications, system devices often integrate a unified network management protocol, and basic telecommunications devices such as switches, routers, servers and the like all support the unified network management protocol, and when topology connection between device ports is generated, topology connection between the device ports is performed according to the protocol, that is, one device port is connected to a corresponding port of another device, which is a traditional topology tree generation mode. However, dedicated devices in other industries do not fully have such connection protocols, which results in the inability of the entire system device topology to be generated.
The second level is the traffic routing relationship inside the device, which is the basis of the overall traffic topology. And no mode which can be applied to all fields exists at present, so that the service routing relationship inside the equipment can be clarified.
Disclosure of Invention
To overcome the problems in the related art, the present disclosure provides a topology generation method, which is characterized by comprising:
acquiring data information of a cable connected with the topological structure;
determining a connection relationship between devices in the topology according to the data information;
acquiring service data information of equipment in the topological structure;
determining data routing information in the equipment according to the service data information;
and generating a system topology structure diagram according to the connection relation between the devices and the data routing information inside the devices.
According to an aspect of an embodiment of the present disclosure, the acquiring data information of a cable for connecting the topology includes:
scanning a two-dimensional code label to obtain data information of the cable of the topological structure, wherein the two-dimensional code records the data information of the cable according to a preset rule; or alternatively
And reading an RFID tag carried on the cable to acquire the data information of the cable with the topological structure, wherein the RFID tag records the data information of the cable according to the preset rule.
According to an aspect of embodiments of the present disclosure, the data information includes the following data:
tag type, cable number, start device information, end device information.
According to an aspect of embodiments of the present disclosure, the initiator device information includes:
one or more of a starting machine room number, a starting cabinet number, a starting equipment code, a starting equipment name, a starting equipment IP address, a starting equipment serial number, a starting equipment board card number and a starting equipment port number;
the ending device information includes: one or more of an ending machine room number, an ending cabinet number, an ending device code, an ending device name, an ending device IP address, an ending device serial number, an ending device board card number, and an ending device port number.
According to an aspect of an embodiment of the disclosure, the acquiring service data information of the device in the topology includes:
acquiring service data information of the equipment directly through a special service data information acquisition interface of the equipment; or alternatively
And acquiring the service data information of the equipment at the upstream of the equipment and the service data information of the equipment at the downstream of the equipment by a special service data information acquisition interface of the equipment at the upstream of the equipment and which are directly connected with the equipment and a special service data information acquisition interface of the equipment at the downstream of the equipment.
According to an aspect of embodiments of the present disclosure, the service data information includes:
one or more of a service name, a service code, a service process vector, a service process type, a service bearer port, and a service bearer port type.
According to an aspect of embodiments of the present disclosure, the data routing information includes: single signal input to single signal output, multiple signal input to single signal output, single signal input to multiple signal output, single signal input to switch to different port outputs, mirrored output of signals.
According to an aspect of embodiments of the present disclosure, the method further comprises:
performing fault analysis according to the connection relation between the devices and the data routing information in the devices;
and outputting analysis results of the fault analysis, wherein the analysis results comprise fault types and fault positions.
According to another aspect of the present disclosure, there is also provided a topology generation system, including:
a first data collector configured to acquire data information of a cable for connecting the topology;
a first determination unit configured to determine a connection relationship between devices in the topology according to the data information;
a second data collector configured to obtain traffic data information of devices in the topology;
a second determining unit configured to determine data routing information inside the device according to the service data information;
and the generating unit is configured to generate a system topology structure diagram according to the connection relation between the devices and the data routing information inside the devices.
According to another aspect of the disclosure, the first data collector is further configured to:
scanning a two-dimensional code label to obtain data information of the cable of the topological structure, wherein the two-dimensional code records the data information of the cable according to a preset rule; or alternatively
And reading an RFID tag carried on the cable to acquire the data information of the cable with the topological structure, wherein the RFID tag records the data information of the cable according to the preset rule.
According to another aspect of the disclosure, the data information includes the following data:
tag type, cable number, start device information, end device information.
According to another aspect of the disclosure, the initiator device information includes:
one or more of a starting machine room number, a starting cabinet number, a starting equipment code, a starting equipment name, a starting equipment IP address, a starting equipment serial number, a starting equipment board card number and a starting equipment port number;
the ending device information includes: one or more of an ending machine room number, an ending cabinet number, an ending device code, an ending device name, an ending device IP address, an ending device serial number, an ending device board card number, and an ending device port number.
According to another aspect of the disclosure, the second data collector is further configured to:
acquiring service data information of the equipment directly through a special service data information acquisition interface of the equipment; or alternatively
And acquiring the service data information of the equipment at the upstream of the equipment and the service data information of the equipment at the downstream of the equipment by a special service data information acquisition interface of the equipment at the upstream of the equipment and which are directly connected with the equipment and a special service data information acquisition interface of the equipment at the downstream of the equipment.
According to another aspect of the disclosure, the service data information includes:
one or more of a service name, a service code, a service process vector, a service process type, a service bearer port, and a service bearer port type.
According to another aspect of the disclosure, the data routing information includes: single signal input to single signal output, multiple signal input to single signal output, single signal input to multiple signal output, single signal input to switch to different port outputs, mirrored output of signals.
According to another aspect of the disclosure, the system further comprises:
a failure analysis unit configured to perform failure analysis according to a connection relationship between the devices and data routing information inside the devices;
and a fault determination unit configured to output an analysis result of the fault analysis, the analysis result including a fault type and a fault location.
The technical scheme provided by the embodiment of the disclosure can comprise the following beneficial effects: for a system formed by any device, automatic generation of a topological structure can be realized, wherein the automatic generation comprises connection topology between devices and automatic generation of a data routing path in the device. Further, according to the obtained topological graph, possible faults in the system can be detected, the specific position of the faults can be positioned, and maintenance personnel can be guided to process the faults in time.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
FIG. 1 is a flow chart of a method of topology generation shown in an exemplary embodiment of the present disclosure;
FIG. 2 is a flow chart of a method of topology generation shown in an exemplary embodiment of the present disclosure;
FIG. 3 is a flow chart of a method of topology generation shown in an exemplary embodiment of the present disclosure;
FIG. 4 is a flow chart of a method of topology generation shown in an exemplary embodiment of the present disclosure;
FIG. 5 is a block diagram of a topology generation system shown in an exemplary embodiment of the present disclosure;
FIG. 6 is a block diagram of a collector of a topology generation system shown in an exemplary embodiment of the present disclosure;
FIG. 7 is a schematic diagram of a collector of a topology generation system shown in an exemplary embodiment of the present disclosure;
fig. 8 is a block diagram of a topology generation system shown in an exemplary embodiment of the present disclosure.
Detailed Description
Reference will now be made in detail to exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, the same numbers in different drawings refer to the same or similar elements, unless otherwise indicated. The implementations described in the following exemplary examples are not representative of all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with some aspects of the present disclosure as detailed in the accompanying claims.
The terminology used in the present disclosure is for the purpose of describing particular embodiments only and is not intended to be limiting of the disclosure. As used in this disclosure and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It should also be understood that the term "and/or" as used herein refers to and encompasses any or all possible combinations of one or more of the associated listed items.
It should be understood that although the terms first, second, third, etc. may be used in this disclosure to describe various information, these information should not be limited to these terms. These terms are only used to distinguish one type of information from another. For example, first information may also be referred to as second information, and similarly, second information may also be referred to as first information, without departing from the scope of the present disclosure. The word "if" as used herein may be interpreted as "at … …" or "at … …" or "responsive to a determination", depending on the context.
The network topology structure provides comprehensive display of various devices through interconnection among different physical devices and ports, and forms a real connection mode among the devices and the ports of the network. The topology connection mode can adopt manual connection (connection relation between two devices or ports is manually determined), for example, the 2 nd network port of the switch A is connected to a designated network port of a server, which is true graphical connection, and the connection can be directly and manually carried out on the topology graph in a manual mode; network management protocols of devices can also be adopted, for example, most of the network management protocols are based on SNMP at present, and physical topology discovery technologies such as ping, ARP, CDP, LLDP neighbor routing, port forwarding table, STP spanning tree protocol and the like are synthesized to discover physical connection of the devices, intelligently analyze network topology structures and automatically sketch a real physical topology map of the whole network. This is the case in which the managed device is data-collected via the network protocol, and then the associated port is connected according to the collected data, or the switch is connected to the server, for example, the MAC address of the server in the 2 nd portal is collected at the switch a, and the MAC address of the server is also collected, and if the two addresses are the same, the connection is directly and physically performed.
The application of network topology is very wide, and the management of comprehensive operation and maintenance from telecom operators, mobile operators, internet platforms to broadcast television operators all involves topology networks.
Network topology: the topology of a computer network refers to the form of interconnection of various sites in the network, in the case of a local area network, that is, the form of connection of file servers, workstations, cables, etc. The most predominant topologies are now bus-type topologies, star-type topologies, ring topologies, tree topologies (evolving from bus-type), and hybrids thereof. As the name suggests, the bus type is in fact that both the file server and the workstation are connected to a common cable called the bus, and the ends of the bus must be provided with terminators; the star topology uses a piece of equipment as a central connection point, and each workstation is directly connected with the equipment to form a star; the ring topology is to connect all stations in series with each other to form a ring loop like a chain; the natural application of the three most basic topologies mixed together is hybrid. The topology structure of computer network refers to the method of researching the dot and line relation irrelevant to the size and shape in topology, abstracts the computer and communication equipment in the network into a dot, abstracts the transmission medium into a line, and the geometry formed by the dot and line is the topology structure of computer network.
SNMP protocol: a Simple Network Management Protocol (SNMP) consists of a set of standards for network management, including an application layer protocol (application layer protocol), a database model (database schema), and a set of resource objects. The protocol can support a network management system to monitor whether a device connected to the network has any conditions that raise regulatory concerns. The protocol is part of an internet protocol suite defined by the internet engineering work group (IETF, internet Engineering Task Force). The SNMP aims to manage software and hardware platforms produced by a plurality of factories on the Internet, so that the SNMP is greatly influenced by an Internet standard network management framework. SNMP has evolved to a third version of the protocol whose functionality has been greatly enhanced and improved over the past.
As shown in fig. 1, a method for generating a topology according to an exemplary embodiment includes:
step S101, obtaining data information of a cable connected with the topological structure;
step S102, determining the connection relation between the devices in the topological structure according to the data information;
step S103, acquiring service data information of equipment in the topological structure;
step S104, determining the data routing information in the equipment according to the service data information;
step S105, a system topology structure diagram is generated according to the connection relation between the devices and the data routing information inside the devices.
Step S101 and step S103 may be interchanged, and may first obtain service data information of the device, and then obtain data information of the cable; or the data information of the cable can be acquired first, and then the service data information of the equipment can be acquired. In this embodiment, the data information of the cable is preferably acquired first.
According to the topology structure generation method, the topology structure diagram of the system can be automatically generated by acquiring the data information of the cable and the service data information of the equipment, so that the generation time and the operation cost of the topology structure diagram are saved, and the user experience is greatly improved.
As shown in fig. 2, the method for generating a topology structure according to an exemplary embodiment may further include:
scanning a two-dimensional code label to obtain data information of the cable of the topological structure, wherein the two-dimensional code records the data information of the cable according to a preset rule; or alternatively
And reading an RFID tag carried on the cable to acquire the data information of the cable with the topological structure, wherein the RFID tag records the data information of the cable according to the preset rule.
Two-dimensional code: the two-dimensional bar code/two-dimensional code (2-dimensional bar code) records data symbol information by using a certain specific geometric figure distributed on a plane (in a two-dimensional direction) according to a certain rule and a black-white alternate figure; the concept of 0 and 1 bit streams forming the internal logic foundation of a computer is skillfully utilized in code programming, a plurality of geometric shapes corresponding to binary are used for representing literal numerical information, and the literal numerical information is automatically read through an image input device or a photoelectric scanning device so as to realize automatic information processing; it has some commonalities in barcode technology; each code has its specific character set; each character occupies a certain width; has a certain checking function and the like. Meanwhile, the system also has the function of automatically identifying information of different rows and the function of processing the graphic rotation change points.
RFID: radio Frequency Identification Radio Frequency Identification (RFID), also known as RFID, is a communication technology that can identify a specific object by radio signals and read and write related data without the need to identify whether physical or optical contact is established between the system and the specific object.
For example, in the process of configuring the network, the tag carrying the data information of the cable may be detachably connected to the corresponding cable, for example, by using a plastic buckle or a wire harness. For the selection of the tag, considering that the reading of the data is convenient, a two-dimensional code tag can be adopted, and the data information of the cable is recorded in the generated two-dimensional code pattern. Of course, an RFID tag may be used, and the RFID tag may also be capable of carrying data information of a corresponding cable in its own tag.
Further, the data information of the cable may include: tag type, cable number, start device information, end device information. The tag type is used to identify the properties of the cable itself, such as whether the cross-section is circular or oblate, itself with no signal shielding, insulation rating, etc. In order to facilitate maintenance of the cable, cable maintenance personnel information may also be written into the tag type. The cable number is used to uniquely identify the cable among all the cables. The start device information and the end device information are used for representing the related information of two devices connected by the cable, and according to the trend of the signal, the device at the upstream is defined as the start device, and the device at the downstream is defined as the end device.
In order to unify the data information of the cable and improve the recognition speed, the data information of the cable may be recorded in a data format having a specific structure, for example: adopting a label type; a cable number; initiating equipment information; ending the equipment information and uniformly recording the data information of the cable in a format; in particular, [ round cable-maintainer Zhang san; 001;01-03-02-06;01-05-04-08], wherein the tag type comprises the attribute of the cable and corresponding maintainer information; the cable number is 001; the initial equipment represents an 06 interface of equipment in a cabinet 02 of a No. 01 machine room 03; the end device represents the 08 interface of the 01 machine room 05 machine room 04 device. By adopting the data format, all information of the cable can be orderly embodied in one piece of data.
In order to facilitate the generation and acquisition of the data structure of the cable, the data information of the cable is recorded in a two-dimensional code label or RFID label mode; in the process of reproducing the topological structure, the two-dimension code or the RFID label of the corresponding cable can be read by the two-dimension code reading device or the RFID label reading device, so that all data information of the cable can be obtained, and the process of generating and collecting the information is more conveniently realized.
Further, the initiator device information may include: one or more of a starting machine room number, a starting cabinet number, a starting equipment code, a starting equipment name, a starting equipment IP address, a starting equipment serial number, a starting equipment board card number and a starting equipment port number; the ending device information includes: one or more of an ending machine room number, an ending cabinet number, an ending device code, an ending device name, an ending device IP address, an ending device serial number, an ending device board card number, and an ending device port number. For example, the initiator device information may be: [02-05-03-12] represents the 12 interface of the equipment of the cabinet 03 of the No. 02 machine room 05; or [02-05-03-12-router-192.168.1.1], representing the 12 interfaces of equipment of No. 02 machine room 05 cabinet 03, and the equipment name router has the IP of 192.168.1.1. The above is merely an exemplary illustration, and the data information of the cable may include at least one of the above information, and one or more may be selected according to an actual application scenario.
As shown in fig. 3, the method for generating a topology structure according to an exemplary embodiment, wherein step S103 may further include:
acquiring the service data information of the equipment directly through a service data information acquisition interface of the equipment; or alternatively
And acquiring the service data information of the equipment at the upstream of the equipment and the service data information of the equipment at the downstream of the equipment by a service data information acquisition interface of the equipment at the upstream of the equipment and which are directly connected with the equipment, and analyzing the service data information of the equipment.
The service data information of the equipment in the topological structure is acquired, and the service data of the equipment can be directly acquired by utilizing the service data acquisition interface on the equipment to perform dynamic service data analysis. Collecting service data through a protocol instead of network management data of equipment, wherein the data comprises basic data of service names, service codes and the like of the service, and can collect service processing process vectors processed by the service in the equipment to know from which to come; and can know whether the service has split or multiplexing or the like; meanwhile, the service bearing port carried by the service and the type of the service bearing port, such as a network port, an optical fiber interface or other special ports, can be known through the collection of the service data; and when the route inside the device changes, we can dynamically analyze to give the latest route state.
For the equipment which does not have a service data acquisition interface or only has equipment internal state data acquisition, the internal routing condition of the equipment can be obtained by adopting a processing mode of the service relation data of the upstream and downstream cascade equipment or an acquisition mode of the equipment state data.
For example, there are devices 1, 2 and 3 in the network, and according to the trend of the traffic data, device 1 is upstream of device 2 and device 2 is upstream of device 3. If the service data of the device 2 cannot be collected, the service data can be collected on the ports of the device 1 and the device 3 connected with the device 2, and if the service data collected by the device 3 has a corresponding relation with the output service data in the device 1, the output ports of the device 1 of the service data are 1 and 3, and the input port of the device 3 is 4, the data routing information inside the device 2 can be obtained based on the dynamic analysis of the service data.
Further, step S104 may further include: and determining the data routing information in the equipment according to the service data information. Wherein the data routing information includes: single signal input to single signal output, multiple signal input to single signal output, single signal input to multiple signal output, single signal input to switch to different port outputs, mirrored output of signals. For example, for a certain service data, the service data is input from the I2 port of the device N, and the service data is output from the O3 port, which belongs to the route type from single signal input to single signal output; the input from I2 and I6 ports of the device N and the output from O3 ports belong to the input of multiple signals to the single signal output; the input from the I3 port of the equipment N, the output from the O3 port and the O8 port belong to single signal input to multiple signal output; the input of the I8 control port of the equipment N and the output of the O3 network port belong to the switching from the single signal input to the different port outputs; the service data is completely the same and belongs to the mirror image output of the signal.
Further, step S105 may further include: and generating a system topology structure diagram according to the connection relation between the devices and the data routing information inside the devices. The input-output relationship between the devices connected by the cable, namely the topological structure between the devices, can be accurately obtained by utilizing the acquired data information of the cable; and analyzing by utilizing the service data information, obtaining the data routing information in the equipment, and combining the topology structure among the equipment and the data routing information in the equipment to obtain the comprehensive topology structure.
For example, by reading the two-dimensional code label or the data of the RFID label generated in the cable and the equipment, the read data is subjected to topology diagram presentation in a topology presentation mode, and a complete processing relationship topology structure diagram which is readable by human eyes and comprises real external connection and internal connection of the equipment is output. The device for reading the two-dimensional code label or the RFID label can be read by adopting a mobile terminal with a camera device, such as a mobile phone, a PDA and the like, or a mobile RFID card reader is adopted to transmit the read information to a remote image workstation, and a human eye readable topological structure diagram is generated on the image workstation according to the connection relation between devices represented by data and the processing relation inside the devices.
As shown in fig. 4, the method for generating a topology structure according to an exemplary embodiment may further include:
step S106, performing fault analysis according to the connection relation between the devices and the data routing information in the devices;
and step S107, outputting analysis results of the fault analysis, wherein the analysis results comprise fault types and fault positions.
According to the acquired topological structure diagram, the connection relation of the whole network and the routing information of the signals inside the equipment can be known. In the process of monitoring the whole network in real time, when a fault is found, the position of the fault can be accurately positioned, and maintenance personnel can be rapidly guided to the fault occurrence point for maintenance.
For example, when the whole network fails, a maintainer can check the service data information of all the devices, and when the service data information of a certain device is abnormal, the maintainer can preliminarily judge that the service data processing process of the device itself is abnormal to cause the failure or the input of the service data flow is abnormal according to the abnormal information of the device; if the service data processing process of the equipment is abnormal and causes a fault, the equipment can be determined to have the fault, and fault maintenance information is directly generated for maintenance personnel, wherein the fault maintenance information carries the information of the equipment, the fault type and the like of the fault; if the input of the service data stream is abnormal, the topology structure diagram can determine which input port of the device is abnormal, and the connected cable can be determined to have faults according to the information of the input ports, and the generated fault maintenance information carries the cable information with faults. By utilizing the topology structure diagram penetrating into the equipment, the real-time monitoring of the whole topology network can be realized, when faults occur, the specific position of the faults can be accurately positioned, maintenance personnel are guided to maintain rapidly, the efficiency is improved, and the labor and time cost for troubleshooting the faults are saved.
The topology structure generation method can be basically applied to any place needing topology generation, and basic data are acquired through two-dimensional codes or RFID, so that the acquisition mode is simple, quick and convenient. Meanwhile, the topology structure generation by the method disclosed by the invention does not need a connection protocol between devices, and has a wider application range.
And in combination with the mode of collecting, analyzing and processing the dynamic data of the service, the method can provide data support for the service topology, the route change of the service can be directly presented through a topology structure diagram, the real-time service topology is established, the real-time data is provided, and the operation and maintenance management is convenient. The topology is a centralized representation mode of the system service and the connection lines inside the equipment, and the method brings visual system connection presentation to operation and maintenance.
According to a system schematic diagram, a construction diagram or other connection drawings, schemes and the like related to equipment connection, the method disclosed by the invention is used for recording data, outputting the recorded data to different carriers, and then carrying out topology generation by collecting carrier data in combination with the contents of drawings, schemes and the like.
Fig. 5 is a block diagram illustrating a topology generation system 500, according to an example embodiment. The topology generation system 500 comprises a first data collector 501 configured to obtain data information of a cable for connecting the topology; a first determining unit 502 configured to determine a connection relationship between devices in the topology according to the data information; a second data collector 503 configured to obtain traffic data information of devices in the topology; a second determining unit 504 configured to determine data routing information inside the device according to the service data information; a generating unit 505 configured to generate a system topology structure diagram according to the connection relationship between the devices and the data routing information inside the devices.
According to the topology structure generation system 500 in the present disclosure, the topology structure diagram of the system can be automatically generated by acquiring the data information of the cable and the service data information of the device, so that the generation time and the operation cost of the topology structure diagram are saved, and the user experience is greatly improved.
As shown in fig. 6, a topology generation system 500 is shown according to an exemplary embodiment, wherein the first data collector 501 is further configured to: scanning a two-dimensional code label to obtain data information of the cable of the topological structure, wherein the two-dimensional code records the data information of the cable according to a preset rule; or reading an RFID tag carried on the cable to obtain the data information of the cable with the topological structure, wherein the RFID tag records the data information of the cable according to the preset rule.
As shown in fig. 7, a topology generation system 500 is shown according to an exemplary embodiment, wherein the second data collector 503 is further configured to: acquiring the service data information of the equipment directly through a service data information acquisition interface of the equipment; or acquiring the service data information of the equipment at the upstream of the equipment and the service data information of the equipment at the downstream of the equipment by a service data information acquisition interface of the equipment at the upstream of the equipment and the service data information acquisition interface of the equipment at the downstream of the equipment, which are directly connected with the equipment.
As shown in fig. 8, the topology generation system 500 shown according to an exemplary embodiment may further include: a failure analysis unit 506 configured to perform failure analysis according to a connection relationship between the devices and data routing information inside the devices; the fault determination unit 507 is configured to output an analysis result of the fault analysis, the analysis result including a fault type and a fault location.
The specific operation manner of each unit of the topology generating system 500 is the same as that of the corresponding part in the topology generating method, and will not be described herein.
A topology generation apparatus according to an exemplary embodiment is shown, comprising: a processor; a memory for storing processor-executable instructions; wherein the processor is configured to: acquiring data information of a cable connected with the topological structure; determining a connection relationship between devices in the topology according to the data information; acquiring service data information of equipment in the topological structure; determining data routing information in the equipment according to the service data information; and generating a system topology structure diagram according to the connection relation between the devices and the data routing information inside the devices.
The foregoing description of the preferred embodiments of the present disclosure is not intended to limit the disclosure, but rather to cover all modifications, equivalents, improvements and alternatives falling within the spirit and principles of the present disclosure.

Claims (8)

1. A method of topology generation, comprising:
acquiring data information of a cable connected with the topological structure;
determining a connection relationship between devices in the topology according to the data information;
acquiring service data information of equipment in the topological structure;
determining data routing information in the equipment according to the service data information;
generating a system topology structure diagram according to the connection relation between the devices and the data routing information inside the devices;
the obtaining service data information of the equipment in the topological structure comprises the following steps:
acquiring the service data information of the equipment directly through a service data information acquisition interface of the equipment; or alternatively
Acquiring service data information of equipment at the upstream of the equipment and service data information of equipment at the downstream of the equipment by a service data information acquisition interface of the equipment at the upstream of the equipment and which are directly connected with the equipment, and analyzing the service data information of the equipment;
the service data information includes:
one or more of a service name, a service code, a service process vector, a service process type, a service bearer port, and a service bearer port type;
the data routing information includes: single signal input to single signal output, multiple signal input to single signal output, single signal input to multiple signal output, single signal input to switch to one or more of different port outputs, mirrored outputs of signals;
the method comprises the steps of,
performing fault analysis according to the connection relation between the devices and the data routing information in the devices;
and outputting analysis results of the fault analysis, wherein the analysis results comprise fault types and fault positions.
2. The method of claim 1, wherein the obtaining data information for the cable connecting the topology comprises:
scanning a two-dimensional code label to obtain data information of the cable of the topological structure, wherein the two-dimensional code records the data information of the cable according to a preset rule; or alternatively
And reading an RFID tag carried on the cable to acquire the data information of the cable with the topological structure, wherein the RFID tag records the data information of the cable according to the preset rule.
3. A method according to claim 1 or 2, characterized in that the data information comprises the following data:
tag type, cable number, start device information, end device information.
4. A method according to claim 3, wherein the initiating device information comprises:
one or more of a starting machine room number, a starting cabinet number, a starting equipment code, a starting equipment name, a starting equipment IP address, a starting equipment serial number, a starting equipment board card number and a starting equipment port number;
the ending device information includes: one or more of an ending machine room number, an ending cabinet number, an ending device code, an ending device name, an ending device IP address, an ending device serial number, an ending device board card number, and an ending device port number.
5. A topology generation system, comprising:
a first data collector configured to acquire data information of a cable for connecting the topology;
a first determination unit configured to determine a connection relationship between devices in the topology according to the data information;
a second data collector configured to obtain traffic data information of devices in the topology;
a second determining unit configured to determine data routing information inside the device according to the service data information;
a generation unit configured to generate a system topology structure diagram according to a connection relationship between the devices and data routing information inside the devices;
the second data collector is further configured to:
acquiring service data information of the equipment directly through a special service data information acquisition interface of the equipment; or alternatively
Acquiring service data information of equipment at the upstream of the equipment and service data information of equipment at the downstream of the equipment by a special service data information acquisition interface of the equipment at the upstream of the equipment and which are directly connected with the equipment and a special service data information acquisition interface of the equipment at the downstream of the equipment, and analyzing the service data information of the equipment;
the service data information includes:
one or more of a service name, a service code, a service process vector, a service process type, a service bearer port, and a service bearer port type;
the data routing information includes: single signal input to single signal output, multiple signal input to single signal output, single signal input to multiple signal output, single signal input to switch to one or more of different port outputs, mirrored outputs of signals;
the system further comprises:
a failure analysis unit configured to perform failure analysis according to a connection relationship between the devices and data routing information inside the devices;
and a fault determination unit configured to output an analysis result of the fault analysis, the analysis result including a fault type and a fault location.
6. The system of claim 5, wherein the first data collector is further configured to:
scanning a two-dimensional code label to obtain data information of the cable of the topological structure, wherein the two-dimensional code records the data information of the cable according to a preset rule; or alternatively
And reading an RFID tag carried on the cable to acquire the data information of the cable with the topological structure, wherein the RFID tag records the data information of the cable according to the preset rule.
7. The system according to claim 5 or 6, characterized in that the data information comprises the following data:
tag type, cable number, start device information, end device information.
8. The system of claim 7, wherein the initiating device information comprises:
one or more of a starting machine room number, a starting cabinet number, a starting equipment code, a starting equipment name, a starting equipment IP address, a starting equipment serial number, a starting equipment board card number and a starting equipment port number;
the ending device information includes: one or more of an ending machine room number, an ending cabinet number, an ending device code, an ending device name, an ending device IP address, an ending device serial number, an ending device board card number, and an ending device port number.
CN201710024533.7A 2017-01-11 2017-01-11 Topology structure generation method and system Active CN106789331B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710024533.7A CN106789331B (en) 2017-01-11 2017-01-11 Topology structure generation method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710024533.7A CN106789331B (en) 2017-01-11 2017-01-11 Topology structure generation method and system

Publications (2)

Publication Number Publication Date
CN106789331A CN106789331A (en) 2017-05-31
CN106789331B true CN106789331B (en) 2024-02-20

Family

ID=58948517

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710024533.7A Active CN106789331B (en) 2017-01-11 2017-01-11 Topology structure generation method and system

Country Status (1)

Country Link
CN (1) CN106789331B (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110401598A (en) * 2018-04-25 2019-11-01 ***通信集团设计院有限公司 Pipeline topological automatic discovering method, apparatus and system
CN109039763A (en) * 2018-08-28 2018-12-18 曙光信息产业(北京)有限公司 A kind of network failure nodal test method and Network Management System based on backtracking method
CN109412695B (en) * 2018-12-28 2022-06-10 中国船舶重工集团公司第七一九研究所 Optical fiber CAN2.0B bus routing system based on star topology structure
CN110243408B (en) * 2019-06-04 2022-05-31 中国神华能源股份有限公司神朔铁路分公司 Equipment monitoring method, device, equipment and storage medium of bridge monitoring system
CN110221150B (en) * 2019-07-01 2021-06-08 云南电力技术有限责任公司 Automatic topological structure identification system
CN112084195A (en) * 2020-09-09 2020-12-15 国网安徽省电力有限公司池州供电公司 Intelligent management method for large-scale optical distribution cluster communication topology in Internet
CN115174367B (en) * 2022-07-07 2024-01-26 安天科技集团股份有限公司 Service system boundary determining method and device, electronic equipment and storage medium

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104980370A (en) * 2014-04-02 2015-10-14 波音公司 Network resource requirements of traffic through a multiple stage switch network

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7904578B1 (en) * 2003-10-30 2011-03-08 At&T Intellectual Property I, L.P. Bandwidth and topology management device for home networks
US9667500B2 (en) * 2014-12-29 2017-05-30 Verizon Patent And Licensing Inc. Contextual virtual routing updates
JP6623939B2 (en) * 2016-06-06 2019-12-25 富士通株式会社 Information processing apparatus, communication procedure determination method, and communication program

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104980370A (en) * 2014-04-02 2015-10-14 波音公司 Network resource requirements of traffic through a multiple stage switch network

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
秦国强 等.一种面向智能变电站过程层光缆的智能标签技术研究.电力***保护与控制.2015,第43卷(第21期),摘要、正文1-3部分. *
高磊 等.基于二维码的智能变电站光缆标签***设计和实现.电力自动化设备.2015,第35卷(第10期),摘要、正文1-4部分. *

Also Published As

Publication number Publication date
CN106789331A (en) 2017-05-31

Similar Documents

Publication Publication Date Title
CN106789331B (en) Topology structure generation method and system
TWI741505B (en) Topology processing method, device and system
CN108306748B (en) Network fault positioning method and device and interaction device
CN111884840B (en) IPRAN network equipment fault alarm merging analysis processing method and device
US8792385B2 (en) Method and device for auto-generating goose signal connection topology from substation level
CN108206757B (en) Wireless transmission fault alarm processing method and device
CN107070724B (en) Method for monitoring end-to-end service communication state of power communication network
CN102457390B (en) A kind of Fault Locating Method based on QOE and system
CN105159964A (en) Log monitoring method and system
CN111934936B (en) Network state detection method and device, electronic equipment and storage medium
CN106055452B (en) The method and apparatus for creating interchanger log template
CN107357278A (en) A kind of nuclear power plant's control system signal flow diagram generates online and service platform
CN112822053B (en) SNMP-based link layer network topology structure discovery method and system
CN107994942A (en) A kind of smooth broadband access network service resources tree topology finds algorithm
CN115314392A (en) Automatic network topology generation system and method based on network equipment resource discovery algorithm
CN102820987A (en) Method and device for displaying service route in network failure maintaining
CN107896165A (en) The method, apparatus and automated test device of locating network fault
CN108696371A (en) Network failure determines method and system
CN113542092A (en) Openstack-based automatic drainage method
CN101707503A (en) Embedded method and device for controlling automatic positioning of channel communication failure
CN1612544A (en) Network bridge uplink port identification
US20040158780A1 (en) Method and system for presenting neighbors of a device in a network via a graphical user interface
CN111082987A (en) Ubiquitous power Internet of things-oriented distribution network operation and maintenance system and method
CN106612207B (en) The management-control method and device of ethernet device RSTP information
CN110677303A (en) Network management system

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