CN111030840A - Method and device for generating topological graph, electronic equipment and storage medium - Google Patents

Method and device for generating topological graph, electronic equipment and storage medium Download PDF

Info

Publication number
CN111030840A
CN111030840A CN201911078496.3A CN201911078496A CN111030840A CN 111030840 A CN111030840 A CN 111030840A CN 201911078496 A CN201911078496 A CN 201911078496A CN 111030840 A CN111030840 A CN 111030840A
Authority
CN
China
Prior art keywords
autonomous
equipment
information
connection relation
domain
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.)
Pending
Application number
CN201911078496.3A
Other languages
Chinese (zh)
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.)
Visionvera Information Technology Co Ltd
Original Assignee
Visionvera Information 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 Visionvera Information Technology Co Ltd filed Critical Visionvera Information Technology Co Ltd
Priority to CN201911078496.3A priority Critical patent/CN111030840A/en
Publication of CN111030840A publication Critical patent/CN111030840A/en
Pending legal-status Critical Current

Links

Images

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/12Discovery or management of network topologies
    • 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/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • H04L41/0823Configuration setting characterised by the purposes of a change of settings, e.g. optimising configuration for enhancing reliability
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/02Topology update or discovery
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/2866Architectures; Arrangements
    • H04L67/30Profiles

Abstract

The application provides a method and a device for generating a topological graph, electronic equipment and a storage medium. The method comprises the following steps: acquiring autonomous internal associated information and inter-autonomous associated information of each autonomous domain in a plurality of autonomous domains; determining a first connection relation between each video network device in each autonomous domain according to the autonomous internal association information; generating a local topological graph of each autonomous domain according to the first connection relation; determining a second connection relation between each autonomous domain and other autonomous domains according to the inter-autonomous correlation information; and connecting the local topological graphs of the plurality of autonomous domains according to the second connection relation to generate the topological graphs of the plurality of autonomous domains. According to the method and the system, all autonomous domains in the autonomous environment are automatically converted into the topological graph, the topological graph can be used for visually displaying the operation data of each video networking device in the video networking autonomous environment, and therefore managers can conveniently monitor the video networking autonomous environment.

Description

