CN109510726A - Network visualization implementation method, device, computer equipment and storage medium - Google Patents
Network visualization implementation method, device, computer equipment and storage medium Download PDFInfo
- Publication number
- CN109510726A CN109510726A CN201811570143.0A CN201811570143A CN109510726A CN 109510726 A CN109510726 A CN 109510726A CN 201811570143 A CN201811570143 A CN 201811570143A CN 109510726 A CN109510726 A CN 109510726A
- Authority
- CN
- China
- Prior art keywords
- terminal
- topological diagram
- corresponding relationship
- network topological
- network
- 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
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/12—Discovery or management of network topologies
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/06—Management of faults, events, alarms or notifications
- H04L41/0686—Additional information in the notification, e.g. enhancement of specific meta-data
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L45/00—Routing or path finding of packets in data switching networks
- H04L45/74—Address processing for routing
Abstract
This application involves a kind of network visualization implementation method, device, computer equipment and storage mediums.The described method includes: obtaining the terminal iidentification of first terminal and the corresponding relationship of switch port mark, first network topological diagram is constructed according to the corresponding relationship;First network topological diagram is shown in second terminal, includes at least one of terminal iidentification and switch port mark of first terminal in the first network topological diagram;When detecting that the first terminal in first network topological diagram breaks down, the corresponding warning information of first terminal is shown in second terminal.It can make the terminal data for accessing network that visualization be presented using the scheme of the application and the terminal of failure can be monitored.
Description
Technical field
This application involves field of computer technology, more particularly to a kind of network visualization implementation method, device, computer
Equipment and storage medium.
Background technique
With the development of network technology, the advantages such as IPization network speed is fast, capacity is big, reliability is high more obvious.Entirely
IPization network refers to that all transmission of network are carried by optical fiber or cable, such as website and website, website and core cell
All carried out data transmission by IP address (Internet Protocol Address, Internet protocol address).Either exist
It is old to change in project or grassroot project, in high volume trend is had become using IP device.But in catenet, thus bring management
Problem is also very important.For example, the equipment such as access point, web camera and various controllers in networking, although having respective
Control system is managed, but when these equipment break down, equipment that system can not monitor failure.
Summary of the invention
Based on this, it is necessary to the technical issues of for the equipment that can not monitor failure, it is visual to provide a kind of network
Change implementation method, device, computer equipment and computer storage medium, can make the terminal data for accessing network that visualization be presented
And it can monitor the terminal of failure.
A kind of network visualization implementation method, this method comprises: obtaining the terminal iidentification and switch port of first terminal
The corresponding relationship of mark constructs first network topological diagram according to the corresponding relationship;First network topological diagram is shown in second terminal,
At least one of terminal iidentification and switch port mark in the first network topological diagram including first terminal;When detecting
When first terminal in first network topological diagram breaks down, the corresponding warning information of first terminal is shown in second terminal.
First network topological diagram is constructed according to corresponding relationship in one of the embodiments, comprising: update first terminal
The corresponding relationship of terminal iidentification and switch port mark, and first network topological diagram is updated according to corresponding relationship, wherein the end
End mark includes at least one of media access control address, terminal name and Internet protocol address.
The terminal iidentification of first terminal and the corresponding relationship of switch port mark are updated in one of the embodiments,
And first network topological diagram is updated according to corresponding relationship, comprising:
When the media access control address for detecting first terminal is added in interchanger, media access control address is obtained
With the corresponding relationship of switch port mark;
The media access control address and internet protocol of first terminal are obtained by address resolution protocol or Radio Broadcasting Agreements
The corresponding relationship for discussing address obtains Internet protocol according to the corresponding relationship of media access control address and switch port mark
The corresponding relationship of address and switch port mark;
The terminal name of media access control address configuration is retrieved as according to media access control address, according to media interviews
The corresponding relationship for controlling address and switch port mark obtains the corresponding relationship that terminal name and switch port identify;
It is retrieved as the terminal type of media access control address configuration, corresponding terminal icon is obtained according to terminal type;
According to corresponding relationship, Internet protocol address and the interchanger of media access control address and switch port mark
The corresponding relationship of corresponding relationship and terminal name and the switch port mark of port-mark updates the terminal mark of first terminal
The corresponding relationship with switch port mark is known, by the port-mark of the terminal iidentification of first terminal, terminal icon and interchanger
At least one of be added first network topological diagram in;
When the media access control address for detecting first terminal is removed from interchanger, second terminal show in from
The first terminal of linear state;When getting the deletion instruction to first terminal, by the terminal iidentification of first terminal, terminal icon
It is deleted from first network topological diagram with switch port mark.
Warning information includes alarm icon in one of the embodiments,;The details of the warning information includes terminal
At least one of information, flow information, failure cause and the corresponding processing rule of failure;Show that first is whole in second terminal
Hold corresponding warning information, comprising: when detecting that cursor is in the region of alarm icon, show warning information in second terminal
Details;When detecting the triggering command to alarm icon, warning information is shown in second terminal with list mode
Details, wherein the sequence arrangement for the time that the warning information in list is occurred with the severity of failure or failure.
Network visualization implementation method in one of the embodiments, further include: obtained in first network topological diagram
To the control instruction of first terminal, which includes cut-offing instruction, instruction of restarting or disabling instruction;According to the control instruction
Corresponding operation is carried out to first terminal.
First network topological diagram is shown in second terminal in one of the embodiments, comprising: when first terminal is network
Video camera, and when web camera support style of opening network video Interface Forum standard agreement, according to the opening network of input
The account information of video interface forum standard agreement obtains the corresponding end message of web camera;In the first net of second terminal
Displaying terminal information in network topological diagram.
In one of the embodiments, before obtaining the corresponding relationship of terminal iidentification and interchanger of first terminal, also
Include: the corresponding relationship for obtaining server identification and switch identification, is closed according to server identification and the corresponding of switch identification
System's the second network topological diagram of building;This method further include: combine first network topological diagram and the second network topological diagram to obtain
Three network topological diagrams.
A kind of network visualization realization device, described device include: acquisition module, for obtaining the terminal mark of first terminal
Know the corresponding relationship with interchanger;Network topological diagram display module, for constructing first network topology according to the corresponding relationship
Figure, and the first network topological diagram is shown in second terminal, it include the first terminal in the first network topological diagram
At least one of terminal iidentification and switch port mark;Warning information display module, for when detecting described the
When first terminal in one network topological diagram breaks down, the corresponding alarm letter of the first terminal is shown in the second terminal
Breath.
A kind of computer equipment, including memory and processor, the memory are stored with computer program, the processing
Device performs the steps of pair of the terminal iidentification for obtaining first terminal and switch port mark when executing the computer program
It should be related to, first network topological diagram is constructed according to the corresponding relationship;First network topological diagram, first net are shown in second terminal
At least one of terminal iidentification and switch port mark in network topological diagram including first terminal;When detecting first network
When first terminal in topological diagram breaks down, the corresponding warning information of first terminal is shown in second terminal.
A kind of computer readable storage medium, is stored thereon with computer program, and the computer program is held by processor
The corresponding relationship that the terminal iidentification for obtaining first terminal and switch port mark are performed the steps of when row, according to the correspondence
Relationship constructs first network topological diagram;First network topological diagram is shown in second terminal, includes the in the first network topological diagram
At least one of terminal iidentification and switch port mark of one terminal;When detect in first network topological diagram first eventually
When end is broken down, the corresponding warning information of first terminal is shown in second terminal.
Above-mentioned network visualization implementation method, device, computer equipment and storage medium, by the end for obtaining first terminal
The corresponding relationship of end mark and switch port mark constructs first network topological diagram according to the corresponding relationship, and show this
One network topological diagram;When detecting that first terminal breaks down, corresponding warning information is shown in second terminal, can make to connect
Visualization is presented in the terminal data for entering network, and can monitor the terminal of failure, can be obtained by switch port mark
The position of terminal is taken, and is managed, the efficiency of troubleshooting is improved.
Detailed description of the invention
Fig. 1 is the applied environment figure of network visualization implementation method in one embodiment;
Fig. 2 is the flow diagram of network visualization implementation method in one embodiment;
Fig. 3 is the surface chart of first network topological diagram in one embodiment;
Fig. 4 is the flow diagram for updating first network topological diagram in one embodiment according to corresponding relationship;
Fig. 5 (a) is the surface chart of end message in one embodiment;
Fig. 5 (b) is the end message surface chart that the first terminal of access is configured in one embodiment;
Fig. 6 is the structural block diagram of network visualization realization device in one embodiment;
Fig. 7 is the internal structure chart of computer equipment in one embodiment.
Specific embodiment
It is with reference to the accompanying drawings and embodiments, right in order to which the objects, technical solutions and advantages of the application are more clearly understood
The application is further elaborated.It should be appreciated that specific embodiment described herein is only used to explain the application, not
For limiting the application.
The network visualization implementation method provided in the embodiment of the present application, can be applied to application environment as shown in Figure 1
In.Wherein, 102 access switch 104 of first terminal carries out network access, and server 106 controls interchanger 104, server 106
System interface can show that in second terminal 108, i.e. second terminal 108 can pass through server 106 and control interchanger 104.
Wherein, it is various personal computers that first terminal 102, which can be, but not limited to, laptop, smart phone, tablet computer, is taken the photograph
Camera, screen, elevator, adapter, controller and portable wearable device, and quantity is unlimited.Interchanger 104 is that one kind is used for
The electrically or optically network equipment of signal forwarding, and quantity is unlimited.Server 106 can be filled with independent server, embedded boxlike
The server cluster of standby or multiple servers composition is realized, equipped with network management system in server 106.Second terminal
108 be the terminal with interface display function, can be, but not limited to be personal computer, laptop, smart phone, plate
Computer and portable wearable device.
In one embodiment, as shown in Fig. 2, providing a kind of network visualization implementation method, it is applied in this way
It is illustrated for server in Fig. 1, comprising the following steps:
Step 202, the terminal iidentification of first terminal and the corresponding relationship of switch port mark are obtained, is closed according to the correspondence
System's building first network topological diagram.
Wherein, terminal iidentification is the unique identification for distinguishing terminal, can be by number, letter and one of symbol or more
Kind composition.Switch port mark refers to the switch port for distinguishing different interchangers, can be by number, letter and symbol
One or more compositions.It also may include switch identification in switch port mark.Network topological diagram, which refers to, uses transmission medium
Interconnect the figure that the physical layout of various equipment is formed.
Specifically, server can pass through the protocol software, such as Simple Network Management Protocol (Simple Network
Management Protocol, SNMP), Telnet (Telecommunication Network Telnet), Web
Agreement or other agreements carry out the reading of data and issuing for configuration to interchanger.Server is from interchanger or server
The terminal iidentification of first terminal and the corresponding relationship of switch port mark are obtained in database, are opened up according to corresponding relationship transmission
Graph discovery message is flutterred, to construct first network topological diagram.
In the present embodiment, when including switch identification in switch port mark, then server can obtain first terminal
Terminal iidentification and switch identification corresponding relationship.Server can obtain more switch identifications, and obtain every interchanger
The corresponding relationship of mark and the terminal iidentification of multiple first terminals constructs first network topological diagram according to the corresponding relationship.
Step 204, first network topological diagram is shown in second terminal, include first terminal in the first network topological diagram
At least one of terminal iidentification and switch port mark.
Specifically, server will include the surface chart displaying of first network topological diagram in second terminal.Wherein first net
At least one of terminal iidentification and switch port mark in network topological diagram including first terminal.
In the present embodiment, such as the terminal iidentification of first terminal corresponds to a port of First interchanger, then takes
Business device constructs first network topological diagram according to the corresponding relationship that the terminal iidentification and switch port of first terminal identify.Server
The first network topological diagram is shown in second terminal, terminal iidentification and exchange in the first network topological diagram including first terminal
At least one of machine port-mark.And the corresponding pass that server identifies the terminal iidentification of the first terminal and switch port
System, such as connection relationship are shown in second terminal.
Step 206, when detecting that the first terminal in first network topological diagram breaks down, the is shown in second terminal
The corresponding warning information of one terminal.
Wherein, the case where warning information refers to when breaking down when first terminal breaks down, and server will regard failure
The warning information issued in the first topological diagram.The warning information can be, but not limited to be audible and visual alarm and text alarm etc..It accuses
Alert information can be displaying in interchanger corresponding position, can also show in terminal corresponding position, can also show in server
Corresponding position etc. is without being limited thereto.
Specifically, the operating status of the first terminal in server detection first network topological diagram.When server detects
When first terminal in first network topological diagram breaks down, first terminal is shown in the first network topological diagram of second terminal
Corresponding warning information.For example, whether the flow of server monitoring terminal, terminal generate, whether IP conflict, terminal offline, terminal
Whether occur whether loop and terminal have one of risk of broadcast storm.When server detects that first terminal breaks down
When, the corresponding warning information of displaying terminal flow is corresponded in the first network topological diagram of second terminal, generates IP conflict correspondence
Warning information, the offline warning information of terminal, the corresponding warning information of loop occurs for terminal and broadcast storm pair occurs for terminal
At least one of warning information answered.
In one embodiment, when the first terminal to break down restores normal condition, server eliminates the alarm
Information.Such as the flow status of first terminal, when being abnormal, server shows first terminal Traffic Anomaly in second terminal
Warning information.When the flow status of first terminal restores normal, server eliminates the warning information of the Traffic Anomaly automatically.
In above-mentioned network visualization implementation method, identified by the terminal iidentification and switch port that obtain first terminal
Corresponding relationship constructs first network topological diagram according to the corresponding relationship, and shows the first network topological diagram;When detecting first
When terminal breaks down, corresponding warning information is shown in second terminal, the terminal data for accessing network can be made to present visual
Change, and the terminal of failure can be monitored, the position of terminal can be obtained by switch port mark, and be managed,
Improve the efficiency of troubleshooting.
In one embodiment, first network topological diagram is constructed according to corresponding relationship, comprising: update the terminal of first terminal
The corresponding relationship of mark and switch port mark, and first network topological diagram is updated according to corresponding relationship, wherein the terminal mark
Know includes at least one of media access control address, terminal name and Internet protocol address.
Wherein, media access control address refers to (Media Access Control Address, MAC), can be used as net
The unique identification of network equipment, is generally solidificated in network interface card information.Terminal name refers to the title of each terminal, such as No.1
Machine, No. two machines or No. three machines etc. are without being limited thereto.Internet protocol address refers to (Internet Protocol Address, IP),
IP address is a kind of unified address format that IP agreement provides, it is each network and each host point on internet
With a logical address, the difference of physical address is shielded with this.
Specifically, when have terminal be added interchanger in perhaps removed from interchanger when server in real time or timing more
The terminal iidentification of new first terminal and the corresponding relationship of switch port mark, and first network topology is updated according to corresponding relationship
Figure.For example, No.1 machine is added in interchanger, then server obtains the media access control address of No.1 machine, also obtains No.1 machine
Terminal name be " No.1 machine ", and pass through the Internet protocol address of media access control address acquisition No.1 machine, then basis
The corresponding relationship of media access control address, terminal name and internet address updates first network topological diagram.
In above-mentioned network visualization implementation method, by updating the corresponding relationship of terminal iidentification and switch port mark,
First network topological diagram is updated according to the corresponding relationship, first network topological diagram is made to show newest network insertion state.
In one embodiment, as shown in figure 3, being the surface chart of first network topological diagram.Wherein, POE (Power Over
Ethernet, Power over Ethernet) interchanger refer to existing Ethernet be routed architecture do not make any changes the case where
Under, while for some IP-based terminal transmission data signals, moreover it is possible to provide the interchanger of direct current for such equipment.Clothes
Device be engaged in equipped with network management system, network management system is connected with core switch.Core switch is connected to POE interchanger and road simultaneously
By device.Wherein, the terminal types such as " core switch ", " POE interchanger " and " convergence switch " can be replaced by model progress
Display.Nearby there are " warning " Warning Icon, flow rate, first line of a couplet port numbers and second line of a couplet port numbers in the position of POE interchanger.
Wherein first line of a couplet port numbers refer to the port uplink, refer to and carry out cascade port numbers between two interchangers.Second line of a couplet port numbers are
Refer to the port numbers that interchanger is connected with terminal.Such as second line of a couplet port numbers refer to sending alarm in the surface chart of the present embodiment
Port numbers corresponding to terminal.POE interchanger also with convergence switch, large-size screen monitors launch, network hard disk video recorder (Network
Video Recorder, NVR), monitor camera, wireless access points (Wireless Access Point, AP) and ring road
Controller is connected, these entitled terminal types have the corresponding IP address of the terminal under terminal type.In the present embodiment,
Server shows that the terminal iidentification is the first terminal of IP address and terminal type in second terminal.
In one embodiment, as shown in figure 4, updating the terminal iidentification of first terminal and the correspondence of switch port mark
Relationship, and first network topological diagram is updated according to corresponding relationship, comprising:
Step 402, when the media access control address for detecting first terminal is added in interchanger, media interviews are obtained
Control the corresponding relationship of address and switch port mark.
Specifically, the media access control address of all first terminals for accessing the interchanger is store in interchanger and is somebody's turn to do
The corresponding relationship of switch port mark, and the correspondence that interchanger can identify the media access control address and switch port
Relationship active reporting is to the network management system in server.When first terminal is added in interchanger, server detects that first is whole
The media access control address at end is added in interchanger, then obtains media access control address and switch port mark
Corresponding relationship.
Step 404, by address resolution protocol or Radio Broadcasting Agreements obtain first terminal media access control address and
The corresponding relationship of Internet protocol address obtains mutual according to the corresponding relationship of media access control address and switch port mark
The corresponding relationship of networking protocol address and switch port mark.
Wherein, refer to can be according to media interviews for address resolution protocol (Address Resolution Protocol, ARP)
Control an agreement of address learning Internet protocol address.Radio Broadcasting Agreements refers to WS-Discovery agreement, and interchanger is one
Probe message is sent in fixed network range in the form of broadcast to search target terminal.In the probe message, comprising corresponding
Search condition.The target terminal of the condition is serviced after receiving probe message by itself relevant message such as IP address
Reply to interchanger.
Specifically, server obtains the media access control of first terminal by address resolution protocol or Radio Broadcasting Agreements
The corresponding relationship of the corresponding relationship of location and internet address, i.e. MAC Address and IP address.Such as server passes through active transmission
ARP message or passive ARP message generate data, which can just get MAC Address and IP after being transferred through first terminal
The corresponding relationship of address.Server obtains IP address and interchanger according to the corresponding relationship that MAC Address and switch port identify
The corresponding relationship of port-mark.
Step 406, the terminal name of media access control address configuration is retrieved as according to media access control address, according to
Media access control address is corresponding with the corresponding relationship acquisition terminal name and switch port mark that switch port identifies
Relationship.
Specifically, terminal name is on the server for the title of MAC Address configuration.Server is obtained according to MAC Address
Terminal name obtains terminal name and switch port mark pair according to the corresponding relationship of MAC Address and switch port mark
The relationship answered.
Step 408, it is retrieved as the terminal type of media access control address configuration, corresponding end is obtained according to terminal type
Hold icon.
Wherein, the icon that terminal icon refers to for terminal type configuration, such as the corresponding terminal graph of same terminal type
It marks identical.
Specifically, server is retrieved as the terminal type of MAC Address configuration, obtains corresponding terminal graph according to terminal type
Mark.As shown in figure 3, such as large-size screen monitors show that corresponding terminal icon is display screen, NVR and the corresponding terminal icon of monitor camera
For DVS (Digital Video Server, network video server), the corresponding terminal icon of access point is AP, ramp metering rate
The corresponding terminal icon of device is ring road.
Step 410, according to media access control address and the corresponding relationship of switch port mark, Internet protocol address
First terminal is updated with the corresponding relationship and terminal name of switch port mark and the corresponding relationship of switch port mark
Terminal iidentification and switch port mark corresponding relationship, by the terminal iidentification of first terminal, terminal icon and interchanger
At least one of port-mark is added in first network topological diagram.
Specifically, corresponding relationship, IP address and interchanger that server is identified according to terminal MAC address and switch port
The corresponding relationship of corresponding relationship and terminal name and the switch port mark of port-mark updates the terminal mark of first terminal
Know and switch port mark corresponding relationship, and according to the corresponding relationship by the terminal iidentification of first terminal, terminal icon and
At least one of port-mark of interchanger is added in first network topological diagram.
In the present embodiment, terminal can according to media access control address and switch port mark corresponding relationship, mutually
The corresponding relationship and terminal name of networking protocol address and switch port mark and the corresponding relationship of switch port mark
The corresponding relationship of terminal MAC address, IP address of terminal, terminal name, switch port and switch mac address is established, and is deposited
Storage, can also show in second terminal.It is the surface chart of end message in one embodiment, the end message as shown in Fig. 5 (a)
Corresponding terminal is connected with the POE interchanger in Fig. 3.Wherein, end message includes that terminal models, the port numbers of access are handed over
Change planes port-mark, port type, protection state, licensing status, port speed, dual-mode, maximum rate, terminal MAC, end
Hold IP, terminal type, tunnel name and prompt etc..Wherein, terminal type and terminal name are configurable.Such as Fig. 5 (b) institute
Show, is the end message surface chart for configuring the first terminal of access in one embodiment, alternatively referred to as facility information surface chart.It should
The facility information interface of configuration access device is by obtaining the device definition instruction generation to the surface chart in Fig. 5 (a).Clothes
Business device can obtain the selection instruction of device type in Fig. 5 (b), can also obtain the device name of input.When server has obtained
The corresponding MAC Address of the equipment and IP address then can directly be shown in Fig. 5 (b).
Step 412, when the media access control address for detecting first terminal is removed from interchanger, in second terminal
Show the first terminal in off-line state.
Specifically, it when server detects that the MAC Address of first terminal is removed from interchanger, is shown in second terminal
In the first terminal of off-line state.Exhibition method in the first terminal of off-line state may include the corresponding terminal graph of first terminal
Be designated as only having the terminal icon of black-white colors, or the corresponding position of first terminal in first network topological diagram show with
" offline " correlated identities, the either corresponding connection thread breakage of the first terminal or disappearance in first network topological diagram.
Step 414, when getting the deletion instruction to first terminal, by the terminal iidentification of first terminal, terminal icon
It is deleted from first network topological diagram with switch port mark.Specifically, when having first terminal in first network topological diagram
Terminal iidentification, terminal icon and switch port mark, and server gets the deletion to first terminal from second terminal
When instruction, the terminal iidentification of first terminal, terminal icon and switch port mark are deleted from first network topological diagram.When
There was only one or both of terminal iidentification, terminal icon and the switch port mark of first terminal in first network topological diagram
When, also the terminal iidentification of the first terminal, terminal icon and switch port one or both of are identified from first network
It is deleted in topological diagram.
In above-mentioned network visualization implementation method, closed by obtaining accessing to control address and the corresponding of switch port mark
System, the corresponding relationship of Internet protocol address and switch port mark and terminal name and the corresponding of switch port are closed
System can update the corresponding relationship of terminal iidentification and switch port mark, by terminal iidentification, terminal icon and switch port mark
At least one of knowledge is added in first network topological diagram, and the information shown in first network topological diagram can be made more comprehensive,
The first network topological diagram can be updated, first network topological diagram is made to show newest network insertion state.
In one embodiment, warning information includes alarm icon;The details of the warning information include end message,
At least one of flow information, failure cause and the corresponding processing rule of failure;First terminal pair is shown in second terminal
The warning information answered, comprising: when detecting that cursor is in the region of alarm icon, show the detailed of warning information in second terminal
Details condition;When detecting the triggering command to alarm icon, the detailed of warning information is shown in second terminal with list mode
Situation, wherein the sequence arrangement for the time that the warning information in list is occurred with the severity of failure or failure.
Wherein, flow information refers to the total flow that the flow rate of terminal or terminal use.As shown in Fig. 5 (a), terminal letter
Breath includes terminal models, port numbers i.e. the switch port mark of access, port type, protection state, licensing status, port speed
Rate, dual-mode, maximum rate, terminal MAC, terminal IP, terminal type, tunnel name and prompt etc. but not limited to this.Failure
Corresponding processing rule refers to that, when first terminal breaks down, server detects the failure cause, and aobvious according to the failure
Show the corresponding processing rule of the failure.
Specifically, warning information includes the details of alarm icon and warning information.The details of the warning information
Including end message, flow information, failure cause and the corresponding processing rule of the failure.
When server detects that cursor is in the region of alarm icon, the detailed feelings of warning information are shown in second terminal
Condition.As shown in figure 3, alarm icon is " warning ", when server detects that cursor in alarm icon region, that is, exists
When in the region of " warning " corresponding alert box, second terminal displaying terminal information, flow information, failure cause and
At least one of corresponding processing rule of failure.When server detects the touch-control or click commands to alarm icon,
The details of warning information can be shown on not influencing the position that other information is shown in a manner of list.Wherein, in list
The sequence arrangement of time that is occurred with the severity of failure or failure of warning information.Server can also show different ends
Corresponding warning information, such as No.1 interchanger is held to be connected respectively with No.1 terminal, No. two terminals and No. three terminals.No. two ends
Failure all has occurred in end and No. three terminals, all shows warning information, and the event of No. two terminals in second terminal with list mode
Hinder severity and be higher than No. three terminals, then in lists, the sequence of the warning information of No. two terminals is believed in the alarm of No. three terminals
Before breath.
In above-mentioned network visualization implementation method, through detection cursor whether in the region of alarm icon and to alarm
The triggering command of icon, can be in second terminal displaying terminal information, flow information, failure cause and the corresponding processing rule of failure
Then, the first terminal that can intuitively show failure and break down improves the efficiency of troubleshooting, reduces O&M cost.
In one embodiment, network visualization implementation method further include: obtain in first network topological diagram to the
The control instruction of one terminal, the control instruction include cut-offing instruction, instruction of restarting or disabling instruction;According to the control instruction to
One terminal carries out corresponding operation.
Specifically, it can be server in first network topological diagram to the control instruction of first terminal to obtain to interchanger
The control instruction of port-mark, or the control in first network topological diagram to the terminal iidentification of first terminal or terminal icon
Instruction, the control instruction include cut-offing instruction, instruction of restarting or disabling instruction.Wherein, cut-offing instruction can be by POE interchanger
It is powered off and is realized, it can also be by other means.
In above-mentioned network visualization implementation method, switch port is identified by being obtained in first network topological diagram
Cut-offing instruction, instruction of restarting or disabling instruction, can be such that server is directly managed to first terminal, reduce O&M cost, and
When a failure occurs it, can the terminal that breaks down of direct monitoring, improve troubleshooting efficiency.
In one embodiment, first network topological diagram is shown in second terminal, comprising: when first terminal is network shooting
Machine, and when web camera support style of opening network video Interface Forum standard agreement, according to the opening network video of input
The account information of Interface Forum standard agreement obtains the corresponding end message of web camera;It is opened up in the first network of second terminal
Flutter displaying terminal information in figure.
Wherein, opening network video Interface Forum standard agreement (Open Network Video Interface
Forum, ONVIF) refer to the puppy parc that the information exchange between network video device defines, including device search, in real time
Video, audio, metadata and control information etc..Account information includes account title and password etc..Web camera corresponding end
Client information includes terminal models and terminal name etc..
Specifically, web camera supports WS-Discovery agreement and ONVIF agreement.Server can pass through WS-
Discovery agreement actively discovers the equipment for supporting such agreement, it may be possible to IPC, NVR or other equipment, and by parsing back
Multiple protocol contents identify web camera.When first terminal be web camera, and web camera support ONVIF agreement
When, server directly acquires the corresponding end message of web camera according to the account title and password of the ONVIF agreement of input.
In above-mentioned network visualization implementation method, pass through the account information of opening network video Interface Forum standard agreement
The corresponding end message of web camera can be directly acquired, is configured without artificially importing, can improve and obtain end message
Efficiency.
In one embodiment, before obtaining the corresponding relationship of terminal iidentification and interchanger of first terminal, further includes:
The corresponding relationship for obtaining server identification and switch identification is constructed according to server identification and the corresponding relationship of switch identification
Second network topological diagram;The network visualization implementation method further include: by first network topological diagram and the second network topological diagram group
Conjunction obtains third network topological diagram.
Wherein, switch identification refers to the MAC Address or IP address of interchanger.Server identification can be one or more clothes
The mark of business device, switch identification can be one or more switch identifications.One server identification can connect multiple switch
Mark.
Specifically, the network management system in server can regularly send broadcasting packet and actively discover interchanger, when interchanger connects
Enter in network, can be responded after receiving broadcasting packet, server is the MAC Address that interchanger may be learned.Server obtains this clothes
The corresponding relationship of business device mark or other server identifications and the switch identification for being connected to the server, according to server identification
The second network topological diagram is constructed with the corresponding relationship of switch identification.Then server obtains the interchanger in first network topological diagram
Mark, is matched with the switch identification of the second network topological diagram.When the switch identification and the in first network topological diagram
When switch identification in two network topological diagrams is identical, first network topological diagram is combined to obtain third with the second network topological diagram
Network topological diagram.
In above-mentioned network visualization implementation method, by obtaining the corresponding relationship of server identification and switch identification, first
The second network topological diagram for constructing server and interchanger, further according to terminal iidentification and switch port mark building first network
Topological diagram can construct network topological diagram by easy stages, can make the terminal data for accessing network that visualization, and energy be presented
The terminal for monitoring failure can obtain the position of terminal by switch port mark, and be managed, and improve at failure
The efficiency of reason.
In one embodiment, a kind of network data method, comprising the following steps:
Step (a1) obtains server identification and switch identification, according to server identification and switch identification building the
Two network topological diagrams.
Step (a2) obtains the terminal iidentification of first terminal and the corresponding relationship of switch port mark.
Step (a3) obtains media and visits when the media access control address for detecting first terminal is added in interchanger
Ask the corresponding relationship of control address and switch port mark.
Step (a4), by address resolution protocol or Radio Broadcasting Agreements obtain first terminal media access control address and
The corresponding relationship of Internet protocol address obtains mutual according to the corresponding relationship of media access control address and switch port mark
The corresponding relationship of networking protocol address and switch port mark.
Step (a5) is retrieved as the terminal name of media access control address configuration, root according to media access control address
Pair of terminal name and switch port mark is obtained according to the corresponding relationship of media access control address and switch port mark
It should be related to.
Step (a6) is retrieved as the terminal type of media access control address configuration, is obtained according to terminal type corresponding
Terminal icon.
Step (a7), according to media access control address and the corresponding relationship of switch port mark, Internet protocol
The corresponding relationship and terminal name of location and switch port mark and the corresponding relationship of switch port mark update first eventually
The corresponding relationship of terminal iidentification and the switch port mark at end, by the terminal iidentification of first terminal, terminal icon and interchanger
At least one of port-mark be added in first network topological diagram.
Step (a8), when the media access control address for detecting first terminal is removed from interchanger, eventually second
End shows the first terminal in off-line state.
Step (a9), when getting the deletion instruction to first terminal, by the terminal iidentification of first terminal, terminal icon
It is deleted from first network topological diagram with switch port mark.
Step (a10) combines first network topological diagram and the second network topological diagram to obtain third network topological diagram.
Step (a11) shows first network topological diagram in second terminal, includes first terminal in first network topological diagram
At least one of terminal iidentification and switch port mark.
Step (a12), when detecting that the first terminal in first network topological diagram breaks down, when detecting that cursor exists
When in the region of alarm icon, the details of warning information is shown in second terminal, wherein the details packet of warning information
Include at least one of end message, flow information, failure cause and the corresponding processing rule of the failure.
Step (a13) is shown in second terminal with list mode and is alerted when detecting the triggering command to alarm icon
The details of information, wherein the warning information in list is arranged with the sequence of the time of origin of the severity of failure or failure
Column.
Step (a14), obtains the control instruction to first terminal in first network topological diagram, and control instruction includes power-off
Instruction, instruction of restarting or disabling instruction.
Step (a15) carries out corresponding operation to first terminal according to control instruction.
Above-mentioned steps (a1)-step (a15) is not that the inevitable sequence according to step numbers instruction successively executes, unless originally
Text expressly states otherwise, and there is no stringent sequences to limit for the execution of these steps, these steps can be held in the other order
Row.
In above-mentioned network visualization implementation method, identified by the terminal iidentification and switch port that obtain first terminal
Corresponding relationship constructs first network topological diagram according to the corresponding relationship, and shows the first network topological diagram;When detecting first
When terminal breaks down, corresponding warning information is shown in second terminal, the control instruction to first terminal is obtained, according to control
Instruction carries out corresponding operation to first terminal, can make the terminal data for accessing network that visualization be presented, and can monitor
The terminal of failure can be such that server is directly managed to first terminal, improve the efficiency of troubleshooting.
It should be understood that although each step in the flow chart of Fig. 2 and Fig. 4 is successively shown according to the instruction of arrow,
But these steps are not that the inevitable sequence according to arrow instruction successively executes.Unless expressly state otherwise herein, these
There is no stringent sequences to limit for the execution of step, these steps can execute in other order.Moreover, in Fig. 2 and Fig. 4
At least part step may include that perhaps these sub-steps of multiple stages or stage are not necessarily same to multiple sub-steps
One moment executed completion, but can execute at different times, and the execution in these sub-steps or stage sequence is also not necessarily
Be successively carry out, but can at least part of the sub-step or stage of other steps or other steps in turn or
Alternately execute.
In one embodiment, as shown in fig. 6, providing a kind of network visualization realization device, comprising: obtain module
602, network topological diagram display module 604 and warning information display module 606, in which:
Module 602 is obtained, for obtaining the terminal iidentification of first terminal and the corresponding relationship of interchanger.
Network topological diagram display module 604, for constructing first network topological diagram according to the corresponding relationship, and second
Terminal display first network topological diagram includes the terminal iidentification and switch port mark of first terminal in first network topological diagram
At least one of.
Warning information display module 606, for when detecting that the first terminal in first network topological diagram breaks down,
The corresponding warning information of first terminal is shown in second terminal.
In above-mentioned network visualization realization device, identified by the terminal iidentification and switch port that obtain first terminal
Corresponding relationship constructs first network topological diagram according to the corresponding relationship, and shows the first network topological diagram;When detecting first
When terminal breaks down, corresponding warning information is shown in second terminal, the terminal data for accessing network can be made to present visual
Change, and the terminal of failure can be monitored, the position of terminal can be obtained by switch port mark, and be managed,
Improve the efficiency of troubleshooting.
In one embodiment, network topological diagram display module 604 is used to update terminal iidentification and the exchange of first terminal
The corresponding relationship of machine port-mark, and first network topological diagram is updated according to corresponding relationship, wherein the terminal iidentification includes media
At least one of accessing to control address, terminal name and Internet protocol address.
In above-mentioned network visualization realization device, by updating the corresponding relationship of terminal iidentification and switch port mark,
First network topological diagram is updated according to the corresponding relationship, first network topological diagram is made to show newest network insertion state.
In one embodiment, network topological diagram display module 604 is also used to when the media interviews for detecting first terminal
When controlling in address addition interchanger, the corresponding relationship of media access control address and switch port mark is obtained;Pass through ground
Location analysis protocol or Radio Broadcasting Agreements obtain the media access control address of first terminal and the corresponding of Internet protocol address is closed
System obtains Internet protocol address with the corresponding relationship that switch port identifies according to media access control address and exchanges generator terminal
The corresponding relationship of mouth mark;The terminal name of media access control address configuration, root are retrieved as according to media access control address
Pair of terminal name and switch port mark is obtained according to the corresponding relationship of media access control address and switch port mark
It should be related to;It is retrieved as the terminal type of media access control address configuration, corresponding terminal icon is obtained according to terminal type;Root
It is identified according to corresponding relationship, Internet protocol address and the switch port of media access control address and switch port mark
Corresponding relationship and the corresponding relationship of terminal name and switch port mark update the terminal iidentification and interchanger of first terminal
The corresponding relationship of port-mark, by least one in the port-mark of the terminal iidentification of first terminal, terminal icon and interchanger
Kind is added in first network topological diagram;When the media access control address for detecting first terminal is removed from interchanger,
Second terminal shows the first terminal in off-line state;When getting the deletion instruction to first terminal, by first terminal
Terminal iidentification, terminal icon and switch port mark are deleted from first network topological diagram.
In above-mentioned network visualization realization device, closed by obtaining accessing to control address and the corresponding of switch port mark
System, the corresponding relationship of Internet protocol address and switch port mark and terminal name and the corresponding of switch port are closed
System can update the corresponding relationship of terminal iidentification and switch port mark, by terminal iidentification, terminal icon and switch port mark
At least one of knowledge is added in first network topological diagram, and the information shown in first network topological diagram can be made more comprehensive,
The first network topological diagram can be updated, first network topological diagram is made to show newest network insertion state.
In one embodiment, warning information includes alarm icon;The details of the warning information include end message,
At least one of flow information, failure cause and the corresponding processing rule of failure;Warning information display module 606 is for working as
When detecting that cursor is in the region of alarm icon, the details of warning information is shown in second terminal;When detecting to announcement
When the triggering command of alert icon, the details of warning information is shown in second terminal with list mode, wherein the announcement in list
The sequence arrangement for the time that alert information is occurred with the severity of failure or failure.
In above-mentioned network visualization realization device, through detection cursor whether in the region of alarm icon and to alarm
The triggering command of icon, can be in second terminal displaying terminal information, flow information, failure cause and the corresponding processing rule of failure
Then, the first terminal that can intuitively show failure and break down improves the efficiency of troubleshooting, reduces O&M cost.
In one embodiment, module 602 is obtained to be also used to obtain the control to first terminal in first network topological diagram
System instruction, the control instruction include cut-offing instruction, instruction of restarting or disabling instruction;First terminal is carried out according to the control instruction
Corresponding operation.
In above-mentioned network visualization realization device, switch port is identified by being obtained in first network topological diagram
Cut-offing instruction, instruction of restarting or disabling instruction, can be such that server is directly managed to first terminal, reduce O&M cost, and
When a failure occurs it, can the terminal that breaks down of direct monitoring, improve troubleshooting efficiency.
In one embodiment, network topological diagram display module 604 is used to work as first terminal as web camera, and network
When video camera supports opening network video Interface Forum standard agreement, according to the opening network video Interface Forum mark of input
The account information of quasi- agreement obtains the corresponding end message of web camera;It is shown in the first network topological diagram of second terminal
End message.
In above-mentioned network visualization realization device, pass through the account information of opening network video Interface Forum standard agreement
The corresponding end message of web camera can be directly acquired, is configured without artificially importing, can improve and obtain end message
Efficiency.
In one embodiment, the corresponding relationship that module 602 is also used to obtain server identification and switch identification is obtained;
Network topological diagram display module 604 is also used to construct the second network according to server identification and the corresponding relationship of switch identification and open up
Flutter figure;The network visualization realization device also mass composite module, composite module are used for first network topological diagram and the second net
Network topological diagram combines to obtain third network topological diagram.
In above-mentioned network visualization realization device, by obtaining the corresponding relationship of server identification and switch identification, first
The second network topological diagram for constructing server and interchanger, further according to terminal iidentification and switch port mark building first network
Topological diagram can construct network topological diagram by easy stages, can make the terminal data for accessing network that visualization, and energy be presented
The terminal for monitoring failure can obtain the position of terminal by switch port mark, and be managed, and improve at failure
The efficiency of reason.
Specific restriction about network visualization realization device may refer to above for network visualization implementation method
Restriction, details are not described herein.Modules in above-mentioned network visualization realization device can be fully or partially through software, hard
Part and combinations thereof is realized.Above-mentioned each module can be embedded in the form of hardware or independently of in the processor in computer equipment,
It can also be stored in a software form in the memory in computer equipment, execute the above modules in order to which processor calls
Corresponding operation.
In one embodiment, a kind of computer equipment is provided, which can be server, internal junction
Composition can be as shown in Figure 7.The computer equipment include by system bus connect processor, memory, network interface and
Database.Wherein, the processor of the computer equipment is for providing calculating and control ability.The memory packet of the computer equipment
Include non-volatile memory medium, built-in storage.The non-volatile memory medium is stored with operating system, computer program and data
Library.The built-in storage provides environment for the operation of operating system and computer program in non-volatile memory medium.The calculating
The database of machine equipment is for storing network topology diagram data.The network interface of the computer equipment is used for logical with external terminal
Cross network connection communication.To realize a kind of network visualization implementation method when the computer program is executed by processor.
It will be understood by those skilled in the art that structure shown in Fig. 7, only part relevant to application scheme is tied
The block diagram of structure does not constitute the restriction for the computer equipment being applied thereon to application scheme, specific computer equipment
It may include perhaps combining certain components or with different component layouts than more or fewer components as shown in the figure.
In one embodiment, a kind of computer equipment, including memory and processor are provided, is stored in memory
Computer program, the processor perform the steps of the terminal iidentification for obtaining first terminal and exchange when executing computer program
The corresponding relationship of machine port-mark constructs first network topological diagram according to the corresponding relationship;First network is shown in second terminal
Topological diagram includes at least one of terminal iidentification and switch port mark of first terminal in the first network topological diagram;
When detecting that the first terminal in first network topological diagram breaks down, the corresponding alarm of first terminal is shown in second terminal
Information.
In one embodiment, the end for updating first terminal is also performed the steps of when processor executes computer program
The corresponding relationship of end mark and switch port mark, and first network topological diagram is updated according to corresponding relationship, wherein the terminal
Mark includes at least one of media access control address, terminal name and Internet protocol address.
In one embodiment, it also performs the steps of to work as when processor executes computer program and detects first terminal
Media access control address when being added in interchanger, obtain that media access control address and switch port identify corresponding closes
System;
The media access control address and internet protocol of first terminal are obtained by address resolution protocol or Radio Broadcasting Agreements
The corresponding relationship for discussing address obtains Internet protocol according to the corresponding relationship of media access control address and switch port mark
The corresponding relationship of address and switch port mark;
The terminal name of media access control address configuration is retrieved as according to media access control address, according to media interviews
The corresponding relationship for controlling address and switch port mark obtains the corresponding relationship that terminal name and switch port identify;
It is retrieved as the terminal type of media access control address configuration, corresponding terminal icon is obtained according to terminal type;
According to corresponding relationship, Internet protocol address and the interchanger of media access control address and switch port mark
The corresponding relationship of corresponding relationship and terminal name and the switch port mark of port-mark updates the terminal mark of first terminal
The corresponding relationship with switch port mark is known, by the port-mark of the terminal iidentification of first terminal, terminal icon and interchanger
At least one of be added first network topological diagram in;
When the media access control address for detecting first terminal is removed from interchanger, second terminal show in from
The first terminal of linear state;When getting the deletion instruction to first terminal, by the terminal iidentification of first terminal, terminal icon
It is deleted from first network topological diagram with switch port mark.
In one embodiment, warning information includes alarm icon;The details of the warning information include end message,
At least one of flow information, failure cause and the corresponding processing rule of failure;Processor is gone back when executing computer program
It performs the steps of when detecting that cursor is in the region of alarm icon, shows the detailed feelings of warning information in second terminal
Condition;When detecting the triggering command to alarm icon, the details of warning information is shown in second terminal with list mode,
Wherein, the sequence arrangement for the time that the warning information in list is occurred with the severity of failure or failure.
In one embodiment, it also performs the steps of when processor executes computer program in first network topological diagram
The middle control instruction obtained to first terminal, the control instruction include cut-offing instruction, instruction of restarting or disabling instruction;According to the control
System instruction carries out corresponding operation to first terminal.
In one embodiment, it is also performed the steps of when processor executes computer program when first terminal is network
Video camera, and when web camera support style of opening network video Interface Forum standard agreement, according to the opening network of input
The account information of video interface forum standard agreement obtains the corresponding end message of web camera;In the first net of second terminal
Displaying terminal information in network topological diagram.
In one embodiment, processor execute computer program when also perform the steps of obtain server identification and
The corresponding relationship of switch identification constructs the second network topological diagram according to server identification and the corresponding relationship of switch identification;
It combines first network topological diagram and the second network topological diagram to obtain third network topological diagram.
In one embodiment, a kind of computer readable storage medium is provided, computer program is stored thereon with, is calculated
Machine program performs the steps of the correspondence of the terminal iidentification for obtaining first terminal and switch port mark when being executed by processor
Relationship constructs first network topological diagram according to the corresponding relationship;First network topological diagram, the first network are shown in second terminal
At least one of terminal iidentification and switch port mark in topological diagram including first terminal;When detecting that first network opens up
When the first terminal flutterred in figure breaks down, the corresponding warning information of first terminal is shown in second terminal.
In one embodiment, it is also performed the steps of when computer program is executed by processor and updates first terminal
The corresponding relationship of terminal iidentification and switch port mark, and first network topological diagram is updated according to corresponding relationship, wherein the end
End mark includes at least one of media access control address, terminal name and Internet protocol address.
In one embodiment, it also performs the steps of to work as when computer program is executed by processor and detects that first is whole
When the media access control address at end is added in interchanger, acquisition media access control address identifies corresponding with switch port
Relationship;
The media access control address and internet protocol of first terminal are obtained by address resolution protocol or Radio Broadcasting Agreements
The corresponding relationship for discussing address obtains Internet protocol according to the corresponding relationship of media access control address and switch port mark
The corresponding relationship of address and switch port mark;
The terminal name of media access control address configuration is retrieved as according to media access control address, according to media interviews
The corresponding relationship for controlling address and switch port mark obtains the corresponding relationship that terminal name and switch port identify;
It is retrieved as the terminal type of media access control address configuration, corresponding terminal icon is obtained according to terminal type;
According to corresponding relationship, Internet protocol address and the interchanger of media access control address and switch port mark
The corresponding relationship of corresponding relationship and terminal name and the switch port mark of port-mark updates the terminal mark of first terminal
The corresponding relationship with switch port mark is known, by the port-mark of the terminal iidentification of first terminal, terminal icon and interchanger
At least one of be added first network topological diagram in;
When the media access control address for detecting first terminal is removed from interchanger, second terminal show in from
The first terminal of linear state;When getting the deletion instruction to first terminal, by the terminal iidentification of first terminal, terminal icon
It is deleted from first network topological diagram with switch port mark.
In one embodiment, warning information includes alarm icon;The details of the warning information include end message,
At least one of flow information, failure cause and the corresponding processing rule of failure;When computer program is executed by processor
It also performs the steps of when detecting that cursor is in the region of alarm icon, shows the detailed of warning information in second terminal
Situation;When detecting the triggering command to alarm icon, the detailed feelings of warning information are shown in second terminal with list mode
Condition, wherein the sequence arrangement for the time that the warning information in list is occurred with the severity of failure or failure.
In one embodiment, it is also performed the steps of when computer program is executed by processor in first network topology
The control instruction to first terminal is obtained in figure, which includes cut-offing instruction, instruction of restarting or disabling instruction;According to this
Control instruction carries out corresponding operation to first terminal.
In one embodiment, it is also performed the steps of when computer program is executed by processor when first terminal is net
Network video camera, and when web camera support style of opening network video Interface Forum standard agreement, according to the opening net of input
The account information of network video interface forum standard agreement obtains the corresponding end message of web camera;The first of second terminal
Displaying terminal information in network topological diagram.
In one embodiment, acquisition server identification is also performed the steps of when computer program is executed by processor
With the corresponding relationship of switch identification, the second network topology is constructed according to server identification and the corresponding relationship of switch identification
Figure;In one embodiment, it is also performed the steps of when computer program is executed by processor by first network topological diagram and
Two network topological diagrams combine to obtain third network topological diagram.
Those of ordinary skill in the art will appreciate that realizing all or part of the process in above-described embodiment method, being can be with
Relevant hardware is instructed to complete by computer program, the computer program can be stored in a non-volatile computer
In read/write memory medium, the computer program is when being executed, it may include such as the process of the embodiment of above-mentioned each method.Wherein,
To any reference of memory, storage, database or other media used in each embodiment provided herein,
Including non-volatile and/or volatile memory.Nonvolatile memory may include read-only memory (ROM), programming ROM
(PROM), electrically programmable ROM (EPROM), electrically erasable ROM (EEPROM) or flash memory.Volatile memory may include
Random access memory (RAM) or external cache.By way of illustration and not limitation, RAM is available in many forms,
Such as static state RAM (SRAM), dynamic ram (DRAM), synchronous dram (SDRAM), double data rate sdram (DDRSDRAM), enhancing
Type SDRAM (ESDRAM), synchronization link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM
(RDRAM), direct memory bus dynamic ram (DRDRAM) and memory bus dynamic ram (RDRAM) etc..
Each technical characteristic of above embodiments can be combined arbitrarily, for simplicity of description, not to above-described embodiment
In each technical characteristic it is all possible combination be all described, as long as however, the combination of these technical characteristics be not present lance
Shield all should be considered as described in this specification.
The several embodiments of the application above described embodiment only expresses, the description thereof is more specific and detailed, but simultaneously
It cannot therefore be construed as limiting the scope of the patent.It should be pointed out that coming for those of ordinary skill in the art
It says, without departing from the concept of this application, various modifications and improvements can be made, these belong to the protection of the application
Range.Therefore, the scope of protection shall be subject to the appended claims for the application patent.
Claims (10)
1. a kind of network visualization implementation method, which comprises
The terminal iidentification of first terminal and the corresponding relationship of switch port mark are obtained, according to corresponding relationship building first
Network topological diagram;
The first network topological diagram is shown in second terminal, includes the end of the first terminal in the first network topological diagram
At least one of end mark and switch port mark;
When detecting that the first terminal in the first network topological diagram breaks down, described the is shown in the second terminal
The corresponding warning information of one terminal.
2. the method according to claim 1, wherein described construct first network topology according to the corresponding relationship
Figure, comprising:
The terminal iidentification of the first terminal and the corresponding relationship of switch port mark are updated, and according to the corresponding pass
System updates the first network topological diagram, wherein the terminal iidentification includes media access control address, terminal name and interconnection
At least one of fidonetFido address.
3. according to the method described in claim 2, it is characterized in that, the terminal iidentification for updating the first terminal and described
The corresponding relationship of switch port mark, and the first network topological diagram is updated according to the corresponding relationship, comprising:
When the media access control address for detecting the first terminal is added in interchanger, the media access control is obtained
The corresponding relationship of address and switch port mark;
The media access control address and internet protocol of the first terminal are obtained by address resolution protocol or Radio Broadcasting Agreements
The corresponding relationship for discussing address obtains institute according to the corresponding relationship of the media access control address and switch port mark
State the corresponding relationship of Internet protocol address and switch port mark;
The terminal name of the media access control address configuration is retrieved as according to the media access control address, according to described
The corresponding relationship that media access control address and the switch port identify obtains the terminal name and described exchanges generator terminal
The corresponding relationship of mouth mark;
It is retrieved as the terminal type of the media access control address configuration, corresponding terminal graph is obtained according to the terminal type
Mark;
According to the media access control address and the corresponding relationship of switch port mark, the Internet protocol address
With the corresponding relationship of the corresponding relationship of switch port mark and the terminal name and switch port mark
The terminal iidentification of the first terminal and the corresponding relationship of switch port mark are updated, by the terminal of the first terminal
At least one of port-mark of mark, the terminal icon and the interchanger is added in the first network topological diagram;
When the media access control address for detecting the first terminal is removed from interchanger, shown in the second terminal
In the first terminal of off-line state;
When getting the instruction of the deletion to the first terminal, by the terminal iidentification of the first terminal, the terminal icon
It is deleted from the first network topological diagram with switch port mark.
4. method according to any one of claims 1 to 3, which is characterized in that the warning information includes alarm icon;Institute
The details for stating warning information includes end message, flow information, failure cause and the corresponding processing rule of the failure
At least one of;
It is described to show the corresponding warning information of the first terminal in the second terminal, comprising:
When detecting that cursor is in the region of the alarm icon, the detailed of the warning information is shown in the second terminal
Situation;
When detecting the triggering command to the alarm icon, the alarm letter is shown in the second terminal with list mode
The details of breath, wherein warning information in the list with the severity of the failure or the failure occur when
Between sequence arrangement.
5. according to claim 1 to method described in 3 any one, which is characterized in that the method also includes:
The control instruction to the first terminal is obtained in the first network topological diagram, the control instruction includes that power-off refers to
It enables, instruction of restarting or disabling instruct;
Corresponding operation is carried out to the first terminal according to the control instruction.
6. according to claim 1 to method described in 3 any one, which is characterized in that described to show described the in second terminal
One network topological diagram, comprising:
When the first terminal is web camera, and the web camera supports opening network video Interface Forum standard
When agreement, the network shooting is obtained according to the account information of the opening network video Interface Forum standard agreement of input
The corresponding end message of machine;
The end message is shown in the first network topological diagram of the second terminal.
7. according to claim 1 to method described in 3 any one, which is characterized in that in the terminal for obtaining first terminal
Before the corresponding relationship of mark and interchanger, further includes:
The corresponding relationship for obtaining server identification and switch identification, according to the server identification and the switch identification
Corresponding relationship constructs the second network topological diagram;
The method also includes:
It combines the first network topological diagram and the second network topological diagram to obtain third network topological diagram.
8. a kind of visual network the Visual Implementation device, which is characterized in that described device includes:
Module is obtained, for obtaining the terminal iidentification of first terminal and the corresponding relationship of interchanger;
Network topological diagram display module, for constructing first network topological diagram according to the corresponding relationship, and in second terminal exhibition
Show the first network topological diagram, include in the first network topological diagram first terminal terminal iidentification and the exchange
At least one of machine port-mark;
Warning information display module, for when detecting that the first terminal in the first network topological diagram breaks down,
The second terminal shows the corresponding warning information of the first terminal.
9. a kind of computer equipment, including memory and processor, the memory are stored with computer program, feature exists
In the step of processor realizes any one of claims 1 to 7 the method when executing the computer program.
10. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the computer program
The step of method described in any one of claims 1 to 7 is realized when being executed by processor.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811570143.0A CN109510726A (en) | 2018-12-21 | 2018-12-21 | Network visualization implementation method, device, computer equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811570143.0A CN109510726A (en) | 2018-12-21 | 2018-12-21 | Network visualization implementation method, device, computer equipment and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109510726A true CN109510726A (en) | 2019-03-22 |
Family
ID=65754279
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811570143.0A Pending CN109510726A (en) | 2018-12-21 | 2018-12-21 | Network visualization implementation method, device, computer equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109510726A (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110990233A (en) * | 2019-11-28 | 2020-04-10 | 杭州安恒信息技术股份有限公司 | Method and system for displaying SOAR by using Gantt chart |
CN111654477A (en) * | 2020-05-21 | 2020-09-11 | 杭州安恒信息技术股份有限公司 | Information topology method and device of industrial control network based on FINS protocol and computer equipment |
CN111756756A (en) * | 2020-06-28 | 2020-10-09 | 深圳市信锐网科技术有限公司 | Terminal network control method and device, electronic equipment and storage medium |
CN113114510A (en) * | 2021-04-22 | 2021-07-13 | 中国科学技术大学 | Network fault information synchronization method and device |
CN115941534A (en) * | 2022-12-08 | 2023-04-07 | 贵州电网有限责任公司 | Network storm source tracing method for local area network of power system |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101146044A (en) * | 2007-10-24 | 2008-03-19 | 杭州华三通信技术有限公司 | A method and device for constructing terminal topology |
CN107104824A (en) * | 2017-03-31 | 2017-08-29 | 紫光华山信息技术有限公司 | A kind of network topology determines method and apparatus |
US20180183669A1 (en) * | 2016-12-22 | 2018-06-28 | Robert Bosch Gmbh | Main device for use in a computer network, computer network, method for configuring a computer network and computer program |
-
2018
- 2018-12-21 CN CN201811570143.0A patent/CN109510726A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101146044A (en) * | 2007-10-24 | 2008-03-19 | 杭州华三通信技术有限公司 | A method and device for constructing terminal topology |
US20180183669A1 (en) * | 2016-12-22 | 2018-06-28 | Robert Bosch Gmbh | Main device for use in a computer network, computer network, method for configuring a computer network and computer program |
CN107104824A (en) * | 2017-03-31 | 2017-08-29 | 紫光华山信息技术有限公司 | A kind of network topology determines method and apparatus |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110990233A (en) * | 2019-11-28 | 2020-04-10 | 杭州安恒信息技术股份有限公司 | Method and system for displaying SOAR by using Gantt chart |
CN110990233B (en) * | 2019-11-28 | 2023-05-30 | 杭州安恒信息技术股份有限公司 | Method and system for displaying SOAR by utilizing Gantt chart |
CN111654477A (en) * | 2020-05-21 | 2020-09-11 | 杭州安恒信息技术股份有限公司 | Information topology method and device of industrial control network based on FINS protocol and computer equipment |
CN111756756A (en) * | 2020-06-28 | 2020-10-09 | 深圳市信锐网科技术有限公司 | Terminal network control method and device, electronic equipment and storage medium |
CN111756756B (en) * | 2020-06-28 | 2022-08-05 | 深圳市信锐网科技术有限公司 | Terminal network control method and device, electronic equipment and storage medium |
CN113114510A (en) * | 2021-04-22 | 2021-07-13 | 中国科学技术大学 | Network fault information synchronization method and device |
CN115941534A (en) * | 2022-12-08 | 2023-04-07 | 贵州电网有限责任公司 | Network storm source tracing method for local area network of power system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109510726A (en) | Network visualization implementation method, device, computer equipment and storage medium | |
US10157526B2 (en) | System and method for a security system | |
CN112714138B (en) | Test method, device, equipment and storage medium based on attack flow | |
CN108259269A (en) | The monitoring method and system of the network equipment | |
CN103701583B (en) | Cipher processing apparatus and method | |
CN104065526B (en) | A kind of method and apparatus of server failure alarm | |
CN102082781A (en) | Server management system and method | |
CN105765889B (en) | Extension bridge and the method being executed by it | |
CN108897658A (en) | Primary database monitoring method, device, computer equipment and storage medium | |
US20230132861A1 (en) | Switching method and apparatus, device, and storage medium | |
CN111698127A (en) | System, method and device for monitoring state of equipment in network | |
US9280426B2 (en) | System and method for server redundancy | |
CN109361525A (en) | Restart method, apparatus, controlling terminal and medium that distributed deployment services more | |
CN110895469A (en) | Method and device for upgrading dual-computer hot standby system, electronic equipment and storage medium | |
CN110730095B (en) | Cloud computing platform-oriented data security emergency drilling method and system | |
CN109379239B (en) | Method and device for configuring access switch in OpenStack environment | |
CN111966465A (en) | Method, system, equipment and medium for modifying configuration parameters of host machine in real time | |
CN113489149B (en) | Power grid monitoring system service master node selection method based on real-time state sensing | |
CN114926163A (en) | Resource cross-chain transfer method and device | |
CN109348176A (en) | It is integrated with the wind power generating set supervisory control and data acqui sition system of video system | |
CN115296985B (en) | Breakpoint positioning method and device and electronic equipment | |
CN116684196A (en) | Network data processing method, device, communication equipment and storage medium | |
CN111343033B (en) | Network management system for multi-layer difference | |
CN108696395A (en) | Network switching device and its application process under a kind of Multi net voting isolation environment | |
CN114430310A (en) | Information processing method and device, broadband access server and storage medium |
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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20190322 |
|
RJ01 | Rejection of invention patent application after publication |