CN114172822A - Method and device for monitoring network equipment - Google Patents

Method and device for monitoring network equipment Download PDF

Info

Publication number
CN114172822A
CN114172822A CN202111483538.9A CN202111483538A CN114172822A CN 114172822 A CN114172822 A CN 114172822A CN 202111483538 A CN202111483538 A CN 202111483538A CN 114172822 A CN114172822 A CN 114172822A
Authority
CN
China
Prior art keywords
component
information
network device
target model
identifier
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202111483538.9A
Other languages
Chinese (zh)
Inventor
许锡阳
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Ruijie Networks Co Ltd
Original Assignee
Ruijie Networks 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 Ruijie Networks Co Ltd filed Critical Ruijie Networks Co Ltd
Priority to CN202111483538.9A priority Critical patent/CN114172822A/en
Publication of CN114172822A publication Critical patent/CN114172822A/en
Pending legal-status Critical Current

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/04Processing captured monitoring data, e.g. for logfile generation
    • 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/0805Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability

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)
  • Computer And Data Communications (AREA)

Abstract

The application provides a method and a device for monitoring network equipment, relates to the technical field of computers, and is used for realizing more refined monitoring of the network equipment.

Description

Method and device for monitoring network equipment
Technical Field
The present application relates to the field of computer technologies, and in particular, to a method and an apparatus for monitoring a network device.
Background
With the continuous development of network technology, the usage of network devices (such as switches or routers) is increasing. Monitoring the network device may be advantageous to avoid possible failures of the network device.
Currently, the monitoring is generally performed by a server in units of network devices. Specifically, a plurality of sensors are deployed around network equipment, and the sensors transmit acquired data to a server through a network. Such a monitoring method can only be performed on the network device as a whole, for example, to determine whether the network device as a whole fails, but cannot be performed on the network device in a refined manner.
Disclosure of Invention
The embodiment of the application provides a method and a device for monitoring network equipment, which are used for carrying out fine monitoring on the network equipment.
In a first aspect, an embodiment of the present application provides a method for monitoring a network device, where the method is applied in a server, and the method includes: receiving monitoring information from a network device, wherein the monitoring information comprises an identifier of the network device, an identifier of an entity component in the network device, and a current operating parameter of the entity component; obtaining target model information corresponding to the network device, where the target model information includes an identifier of the network device, an identifier of the entity component, and description information of a virtual component in a target model, where the target model represents a geometric structure of the network device, the description information of the virtual component includes location information, the location information is used to describe a relative location of the virtual component in the target model, and the relative location of the virtual component in the target model is the same as the relative location of the entity component in the network device; establishing an incidence relation between the description information of the virtual component and the working parameters of the entity component based on the identifier of the network equipment and the identifier of the entity component; and presenting the target model based on the target model information, and presenting the working parameters of the entity component based on the incidence relation in response to the selected operation of the virtual component.
In the embodiment of the application, the working parameters of the entity components of the network equipment are monitored through the network equipment, the network equipment can also realize monitoring even under the condition that no communication exists between the network equipment and the server, and the entity components in the network equipment can be specifically monitored, so that the network equipment can be finely monitored. In addition, the server can associate the working parameters of the entity components in the monitoring information with the description information of the virtual components in the target model corresponding to the network model according to the monitoring information sent by the network equipment, so that the operation condition of each entity component in the network equipment can be visually presented in a visual mode, and the position of each entity component in the network equipment can be visually displayed, so that the network equipment can be maintained subsequently.
In a possible implementation manner, obtaining the target model information corresponding to the network device includes: responding to the selected operation of one model file in at least one model file, associating the selected model file, the identifier of the network equipment and the identifier of the entity component to obtain the target model information, wherein the at least one model file is imported by the server according to the input operation, and one model file comprises the description information of the virtual component in the three-dimensional model corresponding to one type or one type of network equipment.
In the embodiment of the application, the server can directly import the model file from the outside and obtain the target model information of the target model corresponding to the network equipment according to the selected operation, so that the workload of obtaining the target model information by the server is reduced.
In a possible implementation manner, the monitoring information further includes abnormality indication information of the entity component, where the abnormality indication information is used to indicate whether the current operating parameter of the entity component is abnormal; in response to the selected operation on the virtual component, presenting the working parameters of the entity component based on the incidence relation, including: responding to the selected operation of the virtual component, if the fact that the abnormal indication information indicates that the current working parameters of the entity component are abnormal is determined, displaying the target model and the working parameters in a correlation mode, and displaying the virtual component in the target model in a highlighted mode.
In the embodiment of the application, the server can directly determine whether the corresponding entity component is abnormal according to the abnormal indication information in the detection information, and once the working parameters of the entity component are abnormal, the virtual component can be highlighted in the target model, so that a worker can find the abnormal entity component more easily, and the efficiency of maintaining the network equipment is improved.
In one possible embodiment, after receiving the monitoring information from the network device, the method further comprises: determining an adjusting algorithm corresponding to the network equipment based on the monitoring information, wherein the adjusting algorithm is used for adjusting working parameters of the network equipment; and sending the information of the adjusting algorithm to the network equipment so that the network equipment adjusts the working parameters of the entity component according to the adjusting algorithm.
In this embodiment, the server may determine, based on the monitoring information, an adjustment algorithm for adjusting the working parameters of the entity component, and send the adjustment algorithm to the network device, so that the network device adjusts the working parameters of the entity component in time according to the adjustment algorithm, thereby reducing the possibility of further occurrence of risks of the entity component.
In a second aspect, an embodiment of the present application provides a method for monitoring a network device, where the network device includes a entity component, and the method includes: obtaining the current working parameters of the entity part; associating the working parameters of the entity component, the identifier of the network equipment and the identifier of the entity component to obtain monitoring information; sending the monitoring information to a server to enable the server to execute the following operations: obtaining target model information corresponding to the network device, where the target model information includes an identifier of the network device, an identifier of the entity component, and description information of a virtual component in a target model, where the target model represents a geometric structure of the network device, the description information of the virtual component includes location information, the location information is used to describe a relative location of the virtual component in the target model, and the relative location of the virtual component in the target model is the same as the relative location of the entity component in the network device; establishing an incidence relation between the description information of the virtual component and the working parameters of the entity component based on the identifier of the network equipment and the identifier of the entity component; and presenting the target model based on the target model information, and presenting the working parameters of the entity component based on the incidence relation in response to the selected operation of the virtual component.
In one possible embodiment, obtaining the current operating parameters of the physical component includes: determining address information of the entity component, wherein the address information represents a storage address for storing an operating parameter of the entity component; and acquiring the working state of the entity component based on the storage address.
In one possible embodiment, after obtaining the current operating parameters of the physical component, the method further comprises: if the current working parameters of the entity component are determined not to meet the preset value range, determining that the entity component is abnormal, and sending an alarm signal; and adjusting the working parameters of the entity component according to an adjusting algorithm.
In one possible embodiment, before adjusting the operating parameter of the physical component according to an adjustment algorithm, the method further comprises: receiving information of the adjustment algorithm from the server, the information of the adjustment algorithm indicating the adjustment algorithm for adjusting the operating parameter of the physical component.
In a third aspect, an embodiment of the present application provides an apparatus for monitoring a network device, where the apparatus includes:
the system comprises a transceiving module, a monitoring module and a processing module, wherein the transceiving module is used for receiving monitoring information from network equipment, and the monitoring information comprises an identifier of the network equipment, an identifier of an entity component in the network equipment and current working parameters of the entity component;
an obtaining module, configured to obtain target model information corresponding to the network device, where the target model information includes an identifier of the network device, an identifier of the entity component, and description information of a virtual component in a target model, where the target model represents a geometric structure of the network device, the description information of the virtual component includes location information, the location information is used to describe a relative location of the virtual component in the target model, and a relative location of the virtual component in the target model is the same as a relative location of the entity component in the network device;
the establishing module is used for establishing an incidence relation between the description information of the virtual component and the working parameters of the entity component based on the identifier of the network equipment and the identifier of the entity component;
and the presenting module is used for presenting the target model based on the target model information and presenting the working parameters of the entity component based on the incidence relation in response to the selected operation of the virtual component.
In a possible implementation, the obtaining module is specifically configured to: responding to the selected operation of one model file in at least one model file, associating the selected model file, the identifier of the network equipment and the identifier of the entity component to obtain the target model information, wherein the at least one model file is imported by the server according to the input operation, and one model file comprises the description information of the virtual component in the three-dimensional model corresponding to one type or one type of network equipment.
In a possible implementation manner, the monitoring information further includes abnormality indication information of the entity component, where the abnormality indication information is used to indicate whether the current operating parameter of the entity component is abnormal; the presentation module is specifically configured to: responding to the selected operation of the virtual component, if the fact that the abnormal indication information indicates that the current working parameters of the entity component are abnormal is determined, displaying the target model and the working parameters in a correlation mode, and displaying the virtual component in the target model in a highlighted mode.
In a possible implementation, the apparatus further comprises a determination module, wherein: the determining module is used for determining an adjusting algorithm corresponding to the network equipment based on the monitoring information after receiving the monitoring information from the network equipment, and the adjusting algorithm is used for adjusting the working parameters of the network equipment; the transceiver module is further configured to send information of the adjustment algorithm to the network device, so that the network device adjusts the operating parameters of the entity component according to the adjustment algorithm.
In a fourth aspect, an embodiment of the present application provides an apparatus for monitoring a network device, where the apparatus includes:
the obtaining module is used for obtaining the current working parameters of the entity component; the association module is used for associating the working parameters of the entity component, the identifier of the network equipment and the identifier of the entity component to obtain monitoring information; a transceiver module, configured to send the monitoring information to a server, so that the server performs the following operations: obtaining target model information corresponding to the network device, where the target model information includes an identifier of the network device, an identifier of the entity component, and description information of a virtual component in a target model, where the target model represents a geometric structure of the network device, the description information of the virtual component includes location information, the location information is used to describe a relative location of the virtual component in the target model, and the relative location of the virtual component in the target model is the same as the relative location of the entity component in the network device; establishing an incidence relation between the description information of the virtual component and the working parameters of the entity component based on the identifier of the network equipment and the identifier of the entity component; and presenting the target model based on the target model information, and presenting the working parameters of the entity component based on the incidence relation in response to the selected operation of the virtual component.
In a possible implementation, the obtaining module is specifically configured to: determining address information of the entity component, wherein the address information represents a storage address for storing an operating parameter of the entity component; and acquiring the working state of the entity component based on the storage address.
In a possible implementation manner, the apparatus further includes an alarm module, where the alarm module is specifically configured to: after obtaining the current working parameters of the entity component, if the current working parameters of the entity component are determined not to meet the preset value range, determining that the entity component is abnormal, and sending an alarm signal; and adjusting the working parameters of the entity component according to an adjusting algorithm.
In a possible implementation, the transceiver module is further configured to: receiving, from the server, information of an adjustment algorithm indicating the adjustment algorithm used to adjust the operating parameters of the physical component before adjusting the operating parameters of the physical component according to the adjustment algorithm.
In a fifth aspect, an embodiment of the present application provides a system for monitoring a network device, where the system includes: an apparatus as claimed in the third aspect and an apparatus as claimed in the fourth aspect.
In a sixth aspect, an embodiment of the present application provides an apparatus for monitoring a network device, including: at least one processor, and a memory communicatively coupled to the at least one processor; wherein the memory stores instructions executable by the at least one processor, the at least one processor implementing the method of any one of the first or second aspects by executing the instructions stored by the memory.
In a seventh aspect, this application embodiment provides a computer-readable storage medium storing computer instructions that, when executed on a computer, cause the computer to perform the method according to any one of the first aspect or the second aspect.
With regard to the advantageous effects of the second to seventh aspects, reference may be made to the advantageous effects discussed with reference to the first aspect, which will not be described in detail herein.
Drawings
Fig. 1 is a schematic view of an application scenario applicable to the embodiment of the present application;
fig. 2 is a schematic structural diagram of a network device in fig. 1 according to an embodiment of the present disclosure;
fig. 3 is a schematic structural diagram of a server in fig. 1 according to an embodiment of the present disclosure;
fig. 4 is a flowchart illustrating a method for monitoring a network device according to an embodiment of the present application;
fig. 5 is a schematic diagram of a data synchronization process provided in an embodiment of the present application;
fig. 6 is a schematic process diagram for associating description information of a virtual component with description information of an entity component according to an embodiment of the present application;
FIG. 7 is a schematic structural diagram of a target model according to an embodiment of the present disclosure;
fig. 8 is a first schematic structural diagram of an apparatus for monitoring a network device according to an embodiment of the present disclosure;
fig. 9 is a schematic structural diagram of a device for monitoring a network device according to an embodiment of the present application;
fig. 10 is a third schematic structural diagram of an apparatus for monitoring a network device according to an embodiment of the present application.
Detailed Description
In order to better understand the technical solutions provided by the embodiments of the present application, the following detailed description is made with reference to the drawings and specific embodiments.
In order to more clearly explain the technical solutions in the embodiments of the present application, technical terms in the embodiments of the present application are described below.
1. The network device in the embodiments of the present application refers to an electronic device, such as a switch or a router, required for communication and interaction between devices on a computer network. The network device may be, for example, an embedded device.
2. The open graphics library (WebGL) in the embodiment of the application is a 3D drawing protocol, and can provide hardware 3D accelerated rendering for HTML5 Canvas, so that a Web developer can display a 3D model in a browser more smoothly by using a system graphics card.
3. Js in the embodiment of the application belongs to a WebGL third-party library written by JavaScript. Which provides a very large number of 3D display functions.
In order to implement more refined monitoring on network equipment, an embodiment of the present application provides a method for monitoring network equipment, in which a server may directly obtain working parameters of a current entity component of the network equipment from the network equipment, and based on the working parameters of the entity component of the network equipment, a target model corresponding to the network equipment is displayed in a visual manner, and a condition corresponding to each virtual component in the network equipment is displayed in the target model.
Fig. 1 is a schematic view of an application scenario applicable to the embodiment of the present application, and may also be understood as a schematic view of an architecture of a system for monitoring a network device according to the embodiment of the present application. As shown in fig. 1, the application scenario includes a network device 110 and a server 120.
The network device 110 is configured to monitor operating parameters of its own entity component, and report the operating parameters to the server 120. The server 120 displays the target model corresponding to the network device 110 based on the reported working parameters of the entity component. The specific process involved in monitoring the network device will be described below.
It should be noted that the number of the network devices 110 in fig. 1 may be one or more, and in fig. 1, the first network device 111 and the second network device 112 are taken as an example. Similarly, the specific type of the network device 110 may also be various, such as a router or a switch, which is not limited in this embodiment. The number of the servers 120 in fig. 1 may be one or more, and the type of the server may be a virtual server or a physical server, which is not limited in this embodiment of the present application.
Fig. 2 is a schematic structural diagram of a network device according to an embodiment of the present application. As shown in fig. 2, the network device includes a device information configuration module, a device polling module, a device driving module, a first database, a data synchronization module, a monitoring module, and a monitoring information configuration module. The functions of the respective modules are described below.
And the equipment information configuration module is used for configuring the address information of the entity component in the network equipment, and the address information represents a storage address for storing the working parameters of the entity component. The device information configuration module can be realized by a Field Programmable Gate Array (FPGA). The address information is, for example, i2c bus number, i2c address, offset from the bus, and the like.
And the device driving module is used as a bridge between the hardware status polling module and the entity component, and is used for reading the configuration information of the entity component, providing an i2c reading interface of the entity component and the like.
And the hardware state polling module can comprise an application program and is used for polling the hardware state by calling the equipment driving module and storing a polling result into the first database. The adjustment value of the working parameter of the first database set in the upper layer and the like can be obtained, and the adjustment value is written into the entity component.
The first database, which may also be regarded as a local database of the network device, may be implemented by a remote dictionary service (REDIS) database, where the REDIS database is an open-source log-type key-value database written in ANSIC language, capable of supporting a network, based on a memory, and also capable of being persisted. The first database may store operating parameters of the physical components, such as operating parameters of fans in the network device (e.g., status, speed, number, type, hardware serial number and name, etc.), temperature of processors in the network device, fault status of power supplies in the network device, number of voltage paths, and voltage status, among others.
And the intelligent monitoring module is used for acquiring the information in the first database, confirming the fault state of the entity component, and determining the fault state of the entity component through a threshold comparison method. The intelligent monitoring module can also set corresponding warning signals, such as warning lamps with different colors, according to the fault state of the entity component. The intelligent monitoring module can also adjust the working parameters of the entity component, such as the rotating speed of the fan.
And the monitoring information configuration module is used for storing configuration information of the intelligent monitoring module, such as one or more of warning lamp color, whether corresponding functions in the intelligent monitoring module are started, fan grade, voltage threshold, warning log effectiveness, temperature threshold and the like.
And the data synchronization module is used for synchronizing the first database and the second database. For example, the data synchronization module can employ a publish-subscribe model (a messaging paradigm in which a sender of a message does not send the message directly to a particular recipient, the publisher publishes the message to an intermediate message broker, and the subscriber registers subscriptions with the message broker, which is filtered by the message broker, which typically performs store-and-forward functions to send messages from the publisher to the subscriber). The data synchronization module in the embodiment of the present application may be regarded as an agent.
It should be noted that fig. 2 exemplifies a structure of a network device, but a module included in an actual network device may be various, and this is not limited in this embodiment of the present application.
Fig. 3 is a schematic structural diagram of a server according to an embodiment of the present application. Referring to fig. 3, the server includes a visualization module and a second database.
The visualization module is used for visually displaying the working parameters of the entity component. The visualization module can support the functions of model management, working parameter management, model interaction, monitoring and adjusting algorithm association, visual display and the like. The second database, which may be referred to as a global database, may be used to store the operating status of the physical components, the identity of the physical components of the network device, and the object model information of the network device, among other things.
It should be noted that fig. 3 exemplifies a structure of the server, but the actual server may include various modules, which is not limited in this embodiment of the present application.
Fig. 4 is a flowchart illustrating a method for monitoring a network device according to an embodiment of the present disclosure. The method for monitoring network devices in the embodiment of the present application is described below with reference to fig. 4.
S41, the network device obtains the operating parameters of the entity component.
Specifically, the network device may collect the operating parameters of the entity component in real time or periodically, and write the operating parameters of the entity component in the corresponding storage address. The network device determines address information corresponding to the memory address, the address information indicating the memory address for storing the operating parameter of the physical component, the address information being, for example, i2c bus number, i2c address, and offset with respect to the bus. The network device can obtain the working parameters of the entity component from the storage address in real time or periodically according to the address information. The operating parameters of the physical component include current operating parameters of the physical component, such as the current speed of the fan. The operating parameters of the entity component also include status information of the entity component, the status information including one or more of start status information indicating whether the entity component is started and a fault status indicating whether the entity component is faulty.
It should be noted that the entity component is one or more entity components in the network device, and the number of the entity components is not limited in the embodiments of the present application. Physical components such as one or both of a processor and a fan in a network device. If the number of the entity components is multiple, the address information corresponding to each entity component may be different.
The following describes an example process of obtaining the operating parameters of the entity component, taking the structure of the network device shown in fig. 2 as an example.
The network device may obtain operating parameters of the entity component based on the address information via the device polling module. Further, the device polling module may write the obtained operating parameters of the physical component into the first database. Of course, the first database may have the identifier of the network device and the identifier of the entity component corresponding to the network device stored in advance. Or, the device polling module may write the operating parameters of the entity component, the identifier of the network device, and the identifier of the entity component corresponding to the network device into the first database.
In a possible embodiment, if it is determined that the current working parameter of the entity component does not satisfy the preset value range, the network device determines that the entity component is abnormal, and sends an alarm signal, so that the working parameter of the entity component can be adjusted according to an adjustment algorithm. The adjustment algorithm may be pre-configured in the network device or obtained from the server, e.g. the network device receives information of the adjustment algorithm from the server, the information of the adjustment algorithm indicating the adjustment algorithm. It should be noted that the adjustment algorithms corresponding to different physical components in the network device may be the same or different.
And S42, the network equipment acquires the monitoring information.
After the network device obtains the operating parameters, the operating parameters of the entity component may be associated with the identifier of the entity component, so as to obtain the monitoring information. The identifier of the entity component is used to uniquely indicate the entity component in the network device, for example, the address or name of the entity component, and the application does not limit the specific content of the identifier of the entity component.
Further, the monitoring information also includes an identification of the network device. The identification of the network device is used to uniquely identify the network device, for example, the model or media access control address of the network device.
And S43, the network equipment sends monitoring information to the server.
For example, the network device synchronizes the obtained monitoring information of the entity component to the second database in the server through the data synchronization module, which is equivalent to the network device sending the monitoring information to the server.
Fig. 5 is a schematic diagram of a data synchronization process according to an embodiment of the present application. As shown in fig. 5, the data polling module may obtain the operating parameters of the entity component of the network device according to the address information, and store the operating parameters of the entity component in the first database. The first database and the second database both adopt redis as storage databases, and the redis databases store data in a key value mode. For example, the key in the first database is the identifier of the entity component, and the value is the operating parameter corresponding to the entity component.
The first database may use, as an identifier of a certain physical component, location information or the like where attribute information (e.g., fan speed) of a specific physical component (e.g., fan) is located, and use the identifier of the physical component as a key of the first database. The key can be used to search the working parameters corresponding to the entity component from the first database.
The data synchronization module acquires the working parameters of the entity components in the first database, and then synchronizes the working parameters of the entity components to the second database.
S44, the server obtains the target model information of the network device.
The object model information is used to describe an object model corresponding to the network device. The target model information includes an identifier of the network device, an identifier of the entity component, and description information of the virtual component in the target model, the target model represents a geometric structure of the network device, the description information of the virtual component includes position information, the position information is used for describing a relative position of the virtual component in the target model, and the relative position of the virtual component in the target model is the same as the relative position of the entity component in the network device.
The server may be preconfigured with the object model information for the network device. Or, the server may obtain the target model information corresponding to the network device according to the at least one model file. For example, the server may import at least one model file according to the input operation, where one model file includes description information of a virtual component in a stereoscopic model corresponding to one or a class of network devices. And the server associates the selected model file, the identifier of the network equipment and the identifier of the entity component according to the selected operation of one model file in the at least one model file to obtain the target model information. Therefore, the server is not required to generate the model file, and the processing amount of the server is reduced.
S45, the server establishes the association between the description information of the virtual component and the working parameters of the entity component based on the identification of the network device and the identification of the entity component.
As discussed above, the target model information includes an identification of the physical component and an identification of the network device, and the monitoring information also includes an identification of the physical component, so the server can associate the operating parameters of the physical component in the monitoring information with the description information of the virtual component.
Referring to fig. 6, a process diagram for associating description information of a virtual component with description information of an entity component according to an embodiment of the present application is provided. The server imports at least one model file (e.g., model file 1, model file 2 … model file N shown in fig. 6), for example, the server imports the model file based on WebGL, generates a model identifier corresponding to the model file, and records path information corresponding to the model file, as shown in fig. 6, where model ID _ N is used to represent the model file N, and its corresponding path information is represented as path information _ N. Further, the server determines the model file corresponding to the network device according to the input operation of the user, that is, the identifier of the physical component corresponding to the model (referred to as the identifier of the device hardware in fig. 6) can be determined, and naturally, the identifier of the model corresponding to the virtual component (referred to as the model part in fig. 6) can also be obtained. Similarly, the server may establish an association relationship between the virtual description information of the virtual component and the operating parameters of the entity component according to the device serial number (part of the identifier of the network device) and the identifier of the hardware (part of the identifier of the network device).
As one embodiment, the format of the model file may be in the obj file format. The universal degree of the obj file format is higher, and the model files corresponding to more types of network equipment can be obtained.
And S46, presenting the target model based on the target model information, and presenting the working parameters of the entity component based on the incidence relation in response to the selection operation of the virtual component.
The server can display the target model corresponding to the network device according to the target model information. For example, please refer to fig. 7, which is a schematic structural diagram of an object model according to an embodiment of the present disclosure, where the object model may display an entire structure of the object model and edges of the object model. In addition, a camera, a rendering range, a coordinate system in which a background color and a model are located, a light source, and the like can also be displayed.
Further, the server can display the working parameters related to the virtual component according to the selected operation of the virtual component in the target model, and the visual checking of the working parameters of the virtual component is facilitated.
In one possible embodiment, if the operating parameters of the physical component include status information of the physical component, the server may directly determine whether the physical component is faulty after obtaining the operating parameters of the physical component. If the physical component is determined to have a fault, the server may highlight the virtual component corresponding to the physical component while displaying the target model. The highlighted display means that the virtual component corresponding to the physical component is displayed in the target model so as to be distinguished from other virtual components, the other virtual components are virtual components corresponding to the physical components other than the failed physical component in the target model, for example, the other components in the target model are displayed in gray, and the virtual components corresponding to the abnormal physical components are displayed in red.
Based on the same inventive concept, an embodiment of the present application provides a device for monitoring a network device, where the device for monitoring a network device can implement the function of the foregoing server, please refer to fig. 8, and the device for monitoring a network device includes: a transceiver module 801, configured to receive monitoring information from a network device, where the monitoring information includes an identifier of the network device, an identifier of an entity component in the network device, and a current operating parameter of the entity component; an obtaining module 802, configured to obtain target model information corresponding to a network device, where the target model information includes an identifier of the network device, an identifier of an entity component, and description information of a virtual component in a target model, the target model represents a geometric structure of the network device, the description information of the virtual component includes location information, the location information is used to describe a relative location of the virtual component in the target model, and the relative location of the virtual component in the target model is the same as the relative location of the entity component in the network device; an establishing module 803, configured to establish an association relationship between the description information of the virtual component and the working parameters of the entity component based on the identifier of the network device and the identifier of the entity component; and the presenting module 804 is used for presenting the target model based on the target model information, responding to the selected operation of the virtual component, and presenting the working parameters of the entity component based on the incidence relation.
In a possible implementation, the obtaining module 802 is specifically configured to: responding to the selected operation of one model file in at least one model file, associating the selected model file, the identification of the network equipment and the identification of the entity component to obtain target model information, wherein the at least one model file is imported by the server according to the input operation, and one model file comprises description information of the virtual component in the three-dimensional model corresponding to one type or one type of network equipment.
In a possible implementation manner, the monitoring information further includes abnormality indication information of the entity component, and the abnormality indication information is used for indicating whether the current working parameter of the entity component is abnormal; the presenting module 804 is specifically configured to: responding to the selected operation of the virtual component, if the fact that the abnormality indication information indicates that the current working parameters of the entity component are abnormal is determined, displaying the target model and the working parameters in a correlation mode, and displaying the virtual component in the target model in a highlighted mode.
In a possible implementation, the apparatus further comprises a determining module 805, wherein: the determining module 805 is configured to determine, after receiving the monitoring information from the network device, an adjusting algorithm corresponding to the network device based on the monitoring information, where the adjusting algorithm is used to adjust an operating parameter of the network device; the transceiver module is further configured to send information of the adjustment algorithm to the network device, so that the network device adjusts the operating parameters of the entity component according to the adjustment algorithm.
It should be noted that the determination module in fig. 8 is optional. The apparatus in fig. 8 may be used to implement any of the methods for monitoring a network device discussed above, which is not limited in this application.
Based on the same inventive concept, an embodiment of the present application provides a device for monitoring a network device, where the device for monitoring a network device can implement the function of the foregoing network device, please refer to fig. 9, and the device includes: an obtaining module 901, configured to obtain current operating parameters of an entity component; an association module 902, configured to associate a working parameter of an entity component, an identifier of a network device, and an identifier of the entity component to obtain monitoring information; a transceiver 903, configured to send monitoring information to a server, so that the server performs the following operations: obtaining target model information corresponding to the network device, wherein the target model information comprises an identifier of the network device, an identifier of the entity component and description information of a virtual component in the target model, the target model represents a geometric structure of the network device, the description information of the virtual component comprises position information, the position information is used for describing the relative position of the virtual component in the target model, and the relative position of the virtual component in the target model is the same as the relative position of the entity component in the network device; based on the identifier of the network equipment and the identifier of the entity component, establishing an incidence relation between the description information of the virtual component and the working parameters of the entity component; and presenting the target model based on the target model information, and presenting the working parameters of the entity component based on the incidence relation in response to the selected operation of the virtual component.
In a possible implementation, the obtaining module 901 is specifically configured to: determining address information of the entity component, wherein the address information represents a storage address for storing the working parameters of the entity component; based on the memory address, the operating state of the physical component is obtained.
In a possible implementation manner, the apparatus further includes an alarm module 904, where the alarm module is specifically configured to: after the current working parameters of the entity component are obtained, if the current working parameters of the entity component are determined not to meet the preset value range, the entity component is determined to be abnormal, and an alarm signal is sent out; and adjusting the working parameters of the entity component according to the adjusting algorithm.
In one possible implementation, the transceiver module 903 is further configured to: receiving information of an adjustment algorithm from the server before adjusting the operating parameters of the entity component according to the adjustment algorithm, the information of the adjustment algorithm indicating an adjustment algorithm for adjusting the operating parameters of the entity component.
It should be noted that the alarm module in fig. 9 is optional. The apparatus in fig. 9 may be used to implement any of the methods for monitoring a network device discussed above, which is not limited in this application.
Based on the same inventive concept, the embodiment of the present application provides a system for monitoring network devices, which includes the apparatus shown in fig. 8 and the apparatus shown in fig. 9. In addition, the system for monitoring network devices may also implement any of the foregoing methods for monitoring network devices, which are not listed here.
Based on the same inventive concept, an embodiment of the present application provides an apparatus for monitoring a network device, please refer to fig. 10, where the apparatus includes: at least one processor 1001, and memory 1002 communicatively coupled to the at least one processor 1001; the memory 1002 stores instructions executable by the at least one processor 1001, and the at least one processor 1001 implements the method for monitoring a network device as described above by executing the instructions stored in the memory 1002.
Based on the same inventive concept, embodiments of the present application provide a computer-readable storage medium storing computer instructions that, when executed on a computer, cause the computer to perform the method of monitoring a network device as any one of the above.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While the preferred embodiments of the present application have been described, additional variations and modifications in those embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including preferred embodiments and all alterations and modifications as fall within the scope of the application.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present application without departing from the spirit and scope of the application. Thus, if such modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is intended to include such modifications and variations as well.