Method and device for generating topological graph, electronic equipment and storage medium
Technical Field
The present invention relates to the field of information processing technologies, and in particular, to a method and an apparatus for generating a topological graph, an electronic device, and a storage medium.
Background
The autonomous environment of the video network consists of a plurality of autonomous domains, and each autonomous domain is provided with an autonomous server and a plurality of video network devices, so that when a certain video network device fails, technicians are required to spend a long time for determining the failed video network device, and further the failure is eliminated. In the face of massive video networking equipment in the whole autonomous environment, the method for manually searching and removing the fault in the related technology cannot quickly locate the abnormal point in the whole autonomous environment, has extremely low efficiency when monitoring the health condition of the whole autonomous environment, and cannot meet the requirement of efficient management of the whole autonomous environment.
Disclosure of Invention
The embodiment of the application provides a method and a device for generating a topological graph, electronic equipment and a storage medium, and aims to improve the management efficiency of a video-networking autonomous environment.
A first aspect of an embodiment of the present application provides a method for generating a topology map, including:
acquiring autonomous internal associated information and inter-autonomous associated information of each autonomous domain in a plurality of autonomous domains, wherein any autonomous domain in the plurality of autonomous domains is in communication connection with at least one autonomous domain in other autonomous domains except the autonomous domain;
determining a first connection relation between each video network device in each autonomous domain according to the autonomous internal association information;
generating a local topological graph of each autonomous domain according to the first connection relation;
determining a second connection relation between each autonomous domain and other autonomous domains according to the inter-autonomous correlation information;
and connecting the local topological graphs of the plurality of autonomous domains according to the second connection relation to generate the topological graphs of the plurality of autonomous domains.
Optionally, the autonomous internal association information includes: device number information, device type information, and parent device information;
determining a first connection relation between each video network device in each autonomous domain according to the autonomous internal association information, wherein the first connection relation comprises the following steps:
determining a first connection relation between all the video network equipment in each autonomous domain according to the parent equipment information of all the video network equipment in each autonomous domain;
generating a local topological graph of each autonomous domain according to the first connection relation, wherein the local topological graph comprises the following steps:
connecting all video networking equipment in each autonomous domain according to the first connection relation to generate an equipment connection diagram of each autonomous domain;
and aiming at each video network device in the device connection diagram, adding corresponding device number information and device type information for each video network device, and generating a local topological diagram of each autonomous domain.
Optionally, the local topology includes: a first type local topology graph, each autonomous domain having one autonomous server deployed therein, the first connection relationship comprising: an autonomy-first sub-control connection relation, a first sub-control-simulation equipment connection relation and a first sub-control-entity equipment connection relation;
according to the first connection relation, connecting all video network equipment in each autonomous domain to generate an equipment connection diagram of each autonomous domain, wherein the method comprises the following steps:
connecting the first sub-control to the autonomous server according to the autonomous-first sub-control connection relation;
connecting the simulation equipment to the first branch control according to the first branch control-simulation equipment connection relation;
connecting the entity equipment to the first sub-control according to the first sub-control-entity equipment connection relation;
generating a first type device connection map for each autonomous domain;
for each video network device in the device connection diagram, adding corresponding device number information and device type information for the device, and generating a local topology diagram of each autonomous domain, including:
and aiming at each video network device in the first type device connection graph, adding corresponding device number information and device type information for each video network device, and generating a first type local topological graph of each autonomous domain.
Optionally, the local topology includes: a second type local topology, the first connection relationship comprising: the autonomous-superior border routing equipment connection relation, the autonomous-second sub-control connection relation and the second sub-control-cascade equipment connection relation;
according to the first connection relation, connecting all video network equipment in each autonomous domain to generate an equipment connection diagram of each autonomous domain, wherein the method comprises the following steps:
connecting the autonomous server to the superior border routing device according to the connection relation of the autonomous-superior border routing device;
connecting the second sub-control to the autonomous server according to the autonomous-second sub-control connection relation;
connecting the cascade equipment to the second branch control according to the second branch control-cascade equipment connection relation;
generating a second-type device connection map for each autonomous domain;
for each video network device in the device connection diagram, adding corresponding device number information and device type information for the device, and generating a local topology diagram of each autonomous domain, including:
and adding corresponding equipment number information and equipment type information for each piece of video networking equipment in the second type equipment connection graph, and generating a second type local topological graph of each autonomous domain.
Optionally, the inter-autonomous correlation information includes: lower cascade device information;
determining a second connection relation between each autonomous domain and other autonomous domains according to the inter-autonomous correlation information, wherein the second connection relation comprises the following steps:
determining the second connection relation of the connection relation between the subordinate cascade equipment and the target superior boundary routing equipment according to cascade equipment information of subordinate cascade equipment in each autonomous domain, wherein the autonomous domain where the subordinate cascade equipment is located is different from the autonomous domain where the target superior boundary routing equipment is located;
connecting the local topological graphs of the plurality of autonomous domains according to the second connection relation, wherein the connecting comprises the following steps:
and connecting the lower cascade equipment and the target upper boundary routing equipment in each autonomous domain according to the second connection relation so as to realize the connection of the local topological graphs of the autonomous domains.
Optionally, after generating a topology map of a plurality of the autonomous domains, the method further comprises:
when an activation operation triggered by a user is detected, activating the topological graph to be in a running state;
determining a target video networking device selected by a user in the topological graph in the running state;
reading operation data corresponding to the target video network equipment, and obtaining an analysis result according to the operation data, wherein the analysis result comprises abnormal information of the target video network equipment;
and displaying the analysis result in the vicinity of the target video network equipment.
Optionally, after generating a topology map of a plurality of the autonomous domains, the method further comprises:
acquiring autonomous internal associated information and inter-autonomous associated information of the autonomous domain;
if the autonomous internal associated information is different from the autonomous internal associated information of the previous version and/or the autonomous associated information is different from the autonomous associated information of the previous version, acquiring the change information of the autonomous internal associated information and/or the change information of the autonomous associated information;
and updating the topological graph according to the change information of the autonomy internal association information and/or the change information of the autonomy inter-association information.
A second aspect of the embodiments of the present application provides an apparatus for generating a topology map, including:
the system comprises a first acquisition module, a second acquisition module and a third acquisition module, wherein the first acquisition module is used for acquiring the autonomous internal correlation information and the autonomous inter-correlation information of each autonomous domain in a plurality of autonomous domains, and any autonomous domain in the plurality of autonomous domains is in communication connection with at least one autonomous domain in other autonomous domains except the autonomous domain;
the first determining module is used for determining a first connection relation among all the video network equipment in each autonomous domain according to the autonomous internal association information;
the first generation module is used for generating a local topological graph of each autonomous domain according to the first connection relation;
the second determining module is used for determining a second connection relation between each autonomous domain and other autonomous domains according to the inter-autonomous correlation information;
and the second generating module is used for connecting the local topological graphs of the autonomous domains according to the second connection relation to generate the topological graphs of the autonomous domains.
Optionally, the autonomous internal association information includes: device number information, device type information, and parent device information;
the first determining module includes:
the first determining submodule is used for determining a first connection relation between all the video network equipment in each autonomous domain according to the father equipment information of all the video network equipment in each autonomous domain;
the first generation module comprises:
the connection module is used for connecting all the video network equipment in each autonomous domain according to the first connection relation to generate an equipment connection diagram of each autonomous domain;
and the adding module is used for adding corresponding equipment number information and equipment type information for each piece of video network equipment in the equipment connection diagram to generate a local topological diagram of each autonomous domain.
Optionally, the local topology includes: a first type local topology graph, each autonomous domain having one autonomous server deployed therein, the first connection relationship comprising: an autonomy-first sub-control connection relation, a first sub-control-simulation equipment connection relation and a first sub-control-entity equipment connection relation;
the connection module includes:
the first connection module is used for connecting the first sub-control to the autonomous server according to the autonomous-first sub-control connection relation;
the second connection module is used for connecting the simulation equipment to the first branch control according to the connection relation of the first branch control and the simulation equipment;
the third connection module is used for connecting the entity equipment to the first branch control according to the first branch control-entity equipment connection relation;
the first type equipment graph generating module is used for generating a first type equipment connection graph of each autonomous domain;
the adding module comprises:
and the first adding submodule is used for adding corresponding equipment number information and equipment type information for each piece of video networking equipment in the first type equipment connection diagram, and generating a first type local topological diagram of each autonomous domain.
Optionally, the local topology includes: a second type local topology, the first connection relationship comprising: the autonomous-superior border routing equipment connection relation, the autonomous-second sub-control connection relation and the second sub-control-cascade equipment connection relation;
the connection module includes:
the fourth connection module is used for connecting the autonomous server to the superior border routing equipment according to the connection relation of the autonomous-superior border routing equipment;
the fifth connection module is used for connecting the second sub-control to the autonomous server according to the autonomous-second sub-control connection relation;
a sixth connection module, configured to connect the cascade device to the second sub-controller according to the second sub-controller-cascade device connection relationship;
the second-type device graph generating module is used for generating a second-type device connection graph of each autonomous domain;
the adding module comprises:
and the second adding submodule is used for adding corresponding equipment number information and equipment type information for each piece of video networking equipment in the second type equipment connection diagram, and generating a second type local topological diagram of each autonomous domain.
Optionally, the inter-autonomous correlation information includes: lower cascade device information;
the second determining module includes:
a second determining submodule, configured to determine, according to cascade device information of a lower-level cascade device in each autonomous domain, a second connection relationship between the lower-level cascade device and a target upper-level boundary routing device, where an autonomous domain in which the lower-level cascade device is located is different from an autonomous domain in which the target upper-level boundary routing device is located;
the second generation module includes:
and the second generation submodule is used for connecting the lower cascade equipment and the target upper boundary routing equipment in each autonomous domain according to the second connection relation so as to realize the connection of the local topological graphs of the autonomous domains.
Optionally, the apparatus further comprises:
the activation module is used for activating the topological graph into a running state when activation operation triggered by a user is detected;
the third determination module is used for determining the target video networking equipment selected by the user in the topological graph in the running state;
the analysis module is used for reading operation data corresponding to the target video network equipment and obtaining an analysis result according to the operation data, wherein the analysis result comprises abnormal information of the target video network equipment;
and the display module is used for reading the operation data corresponding to the target video network equipment and displaying the operation data in the area near the target video network equipment.
Optionally, the apparatus further comprises:
the second acquisition module is used for acquiring the autonomous internal association information and the inter-autonomous association information of the autonomous domain;
a third obtaining module, configured to obtain change information of the autonomous internal correlation information and/or change information of the autonomous internal correlation information if the autonomous internal correlation information is different from the autonomous internal correlation information of the previous version and/or the autonomous correlation information is different from the autonomous correlation information of the previous version;
and the updating module is used for updating the topological graph according to the change information of the autonomy internal association information and/or the change information of the autonomy inter-association information.
A third aspect of embodiments of the present application provides an electronic device, including a memory, a processor, and a computer program stored on the memory and executable on the processor, where the processor implements the steps of the method according to the first aspect of the present application when executed.
A fourth aspect of embodiments of the present application provides a computer-readable storage medium, on which a computer program is stored, which when executed by a processor implements the steps in the method according to the first aspect of the present application.
The embodiment of the application provides a method for generating a topological graph, which comprises the steps of firstly obtaining respective autonomous internal associated information and autonomous inter-associated information of a plurality of autonomous domains, then drawing and obtaining a local topological graph of each autonomous domain in the plurality of autonomous domains according to the autonomous internal associated information, and then connecting all the drawn local topological graphs to obtain topological graphs corresponding to the plurality of autonomous domains. The embodiment of the application provides a method for automatically generating a topological graph, and by the method, a network structure formed by all video network equipment in the whole video network autonomous environment can be converted into the topological graph which can be used for visually displaying the operation data of each video network equipment in the video network autonomous environment, so that managers can quickly analyze and obtain abnormal information in the autonomous environment through the operation information and perform targeted detection and fault removal on abnormal information points, and further effective monitoring on the video network autonomous environment is realized.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings needed to be used in the description of the embodiments of the present application will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art that other drawings can be obtained according to these drawings without inventive exercise.
Fig. 1 is a schematic diagram illustrating an implementation scenario according to an embodiment of the present application;
FIG. 2 is a flow diagram illustrating a method of generating a topology graph according to an embodiment of the present application;
FIG. 3A is a schematic diagram illustrating the structure of an autonomous domain according to an embodiment of the present application;
FIG. 3B is a schematic diagram illustrating an autonomous environment according to an embodiment of the present application;
FIG. 4A is a first schematic diagram of a topology shown in an embodiment of the present application;
FIG. 4B is a second schematic diagram of a topology shown in an embodiment of the present application;
FIG. 5 is a partial schematic diagram of a topology shown in one embodiment of the present application;
FIG. 6 is a schematic diagram illustrating a first type of partial topology according to an embodiment of the present application;
FIG. 7 is a schematic diagram illustrating a second type of partial topology according to an embodiment of the present application;
FIG. 8 is a flow chart illustrating operational data according to an embodiment of the present application;
FIG. 9 is a schematic diagram illustrating another implementation scenario of generating a topology diagram according to an embodiment of the present application;
FIG. 10 is a schematic structural diagram of an apparatus for generating a topology diagram according to an embodiment of the present application;
fig. 11 is a schematic diagram of an electronic device according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some, but not all, embodiments of the present application. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
Fig. 1 is a schematic diagram of an implementation scenario according to an embodiment of the present application. Referring to fig. 1, in this implementation scenario, the control terminal may be a computer (e.g., a human computer, a server computer, etc.) and a terminal device such as a smart mobile device (e.g., a smartphone, a tablet device, etc.) that is communicatively connected to a plurality of autonomous servers in an autonomous environment. The control terminal is provided with a program for automatically generating a full-network topological graph and an operation interface so that a user can conveniently inquire the operation information of each video network device in the video network autonomous environment, and then abnormal video network devices in the autonomous environment can be quickly positioned according to the operation information, so that the video network full-network autonomous environment can be effectively monitored.
In the embodiment of the application, the control terminal can be deployed in a video networking environment or an internet environment. When the control terminal is deployed in an internet environment, communication interaction needs to be performed between the control terminal and each autonomous server in the autonomous environment through a protocol conversion server, wherein the protocol conversion server is used for realizing conversion between a video networking protocol and an internet protocol.
For convenience of describing the method for generating the topology map, the following embodiments will be described by taking the example that the control terminal is deployed in a video networking environment.
The application provides a method for generating a topological graph, which is applied to a control terminal in fig. 1. Fig. 2 is a flowchart illustrating a method for generating a topology map according to an embodiment of the present application. Referring to fig. 2, the method for generating a topology map of the present application includes the steps of:
step S11: acquiring autonomous internal associated information and inter-autonomous associated information of each of a plurality of autonomous domains, wherein any one of the autonomous domains is in communication connection with at least one autonomous domain of other autonomous domains except the autonomous domain.
The video network is a network different from the internet, and the autonomous domain is a basic substructure in the video network structure and is also a minimum structural unit for enabling the video network to normally operate. Under the condition of correct configuration, one autonomous domain can independently realize all functions of the video network inside the autonomous domain.
Fig. 3A is a schematic diagram of an autonomous domain according to an embodiment of the present application. Referring to fig. 3A, each autonomous domain has an autonomous server (in the video network, the autonomous server is also referred to as a master server, and the autonomous server may be communicatively connected to a management network outside the autonomous domain, and may manage the autonomous domain by receiving a management command of the management network, specifically, manage each video network device inside the autonomous domain, and perform service management across the autonomous domain). Fig. 3B is a schematic structural diagram of an autonomous environment according to an embodiment of the present application. In fig. 3B, there are 4 levels of autonomous domains in the autonomous environment, and each level of autonomous domain may have a plurality of different autonomous domains, forming a tree-structured video network. The internal network structure of any one of the autonomous domains can refer to the internal network structure of the autonomous domain shown in fig. 3A.
In this embodiment of the present application, the communication connection between any one of the autonomous domains and at least one of the autonomous domains other than itself refers to: none of the plurality of autonomous domains is completely independent, and each autonomous domain has communication interaction with at least one other different autonomous domain. Illustratively, in fig. 3B, all autonomous domains form a tree, each autonomous domain is a node in the tree, and there is a connection relationship with at least one other node, the node represented by autonomous domain 1 is connected with the node represented by autonomous domain 2, the node represented by autonomous domain 2 is connected with the node represented by autonomous domain 3, and so on.
In the embodiment of the present application, the autonomous internal association information refers to: and the connection relationship among the various video networking devices in a single autonomous domain. Illustratively, as shown in fig. 3A, the autonomous internal association information may include: the connection relation between the autonomous server and the boundary route, the connection relation between the autonomous server and the sub-controller 1, the connection relation between the autonomous server and the sub-controller 2, the connection relation between the sub-controller 1 and the simulation equipment, the connection relation between the sub-controller 1 and the entity equipment, the connection relation between the sub-controller 2 and the cascade equipment, and the like.
In the embodiment of the present application, the inter-autonomous correlation information refers to: connection relationships between different autonomous domains. Illustratively, as shown in fig. 3B, the inter-autonomous correlation information may include: the connection relationship between autonomous domain 1 and autonomous domain 2, the connection relationship between autonomous domain 2 and autonomous domain 3, and the like.
In one embodiment, step S11 may include:
acquiring autonomous configuration files from respective autonomous servers of a plurality of autonomous domains;
and analyzing the autonomous configuration file to obtain autonomous internal associated information and inter-autonomous associated information of each autonomous domain.
In the embodiment of the application, the control terminal can acquire the autonomous configuration file from the autonomous server, and acquire the autonomous internal associated information and the autonomous inter-associated information of the corresponding autonomous domain (i.e., the autonomous domain to which the autonomous server belongs) by analyzing the autonomous configuration file.
In another embodiment, the control terminal may further obtain respective autonomous internal association information and inter-autonomous association information of the plurality of autonomous domains from the third-party platform. The embodiment of the present application does not specifically limit the manner in which the control terminal obtains the intra-autonomous correlation information and the inter-autonomous correlation information.
Step S12: and determining a first connection relation between each video network device in each autonomous domain according to the autonomous internal association information.
In the embodiment of the application, after obtaining the autonomous internal association information of an autonomous domain, according to the autonomous internal association information, communication connection relations among all video networking devices in the autonomous domain can be obtained, and the communication connection relations are first connection relations. The video networking device specifically comprises: the system comprises an autonomous server and a sub-control (the sub-control is a sub-control server which is a data forwarding node in an autonomous domain and can realize data forwarding in the autonomous domain, and meanwhile, the sub-control is also an auxiliary control node in the autonomous domain and can simply manage other video networking equipment in a sub-control micro cloud to share part of functions of a main control server, wherein the sub-control is also called a micro cloud server.
Step S13: and generating a local topological graph of each autonomous domain according to the first connection relation.
In the embodiment of the application, the control terminal is provided with a program for automatically generating the full-network topological graph, and the program edits all video networking equipment in a single autonomous domain according to a first connection relation by calling the drawing module to generate the local topological graph corresponding to the autonomous domain.
Step S14: and determining a second connection relation between each autonomous domain and other autonomous domains according to the inter-autonomous correlation information.
In the embodiment of the present application, after inter-autonomous correlation information of one autonomous domain is obtained, according to the inter-autonomous correlation information, a communication connection relationship between the autonomous domain and another autonomous domain may be obtained, where the communication connection relationship is a second connection relationship.
Step S15: and connecting the local topological graphs of the plurality of autonomous domains according to the second connection relation to generate the topological graphs of the plurality of autonomous domains.
In the embodiment of the present application, after the local topology map of each autonomous domain is obtained, the automatic generation full-network topology map program connects the local topology maps having the communication connection relation according to the second connection relation of each autonomous domain by calling the mapping module, so as to generate the topology maps corresponding to all autonomous domains, as shown in fig. 4A-4B. FIG. 4A is a first schematic diagram of a topology shown in an embodiment of the present application; fig. 4B is a second structural diagram of a topological diagram according to an embodiment of the present application, where a specific structure of a region indicated by a portion B in fig. 4A is shown in fig. 4B.
In the embodiment of the application, respective autonomous internal associated information and autonomous inter-associated information of a plurality of autonomous domains are firstly obtained, then a local topological graph of each autonomous domain in the plurality of autonomous domains is obtained through drawing according to the autonomous internal associated information, and then all the obtained local topological graphs are connected to obtain topological graphs corresponding to the plurality of autonomous domains. The embodiment of the application provides a method for automatically generating a topological graph, and by the method, a network structure formed by all video network equipment in the whole video network autonomous environment can be converted into the topological graph which can be used for visually displaying the operation data of each video network equipment in the video network autonomous environment, so that managers can quickly analyze and obtain abnormal information in the autonomous environment through the operation information and perform targeted detection and fault removal on abnormal information points, and further effective monitoring on the video network autonomous environment is realized.
With reference to the foregoing embodiment, in another embodiment of the present application, the autonomous internal association information includes: device number information, device type information, and parent device information.
Specifically, step S12 may be:
and determining a first connection relation between the video network devices in each autonomous domain according to the parent device information of the video network devices in each autonomous domain.
In the embodiment of the present application, all devices of the internet of view connected under the top-most autonomous server have a parent device except that the top-most autonomous server (for example, the autonomous environment shown in fig. 3B, the top-most autonomous server is the autonomous server in the autonomous domain 1) does not have a parent device. Fig. 5 is a schematic partial structure diagram of a topology diagram according to an embodiment of the present application, which corresponds to the autonomous domain 4 and the autonomous domain 9 in fig. 3B. Illustratively, in fig. 5, the parent device of the sub-control "70001" - "70022" is the autonomous server "4.25.12.114", the parent device of the cascade device "00115" is the sub-control "70023", in other words, the child device of the autonomous server "4.25.12.114" is the sub-control "70001" - "70022", and the child device of the sub-control "70023" is the cascade device "00115". Therefore, in the present application, since the parent device of each video network device is unique, according to the parent device information of each video network device, the video network devices (except the autonomous server on the top layer) can be connected to the corresponding parent devices in sequence, and the connection relationship between the video network devices is the first connection relationship.
Accordingly, step S13 may be:
connecting all video networking equipment in each autonomous domain according to the first connection relation to generate an equipment connection diagram of each autonomous domain;
and aiming at each video network device in the device connection diagram, adding corresponding device number information and device type information for each video network device, and generating a local topological diagram of each autonomous domain.
In the embodiment of the application, the device connection diagram refers to a connection diagram which is obtained by preliminarily connecting each piece of video networking equipment and does not contain equipment number information and equipment type information. The device types include: the system comprises an autonomous server, branch control, simulation equipment, entity equipment, cascade equipment and boundary routing equipment.
In the video network, each video network device corresponds to device type and device number information. Illustratively, in fig. 5, the values representing the device types include: "autonomy _2 layer", "branch control", "simulator" (simulator is: simulation equipment), "cascade equipment", "boundary routing", and the like, and values indicating equipment number information include: "4.25.12.111 autonomous", "70023", "00115", etc.
And after the first connection relation is determined, automatically generating a full-network topological graph program, and connecting all the video network equipment in each autonomous domain by calling a drawing module to generate an equipment connection graph. And then adding corresponding equipment number information and equipment type information to all the video network equipment in the equipment connection graph to obtain a local topological graph of each autonomous domain.
In the embodiment of the present application, the generated local topology map may have two types, that is: a first type of local topology graph and a second type of local topology graph.
The generation process of the first type partial topological graph is first explained in detail below.
In an embodiment of the present application, each autonomous domain is deployed with one autonomous server, and the first connection relationship includes: the system comprises an autonomy-first sub-control connection relation, a first sub-control-simulation equipment connection relation and a first sub-control-entity equipment connection relation.
According to the first connection relation, connecting all video network equipment in each autonomous domain to generate an equipment connection diagram of each autonomous domain, wherein the method comprises the following steps:
connecting the first sub-control to the autonomous server according to the autonomous-first sub-control connection relation;
connecting the simulation equipment to the first branch control according to the first branch control-simulation equipment connection relation;
connecting the entity equipment to the first sub-control according to the first sub-control-entity equipment connection relation;
a first type device connection map is generated for each autonomous domain.
Correspondingly, for each piece of view networking equipment in the equipment connection diagram, adding corresponding equipment number information and equipment type information for the piece of view networking equipment, and generating a local topology diagram of each autonomous domain, including:
and aiming at each video network device in the first type device connection graph, adding corresponding device number information and device type information for each video network device, and generating a first type local topological graph of each autonomous domain.
Fig. 6 is a schematic structural diagram of a first type local topology shown in an embodiment of the present application. In fig. 6, the autonomous server is 4.25.12.114 autonomous, the first sub-control may be sub-control 70001, or sub-control 70002, that is, any sub-control between the device numbers 70001-70022, and when the first sub-control is sub-control 70001, N simulation devices are connected, that is: s1[ N ] (N is 10001-10250), when the first sub-control is sub-control 70022, N simulation devices are connected, namely: s22[ N ] (N is 10001-10250). According to the autonomous-first sub-control connection relationship, the sub-control 70001-sub-control 70022 should be respectively connected to 4.25.12.114 autonomy, according to the first sub-control-analog device connection relationship, the analog device s1[ N ] (N is 10001-10250) should be connected to the sub-control 70001, the analog device s2[ N ] (N is 10001-10250) should be connected to the sub-control 70002, and so on, until the analog device s22[ N ] (N is 10001-10250) is connected to the sub-control 70022, so as to obtain a first type device connection diagram of 4.25.12.114. Then, in the first type device connection diagram, 4.25.12.114 autonomy, sub-control 70001-sub-control 70022 and analog device s1[ N ] -s22[ N ] (N is 10001-sub-control 10250) are added with corresponding device number information and device type information, illustratively, the device number information of 4.25.12.114 autonomy is "4.25.12.101 autonomy", the device type information is "autonomy _4 layer", the device number information of sub-control 70001 is "70001", the device type information is "sub-control", the device number information of analog device s1[ N ] is "s 1[ N ]" and the device type information is "analog device". After the device number information and the device type information of each piece of video networking equipment in the first type device connection graph are added, a first type local topological graph of the autonomous domain to which the autonomy belongs can be generated 4.25.12.114, and according to the method, the first type local topological graphs of all autonomous domains in the autonomy environment can be generated.
The generation process of the second type partial topological graph is first described in detail below.
In an embodiment of the present application, the first connection relationship includes: the autonomous-superior border routing equipment connection relation, the autonomous-second sub-control connection relation and the second sub-control-cascade equipment connection relation;
according to the first connection relation, connecting all video network equipment in each autonomous domain to generate an equipment connection diagram of each autonomous domain, wherein the method comprises the following steps:
connecting the autonomous server to the superior border routing device according to the connection relation of the autonomous-superior border routing device;
connecting the second sub-control to the autonomous server according to the autonomous-second sub-control connection relation;
connecting the cascade equipment to the second branch control according to the second branch control-cascade equipment connection relation;
generating a second-type device connection map for each autonomous domain;
correspondingly, for each piece of view networking equipment in the equipment connection diagram, adding corresponding equipment number information and equipment type information for the piece of view networking equipment, and generating a local topology diagram of each autonomous domain, including:
and adding corresponding equipment number information and equipment type information for each piece of video networking equipment in the second type equipment connection graph, and generating a second type local topological graph of each autonomous domain.
Fig. 7 is a schematic structural diagram of a second type local topology shown in an embodiment of the present application. In fig. 7, the autonomous server is 4.25.12.114 autonomous, the second sub-control is sub-control 70023, the upper boundary routing device is boundary routing device 80001, and the cascade device is cascade device 00115. According to the connection relation of the autonomous-superior boundary routing equipment, 4.25.12.114 is connected to the boundary routing equipment 80001 autonomously, according to the connection relation of the autonomous-superior boundary routing equipment, a branch control 70023 is connected to 4.25.12.114 autonomous, according to the connection relation of the second branch control-cascade equipment, cascade equipment 00115 is connected to a branch control 70023, and therefore a second type equipment connection diagram of an autonomous domain to which 4.25.12.114 autonomous belongs is obtained. Next, according to the method provided in the foregoing embodiment, in the second-type device connection diagram, corresponding device number information and device type information are added to 4.25.12.114 autonomous, branch control 70023, boundary routing device 80001, and cascade device 00115, so as to generate a second-type local topology diagram of an autonomous domain to which 4.25.12.114 autonomous belongs.
In the embodiment of the present application, the obtained topological graph of the plurality of autonomous domains corresponds to the network connection structure of the autonomous domain in the actual autonomous environment. In an actual autonomous environment, in an autonomous domain, an autonomous server may connect to a plurality of analog devices or entity devices only through sub-control, and in this case, a local topological graph corresponding to the autonomous domain is a first type local topological graph; the autonomous server can also be connected with the cascade equipment only through sub-control, and in this case, the local topological graph corresponding to the autonomous domain is a second type local topological graph; the autonomous server may also connect a plurality of analog devices or entity devices through the sub-control, and connect the cascade devices through the sub-control, in which case, the local topology map corresponding to the autonomous domain includes both the first type local topology map and the second type local topology map. For example, in fig. 5, the autonomous domain to which 4.25.12.114 belongs includes both a first type of local topology, as shown in fig. 6, and a second type of local topology, as shown in fig. 7.
In connection with the above embodiment, after the local topology map of each autonomous domain is generated, all the local topology maps need to be connected into a unified topology map. In an embodiment of the present application, the inter-autonomous correlation information includes: and subordinate cascading device information.
Step S14 includes:
and determining the second connection relation of the connection relation between the subordinate cascade equipment and the target superior boundary routing equipment according to cascade equipment information of subordinate cascade equipment in each autonomous domain, wherein the autonomous domain in which the subordinate cascade equipment is located is different from the autonomous domain in which the target superior boundary routing equipment is located.
In this embodiment, the lower cascade device information includes device number information and device type information of the border routing device connected to the lower cascade device information. For example, referring to fig. 7, the lower cascade device is a cascade device 00115, and the target upper border routing device is a border routing device 80001, so that the connection relationship between the autonomous domain of 4.25.12.114 and the autonomous domain to which the border routing device 80001 belongs is the connection relationship between the cascade device 00115 and the border routing device 80001.
Accordingly, step S15 includes:
and connecting the lower cascade equipment and the target upper boundary routing equipment in each autonomous domain according to the second connection relation so as to realize the connection of the local topological graphs of the autonomous domains.
And after determining and obtaining a second connection relation between each autonomous domain and other autonomous domains, connecting the local topological graphs of the autonomous domains according to the second connection relation to form a unified topological graph.
With the above embodiments, in the embodiments of the present application, the generated topological graph may be used to show the operation information of the autonomous environment to the administrator, so that the administrator can make a decision conveniently. Fig. 8 is a schematic flow chart illustrating operation data according to an embodiment of the present application. Referring to fig. 8, specifically, after step S15, the method may further include:
step S21: when an activation operation triggered by a user is detected, activating the topological graph to be in a running state;
step S22: determining a target video networking device selected by a user in the topological graph in the running state;
step S23: reading operation data corresponding to the target video network equipment, and obtaining an analysis result according to the operation data, wherein the analysis result comprises abnormal information of the target video network equipment;
step S24: and displaying the analysis result in the vicinity of the target video network equipment.
In an embodiment of the present application, a topological graph can be generated for an autonomous domain in an entire autonomous environment of a video network. After generating the topological graph, the user can trigger an activation operation instruction to activate the topological graph to be in a running state. The purpose of the activation operation may be to implement data mapping between the topology map and a preset database, where the preset database stores in advance the operation data of each piece of video networking equipment in the autonomous environment. When the topological graph is in an operating state, when a user selects the video network equipment of which information is to be viewed, the automatic topological graph generation program automatically reads the pre-stored operating data of the video network equipment and displays the operating data in the area near the video network equipment, so that a manager can conveniently view the operating data and make a further decision, wherein the operating data can be, for example: the network access condition of the equipment number, the service condition of the equipment number, the cascade condition inside the autonomy, the cascade condition between the autonomy and the like.
And meanwhile, the automatic generation topological graph program analyzes the operation data of the target video networking equipment to obtain an analysis result, and the analysis result can be used for reflecting the current operation state of the target video networking equipment. Specifically, the analysis result may include abnormal information of the target video networking device, and a manager may set a preset condition according to an actual requirement, automatically determine the operation data that does not meet the preset condition as abnormal data when the topology graph program automatically generates the operation data, and generate abnormal information according to the abnormal data and display the abnormal information in the topology graph, so that the manager makes a further decision.
In addition, the automatic generation topological graph program can also periodically analyze the operation data of all the video network equipment in the whole autonomous environment, and after abnormal data are obtained, abnormal information is automatically generated and displayed in the topological graph, so that a manager can quickly position the abnormal equipment in the autonomous environment according to the abnormal information and further eliminate faults.
In the embodiment of the application, the operation data of each video networking device is analyzed, the analysis result is displayed in the topological graph, so that managers can make decisions better, the health condition of the autonomous environment is effectively monitored, and compared with the method for manually searching and removing faults in the related technology, the management efficiency of the whole autonomous environment is improved.
In the embodiment of the application, the generated topological graph is subjected to data mapping (for example, the topology is associated with a specified database), so that a manager can intuitively obtain the operation data (including historical operation data and real-time operation data) and the corresponding analysis result of each piece of video networking equipment in the autonomous environment through the topological graph, and can quickly determine whether the video networking equipment has a fault or needs further inspection and the like, thereby providing great convenience for the management of the whole autonomous environment and improving the monitoring efficiency of the whole autonomous environment.
In the embodiment of the application, the topological graph can be automatically updated. Specifically, after step S15, the method may further include:
acquiring autonomous internal associated information and inter-autonomous associated information of the autonomous domain;
if the autonomous internal associated information is different from the autonomous internal associated information of the previous version and/or the autonomous associated information is different from the autonomous associated information of the previous version, acquiring the change information of the autonomous internal associated information and/or the change information of the autonomous associated information;
and updating the topological graph according to the change information of the autonomy internal association information and/or the change information of the autonomy inter-association information.
In the embodiment of the application, the control terminal periodically acquires the latest autonomous internal associated information and the latest inter-autonomous associated information, checks whether the autonomous internal associated information of each autonomous domain is the same as the last version of the autonomous internal associated information and whether the inter-autonomous associated information of each autonomous domain is the same as the last version of the inter-autonomous associated information, and if not, acquires the change information of the autonomous internal associated information and/or the change information of the inter-autonomous associated information (for example, a new video network device is added, a video network device is deleted, and the like).
In the embodiment of the application, the control terminal periodically updates the topological graph, so that the topological graph can truly reflect the network connection structure of each autonomous domain in the actual autonomous environment, the accuracy of information displayed for managers is further improved, and the management and monitoring efficiency of the whole autonomous environment is improved.
Fig. 9 is a schematic diagram of another implementation scenario of generating a topology diagram according to an embodiment of the present application. The method for generating the topology map provided by the present application will be described in a specific embodiment with reference to fig. 9.
In the embodiment of the application, the control terminal can be directly in communication connection with the autonomous servers in each autonomous domain. The control terminal sends a device information query instruction to the autonomous server, the autonomous server returns device related information (such as an autonomous configuration file) to the control terminal after receiving the instruction, the control terminal analyzes the autonomous configuration file through an automatic topological graph generation program after receiving the autonomous configuration file to obtain the device related information (namely, the autonomous internal associated information and the inter-autonomous associated information of each autonomous domain), the automatic topological graph generation program firstly carries out data modeling according to the device related information, the data modeling is to analyze and obtain a first connection relation between each video network device in each autonomous domain and a second connection relation between each autonomous domain and other autonomous domains, then drawing is carried out, namely, a local topological graph is drawn according to the first connection relation, and a topological graph (namely, a full-network autonomous topological graph shown in figure 8) is drawn according to the second connection relation, after the topological graph is activated, the topological graph can be displayed in the form of an html static page, each piece of video networking equipment and video networking equipment in an actual autonomous environment have a data mapping relation in the static page, and a user can select any video networking equipment on the page, view actual operation data of the video networking equipment in the actual autonomous environment and further obtain the operation state of the video networking equipment.
The embodiment of the application provides a method for generating a topological graph, which can map the network connection structure of each autonomous domain in an autonomous environment of video networking into a uniform topological graph, and meanwhile, data mapping is carried out on the topological graph (for example, the topology is associated with a specified database), so that a manager can intuitively obtain the operation data of each piece of video networking equipment in the autonomous environment through the topological graph, great convenience is provided for the manager to manage and monitor the autonomous environment, and the efficient management of the autonomous environment of video networking is realized.
It should be noted that, for simplicity of description, the method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the present invention is not limited by the illustrated order of acts, as some steps may occur in other orders or concurrently in accordance with the embodiments of the present invention. Further, those skilled in the art will appreciate that the embodiments described in the specification are presently preferred and that no particular act is required to implement the invention.
The present application further provides an apparatus 1000 for generating a topological graph. Fig. 10 is a schematic structural diagram of an apparatus for generating a topology diagram according to an embodiment of the present application. Referring to fig. 10, the apparatus 1000 for generating a topology map of the present application includes:
a first obtaining module 1001, configured to obtain intra-autonomous correlation information and inter-autonomous correlation information of each of a plurality of autonomous domains, where any one of the autonomous domains is in communication connection with at least one of other autonomous domains except for the autonomous domain;
a first determining module 1002, configured to determine, according to the autonomous internal association information, a first connection relationship between each piece of video networking equipment in each autonomous domain;
a first generating module 1003, configured to generate a local topological graph of each autonomous domain according to the first connection relationship;
a second determining module 1004, configured to determine, according to the inter-autonomous correlation information, a second connection relationship between each autonomous domain and another autonomous domain;
a second generating module 1005, configured to connect the local topology maps of the plurality of autonomous domains according to the second connection relationship, and generate the topology maps of the plurality of autonomous domains.
Optionally, the autonomous internal association information includes: device number information, device type information, and parent device information;
the first determining module 10001 includes:
the first determining submodule is used for determining a first connection relation between all the video network equipment in each autonomous domain according to the father equipment information of all the video network equipment in each autonomous domain;
the first generation module 1003 includes:
the connection module is used for connecting all the video network equipment in each autonomous domain according to the first connection relation to generate an equipment connection diagram of each autonomous domain;
and the adding module is used for adding corresponding equipment number information and equipment type information for each piece of video network equipment in the equipment connection diagram to generate a local topological diagram of each autonomous domain.
Optionally, the local topology includes: a first type local topology graph, each autonomous domain having one autonomous server deployed therein, the first connection relationship comprising: an autonomy-first sub-control connection relation, a first sub-control-simulation equipment connection relation and a first sub-control-entity equipment connection relation;
the connection module includes:
the first connection module is used for connecting the first sub-control to the autonomous server according to the autonomous-first sub-control connection relation;
the second connection module is used for connecting the simulation equipment to the first branch control according to the connection relation of the first branch control and the simulation equipment;
the third connection module is used for connecting the entity equipment to the first branch control according to the first branch control-entity equipment connection relation;
the first type equipment graph generating module is used for generating a first type equipment connection graph of each autonomous domain;
the adding module comprises:
and the first adding submodule is used for adding corresponding equipment number information and equipment type information for each piece of video networking equipment in the first type equipment connection diagram, and generating a first type local topological diagram of each autonomous domain.
Optionally, the local topology includes: a second type local topology, the first connection relationship comprising: the autonomous-superior border routing equipment connection relation, the autonomous-second sub-control connection relation and the second sub-control-cascade equipment connection relation;
the connection module includes:
the fourth connection module is used for connecting the autonomous server to the superior border routing equipment according to the connection relation of the autonomous-superior border routing equipment;
the fifth connection module is used for connecting the second sub-control to the autonomous server according to the autonomous-second sub-control connection relation;
a sixth connection module, configured to connect the cascade device to the second sub-controller according to the second sub-controller-cascade device connection relationship;
the second-type device graph generating module is used for generating a second-type device connection graph of each autonomous domain;
the adding module comprises:
and the second adding submodule is used for adding corresponding equipment number information and equipment type information for each piece of video networking equipment in the second type equipment connection diagram, and generating a second type local topological diagram of each autonomous domain.
Optionally, the inter-autonomous correlation information includes: lower cascade device information;
the second determining module 1004 includes:
a second determining submodule, configured to determine, according to cascade device information of a lower-level cascade device in each autonomous domain, a second connection relationship between the lower-level cascade device and a target upper-level boundary routing device, where an autonomous domain in which the lower-level cascade device is located is different from an autonomous domain in which the target upper-level boundary routing device is located;
the second generating module 1005 includes:
and the second generation submodule is used for connecting the lower cascade equipment and the target upper boundary routing equipment in each autonomous domain according to the second connection relation so as to realize the connection of the local topological graphs of the autonomous domains.
Optionally, the apparatus 1000 further comprises:
the activation module is used for activating the topological graph into a running state when activation operation triggered by a user is detected;
the third determination module is used for determining the target video networking equipment selected by the user in the topological graph in the running state;
the analysis module is used for reading operation data corresponding to the target video network equipment and obtaining an analysis result according to the operation data, wherein the analysis result comprises abnormal information of the target video network equipment;
and the display module is used for reading the operation data corresponding to the target video network equipment and displaying the operation data in the area near the target video network equipment.
Optionally, the apparatus 1000 further comprises:
the second acquisition module is used for acquiring the autonomous internal association information and the inter-autonomous association information of the autonomous domain;
a third obtaining module, configured to obtain change information of the autonomous internal correlation information and/or change information of the autonomous internal correlation information if the autonomous internal correlation information is different from the autonomous internal correlation information of the previous version and/or the autonomous correlation information is different from the autonomous correlation information of the previous version;
and the updating module is used for updating the topological graph according to the change information of the autonomy internal association information and/or the change information of the autonomy inter-association information.
Based on the same inventive concept, another embodiment of the present application provides an electronic device 1100, as shown in fig. 11. Fig. 11 is a schematic diagram of an electronic device according to an embodiment of the present application. The electronic device comprises a memory 1102, a processor 1101 and a computer program stored on the memory and executable on the processor, which when executed performs the steps of the method according to any of the embodiments of the present application.
Based on the same inventive concept, another embodiment of the present application provides a computer-readable storage medium, on which a computer program is stored, which when executed by a processor implements the steps in the method according to any of the above-mentioned embodiments of the present application.
For the device embodiment, since it is basically similar to the method embodiment, the description is simple, and for the relevant points, refer to the partial description of the method embodiment.
The embodiments in the present specification are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, apparatus, or computer program product. Accordingly, embodiments of the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, embodiments of the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
Embodiments of the present invention are described with reference to flowchart illustrations and/or block diagrams of methods, terminal devices (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing terminal to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing terminal, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing terminal to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing terminal to cause a series of operational steps to be performed on the computer or other programmable terminal to produce a computer implemented process such that the instructions which execute on the computer or other programmable terminal provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While preferred embodiments of the present invention have been described, additional variations and modifications of these embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including preferred embodiments and all such alterations and modifications as fall within the scope of the embodiments of the invention.
Finally, it should also be noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or terminal that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or terminal. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or terminal that comprises the element.
The method, the apparatus, the electronic device, and the storage medium for generating a topology diagram provided by the present invention are described in detail above, and a specific example is applied in the present disclosure to explain the principle and the implementation of the present invention, and the description of the above embodiment is only used to help understanding the method and the core idea of the present invention; meanwhile, for a person skilled in the art, according to the idea of the present invention, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present invention.

Claims (10)

1. A method of generating a topology map, comprising:
acquiring autonomous internal associated information and inter-autonomous associated information of each autonomous domain in a plurality of autonomous domains, wherein any autonomous domain in the plurality of autonomous domains is in communication connection with at least one autonomous domain in other autonomous domains except the autonomous domain;
determining a first connection relation between each video network device in each autonomous domain according to the autonomous internal association information;
generating a local topological graph of each autonomous domain according to the first connection relation;
determining a second connection relation between each autonomous domain and other autonomous domains according to the inter-autonomous correlation information;
and connecting the local topological graphs of the plurality of autonomous domains according to the second connection relation to generate the topological graphs of the plurality of autonomous domains.
2. The method according to claim 1, wherein said autonomous internal correlation information comprises: device number information, device type information, and parent device information;
determining a first connection relation between each video network device in each autonomous domain according to the autonomous internal association information, wherein the first connection relation comprises the following steps:
determining a first connection relation between all the video network equipment in each autonomous domain according to the parent equipment information of all the video network equipment in each autonomous domain;
generating a local topological graph of each autonomous domain according to the first connection relation, wherein the local topological graph comprises the following steps:
connecting all video networking equipment in each autonomous domain according to the first connection relation to generate an equipment connection diagram of each autonomous domain;
and aiming at each video network device in the device connection diagram, adding corresponding device number information and device type information for each video network device, and generating a local topological diagram of each autonomous domain.
3. The method of claim 2, wherein the local topology map comprises: a first type local topology graph, each autonomous domain having one autonomous server deployed therein, the first connection relationship comprising: an autonomy-first sub-control connection relation, a first sub-control-simulation equipment connection relation and a first sub-control-entity equipment connection relation;
according to the first connection relation, connecting all video network equipment in each autonomous domain to generate an equipment connection diagram of each autonomous domain, wherein the method comprises the following steps:
connecting the first sub-control to the autonomous server according to the autonomous-first sub-control connection relation;
connecting the simulation equipment to the first branch control according to the first branch control-simulation equipment connection relation;
connecting the entity equipment to the first sub-control according to the first sub-control-entity equipment connection relation;
generating a first type device connection map for each autonomous domain;
for each video network device in the device connection diagram, adding corresponding device number information and device type information for the device, and generating a local topology diagram of each autonomous domain, including:
and aiming at each video network device in the first type device connection graph, adding corresponding device number information and device type information for each video network device, and generating a first type local topological graph of each autonomous domain.
4. The method of claim 2, wherein the local topology map comprises: a second type local topology, the first connection relationship comprising: the autonomous-superior border routing equipment connection relation, the autonomous-second sub-control connection relation and the second sub-control-cascade equipment connection relation;
according to the first connection relation, connecting all video network equipment in each autonomous domain to generate an equipment connection diagram of each autonomous domain, wherein the method comprises the following steps:
connecting the autonomous server to the superior border routing device according to the connection relation of the autonomous-superior border routing device;
connecting the second sub-control to the autonomous server according to the autonomous-second sub-control connection relation;
connecting the cascade equipment to the second branch control according to the second branch control-cascade equipment connection relation;
generating a second-type device connection map for each autonomous domain;
for each video network device in the device connection diagram, adding corresponding device number information and device type information for the device, and generating a local topology diagram of each autonomous domain, including:
and adding corresponding equipment number information and equipment type information for each piece of video networking equipment in the second type equipment connection graph, and generating a second type local topological graph of each autonomous domain.
5. The method of claim 1, wherein the inter-autonomous correlation information comprises: lower cascade device information;
determining a second connection relation between each autonomous domain and other autonomous domains according to the inter-autonomous correlation information, wherein the second connection relation comprises the following steps:
determining the second connection relation of the connection relation between the subordinate cascade equipment and the target superior boundary routing equipment according to cascade equipment information of subordinate cascade equipment in each autonomous domain, wherein the autonomous domain where the subordinate cascade equipment is located is different from the autonomous domain where the target superior boundary routing equipment is located;
connecting the local topological graphs of the plurality of autonomous domains according to the second connection relation, wherein the connecting comprises the following steps:
and connecting the lower cascade equipment and the target upper boundary routing equipment in each autonomous domain according to the second connection relation so as to realize the connection of the local topological graphs of the autonomous domains.
6. The method according to any one of claims 1-5, wherein after generating the topology map of the plurality of autonomous domains, the method further comprises:
when an activation operation triggered by a user is detected, activating the topological graph to be in a running state;
determining a target video networking device selected by a user in the topological graph in the running state;
reading operation data corresponding to the target video network equipment, and obtaining an analysis result according to the operation data, wherein the analysis result comprises abnormal information of the target video network equipment;
and displaying the analysis result in the vicinity of the target video network equipment.
7. The method according to any one of claims 1-5, wherein after generating the topology map of the plurality of autonomous domains, the method further comprises:
acquiring autonomous internal associated information and inter-autonomous associated information of the autonomous domain;
if the autonomous internal associated information is different from the autonomous internal associated information of the previous version and/or the autonomous associated information is different from the autonomous associated information of the previous version, acquiring the change information of the autonomous internal associated information and/or the change information of the autonomous associated information;
and updating the topological graph according to the change information of the autonomy internal association information and/or the change information of the autonomy inter-association information.
8. An apparatus for generating a topology map, comprising:
the system comprises a first acquisition module, a second acquisition module and a third acquisition module, wherein the first acquisition module is used for acquiring the autonomous internal correlation information and the autonomous inter-correlation information of each autonomous domain in a plurality of autonomous domains, and any autonomous domain in the plurality of autonomous domains is in communication connection with at least one autonomous domain in other autonomous domains except the autonomous domain;
the first determining module is used for determining a first connection relation among all the video network equipment in each autonomous domain according to the autonomous internal association information;
the first generation module is used for generating a local topological graph of each autonomous domain according to the first connection relation;
the second determining module is used for determining a second connection relation between each autonomous domain and other autonomous domains according to the inter-autonomous correlation information;
and the second generating module is used for connecting the local topological graphs of the autonomous domains according to the second connection relation to generate the topological graphs of the autonomous domains.
9. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor when executed implements the steps of the method according to any of claims 1-7.
10. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the steps of the method according to any one of claims 1 to 7.
CN201911078496.3A 2019-11-06 2019-11-06 Method and device for generating topological graph, electronic equipment and storage medium Pending CN111030840A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911078496.3A CN111030840A (en) 2019-11-06 2019-11-06 Method and device for generating topological graph, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911078496.3A CN111030840A (en) 2019-11-06 2019-11-06 Method and device for generating topological graph, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN111030840A true CN111030840A (en) 2020-04-17

Family

ID=70200680

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911078496.3A Pending CN111030840A (en) 2019-11-06 2019-11-06 Method and device for generating topological graph, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN111030840A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111639239A (en) * 2020-05-14 2020-09-08 新奥数能科技有限公司 Equipment running state monitoring method and system
CN112615748A (en) * 2020-12-25 2021-04-06 中国农业银行股份有限公司 System incidence relation view construction method, related equipment and readable storage medium
CN113098777A (en) * 2021-03-19 2021-07-09 视联动力信息技术股份有限公司 Data forwarding method and device, terminal equipment and storage medium
CN113626278A (en) * 2021-06-30 2021-11-09 苏州浪潮智能科技有限公司 Hardware topology generation method and related equipment thereof

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101252488A (en) * 2008-04-15 2008-08-27 中国科学院计算技术研究所 Multi self-governing system router level topology processing system and method
CN104158737A (en) * 2013-05-15 2014-11-19 华为技术有限公司 Method, apparatus and system for controlling issuing of router information
US20180295029A1 (en) * 2016-01-29 2018-10-11 Hewlett Packard Enterprise Development Lp Managing groups of servers
CN109194914A (en) * 2018-09-05 2019-01-11 视联动力信息技术股份有限公司 A kind for the treatment of method and apparatus of facility information

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101252488A (en) * 2008-04-15 2008-08-27 中国科学院计算技术研究所 Multi self-governing system router level topology processing system and method
CN104158737A (en) * 2013-05-15 2014-11-19 华为技术有限公司 Method, apparatus and system for controlling issuing of router information
US20180295029A1 (en) * 2016-01-29 2018-10-11 Hewlett Packard Enterprise Development Lp Managing groups of servers
CN109194914A (en) * 2018-09-05 2019-01-11 视联动力信息技术股份有限公司 A kind for the treatment of method and apparatus of facility information

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111639239A (en) * 2020-05-14 2020-09-08 新奥数能科技有限公司 Equipment running state monitoring method and system
CN112615748A (en) * 2020-12-25 2021-04-06 中国农业银行股份有限公司 System incidence relation view construction method, related equipment and readable storage medium
CN112615748B (en) * 2020-12-25 2023-04-07 中国农业银行股份有限公司 System incidence relation view construction method, related equipment and readable storage medium
CN113098777A (en) * 2021-03-19 2021-07-09 视联动力信息技术股份有限公司 Data forwarding method and device, terminal equipment and storage medium
CN113626278A (en) * 2021-06-30 2021-11-09 苏州浪潮智能科技有限公司 Hardware topology generation method and related equipment thereof
CN113626278B (en) * 2021-06-30 2023-08-04 苏州浪潮智能科技有限公司 Hardware topology generation method and related equipment thereof

Similar Documents

Publication Publication Date Title
CN111030840A (en) Method and device for generating topological graph, electronic equipment and storage medium
US11249728B2 (en) System and method for generating an application structure for an application in a computerized organization
US20240086399A1 (en) Web services for creation and maintenance of smart entities for connected devices
CN112217656B (en) Method and device for synchronizing configuration information of network equipment in SD-WAN (secure digital-to-Wide area network) system
JP2005234705A (en) System layout designing program for realizing automatic configuration of system, system layout designing device and system layout designing method
US20170171097A1 (en) System and user interface for coordinating distributed workflow between multiple computing systems
CN113259148A (en) Alarm correlation detection method, system, network and medium based on federal learning
CN105871998A (en) Data displaying method and device
CN113138934B (en) Automatic test method, medium, device and computing equipment
US20240121274A1 (en) Methods and systems for processing cyber incidents in cyber incident management systems using dynamic processing hierarchies
CN112256490A (en) Data processing method and device
CN106933743A (en) A kind of method of testing and device
US11232381B2 (en) Systems and methods for managing resources in an information technology (IT) infrastructure
CN115934523A (en) Target test data generation method and device, storage medium and electronic device
JP2009301417A (en) Plant monitoring control system
CN114866617A (en) Micro-service request processing method, device, equipment and medium
US20230080756A1 (en) Work process-based decision support system for disaster situation management and method using the same
CN114091840A (en) Data processing method and device
CN114896006A (en) Page menu creating method and device, storage medium and electronic device
US10983657B1 (en) Systems and methods for providing a client-side configurable graphical control element framework
CN113778799A (en) Flow node-based embedded point configuration method, device, equipment and medium
CN116301767A (en) Interface file generation method and device, storage medium and electronic device
US20070064621A1 (en) Method and system for testing network configurations
CN116880840A (en) Service interface generation method, service interface generation device, electronic equipment and medium
CN117785602A (en) Method, device, equipment and medium for determining call relationship

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