Search

CN-116760730-B - Method, device and storage medium for drawing network operation diagram

CN116760730BCN 116760730 BCN116760730 BCN 116760730BCN-116760730-B

Abstract

The application discloses a method, a device and a storage medium for drawing a network operation diagram, and relates to the technical field of communication. The method comprises the steps of obtaining OTN information of a target area, wherein the OTN information comprises information of machine rooms where OTN equipment deployed in each sub-area in a plurality of sub-areas of the target area is located and link information among the OTN equipment, determining links among the machine rooms of the OTN equipment in the two sub-areas according to the link information among the OTN equipment in the two sub-areas aiming at any two sub-areas in the plurality of sub-areas to obtain links among the machine rooms where the OTN equipment deployed in the plurality of sub-areas is located, and drawing a network operation diagram based on the links among the machine rooms among the OTN equipment deployed in the sub-areas, wherein the network operation diagram comprises a plurality of layers, and different layers correspond to different link information.

Inventors

  • YANG ZHENDONG
  • DENG LING
  • XUE QIANG
  • ZENG CHUXUAN

Assignees

  • 中国联合网络通信集团有限公司

Dates

Publication Date
20260505
Application Date
20230509

Claims (12)

  1. 1. A method for drawing a network operation map, the method comprising: The OTN information comprises information of a machine room where OTN equipment deployed in each sub-area in a plurality of sub-areas of the target area is located and link information among the OTN equipment; Determining links between machine rooms where the OTN devices in the two subareas are positioned according to link information between the OTN devices in the two subareas aiming at any two subareas in the plurality of subareas so as to acquire links between the machine rooms where the OTN devices deployed in the plurality of subareas are positioned; Drawing the network operation diagram based on links between machine rooms where OTN equipment deployed in the subarea is located, wherein the network operation diagram comprises a plurality of layers, and different layers correspond to different link information; The plurality of tiers includes a first tier including a computer room and a subnet node of a plurality of sub-areas and a second tier including a computer room of one of the plurality of sub-areas and a plurality of network rooms of a subnet node of one of the plurality of sub-areas.
  2. 2. The method according to claim 1, wherein the method further comprises: Constructing a first-level link of the network operation diagram according to links between OTN devices deployed in the computing machine rooms of the plurality of subareas and links between the computing machine rooms and the plurality of subnet nodes; And constructing a link of a second level of the network diagram according to links between the computing machine room of each sub-area in the plurality of sub-areas and the plurality of network machine rooms in the sub-areas.
  3. 3. The method of claim 2, wherein constructing the first level of links of the network operational diagram from links between OTN devices deployed in the computing room of the plurality of sub-areas and links between computing room and a plurality of subnetwork nodes comprises: for each sub-region of a plurality of sub-regions, taking links between OTN devices deployed in a computing room of the plurality of sub-regions as links of a first level of the network diagram; If no link exists between OTN devices deployed in the power computer rooms of the plurality of subareas, taking the link with the shortest link delay in the power computer rooms of the plurality of subareas and the plurality of subnet nodes as a link of a first level of the network operation diagram; and if the computer room of the plurality of subareas and the plurality of subnet nodes do not have links, taking the link with the shortest link time delay among the subnet nodes of the plurality of subareas as the link of the first level of the network operation diagram.
  4. 4. The method of claim 2, wherein constructing a second level of links of the network traffic graph from links between the computing room of each of the plurality of sub-areas and the plurality of network rooms in the sub-area comprises: aiming at any one of a plurality of network rooms in one subarea of a plurality of subareas, taking a link with shortest time delay in a plurality of links between the network room and an operator room in the subarea as a link between the network room and the operator room so as to acquire the links between the plurality of network rooms and the operator room; the second level network diagram is constructed based on links between the computing room and the plurality of network rooms for each of the plurality of sub-areas.
  5. 5. The method of any of claims 2-4, wherein the link information for different states in the network operational graph is presented in different colors, the link information for the first tier comprises link delays between the computing room and the subnet nodes, and the link information for the second tier comprises one or more of a link name, link delay, link available bandwidth, and link bandwidth utilization between the computing room and the network room.
  6. 6. A device for drawing a network diagram, the device comprising: The OTN information comprises information of a machine room where OTN equipment deployed in each sub-area in a plurality of sub-areas of the target area is located and link information among the OTN equipment; A determining unit, configured to determine, for any two sub-areas in the plurality of sub-areas, a link between machine rooms in which the OTN devices in the two sub-areas are located according to link information between the OTN devices in the two sub-areas, so as to obtain a link between the machine rooms in which the OTN devices deployed in the plurality of sub-areas are located; the processing unit is used for drawing the network operation diagram based on links between machine rooms where the OTN equipment deployed in the subarea is located, wherein the network operation diagram comprises a plurality of layers, and different layers correspond to different link information; The plurality of tiers includes a first tier including a computer room and a subnet node of a plurality of sub-areas and a second tier including a computer room of one of the plurality of sub-areas and a plurality of network rooms of a subnet node of one of the plurality of sub-areas.
  7. 7. The apparatus of claim 6, wherein the processing unit is further configured to: Constructing a first-level link of the network operation diagram according to links between OTN devices deployed in the computing machine rooms of the plurality of subareas and links between the computing machine rooms and the plurality of subnet nodes; And constructing a link of a second level of the network diagram according to links between the computing machine room of each sub-area in the plurality of sub-areas and the plurality of network machine rooms in the sub-area.
  8. 8. The apparatus according to claim 7, wherein the processing unit is specifically configured to: for each sub-region of a plurality of sub-regions, taking links between OTN devices deployed in a computing room of the plurality of sub-regions as links of a first level of the network diagram; If no link exists between OTN devices deployed in the power computer rooms of the plurality of subareas, taking the link with the shortest link delay in the power computer rooms of the plurality of subareas and the plurality of subnet nodes as a link of a first level of the network operation diagram; and if the computer room of the plurality of subareas and the plurality of subnet nodes do not have links, taking the link with the shortest link time delay among the subnet nodes of the plurality of subareas as the link of the first level of the network operation diagram.
  9. 9. The apparatus according to claim 7, wherein the processing unit is specifically configured to: aiming at any one of a plurality of network rooms in one subarea of a plurality of subareas, taking a link with shortest time delay in a plurality of links between the network room and an operator room in the subarea as a link between the network room and the operator room so as to acquire the links between the plurality of network rooms and the operator room; the second level network diagram is constructed based on links between the computing room and the plurality of network rooms for each of the plurality of sub-areas.
  10. 10. The apparatus of any of claims 7-9, wherein the link information for different states in the network operational graph is presented in different colors, the link information for the first tier comprises a link delay between the computing room and a subnet node, and the link information for the second tier comprises one or more of a link name, a link delay, a link available bandwidth, and a link bandwidth utilization between the computing room and the network room.
  11. 11. A computer readable storage medium having instructions stored therein which, when executed, implement the method of any of claims 1-5.
  12. 12. A network diagram rendering device comprising a processor coupled to a memory, the memory for storing one or more programs, the one or more programs comprising computer-executable instructions that, when executed by the device, cause the device to perform the method of any of claims 1-5.