Claims (13)

1. A method for monitoring network equipment, which is applied to a server, comprises the following steps:
receiving monitoring information from a network device, wherein the monitoring information comprises an identifier of the network device, an identifier of an entity component in the network device, and a current operating parameter of the entity component;
obtaining target model information corresponding to the network device, where the target model information includes an identifier of the network device, an identifier of the entity component, and description information of a virtual component in a target model, where the target model represents a geometric structure of the network device, the description information of the virtual component includes location information, the location information is used to describe a relative location of the virtual component in the target model, and the relative location of the virtual component in the target model is the same as the relative location of the entity component in the network device;
establishing an incidence relation between the description information of the virtual component and the working parameters of the entity component based on the identifier of the network equipment and the identifier of the entity component;
and presenting the target model based on the target model information, and presenting the working parameters of the entity component based on the incidence relation in response to the selected operation of the virtual component.
2. The method of claim 1, wherein obtaining the target model information corresponding to the network device comprises:
responding to the selected operation of one model file in at least one model file, associating the selected model file, the identifier of the network equipment and the identifier of the entity component to obtain the target model information, wherein the at least one model file is imported by the server according to the input operation, and one model file comprises the description information of the virtual component in the three-dimensional model corresponding to one type or one type of network equipment.
3. The method according to claim 1 or 2, wherein the monitoring information further comprises abnormality indication information of the entity component, the abnormality indication information being used for indicating whether the current operating parameters of the entity component are abnormal;
in response to the selected operation on the virtual component, presenting the working parameters of the entity component based on the incidence relation, including:
responding to the selected operation of the virtual component, if the fact that the abnormal indication information indicates that the current working parameters of the entity component are abnormal is determined, displaying the target model and the working parameters in a correlation mode, and displaying the virtual component in the target model in a highlighted mode.
4. The method of claim 1 or 2, wherein after receiving monitoring information from a network device, the method further comprises:
determining an adjusting algorithm corresponding to the network equipment based on the monitoring information, wherein the adjusting algorithm is used for adjusting working parameters of the network equipment;
and sending the information of the adjusting algorithm to the network equipment so that the network equipment adjusts the working parameters of the entity component according to the adjusting algorithm.
5. A method for monitoring a network device, wherein the method is applied to the network device, and the network device comprises a entity component, and the method comprises the following steps:
obtaining the current working parameters of the entity part;
associating the working parameters of the entity component, the identifier of the network equipment and the identifier of the entity component to obtain monitoring information;
sending the monitoring information to a server to enable the server to execute the following operations:
obtaining target model information corresponding to the network device, where the target model information includes an identifier of the network device, an identifier of the entity component, and description information of a virtual component in a target model, where the target model represents a geometric structure of the network device, the description information of the virtual component includes location information, the location information is used to describe a relative location of the virtual component in the target model, and the relative location of the virtual component in the target model is the same as the relative location of the entity component in the network device;
establishing an incidence relation between the description information of the virtual component and the working parameters of the entity component based on the identifier of the network equipment and the identifier of the entity component;
and presenting the target model based on the target model information, and presenting the working parameters of the entity component based on the incidence relation in response to the selected operation of the virtual component.
6. The method of claim 5, wherein obtaining current operating parameters of the physical component comprises:
determining address information of the entity component, wherein the address information represents a storage address for storing an operating parameter of the entity component;
and acquiring the working state of the entity component based on the storage address.
7. The method of claim 5, wherein after obtaining the current operating parameters of the physical component, the method further comprises:
if the current working parameters of the entity component are determined not to meet the preset value range, determining that the entity component is abnormal, and sending an alarm signal;
and adjusting the working parameters of the entity component according to an adjusting algorithm.
8. The method of any of claims 5-7, wherein prior to adjusting the operating parameter of the physical component in accordance with an adjustment algorithm, the method further comprises:
receiving information of the adjustment algorithm from the server, the information of the adjustment algorithm indicating the adjustment algorithm for adjusting the operating parameter of the physical component.
9. An apparatus for monitoring a network device, the apparatus comprising:
the system comprises a transceiving module, a monitoring module and a processing module, wherein the transceiving module is used for receiving monitoring information from network equipment, and the monitoring information comprises an identifier of the network equipment, an identifier of an entity component in the network equipment and current working parameters of the entity component;
an obtaining module, configured to obtain target model information corresponding to the network device, where the target model information includes an identifier of the network device, an identifier of the entity component, and description information of a virtual component in a target model, where the target model represents a geometric structure of the network device, the description information of the virtual component includes location information, the location information is used to describe a relative location of the virtual component in the target model, and a relative location of the virtual component in the target model is the same as a relative location of the entity component in the network device;
the establishing module is used for establishing an incidence relation between the description information of the virtual component and the working parameters of the entity component based on the identifier of the network equipment and the identifier of the entity component;
and the presenting module is used for presenting the target model based on the target model information and presenting the working parameters of the entity component based on the incidence relation in response to the selected operation of the virtual component.
10. An apparatus for monitoring a network device, the apparatus comprising:
the obtaining module is used for obtaining the current working parameters of the entity component;
the association module is used for associating the working parameters of the entity component, the identifier of the network equipment and the identifier of the entity component to obtain monitoring information;
a transceiver module, configured to send the monitoring information to a server, so that the server performs the following operations:
obtaining target model information corresponding to the network device, where the target model information includes an identifier of the network device, an identifier of the entity component, and description information of a virtual component in a target model, where the target model represents a geometric structure of the network device, the description information of the virtual component includes location information, the location information is used to describe a relative location of the virtual component in the target model, and the relative location of the virtual component in the target model is the same as the relative location of the entity component in the network device;
establishing an incidence relation between the description information of the virtual component and the working parameters of the entity component based on the identifier of the network equipment and the identifier of the entity component;
and presenting the target model based on the target model information, and presenting the working parameters of the entity component based on the incidence relation in response to the selected operation of the virtual component.
11. A system for detecting network devices, comprising an apparatus according to claim 9 and an apparatus according to claim 10.
12. An apparatus for monitoring a network device, comprising:
at least one processor, and
a memory communicatively coupled to the at least one processor;
wherein the memory stores instructions executable by the at least one processor, the at least one processor implementing the method of any one of claims 1-4 or 5-8 by executing the instructions stored by the memory.
13. A computer-readable storage medium having stored thereon computer instructions which, when executed on a computer, cause the computer to perform the method of any one of claims 1-4 or 5-8.
CN202111483538.9A 2021-12-07 2021-12-07 Method and device for monitoring network equipment Pending CN114172822A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111483538.9A CN114172822A (en) 2021-12-07 2021-12-07 Method and device for monitoring network equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111483538.9A CN114172822A (en) 2021-12-07 2021-12-07 Method and device for monitoring network equipment

Publications (1)

Publication Number Publication Date
CN114172822A true CN114172822A (en) 2022-03-11

Family

ID=80483777

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111483538.9A Pending CN114172822A (en) 2021-12-07 2021-12-07 Method and device for monitoring network equipment

Country Status (1)

Country Link
CN (1) CN114172822A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110069387A (en) * 2019-04-22 2019-07-30 深圳华远云联数据科技有限公司 The data processing method and system of calculator room equipment
CN111159893A (en) * 2019-12-30 2020-05-15 北京理工大学 Fault recurrence and prediction system based on digital twinning
CN112731887A (en) * 2020-12-31 2021-04-30 南京理工大学 Digital twin intelligent monitoring system and method for petrochemical unattended loading and unloading line
CN112917058A (en) * 2021-02-19 2021-06-08 恒大新能源汽车投资控股集团有限公司 Auxiliary monitoring method and device for welding assembly station and electronic equipment
US20210201584A1 (en) * 2019-12-31 2021-07-01 VIRNECT inc. System and method for monitoring field based augmented reality using digital twin
CN113168153A (en) * 2018-11-30 2021-07-23 西门子股份公司 Method and system for monitoring the operation of at least one drive assembly

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113168153A (en) * 2018-11-30 2021-07-23 西门子股份公司 Method and system for monitoring the operation of at least one drive assembly
US20220043437A1 (en) * 2018-11-30 2022-02-10 Siemens Aktiengesellschaft Method and system for monitoring the operation of at least one drive component
CN110069387A (en) * 2019-04-22 2019-07-30 深圳华远云联数据科技有限公司 The data processing method and system of calculator room equipment
CN111159893A (en) * 2019-12-30 2020-05-15 北京理工大学 Fault recurrence and prediction system based on digital twinning
US20210201584A1 (en) * 2019-12-31 2021-07-01 VIRNECT inc. System and method for monitoring field based augmented reality using digital twin
CN112731887A (en) * 2020-12-31 2021-04-30 南京理工大学 Digital twin intelligent monitoring system and method for petrochemical unattended loading and unloading line
CN112917058A (en) * 2021-02-19 2021-06-08 恒大新能源汽车投资控股集团有限公司 Auxiliary monitoring method and device for welding assembly station and electronic equipment

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
罗毓芳;李强;: "一种在轨卫星星上事件状态展示的实现途径", 飞行器测控学报, no. 03, pages 39 - 42 *

Similar Documents

Publication Publication Date Title
CN107295064B (en) Web-based configuration type remote monitoring method, electronic equipment and storage medium
CN110036599B (en) Programming interface for network health information
US8200800B2 (en) Remotely administering a server
CN105573824B (en) Monitoring method and system for distributed computing system
US20180165139A1 (en) Event stream processing cluster manager
CN113987074A (en) Distributed service full-link monitoring method and device, electronic equipment and storage medium
US9887951B2 (en) Graphing relative health of virtualization servers
CN103605722A (en) Method, device and equipment for database monitoring
CN103490941A (en) Real-time monitoring on-line configuration method in cloud computing environment
US10733778B2 (en) Interface to index and display geospatial data
US20110099273A1 (en) Monitoring apparatus, monitoring method, and a computer-readable recording medium storing a monitoring program
CN111090440B (en) Information processing method, system, device and storage medium
CN114024834A (en) Fault positioning method and device, electronic equipment and readable storage medium
CN114787875A (en) System and method for using virtual or augmented reality with data center operations or cloud infrastructure
CN113127299A (en) Server operation and maintenance method, device and system and computer readable storage medium
US10410424B1 (en) System health awareness using augmented reality
CN109918354B (en) HDFS-based disk positioning method, device, equipment and medium
US9356848B2 (en) Monitoring apparatus, monitoring method, and non-transitory storage medium
JPWO2015068275A1 (en) Monitoring system and monitoring method
US10305764B1 (en) Methods, systems, and computer readable mediums for monitoring and managing a computing system using resource chains
CN114172822A (en) Method and device for monitoring network equipment
CN116016209A (en) Network automation method and device
CN112219175A (en) Method and system for managing technical installations
CN105607983A (en) Data exception monitoring method and apparatus
CN115499327A (en) Method, apparatus, medium, and program product for three-dimensional visualization data center management

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