The invention provides an SNMP (
Simple Network Management Protocol) and
HTML5 (
Hypertext Markup Language 5)-based method for realizing web
network topology. The method comprises the steps of: S1, selecting user-defined topology or self-discovered topology; S2, when selecting the self-discovered topology, detecting all resources by utilizing the SNMP, and writing the detected self-discovered
network topology resources into a
database; S3, according to the self-discovered
network topology resources, analyzing to obtain a self-discovered network topological relationship; S4, according to the attributes of the topology resources, displaying the topology resources in a network topology editing page canvas, calculating coordinates of each topology resource in a network topology editing page, and drawing
topology management connecting lines by utilizing the drawing function of the canvas of the
HTML5 according to the self-discovered network topological relationship; and S5, conducting network
usability detection to the topology resources according to the IP (
Internet Protocol) of the topology resources, and writing the detected problems into an alarm subsystem for alarming and prompting. Through the method, the network topology presentation of the B / S (Browser /
Server) structure can be done through the
HTML5, and a user can select user-defined topology or self-discovered topology.