Description

Method, device and storage medium for drawing network operation diagram Technical Field The present application relates to the field of communications technologies, and in particular, to a method and apparatus for drawing a network operation diagram, and a storage medium. Background With the digital transformation of the economic society, the power network becomes an important infrastructure for supporting the digital society. The performance indexes of network delay, bandwidth and the like of the computing network are valued by clients and operators, such as low-delay services of automatic driving, image recognition, remote control and the like, and large-bandwidth application scenes of data disaster recovery, mass data transmission and the like. Optical transport networks (optical transport network, OTN) have the technical advantages of high security, large bandwidth, high reliability, low latency, flexible and resilient bandwidth, and OTN networks have become an important component of computing networks. At present, the range of network nodes which can be covered and served by an operator on a power computer room cannot be visually checked on a map, and the resource and performance information of the operator on the power computer room cannot be visually checked on the map, so that a power computer room scheduling scheme is inconvenient to quickly, intuitively and efficiently make for clients. The prior art lacks an intuitive display method for physicochemical presentation of indexes of link delay, bandwidth and utilization rate of an OTN (optical transport network) power calculation network, and network problems such as higher link delay, higher bandwidth utilization rate and the like cannot be found and optimized in time. Therefore, how to intuitively display the power network and the index corresponding to the power network becomes a problem to be solved by operators. Disclosure of Invention The application provides a method, a device and a storage medium for drawing a network operation diagram, which are used for comprehensively and intuitively displaying index data of a computing power network and are convenient for planning and constructing the computing power network. In order to achieve the above purpose, the application adopts the following technical scheme: The first aspect provides a drawing method of a network operation diagram, which comprises the steps of obtaining OTN information of a target area, wherein the OTN information comprises information of a machine room where OTN equipment deployed in each sub-area in a plurality of sub-areas of the target area is located and link information between the OTN equipment, determining links between the machine rooms of the OTN equipment in the two sub-areas according to the link information between the OTN equipment in the two sub-areas for any two sub-areas in the plurality of sub-areas to obtain links between the machine rooms where the OTN equipment deployed in the plurality of sub-areas is located, and drawing the network operation diagram based on the links between the machine rooms of the OTN equipment deployed in the sub-areas, wherein the network operation diagram comprises a plurality of layers, and different layers correspond to different link information. In one possible implementation, the multiple tiers include a first tier and a second tier, the first tier including a computing room of the multiple sub-regions, a subnet node, wherein the subnet node includes a plurality of network rooms, and the computing room of the sub-region of the second tier and the multiple network rooms of the sub-region. In a possible implementation manner, the method further comprises constructing a first-level link of the network operation diagram according to links between OTN devices associated with the computing machine rooms of the plurality of subareas and links between the computing machine rooms and the plurality of subnet nodes, and constructing a second-level link of the network operation diagram according to links between the computing machine rooms of the plurality of subareas and the plurality of network machine rooms. In a possible implementation manner, the method for constructing the first level link of the network operation diagram according to the links between the OTN devices associated with the computing rooms of the sub-areas and the links between the computing rooms and the sub-network nodes includes regarding the links between the computing rooms of the sub-areas as the first level link of the network operation diagram, regarding the links between the OTN devices associated with the computing rooms of the sub-areas as the first level link of the network operation diagram if the links between the OTN devices associated with the computing rooms of the sub-areas are not present, regarding the links between the computing rooms of the sub-areas and the links between the computing rooms of the sub-areas as the first level link of the network o