CN112383453B - Data processing method and system - Google Patents

Data processing method and system Download PDF

Info

Publication number
CN112383453B
CN112383453B CN202110052302.3A CN202110052302A CN112383453B CN 112383453 B CN112383453 B CN 112383453B CN 202110052302 A CN202110052302 A CN 202110052302A CN 112383453 B CN112383453 B CN 112383453B
Authority
CN
China
Prior art keywords
traffic
switch
server
access switch
information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202110052302.3A
Other languages
Chinese (zh)
Other versions
CN112383453A (en
Inventor
田兆楠
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Sohu New Media Information Technology Co Ltd
Original Assignee
Beijing Sohu New Media Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Sohu New Media Information Technology Co Ltd filed Critical Beijing Sohu New Media Information Technology Co Ltd
Priority to CN202110052302.3A priority Critical patent/CN112383453B/en
Publication of CN112383453A publication Critical patent/CN112383453A/en
Application granted granted Critical
Publication of CN112383453B publication Critical patent/CN112383453B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/04Processing captured monitoring data, e.g. for logfile generation
    • H04L43/045Processing captured monitoring data, e.g. for logfile generation for graphical visualisation of monitoring data
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0876Network utilisation, e.g. volume of load or congestion level
    • H04L43/0888Throughput
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
    • H04L67/025Protocols based on web technology, e.g. hypertext transfer protocol [HTTP] for remote control or remote monitoring of applications
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/75Indicating network or usage conditions on the user display

Landscapes

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

Abstract

The invention provides a data processing method and a system, wherein the method comprises the following steps: acquiring switch information of an access switch connected with a core switch of a data center and acquiring server information of a server connected with the access switch; acquiring first traffic transmission information between an access switch and a core switch and second traffic transmission information between a server and the access switch by using a specified monitoring system; and responding to an operation instruction of a user, and displaying switch information and first traffic transmission information corresponding to the access switch, and displaying server information and second traffic transmission information corresponding to the server in the front-end display interface. The network engineer can comprehensively master the operation condition of the data center according to the information displayed on the front-end display interface, and a network flow acquisition adapter is not required to be arranged, so that the maintenance cost of the data center is reduced.

Description

Data processing method and system
Technical Field
The invention relates to the technical field of data processing, in particular to a data processing method and system.
Background
In order to ensure that the data center can provide stable network services, a network engineer needs to master the use condition of network traffic and maintain the data center according to the use condition, for example, adjust a Quality of Service (QoS) policy of the network or expand the network.
The current way to maintain a data center is: and acquiring network flow by using a network flow acquisition adapter, and determining the overall operation condition of the network according to the acquired network flow. On one hand, the acquisition of the network traffic requires a corresponding network traffic acquisition adapter, which may increase the maintenance cost of the data center, and on the other hand, the network traffic acquired only by the acquisition is used as the maintenance basis of the data center, which may not comprehensively reflect the operation status of the data center.
Disclosure of Invention
In view of this, embodiments of the present invention provide a data processing method and system to solve the problems of high maintenance cost and incapability of comprehensively reflecting the operation status of a data center in the existing data center maintenance manner.
In order to achieve the above purpose, the embodiments of the present invention provide the following technical solutions:
the first aspect of the embodiments of the present invention discloses a data processing method, which includes:
the method comprises the steps of obtaining switch information of an access switch connected with a core switch of a data center, and obtaining server information of a server connected with the access switch, wherein the switch information comprises: the port number in the core switch connected to the access switch, and the IP address of the access switch, the server information includes: the port number connected with the server in the access switch and the IP address of the server;
acquiring first traffic transmission information between the access switch and the core switch and second traffic transmission information between the server and the access switch by using a specified monitoring system, wherein the first traffic transmission information comprises: a first traffic parameter flowing from the core switch to the access switch, and a second traffic parameter flowing from the access switch to the core switch, wherein the second traffic transmission information includes: a third flow parameter of the access switch flowing to the server, and a fourth flow parameter of the server flowing to the access switch;
and responding to an operation instruction of a user, displaying the switch information and the first traffic transmission information corresponding to the access switch in a front-end display interface, and displaying the server information and the second traffic transmission information corresponding to the server.
Preferably, the displaying, in response to an operation instruction of a user, the switch information and the first traffic transmission information corresponding to the access switch and the server information and the second traffic transmission information corresponding to the server in a front-end display interface includes:
responding to an instruction of a user for browsing the traffic parameters of the access switches, displaying switch icon information of each access switch in a matrix form in a first level view layer of a front-end display interface according to the port number sequence of the core switch, wherein the switch icon information comprises the switch information and the traffic parameters of the access switches, and the traffic parameters of the access switches are the first traffic parameters or the second traffic parameters;
responding to an instruction of a user for clicking switch icon information of a target access switch and an instruction of a user for browsing a flow parameter of a server connected with the target access switch, and displaying server icon information of each server connected with the target access switch in a matrix form in a second level view layer of the front-end display interface according to a port number sequence of the target access switch, wherein the target access switch is any access switch, the server icon information comprises server information and the flow parameter of the server, and the flow parameter of the server is the third flow parameter or the fourth flow parameter.
Preferably, the process of displaying the switch icon information of each access switch includes:
for each access switch, if the traffic parameter of the access switch is the first traffic parameter, displaying the corresponding switch information and the traffic value in the first traffic parameter in the switch icon information of the access switch, and displaying the corresponding first traffic ratio in the first traffic parameter in the switch icon information of the access switch in a digital and/or graphic manner, where the first traffic ratio is: the ratio of the flow of the core switch to the access switch to a first total flow is as follows: total traffic flow by the core switch to all of the access switches;
for each access switch, if the traffic parameter of the access switch is the second traffic parameter, displaying the corresponding switch information and the traffic value in the second traffic parameter in the switch icon information of the access switch, and displaying the corresponding second traffic ratio in the second traffic parameter in the switch icon information of the access switch in a digital and/or graphic manner, where the second traffic ratio is: a ratio of traffic flowing by the access switches to the core switches to a second total traffic, the second total traffic being: total traffic flowing from all of the access switches to the core switch.
Preferably, the process of presenting the server icon information of each server connected to the target access switch includes:
for each server connected with the target access switch, if the traffic parameter of the server is a third traffic parameter, displaying the corresponding server information and the traffic numerical value of the third traffic parameter in the server icon information of the server, and displaying the corresponding third traffic ratio in the third traffic parameter in the server icon information of the server in a digital and/or graphic manner, where the third traffic ratio is: the ratio of the traffic of the target access switch to the server to a third total traffic, where the third total traffic is: total traffic that the target access switch flows to all of the servers connected to it;
for each server connected with the target access switch, if the traffic parameter of the server is a fourth traffic parameter, displaying the corresponding server information and the traffic numerical value of the fourth traffic parameter in the server icon information of the server, and displaying a fourth traffic ratio in the corresponding fourth traffic parameter in the server icon information of the server in a digital and/or graphic manner, where the fourth traffic ratio is: the ratio of the traffic of the server to the target access switch to a fourth total traffic, where the fourth total traffic is: total traffic flowing to the target access switch by all servers connected to the target access switch.
Preferably, the acquiring server information of the server connected to the access switch includes:
acquiring a port number connected with the server in the access switch from an MAC table of the access switch according to an MAC address of the server connected with the access switch;
and acquiring the IP address of the server from an Address Resolution Protocol (ARP) table of the access switch by using the MAC address.
Preferably, the acquiring, by the utilization-specific monitoring system, first traffic transmission information between the access switch and the core switch and second traffic transmission information between the server and the access switch includes:
acquiring first traffic transmission information between the access switch and the core switch by using Zabbix;
and acquiring second traffic transmission information between the server and the access switch through an open falcon.
A second aspect of the embodiments of the present invention discloses a data processing system, including:
a first obtaining unit, configured to obtain switch information of an access switch connected to a core switch of a data center, and obtain server information of a server connected to the access switch, where the switch information includes: the port number in the core switch connected to the access switch, and the IP address of the access switch, the server information includes: the port number connected with the server in the access switch and the IP address of the server;
a second obtaining unit, configured to obtain, by using a designated monitoring system, first traffic transmission information between the access switch and the core switch, and obtain second traffic transmission information between the server and the access switch, where the first traffic transmission information includes: a first traffic parameter flowing from the core switch to the access switch, and a second traffic parameter flowing from the access switch to the core switch, wherein the second traffic transmission information includes: a third flow parameter of the access switch flowing to the server, and a fourth flow parameter of the server flowing to the access switch;
and the display unit is used for responding to an operation instruction of a user, displaying the switch information and the first traffic transmission information corresponding to the access switch in a front-end display interface, and displaying the server information and the second traffic transmission information corresponding to the server.
Preferably, the display unit includes:
a first display module, configured to respond to an instruction of a user to browse traffic parameters of the access switches, and display switch icon information of each access switch in a matrix form according to a port number sequence of the core switch in a first level view layer of a front-end display interface, where the switch icon information includes the switch information and the traffic parameters of the access switch, and the traffic parameters of the access switch are the first traffic parameters or the second traffic parameters;
the second display module is configured to respond to an instruction that a user clicks switch icon information of a target access switch and an instruction that the user browses a traffic parameter of a server connected to the target access switch, display, in a second-level view layer of the front-end display interface, server icon information of each server connected to the target access switch in a matrix form according to a port number sequence of the target access switch, where the target access switch is an arbitrary access switch, the server icon information includes the server information and the traffic parameter of the server, and the traffic parameter of the server is the third traffic parameter or the fourth traffic parameter.
Preferably, the first display module, configured to display the switch icon information of each access switch, is specifically configured to:
for each access switch, if the traffic parameter of the access switch is the first traffic parameter, displaying the corresponding switch information and the traffic value in the first traffic parameter in the switch icon information of the access switch, and displaying the corresponding first traffic ratio in the first traffic parameter in the switch icon information of the access switch in a digital and/or graphic manner, where the first traffic ratio is: the ratio of the flow of the core switch to the access switch to a first total flow is as follows: total traffic flow by the core switch to all of the access switches;
for each access switch, if the traffic parameter of the access switch is the second traffic parameter, displaying the corresponding switch information and the traffic value in the second traffic parameter in the switch icon information of the access switch, and displaying the corresponding second traffic ratio in the second traffic parameter in the switch icon information of the access switch in a digital and/or graphic manner, where the second traffic ratio is: a ratio of traffic flowing by the access switches to the core switches to a second total traffic, the second total traffic being: total traffic flowing from all of the access switches to the core switch.
Preferably, the second display module, configured to display server icon information of each server connected to the target access switch, is specifically configured to:
for each server connected with the target access switch, if the traffic parameter of the server is a third traffic parameter, displaying the corresponding server information and the traffic numerical value of the third traffic parameter in the server icon information of the server, and displaying the corresponding third traffic ratio in the third traffic parameter in the server icon information of the server in a digital and/or graphic manner, where the third traffic ratio is: the ratio of the traffic of the target access switch to the server to a third total traffic, where the third total traffic is: total traffic that the target access switch flows to all of the servers connected to it;
for each server connected with the target access switch, if the traffic parameter of the server is a fourth traffic parameter, displaying the corresponding server information and the traffic numerical value of the fourth traffic parameter in the server icon information of the server, and displaying a fourth traffic ratio in the corresponding fourth traffic parameter in the server icon information of the server in a digital and/or graphic manner, where the fourth traffic ratio is: the ratio of the traffic of the server to the target access switch to a fourth total traffic, where the fourth total traffic is: total traffic flowing to the target access switch by all servers connected to the target access switch.
Based on the above data processing method and system provided by the embodiments of the present invention, the method is: acquiring switch information of an access switch connected with a core switch of a data center and acquiring server information of a server connected with the access switch; acquiring first traffic transmission information between an access switch and a core switch and second traffic transmission information between a server and the access switch by using a specified monitoring system; and responding to an operation instruction of a user, and displaying switch information and first traffic transmission information corresponding to the access switch, and displaying server information and second traffic transmission information corresponding to the server in the front-end display interface. In the scheme, the switch information of each access switch connected with the core switch is collected, the server information of each server connected with the access switch, the first flow transmission information between the access switch and the core switch and the second flow transmission information between the server and the access switch are displayed in the front-end display interface, the switch information and the first flow transmission information corresponding to the access switch are displayed in the front-end display interface, the server information and the second flow transmission information corresponding to the server are displayed, a network engineer can master the operation condition of the data center comprehensively according to the information displayed on the front-end display interface, a network flow collection adapter is not required to be arranged, and the maintenance cost of the data center is reduced.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the provided drawings without creative efforts.
Fig. 1 is a schematic diagram of a connection relationship between a core switch, an access switch, and a server according to an embodiment of the present invention;
fig. 2 is a flowchart of a data processing method according to an embodiment of the present invention;
FIG. 3 is a schematic diagram of information acquisition provided by an embodiment of the present invention;
fig. 4 is a flowchart illustrating switch information, first traffic transmission information, server information, and second traffic transmission information according to an embodiment of the present invention;
fig. 5 is a schematic diagram illustrating switch information and first traffic transmission information according to an embodiment of the present invention;
fig. 6 is a schematic diagram illustrating server information and second traffic transmission information according to an embodiment of the present invention;
fig. 7 is a block diagram of a data processing system according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
In this application, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
As can be seen from the background art, a network traffic acquisition adapter is required to acquire network traffic at present, and then the overall operation condition of the network is determined according to the acquired network traffic. However, the arrangement of the network traffic collection adapter increases the maintenance cost of the data center, and the network traffic obtained by collection is only used as the maintenance basis of the data center, so that the operation condition of the data center cannot be comprehensively reflected.
Therefore, embodiments of the present invention provide a data processing method and system, which enable a network engineer to comprehensively grasp an operation status of a data center according to information displayed on a front-end display interface by acquiring switch information of each access switch connected to a core switch, server information of each server connected to the access switch, first traffic transmission information between the access switch and the core switch, and second traffic transmission information between the server and the access switch, and displaying switch information and first traffic transmission information corresponding to the access switch, and server information and second traffic transmission information corresponding to the server in the front-end display interface, and do not need to set a network traffic acquisition adapter, thereby reducing a maintenance cost of the data center.
It can be understood that the data processing method and system according to the embodiments of the present invention are applicable to a data center such as an idc (internet data center) room, where connection relationships among a core switch, an access switch, and a server corresponding to the data center are: each port of the core switch is connected with the access switch, and each port of each access switch is connected with the corresponding server.
That is to say, the network topology corresponding to the data center adopts a two-level connection structure, and in order to better explain the network topology corresponding to the data center, the connection relationship diagram among the core switch, the access switch and the server shown in fig. 1 is used for example.
In fig. 1, the first-level network topology of the data center is: one core switch is connected with a plurality of access switches, namely, the core switch is connected with the access switches through the ports of the core switch. It can be understood that the specific content of the first-level network topology of the data center is relatively fixed, and in the process of maintaining the data center, the specific content of the first-level network topology is registered to a specified system and is correspondingly maintained.
The second-level network topology of the data center is as follows: each access switch is connected to a plurality of servers corresponding thereto, i.e. for each access switch, the access switch is connected to a plurality of servers through its respective port. It can be understood that the specific content of the second-level network topology of the data center changes correspondingly with the migration of the server, so that the specific information of the server connected to the access switch can be obtained according to the MAC table and the Address Resolution Protocol (ARP) table of the access switch, and the specific content of the second-level network topology of the data center is updated to the specified database according to the specific information.
It should be noted that the network topology of the data center, such as part of the content of the network topology of the data center shown in table 1 below, may be recorded by a table structure.
Table 1:
field(s) core_sw_ip core2acc_port access_sw_ip acc2server_port server_ip updatetime
Means of Core switch IP Port in core switch for connecting access switch Access switch IP Access to ports in a switch to connect servers ServiceIP device Data update time
Part of the contents of the network topology of the data center as shown in table 1 is used for recording the table structure of the network topology of the data center, and the following are recorded: the IP of the core switch, the port of the core switch to which the access switch is connected, the IP of the access switch, the port of the access switch to which the server is connected, the IP of the server, and the data update time.
Referring to fig. 2, a flowchart of a data processing method provided by an embodiment of the present invention is shown, where the data processing method includes:
step S201: the method includes the steps of obtaining switch information of an access switch connected with a core switch of a data center, and obtaining server information of a server connected with the access switch.
It should be noted that the switch information includes: the port number of being connected with the access switch in the core switch, and the IP address of the access switch, the server information includes: the port number of the access switch connected with the server, and the IP address of the server.
In the process of implementing step S201 specifically, switch information of each access switch connected to the core switch is acquired, where the switch information of each access switch indicates: which port of the core switch the access switch is connected to, and the IP address of the access switch.
For each access switch, obtaining server information of each server connected to the access switch, the server information of each server indicating: which port of the access switch the server is connected to, and the IP address of the server.
It should be noted that, regarding the connection relationship among the core switch, the access switch, and the server, reference may be made to the content in fig. 1 in the embodiment of the present invention, and details are not described herein again.
It can be understood that, as can be seen from the above, the connection relationship between the core switch and the access switch is relatively fixed, so that the switch information of the access switch connected to the core switch can be directly obtained from the specified system.
Because the connection relationship between the access switch and the server changes along with the migration of the server, in order to ensure that accurate server information is obtained, the method for obtaining the server information of the server is as follows: the method comprises the steps of regularly reading an MAC table and an ARP table of an access switch, obtaining a port number connected with a server in the access switch from the MAC table of the access switch according to an MAC address of the server connected with the access switch, and obtaining an IP address of the server from the ARP table of the access switch by utilizing the MAC address.
It should be noted that the MAC table records a correspondence between the MAC address and the port number of the access switch, and the ARP table is used to record the conversion between the MAC address and the IP address, so that the MAC table can be used to determine the port number of the access switch to which the server is connected, and the ARP table can be used to determine the IP address of the server.
Step S202: and acquiring first traffic transmission information between the access switch and the core switch and second traffic transmission information between the server and the access switch by using the designated monitoring system.
It should be noted that the first traffic transmission information includes: the first flow parameter that core switch flowed to the access switch to reach the second flow parameter that access switch flowed to the core switch, second flow transmission information includes: a third flow parameter of the access switch flowing to the server, and a fourth flow parameter of the server flowing to the access switch.
In the process of implementing step S202 specifically, a designated monitoring system (for example, Zabbix) is used to obtain first traffic transmission information between each access switch and the core switch, that is, the first traffic transmission information of each access switch indicates: a first traffic parameter for the core switch to flow to the access switch, and a second traffic parameter for the access switch to flow to the core switch.
That is, real-time bidirectional traffic (i.e., first traffic transmission information) between the core switch and each access switch (connected to the core switch) is acquired, and in a specific implementation, the first traffic transmission information between each access switch and the core switch may be acquired using Zabbix.
It should be noted that Zabbix is a network monitoring system, and may obtain real-time bidirectional traffic of each port of the core switch from Zabbix, and update the obtained real-time bidirectional traffic to a specified database at preset intervals (for example, two minutes).
For each access switch, using a specified monitoring system (such as open falcon), obtaining second traffic transmission information between each server (connected to the access switch) and the access switch, that is, the second traffic transmission information of each server indicates: a third flow parameter of the access switch to the server, and a fourth flow parameter of the server to the access switch.
That is, for each access switch, real-time bidirectional traffic (i.e., second traffic transmission information) between the access switch and each server connected to the access switch is obtained, and in a specific implementation, the second traffic transmission information between each server and the corresponding access switch may be obtained through an open falcon.
It should be noted that the open falcon is a monitoring system, and the open falcon may be used to obtain the real-time bidirectional traffic of the network card of each server, and update the obtained real-time bidirectional traffic to the specified database every preset period (for example, two minutes).
Step S203: and responding to an operation instruction of a user, and displaying switch information and first traffic transmission information corresponding to the access switch, and displaying server information and second traffic transmission information corresponding to the server in the front-end display interface.
In the process of implementing step S203 specifically, after the switch information and the first traffic transmission information corresponding to each access switch are acquired, and the server information and the second traffic transmission information corresponding to each server are acquired, the switch information and the first traffic transmission information corresponding to each access switch and the server information and the second traffic transmission information corresponding to each server are displayed in the front-end display interface in response to an operation instruction of a user.
That is, as can be seen from the foregoing contents regarding the switch information (including the port number of the connected core switch), the first traffic transmission information (specific content of traffic transmission), the server information (including the port number of the connected access switch), and the second traffic transmission information, the content displayed in the front-end display interface can embody the network topology of the data center and the specific content of traffic transmission.
In other words, the switch information and the first traffic transmission information displayed in the front-end display interface may represent the relevant content of the access switch, where the relevant content is: the IP address of the access switch, which port to connect with the core switch, the direction of traffic transmission, and the traffic parameters. Similarly, the server information and the second traffic transmission information displayed in the front-end display interface may represent the relevant content of the server, where the relevant content is: the IP address of the server, which port to connect with the access switch, the direction of traffic transmission, and the traffic parameters.
It should be noted that, in the front-end display interface, the switch information, the first traffic transmission information, the server information, and the second traffic transmission information may be displayed in a tree cascade manner or a matrix diagram manner, and a specific display manner is not limited.
It should be further noted that, because there are many ports of the switch, for example, the core switch has 128 ports, and the access switch has 48 ports, it is difficult to display the switch information, the first traffic transmission information, the server information, and the second traffic transmission information in a tree cascade manner, so that the switch information, the first traffic transmission information, the server information, and the second traffic transmission information are preferably displayed in a matrix diagram manner, and similarly, other manners may also be used for displaying, which is not specifically limited herein.
It can be understood that, in the above steps S201 and S202, the switch information, the server information, the first traffic transmission information, and the second traffic transmission information are collected at the back end, and the switch information, the server information, the first traffic transmission information, and the second traffic transmission information are transmitted to the front-end display interface through the API interface to be displayed, and a specific process is as an information acquisition schematic diagram shown in fig. 3.
In fig. 3, the specific content of the network topology of the data center (i.e., collecting switch information and server information) is collected at the back end, and the first traffic transmission information and the second traffic transmission information are collected through Zabbix and open falcon, respectively. And transmitting the switch information, the server information, the first traffic transmission information and the second traffic transmission information to a front-end display interface through the API interface for displaying.
In the embodiment of the invention, by acquiring the switch information of each access switch connected with the core switch, the server information of each server connected with the access switch, the first traffic transmission information between the access switch and the core switch and the second traffic transmission information between the server and the access switch, and displaying the switch information and the first traffic transmission information corresponding to the access switch and the server information and the second traffic transmission information corresponding to the server in the front-end display interface, a network engineer can comprehensively master the operation condition of the data center according to the information displayed in the front-end display interface, and does not need to set a network traffic acquisition adapter, thereby reducing the maintenance cost of the data center.
In the above embodiment of the present invention, referring to fig. 4, the contents of the exhibition switch information, the first traffic transmission information, the server information, and the second traffic transmission information related in step S203 of fig. 2 show a flowchart of the exhibition switch information, the first traffic transmission information, the server information, and the second traffic transmission information provided in the embodiment of the present invention, which includes the following steps:
step S401: and responding to an instruction of a user for browsing the flow parameters of the access switches, and displaying the switch icon information of each access switch in a matrix form in a first-level view layer of the front-end display interface according to the port number sequence of the core switch.
It should be noted that the switch icon information includes switch information and a traffic parameter of the access switch, and the traffic parameter of the access switch is the first traffic parameter or the second traffic parameter.
In the process of implementing step S401 specifically, in response to an instruction of a user to browse traffic parameters of access switches, switch icon information of each access switch is displayed in a matrix form in a first-level view layer of a front-end display interface according to a port number sequence of a core switch (for example, the port numbers are arranged from small to large, and the arrangement mode is from left to right and from top to bottom), where the switch icon information of each access switch includes: the switch information and the traffic parameter of the access switch, and the traffic parameter of the access switch are the first traffic parameter or the second traffic parameter.
That is to say, if the instruction for browsing the traffic parameter of the access switch indicates that the user needs to browse the first traffic parameter, the switch icon information of each access switch is displayed in a matrix form in the first-level view layer of the front-end display interface according to the port number sequence of the core switch, the switch information and the first traffic parameter of each access switch are displayed through the switch icon information, that is, the switch information of each access switch and the first traffic parameter flowing to each access switch by the core switch can be displayed through each switch icon information in the front-end display interface.
Similarly, if the instruction for browsing the traffic parameters of the access switches indicates that the user needs to browse the second traffic parameters, the switch icon information of each access switch is displayed in a matrix form in the first-level view layer of the front-end display interface according to the port number sequence of the core switch, the switch information and the second traffic parameters of each access switch are displayed through the switch icon information, that is, the switch icon information in the front-end display interface can be used for displaying the switch information of each access switch and displaying the second traffic parameters of each access switch flowing to the core switch.
It should be noted that the flow parameter includes a corresponding flow value and a flow ratio, such as: assuming that the traffic parameter is a first traffic parameter, a traffic value of the first traffic parameter of a certain access switch is a traffic flowing from the core switch to the access switch, and a traffic ratio of the first traffic parameter is: core switch traffic to that access switch/core switch traffic to the total of all access switches.
In a specific implementation, for each access switch, if the traffic parameter of the access switch is a first traffic parameter, displaying corresponding switch information and a traffic value in the first traffic parameter in the switch icon information of the access switch, and displaying a first traffic ratio in the corresponding first traffic parameter in the switch icon information of the access switch in a digital and/or graphic manner, where the first traffic ratio is: the ratio of the flow of the core switch to the access switch to the first total flow is as follows: the core switch flows the total traffic to all access switches.
For each access switch, if the traffic parameter of the access switch is a second traffic parameter, displaying the corresponding switch information and the traffic value in the second traffic parameter in the switch icon information of the access switch, and displaying the second traffic ratio in the corresponding second traffic parameter in the switch icon information of the access switch in a digital and/or graphic manner, wherein the second traffic ratio is as follows: the ratio of the flow of the access switch to the core switch to the second total flow is: the total traffic of all access switches flowing to the core switch.
The switch icon information of each access switch displayed in the first-level view layer of the front-end display interface can represent the switch information (including an IP address and a port number of a connected core switch) of each access switch, and represent the real-time bidirectional traffic (including a specific traffic value and a traffic proportion) between each access switch and the core switch.
To better explain how the switch icon information of each access switch is shown, the illustration of fig. 5 showing the switch information and the first traffic transmission information is used for illustration.
In fig. 5, each box indicates switch icon information of an access switch, and each box includes an IP address of the access switch corresponding thereto (e.g., 172.0.1.1 in the first box of the first row), a Port number of the connected core switch (e.g., Port1 in the first box of the first row, i.e., Port1 Port connection with the core switch), a traffic value in the first traffic parameter (e.g., in:98357120bps in the first box of the first row, i.e., traffic value flowing to the access switch by the core switch), and a first traffic ratio in the first traffic parameter (e.g., 12.3% in the first box of the first row, while representing the value of 12.3% at the same time as the area of the shaded portion of the box).
It should be noted that the shaded portion of each box in fig. 5 is the first flow rate ratio in the corresponding first flow rate parameter displayed in a graphical manner.
It can be understood that, in fig. 5, in order to show the switch information and the first traffic parameter (referred to as a traffic parameter showing the in direction) of each access switch, that is, to show the traffic parameter flowing from the core switch to each access switch, correspondingly, a key is set in the first-level view layer of the front-end display interface (the "switch out direction" key in fig. 5), when the user clicks the switch out direction "key, the switch information and the second traffic parameter (referred to as a traffic parameter showing the out direction) of each access switch are shown, that is, to show the traffic parameter flowing from each access switch to the core switch, and specifically how to show the second traffic parameter may refer to the above contents, which is not described herein again.
That is to say, when the switch information and the first flow parameter are displayed on the front-end display interface, the user can switch and display the switch information and the second flow parameter in the front-end display interface by clicking the "switch out direction" key, and conversely, the user can switch and display the switch information and the first flow parameter in the front-end display interface by clicking the "switch in direction" key.
It should be noted that, switch information and a first traffic parameter are displayed by default in the first level view layer of the front-end display interface.
That is, the network topology between the core switch and the access switch and the real-time bidirectional traffic between the core switch and the access switch are visualized by the information shown in the respective blocks shown in fig. 5 described above.
Step S402: and in response to an instruction of clicking switch icon information of the target access switch by a user and an instruction of browsing flow parameters of servers connected with the target access switch by the user, displaying the server icon information of each server connected with the target access switch in a matrix form according to the port number sequence of the target access switch in a second level view layer of the front-end display interface.
It should be noted that the target access switch may be any access switch, the server icon information includes server information and a traffic parameter of the server, and the traffic parameter of the server is a third traffic parameter or a fourth traffic parameter.
According to the content of the step S401, the switch icon information of each access switch is displayed in the first level view layer of the front-end display interface, and similarly, the server icon information of a server connected to a certain access switch may be displayed in the second level view layer (sub-view layer of the first level view layer) of the front-end display interface.
In the process of implementing step S402 specifically, in response to an instruction that a user clicks switch icon information of a target access switch, that is, the user can click any switch icon information in a first level view layer of a front-end display interface (an access switch corresponding to the clicked switch icon information is a target access switch), and in response to an instruction that the user browses a traffic parameter of a server connected to the target access switch, server icon information of each server connected to the target access switch is displayed in a matrix form in a second level view layer of the front-end display interface according to a port number sequence of the target access switch (for example, the port numbers are arranged from small to large, and the arrangement manner is from left to right and from top to bottom), where the server icon information of each server connected to the target access switch includes: the server information and the traffic parameter of the server, and the traffic parameter of the server are a third traffic parameter or a fourth traffic parameter.
That is, if the instruction for browsing the browsing volume parameter of the server connected to the target access switch indicates that the user needs the third traffic parameter, the server icon information of each server connected to the target access switch is displayed in the second level view layer of the front-end display interface in a matrix form according to the sequence of the port numbers of the target access switch, and the server information and the third traffic parameter of each server connected to the target access switch are displayed through the server icon information.
Similarly, if the instruction for browsing the traffic parameters of the servers connected with the target access switch indicates that the user needs to browse the fourth traffic parameter, the server icon information of each server connected with the target access switch is displayed in a second level view layer of the front-end display interface in a matrix form according to the sequence of the port numbers of the target access switch, and the server information and the fourth traffic parameter of each server connected with the target access switch are displayed through the server icon information.
It should be noted that, the relevant meaning of the flow parameter can refer to the content in the step S401, and is not described herein again.
In a specific implementation, for each server connected to the target access switch, if the traffic parameter of the server is a third traffic parameter, displaying corresponding server information and a traffic numerical value of the third traffic parameter in server icon information of the server, and displaying a third traffic ratio in the corresponding third traffic parameter in the server icon information of the server in a digital and/or graphical manner, where the third traffic ratio is: the ratio of the traffic of the target access switch to the server to a third total traffic, where the third total traffic is: the total traffic that the target access switch flows to all servers connected to it.
For each server connected with the target access switch, if the traffic parameter of the server is a fourth traffic parameter, displaying corresponding server information and a traffic numerical value of the fourth traffic parameter in the server icon information of the server, and displaying a fourth traffic ratio in the corresponding fourth traffic parameter in the server icon information of the server in a digital and/or graphic manner, wherein the fourth traffic ratio is as follows: the ratio of the traffic of the server to the target access switch to a fourth total traffic, where the fourth total traffic is: the total traffic flowing to the target access switch by all servers connected to the target access switch.
The server icon information of each server connected with the target access switch, which is displayed in the second-level view layer in the front-end display interface, can represent the server information (including an IP address and a port number of the connected target access switch) of each server connected with the target access switch, and the real-time bidirectional traffic between each server connected with the target access switch and the target access switch.
To better explain how to present the server icon information of each server connected to the target access switch, the illustration of presenting the server information and the second traffic transmission information is illustrated by the schematic diagram shown in fig. 6.
In fig. 6, each box indicates the server icon information of a server connected to the target access switch, and each box contains the IP address of the server corresponding to the box (e.g. 10.16.0.1 in the first box in the first row), the Port number of the connected target access switch (e.g. Port1 in the first box in the first row, i.e. Port1 connected to the target access switch), the traffic value in the third traffic parameter (e.g. in:9835120bps in the first box in the first row, i.e. traffic value flowing to the server from the target access switch), and the third traffic occupancy in the third traffic parameter (e.g. 1.7% in the first box in the first row, while the area of the shaded portion of the box simultaneously indicates a value of 1.7%).
It should be noted that the shaded portion of each box in fig. 6 is a third flow ratio in the corresponding third flow parameter displayed in a graphical manner.
It can be understood that, in fig. 6, for showing the server information and the third traffic parameter (referred to as a traffic parameter showing an in direction) of each server connected to the target access switch, that is, showing the traffic parameter flowing from the target access switch to each server connected to the target access switch, correspondingly, a key (a "switch out direction" key in fig. 6) is arranged in the second level view layer of the front-end display interface, and when the user clicks the switch out direction "key, the server information and the fourth traffic parameter (referred to as a traffic parameter showing an out direction) of each server connected to the target access switch are shown, that is, showing the traffic parameter flowing from each server connected to the target access switch, and how to show the fourth traffic parameter may refer to the above contents, which is not described herein again.
That is to say, when the server information and the third flow parameter are displayed on the front-end display interface, the user may switch the server information and the fourth flow parameter in the front-end display interface by clicking the "out direction switching" button, or conversely, the user may switch the server information and the third flow parameter in the front-end display interface by clicking the "in direction switching" button.
It should be noted that, the server information and the third flow parameter are displayed by default in the second-level view layer of the front-end display interface.
That is, the network topology between the access switch and the server connected thereto and the real-time bidirectional traffic between the access switch and the server connected thereto are visualized by the information shown in the respective blocks shown in fig. 6 described above.
In the embodiment of the invention, the switch icon information of each access switch is displayed in the first-level view layer of the front-end display interface, and the server icon information of the server connected with the access switch is displayed in the second-level view layer of the front-end display interface, so that a network engineer can comprehensively master the operation condition of the data center according to the information displayed by the front-end display interface, and the operation and maintenance efficiency is improved.
Corresponding to the data processing method provided by the embodiment of the present invention, referring to fig. 7, an embodiment of the present invention further provides a structural block diagram of a data processing system, where the data processing system includes: a first acquisition unit 701, a second acquisition unit 702, and a display unit 703;
a first obtaining unit 701, configured to obtain switch information of an access switch connected to a core switch of a data center, and obtain server information of a server connected to the access switch, where the switch information includes: the port number of being connected with the access switch in the core switch, and the IP address of the access switch, the server information includes: the port number of the access switch connected with the server, and the IP address of the server.
In a specific implementation, the first obtaining unit 701, which obtains the server information, is specifically configured to: and acquiring a port number connected with the server in the access switch from an MAC table of the access switch according to the MAC address of the server connected with the access switch, and acquiring the IP address of the server from an ARP table of the access switch by using the MAC address.
A second obtaining unit 702, configured to obtain, by using the designated monitoring system, first traffic transmission information between the access switch and the core switch, and obtain second traffic transmission information between the server and the access switch, where the first traffic transmission information includes: the first flow parameter that core switch flowed to the access switch to reach the second flow parameter that access switch flowed to the core switch, second flow transmission information includes: a third flow parameter of the access switch flowing to the server, and a fourth flow parameter of the server flowing to the access switch.
In a specific implementation, the second obtaining unit 702 is specifically configured to: and acquiring first traffic transmission information between the access switch and the core switch by utilizing Zabbix, and acquiring second traffic transmission information between the server and the access switch by using open falcon.
The display unit 703 is configured to, in response to an operation instruction of a user, display switch information and the first traffic transmission information corresponding to the access switch, and display server information and second traffic transmission information corresponding to the server in a front-end display interface.
In the embodiment of the invention, by acquiring the switch information of each access switch connected with the core switch, the server information of each server connected with the access switch, the first traffic transmission information between the access switch and the core switch and the second traffic transmission information between the server and the access switch, and displaying the switch information and the first traffic transmission information corresponding to the access switch and the server information and the second traffic transmission information corresponding to the server in the front-end display interface, a network engineer can comprehensively master the operation condition of the data center according to the information displayed in the front-end display interface, and does not need to set a network traffic acquisition adapter, thereby reducing the maintenance cost of the data center.
Preferably, in conjunction with the content shown in fig. 7, the display unit 703 includes a first display module and a second display module, and the execution principle of each module is as follows:
the first display module is used for responding to an instruction of a user for browsing the flow parameters of the access switches, displaying the switch icon information of each access switch in a matrix form in a first level view layer of the front-end display interface according to the port number sequence of the core switch, wherein the switch icon information comprises the switch information and the flow parameters of the access switches, and the flow parameters of the access switches are first flow parameters or second flow parameters.
In a specific implementation, the first display module, configured to display the switch icon information of each access switch, is specifically configured to: for each access switch, if the flow parameter of the access switch is a first flow parameter, displaying corresponding switch information and a flow value in the first flow parameter in the switch icon information of the access switch, and displaying a first flow ratio in the corresponding first flow parameter in the switch icon information of the access switch in a digital and/or graphic manner, wherein the first flow ratio is as follows: the ratio of the flow of the core switch to the access switch to the first total flow is as follows: total flow of core switch flow to all access switches;
for each access switch, if the flow parameter of the access switch is the second flow parameter, displaying the corresponding switch information and the flow value in the second flow parameter in the switch icon information of the access switch, and displaying the second flow ratio in the corresponding second flow parameter in the switch icon information of the access switch in a digital and/or graphic manner, wherein the second flow ratio is as follows: the ratio of the flow of the access switch to the core switch to a second total flow, where the second total flow is: the total traffic of all access switches flowing to the core switch.
The second display module is used for responding to an instruction of a user for clicking the switch icon information of the target access switch and responding to an instruction of the user for browsing the flow parameters of the server connected with the target access switch, displaying the server icon information of each server connected with the target access switch in a matrix form in a second level view layer of the front-end display interface according to the port number sequence of the target access switch, wherein the target access switch is any access switch, the server icon information comprises the server information and the flow parameters of the server, and the flow parameters of the server are third flow parameters or fourth flow parameters.
In a specific implementation, the second display module, configured to display server icon information of each server connected to the target access switch, is specifically configured to: for each server connected with the target access switch, if the traffic parameter of the server is a third traffic parameter, displaying corresponding server information and a traffic numerical value of the third traffic parameter in server icon information of the server, and displaying a third traffic ratio in the corresponding third traffic parameter in the server icon information of the server in a digital and/or graphic manner, wherein the third traffic ratio is as follows: the ratio of the traffic of the target access switch to the server to a third total traffic, where the third total traffic is: total traffic of the target access switch to all servers connected to it;
for each server connected with the target access switch, if the traffic parameter of the server is a fourth traffic parameter, displaying corresponding server information and a traffic numerical value of the fourth traffic parameter in the server icon information of the server, and displaying a fourth traffic ratio in the corresponding fourth traffic parameter in the server icon information of the server in a digital and/or graphic manner, wherein the fourth traffic ratio is as follows: the ratio of the traffic of the server to the target access switch to a fourth total traffic, where the fourth total traffic is: the total traffic flowing to the target access switch by all servers connected to the target access switch.
In the embodiment of the invention, the switch icon information of each access switch is displayed in the first-level view layer of the front-end display interface, and the server icon information of the server connected with the access switch is displayed in the second-level view layer of the front-end display interface, so that a network engineer can comprehensively master the operation condition of the data center according to the information displayed by the front-end display interface, and the operation and maintenance efficiency is improved.
In summary, embodiments of the present invention provide a data processing method and system, which enable a network engineer to comprehensively grasp an operation status of a data center according to information displayed on a front-end display interface by acquiring switch information of each access switch connected to a core switch, server information of each server connected to the access switch, first traffic transmission information between the access switch and the core switch, and second traffic transmission information between the server and the access switch, and displaying switch information and first traffic transmission information corresponding to the access switch, and server information and second traffic transmission information corresponding to the server in the front-end display interface, and reduce a maintenance cost of the data center without setting a network traffic acquisition adapter.
The embodiments in the present specification are described in a progressive manner, and the same and similar parts among the embodiments are referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, the system or system embodiments are substantially similar to the method embodiments and therefore are described in a relatively simple manner, and reference may be made to some of the descriptions of the method embodiments for related points. The above-described system and system embodiments are only illustrative, wherein the units described as separate parts may or may not be physically separate, and the parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment. One of ordinary skill in the art can understand and implement it without inventive effort.
Those of skill would further appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, computer software, or combinations of both, and that the various illustrative components and steps have been described above generally in terms of their functionality in order to clearly illustrate this interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the invention. Thus, the present invention is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (10)

1. A method of data processing, the method comprising:
the method comprises the steps of obtaining switch information of an access switch connected with a core switch of a data center, and obtaining server information of a server connected with the access switch, wherein the switch information comprises: the port number in the core switch connected to the access switch, and the IP address of the access switch, the server information includes: the port number connected with the server in the access switch and the IP address of the server;
acquiring first traffic transmission information between the access switch and the core switch and second traffic transmission information between the server and the access switch by using a specified monitoring system, wherein the first traffic transmission information comprises: a first traffic parameter flowing from the core switch to the access switch, and a second traffic parameter flowing from the access switch to the core switch, wherein the second traffic transmission information includes: a third flow parameter flowing from the access switch to the server and a fourth flow parameter flowing from the server to the access switch, wherein a designated monitoring system for acquiring first flow transmission information between the switch and the core switch is different from a designated monitoring system for acquiring second flow transmission information between the server and the access switch;
and responding to an operation instruction of a user, displaying the switch information and the first traffic transmission information corresponding to the access switch in a front-end display interface, and displaying the server information and the second traffic transmission information corresponding to the server.
2. The method according to claim 1, wherein the displaying, in response to an operation instruction of a user, the switch information and the first traffic transmission information corresponding to the access switch and the server information and the second traffic transmission information corresponding to the server in a front-end display interface includes:
responding to an instruction of a user for browsing the traffic parameters of the access switches, displaying switch icon information of each access switch in a matrix form in a first level view layer of a front-end display interface according to the port number sequence of the core switch, wherein the switch icon information comprises the switch information and the traffic parameters of the access switches, and the traffic parameters of the access switches are the first traffic parameters or the second traffic parameters;
responding to an instruction of a user for clicking switch icon information of a target access switch and an instruction of a user for browsing a flow parameter of a server connected with the target access switch, and displaying server icon information of each server connected with the target access switch in a matrix form in a second level view layer of the front-end display interface according to a port number sequence of the target access switch, wherein the target access switch is any access switch, the server icon information comprises server information and the flow parameter of the server, and the flow parameter of the server is the third flow parameter or the fourth flow parameter.
3. The method of claim 2, wherein exposing the switch icon information for each of the access switches comprises:
for each access switch, if the traffic parameter of the access switch is the first traffic parameter, displaying the corresponding switch information and the traffic value in the first traffic parameter in the switch icon information of the access switch, and displaying the corresponding first traffic ratio in the first traffic parameter in the switch icon information of the access switch in a digital and/or graphic manner, where the first traffic ratio is: the ratio of the flow of the core switch to the access switch to a first total flow is as follows: total traffic flow by the core switch to all of the access switches;
for each access switch, if the traffic parameter of the access switch is the second traffic parameter, displaying the corresponding switch information and the traffic value in the second traffic parameter in the switch icon information of the access switch, and displaying the corresponding second traffic ratio in the second traffic parameter in the switch icon information of the access switch in a digital and/or graphic manner, where the second traffic ratio is: a ratio of traffic flowing by the access switches to the core switches to a second total traffic, the second total traffic being: total traffic flowing from all of the access switches to the core switch.
4. The method of claim 2, wherein exposing the server icon information for each server connected to the target access switch comprises:
for each server connected with the target access switch, if the traffic parameter of the server is a third traffic parameter, displaying the corresponding server information and the traffic numerical value of the third traffic parameter in the server icon information of the server, and displaying the corresponding third traffic ratio in the third traffic parameter in the server icon information of the server in a digital and/or graphic manner, where the third traffic ratio is: the ratio of the traffic of the target access switch to the server to a third total traffic, where the third total traffic is: total traffic that the target access switch flows to all of the servers connected to it;
for each server connected with the target access switch, if the traffic parameter of the server is a fourth traffic parameter, displaying the corresponding server information and the traffic numerical value of the fourth traffic parameter in the server icon information of the server, and displaying a fourth traffic ratio in the corresponding fourth traffic parameter in the server icon information of the server in a digital and/or graphic manner, where the fourth traffic ratio is: the ratio of the traffic of the server to the target access switch to a fourth total traffic, where the fourth total traffic is: total traffic flowing to the target access switch by all servers connected to the target access switch.
5. The method of claim 1, wherein obtaining server information for a server connected to the access switch comprises:
acquiring a port number connected with the server in the access switch from an MAC table of the access switch according to an MAC address of the server connected with the access switch;
and acquiring the IP address of the server from an Address Resolution Protocol (ARP) table of the access switch by using the MAC address.
6. The method of claim 1, wherein obtaining first traffic transmission information between the access switch and the core switch and obtaining second traffic transmission information between the server and the access switch using a designated monitoring system comprises:
acquiring first traffic transmission information between the access switch and the core switch by using Zabbix;
and acquiring second traffic transmission information between the server and the access switch through an open falcon.
7. A data processing system, characterized in that the system comprises:
a first obtaining unit, configured to obtain switch information of an access switch connected to a core switch of a data center, and obtain server information of a server connected to the access switch, where the switch information includes: the port number in the core switch connected to the access switch, and the IP address of the access switch, the server information includes: the port number connected with the server in the access switch and the IP address of the server;
a second obtaining unit, configured to obtain, by using a designated monitoring system, first traffic transmission information between the access switch and the core switch, and obtain second traffic transmission information between the server and the access switch, where the first traffic transmission information includes: a first traffic parameter flowing from the core switch to the access switch, and a second traffic parameter flowing from the access switch to the core switch, wherein the second traffic transmission information includes: a third flow parameter flowing from the access switch to the server and a fourth flow parameter flowing from the server to the access switch, wherein a designated monitoring system for acquiring first flow transmission information between the switch and the core switch is different from a designated monitoring system for acquiring second flow transmission information between the server and the access switch;
and the display unit is used for responding to an operation instruction of a user, displaying the switch information and the first traffic transmission information corresponding to the access switch in a front-end display interface, and displaying the server information and the second traffic transmission information corresponding to the server.
8. The system of claim 7, wherein the display unit comprises:
a first display module, configured to respond to an instruction of a user to browse traffic parameters of the access switches, and display switch icon information of each access switch in a matrix form according to a port number sequence of the core switch in a first level view layer of a front-end display interface, where the switch icon information includes the switch information and the traffic parameters of the access switch, and the traffic parameters of the access switch are the first traffic parameters or the second traffic parameters;
the second display module is configured to respond to an instruction that a user clicks switch icon information of a target access switch and an instruction that the user browses a traffic parameter of a server connected to the target access switch, display, in a second-level view layer of the front-end display interface, server icon information of each server connected to the target access switch in a matrix form according to a port number sequence of the target access switch, where the target access switch is an arbitrary access switch, the server icon information includes the server information and the traffic parameter of the server, and the traffic parameter of the server is the third traffic parameter or the fourth traffic parameter.
9. The system of claim 8, wherein the first display module configured to display the switch icon information of each of the access switches is specifically configured to:
for each access switch, if the traffic parameter of the access switch is the first traffic parameter, displaying the corresponding switch information and the traffic value in the first traffic parameter in the switch icon information of the access switch, and displaying the corresponding first traffic ratio in the first traffic parameter in the switch icon information of the access switch in a digital and/or graphic manner, where the first traffic ratio is: the ratio of the flow of the core switch to the access switch to a first total flow is as follows: total traffic flow by the core switch to all of the access switches;
for each access switch, if the traffic parameter of the access switch is the second traffic parameter, displaying the corresponding switch information and the traffic value in the second traffic parameter in the switch icon information of the access switch, and displaying the corresponding second traffic ratio in the second traffic parameter in the switch icon information of the access switch in a digital and/or graphic manner, where the second traffic ratio is: a ratio of traffic flowing by the access switches to the core switches to a second total traffic, the second total traffic being: total traffic flowing from all of the access switches to the core switch.
10. The system according to claim 8, wherein the second display module, configured to display the server icon information of each server connected to the target access switch, is specifically configured to:
for each server connected with the target access switch, if the traffic parameter of the server is a third traffic parameter, displaying the corresponding server information and the traffic numerical value of the third traffic parameter in the server icon information of the server, and displaying the corresponding third traffic ratio in the third traffic parameter in the server icon information of the server in a digital and/or graphic manner, where the third traffic ratio is: the ratio of the traffic of the target access switch to the server to a third total traffic, where the third total traffic is: total traffic that the target access switch flows to all of the servers connected to it;
for each server connected with the target access switch, if the traffic parameter of the server is a fourth traffic parameter, displaying the corresponding server information and the traffic numerical value of the fourth traffic parameter in the server icon information of the server, and displaying a fourth traffic ratio in the corresponding fourth traffic parameter in the server icon information of the server in a digital and/or graphic manner, where the fourth traffic ratio is: the ratio of the traffic of the server to the target access switch to a fourth total traffic, where the fourth total traffic is: total traffic flowing to the target access switch by all servers connected to the target access switch.
CN202110052302.3A 2021-01-15 2021-01-15 Data processing method and system Active CN112383453B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110052302.3A CN112383453B (en) 2021-01-15 2021-01-15 Data processing method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110052302.3A CN112383453B (en) 2021-01-15 2021-01-15 Data processing method and system

Publications (2)

Publication Number Publication Date
CN112383453A CN112383453A (en) 2021-02-19
CN112383453B true CN112383453B (en) 2021-04-20

Family

ID=74581835

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110052302.3A Active CN112383453B (en) 2021-01-15 2021-01-15 Data processing method and system

Country Status (1)

Country Link
CN (1) CN112383453B (en)

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101494584A (en) * 2009-02-25 2009-07-29 中国联合网络通信集团有限公司 Data transfer system
CN109218053A (en) * 2017-07-03 2019-01-15 中兴通讯股份有限公司 Implementation method, system and the storage medium of virtual data center
CN108632834A (en) * 2018-03-05 2018-10-09 郑州华力信息技术有限公司 Electric power tunnel wireless composite communication device
US10693761B2 (en) * 2018-07-02 2020-06-23 Hewlett Packard Enterprise Development Lp Computer system including multilayer switches
CN111147372B (en) * 2018-11-05 2021-05-18 华为技术有限公司 Downlink message sending and forwarding method and device

Also Published As

Publication number Publication date
CN112383453A (en) 2021-02-19

Similar Documents

Publication Publication Date Title
US11736378B1 (en) Collaborative incident management for networked computing systems
US11641319B2 (en) Network health data aggregation service
US20210119890A1 (en) Visualization of network health information
US10911263B2 (en) Programmatic interfaces for network health information
US20180091394A1 (en) Filtering network health information based on customer impact
US20100088354A1 (en) Method and System for Log File Analysis Based on Distributed Computing Network
EP0921656A2 (en) Generating reports using distributed workstations
EP1573597A2 (en) Method, system and program for network design, analysis, and optimization
WO2009032841A1 (en) Enterprise energy management system with social network approach to data analysis
CN112491719A (en) Network node selection method, equipment and storage medium
WO1998047265A1 (en) Design of computer networks
JP2003525558A (en) Method of monitoring messaging and VOIP network availability
CN109582418A (en) User behavior data collection method, device, computer installation, storage medium
CN108495075A (en) Video communication method and device
US20120030572A1 (en) Network visualization system
CN111061588A (en) Method and device for locating database abnormal source
CN109997337A (en) Network health information visuallization
US20060105775A1 (en) Method, system, and program for network design, analysis, and optimization
CN109871419A (en) A kind of map-indication method and device
CN112383453B (en) Data processing method and system
US10659310B1 (en) Discovering and mapping the relationships between macro-clusters of a computer network topology for an executing application
CN108075909A (en) A kind of method for predicting and device
CN110659096B (en) Method, device, system and storage medium for displaying network topological graph
GB2365252A (en) Network management system user interface which presents graphs of conversation information in response to user selection
CN106452831A (en) Operation and maintenance management method for GTM equipment, and terminal

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant