CN114760180A - Method, device, equipment and storage medium for polling network equipment - Google Patents
Method, device, equipment and storage medium for polling network equipment Download PDFInfo
- Publication number
- CN114760180A CN114760180A CN202011584818.4A CN202011584818A CN114760180A CN 114760180 A CN114760180 A CN 114760180A CN 202011584818 A CN202011584818 A CN 202011584818A CN 114760180 A CN114760180 A CN 114760180A
- Authority
- CN
- China
- Prior art keywords
- inspection
- data
- equipment
- script
- data acquisition
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 47
- 238000007689 inspection Methods 0.000 claims abstract description 175
- 238000013515 script Methods 0.000 claims abstract description 143
- 238000007405 data analysis Methods 0.000 claims abstract description 30
- 238000011156 evaluation Methods 0.000 claims abstract description 20
- 238000006243 chemical reaction Methods 0.000 claims abstract description 11
- 238000004891 communication Methods 0.000 claims abstract description 9
- 238000004458 analytical method Methods 0.000 claims description 53
- 230000006870 function Effects 0.000 description 49
- 238000007726 management method Methods 0.000 description 44
- 238000013499 data model Methods 0.000 description 16
- 230000003287 optical effect Effects 0.000 description 12
- 238000013500 data storage Methods 0.000 description 10
- 238000012423 maintenance Methods 0.000 description 10
- 230000008569 process Effects 0.000 description 10
- 238000004422 calculation algorithm Methods 0.000 description 8
- 238000013523 data management Methods 0.000 description 5
- 230000006855 networking Effects 0.000 description 5
- 238000010586 diagram Methods 0.000 description 4
- 230000009471 action Effects 0.000 description 3
- 238000005516 engineering process Methods 0.000 description 3
- 230000036541 health Effects 0.000 description 3
- 230000000694 effects Effects 0.000 description 2
- 238000012545 processing Methods 0.000 description 2
- 238000013480 data collection Methods 0.000 description 1
- 238000012217 deletion Methods 0.000 description 1
- 230000037430 deletion Effects 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000003745 diagnosis Methods 0.000 description 1
- 230000004069 differentiation Effects 0.000 description 1
- 230000008676 import Effects 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 210000001503 joint Anatomy 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000003012 network analysis Methods 0.000 description 1
- 230000007723 transport mechanism Effects 0.000 description 1
- 238000012384 transportation and delivery Methods 0.000 description 1
- 230000001960 triggered effect Effects 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/02—Standardisation; Integration
- H04L41/0246—Exchanging or transporting network management information using the Internet; Embedding network management web servers in network elements; Web-services-based protocols
- H04L41/0253—Exchanging or transporting network management information using the Internet; Embedding network management web servers in network elements; Web-services-based protocols using browsers or web-pages for accessing management information
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/06—Management of faults, events, alarms or notifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/04—Processing captured monitoring data, e.g. for logfile generation
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/08—Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/08—Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
- H04L43/0805—Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability
- H04L43/0817—Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability by checking functioning
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Environmental & Geological Engineering (AREA)
- Data Mining & Analysis (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The invention discloses a method, a device, equipment and a storage medium for routing inspection of network equipment, and belongs to the technical field of communication. The method comprises the following steps: the method comprises the steps that an inspection tool determines a data acquisition script and a data analysis script required by the execution of an inspection task according to the inspection task configured by a user; the inspection tool acquires data of various network equipment information in the inspection task by operating the data acquisition script, acquires inspection data of various formats of various network equipment, and performs format conversion on the inspection data of various formats to obtain inspection data of a uniform format; and the inspection tool analyzes and evaluates the inspection data with the uniform format by operating the data analysis script to obtain evaluation results of various network devices.
Description
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a method, an apparatus, a device, and a storage medium for routing inspection of network devices.
Background
With the rapid development of communication networks, the scale and capacity of the communication networks are larger and larger, the types and the number of network elements managed by operators are expanded sharply, and networking is more and more complex. In an operator network, devices of different device manufacturers need to be frequently butted to jointly complete bearing work of various services required by the operator, and a unified operation and maintenance platform and operation and maintenance tools are needed to be used for integrally acquiring device data and performing system analysis aiming at maintenance and management of various devices of various manufacturers, such as a network level inspection function, a network element device health check function, a fault information acquisition function, a device fault diagnosis function and the like.
At present, an automatic inspection tool is used for supporting equipment information acquisition and analysis functions when inspecting equipment on a network. However, since the difference between the acquisition interfaces of the devices of different manufacturers and the data structure models is obvious, the inspection tool is difficult to uniformly acquire and analyze information of various devices on the network, so that a plurality of maintenance tools are required to be arranged on one network to respectively acquire and analyze information of devices in certain areas, and the whole network analysis and evaluation result cannot be given integrally. In addition, the expansion of the new equipment by the operator brings about the adjustment of a new acquisition mode and an analysis algorithm, which directly results in the upgrading and updating of various deployed maintenance tools related to the equipment, and the maintenance work is complex.
Disclosure of Invention
The embodiment of the invention mainly aims to provide a method, a device, equipment and a storage medium for routing inspection of network equipment, aiming at realizing uniform acquisition, uniform storage and uniform analysis of data of different equipment of various different manufacturers, improving the equipment routing inspection efficiency of the whole network and greatly saving the network maintenance cost.
In order to achieve the above object, an embodiment of the present invention provides a method for polling a network device, including: the method comprises the steps that an inspection tool determines a data acquisition script and a data analysis script required by the execution of an inspection task according to the inspection task configured by a user; the inspection tool acquires data of various network equipment information in the inspection task by operating the data acquisition script, acquires inspection data of various formats of various network equipment, and performs format conversion on the inspection data of various formats to obtain inspection data of a uniform format; and the inspection tool analyzes and evaluates the inspection data with the uniform format by operating the data analysis script to obtain evaluation results of various network devices.
In order to achieve the above object, an embodiment of the present invention provides an inspection device for network devices, including: the system comprises a determining module, a data analysis module and a data analysis module, wherein the determining module is used for determining a data acquisition script and a data analysis script which are required by the execution of an inspection task according to the inspection task configured by a user; the data acquisition module is used for acquiring data of various network equipment information in the inspection task by operating the data acquisition script, acquiring inspection data of various network equipment in different formats, and performing format conversion on the inspection data of different formats to obtain inspection data in a uniform format; and the analysis and evaluation module is used for analyzing and evaluating the routing inspection data with the uniform format by running the data analysis script to obtain evaluation results of various network devices.
In order to achieve the above object, an embodiment of the present invention further provides an inspection device for a network device, where the inspection device includes a memory, a processor, a program stored in the memory and running on the processor, and a data bus for implementing connection communication between the processor and the memory, and the program implements the steps of the foregoing method when executed by the processor.
To achieve the above object, an embodiment of the present invention further provides a storage medium for a computer-readable storage, the storage medium storing one or more programs, the one or more programs being executable by one or more processors to implement the steps of the foregoing method.
The invention provides a method, a device, equipment and a storage medium for routing inspection of network equipment, which are based on a web operation interface, realize the uniform acquisition, uniform storage and uniform analysis of data of different equipment of various different manufacturers by means of acquiring scripts, analyzing scripts and normalizing data, improve the equipment routing inspection efficiency of the whole network and greatly save the network maintenance cost.
Drawings
Fig. 1 is a flowchart of a polling method for network devices according to an embodiment of the present invention;
fig. 2 is a schematic diagram of an inspection device of a network device according to an embodiment of the present invention;
fig. 3 is a block diagram of a unified inspection system for different device networking scenarios according to an embodiment of the present invention;
fig. 4 is a flowchart of a unified inspection method for different device networking scenarios according to an embodiment of the present invention.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
In the following description, suffixes such as "module", "part", or "unit" used to indicate elements are used only for facilitating the explanation of the present invention, and have no peculiar meaning by themselves. Thus, "module", "component" or "unit" may be used mixedly.
Example one
Fig. 1 is a flowchart of a polling method for network devices according to an embodiment of the present invention, and as shown in fig. 1, the polling method includes the following steps:
step S101: the method comprises the steps that an inspection tool determines a data acquisition script and a data analysis script required by the execution of an inspection task according to the inspection task configured by a user;
step S102: the inspection tool acquires data of various network equipment information in the inspection task by operating the data acquisition script, acquires inspection data of various formats of various network equipment, and performs format conversion on the inspection data of various formats to obtain inspection data of a uniform format;
step S103: and the inspection tool analyzes and evaluates the inspection data with the uniform format by operating the data analysis script to obtain evaluation results of various network devices.
The inspection task comprises an equipment network element to be inspected and content to be inspected; the data acquisition script comprises a hardware resource information acquisition script and an equipment operation data acquisition script.
The embodiment of the invention also comprises the following steps: the inspection tool determines a hardware resource information acquisition script corresponding to the equipment information to be inspected according to the equipment information to be inspected initially configured by a user; the inspection tool acquires the hardware resource information of each equipment network element to be inspected by operating the hardware resource information acquisition script, and displays the acquired hardware resource information of each equipment network element so that a user can select hardware according to the hardware resource information when an inspection task is configured.
Specifically, the determining, by the inspection tool, a data acquisition script and a data analysis script required for executing the inspection task according to the inspection task configured by the user includes: and the inspection tool selects an equipment operation data acquisition script and a data analysis script which are associated with the equipment network element to be inspected and the content to be inspected according to the equipment network element to be inspected and the content to be inspected in the inspection task.
Specifically, before the inspection tool performs data acquisition on various types of network device information in the inspection task by running the data acquisition script, the inspection tool further includes: the inspection tool determines all register information to be acquired according to the equipment operation data acquisition script; the inspection tool judges whether the information of each register to be acquired is stored in a database; and when the register information is judged not to be stored in the database, the inspection tool performs data acquisition on the register information by operating the equipment operation data acquisition script.
Specifically, before the inspection tool performs data acquisition on various types of network device information in the inspection task by running the data acquisition script, the inspection tool further includes: the inspection tool determines all register information to be acquired according to the equipment operation data acquisition script; the inspection tool judges whether the information of each register needing to be acquired needs to be acquired in real time; and when the register information is judged to need to be acquired in real time, the inspection tool performs data acquisition on the register information by operating the equipment operation data acquisition script.
Fig. 2 is a schematic diagram of an inspection device for network devices according to an embodiment of the present invention, as shown in fig. 2, including: a determination module 201, a data acquisition module 202, and an analysis evaluation module 203.
The determining module 201 is configured to determine a data acquisition script and a data analysis script required for executing an inspection task according to the inspection task configured by a user; the data acquisition module 202 is configured to perform data acquisition on information of various network devices in the inspection task by running the data acquisition script, acquire inspection data of different formats of the various network devices, and perform format conversion on the inspection data of different formats to obtain inspection data of a uniform format; the analysis and evaluation module 203 is configured to perform analysis and evaluation on the inspection data in the unified format by running the data analysis script, so as to obtain evaluation results of the various types of network devices.
The inspection task comprises an equipment network element to be inspected and content to be inspected; the data acquisition script comprises a hardware resource information acquisition script and an equipment operation data acquisition script.
The embodiment of the present invention further provides a patrol device of a network device, where the device includes a memory, a processor, a program stored in the memory and operable on the processor, and a data bus for implementing connection communication between the processor and the memory, and the program implements the steps of the foregoing method when executed by the processor.
Embodiments of the present invention provide a storage medium for computer-readable storage, the storage medium storing one or more programs, the one or more programs being executable by one or more processors to implement the steps of the aforementioned method.
Fig. 3 is a block diagram of a unified inspection system for different device networking scenarios according to an embodiment of the present invention, and as shown in fig. 3, the inspection tool includes a master control management module, a WEB server module, a function script management module, and a device information management module.
The total control management module is used for comprehensively scheduling and controlling the whole inspection system, and comprises a web access service providing external users, an inspection project customizing function providing users, corresponding analysis and acquisition scripts extracted from the control function script management module according to customized inspection projects, various inspection scripts are controlled and triggered to operate, and finally, inspection analysis results are generated into reports.
The WEB server module is used for providing a user WEB interface to access and control the functions of the inspection equipment, a user can configure a network element to be inspected, customize and execute an inspection task, and simultaneously, inspection related scripts can be added and deleted through the WEB interface.
And the function script management module is used for managing the routing inspection related scripts, including addition, deletion and operation of the scripts. The script is divided into a data acquisition script and a data analysis script.
The data acquisition script acquires data of specific equipment through the specific acquisition interface, and transmits the acquired equipment data to the equipment information management module for storage in a unified format, so that corresponding data acquisition of various different equipment is realized, and the effect of unified acquisition is achieved. The data acquisition script comprises a hardware resource information acquisition script and an equipment operation data acquisition script. The hardware resource information acquisition script is used for acquiring hardware resources in the equipment, and a user can designate to inspect specific hardware when creating an inspection task. The equipment operation data acquisition script is used for acquiring data of specific hardware in the operation process and is a basic data source of the data analysis script.
The data analysis script obtains inspection result data of the collected unified data model of the equipment from the equipment information management module, then performs overall analysis on the inspection result data, evaluates potential risks and unqualified items of the equipment, and gives an adjustment suggestion and an operation step. Because the analysis script is based on the unified data model, the analysis script does not pay attention to the data format difference of various different devices during processing, the difference is solved by converting the device information management module into the unified data model format, and therefore the analysis script can comprehensively analyze and evaluate different device data, and the effect of unified analysis is achieved.
And the equipment information management module is used for carrying out data unified data model conversion on the inspection results of the equipment acquired by the data acquisition script and storing the inspection results so as to provide a unified data model format for the analysis script. The device information management module comprises a data management module and a data storage module.
The data management module and the function script management module are in butt joint, can convert collected data of different structures of different equipment and then send the data to the data storage module for storage, and meanwhile can provide the stored data to the data analysis script for analysis.
The data storage module is used for storing routing inspection data of the unified data model and used as basic data used by the data analysis script.
The specific technical scheme of the invention comprises the following steps:
the Web operation interface is convenient for a user to log in a tool to perform equipment inspection through a mobile phone or a PC browser.
2. The unified collection function is easy to be compatible and expanded to the equipment network elements of different collection interfaces:
a) aiming at the differentiation of different equipment acquisition interfaces, the appointed data acquisition function of various types of equipment is realized through the function acquisition script customized by the user, the acquired data of the script is classified finely, the acquisition of useless data of the equipment can be avoided, and the burden of the equipment in operation is reduced.
b) Meanwhile, aiming at the scene of newly added equipment in the network, a new equipment acquisition script can be directly added through a web interface, a tool program does not need to be upgraded, and the data acquisition and inspection requirements of the new equipment are quickly met.
3. The unified data model storage function brings convenience to the centralized analysis of each device in the network:
a) aiming at the difference of data structure models collected by different equipment, routing inspection result data of different formats of various equipment are converted into uniform network element information formats and are uniformly stored, so that the information of each equipment in a network is directly and comprehensively analyzed in the data analysis process, and the functions of centralized analysis and centralized evaluation of the equipment with different data structures of different manufacturers are realized.
b) In addition, the equipment inspection result data used by various inspection items in the analysis process can preferentially use the data which is acquired and stored before (the user can also be configured to use real-time acquisition data), and the frequency of tool acquisition equipment is reduced, so that the influence of acquisition action on the existing network operation equipment is reduced to the minimum.
4. The unified analysis function can carry out the inspection of network level and simplify the updating and the expansion of the analysis algorithm:
a) aiming at the unified network element information which is converted well before, the analysis of the inspection content of the unified data model is realized by adopting a special service function analysis script, and the dependence on the specific data formats of different devices is shielded.
b) Meanwhile, the method for adding a new analysis script through the web interface can more easily upgrade the analysis algorithm and improve the addition of the analysis scene, and has stronger compatibility and better expandability.
5. According to the creation task that the content of patrolling and examining can be nimble, reduce as far as possible because of gathering the influence that the action caused equipment:
a) according to the specific inspection function, the tool can create a specific inspection task, and by adding a plurality of specific scene analysis scripts and a plurality of specific data acquisition scripts, relevant data acquisition and unified data model caching can be performed on the equipment based on the specific inspection function.
b) In the subsequent centralized analysis process, the cached equipment polling data is preferentially used, so that repeated redundant data of the equipment is prevented from being repeatedly acquired, the acquisition performance of a tool is improved, the inquiry action on the equipment is reduced as much as possible, the burden in the operation process of the equipment is reduced, and the influence on the service borne by the equipment is avoided.
Fig. 4 is a flowchart of a unified inspection method for different device networking scenarios according to an embodiment of the present invention, and as shown in fig. 4, the method includes:
step 401: a user access tool initializes the hardware resource data of the equipment;
a user can access a tool web interface through a mobile phone or a PC browser, basic information such as the type and ip of equipment to be inspected is initially configured, a master control management module can select and call a corresponding equipment hardware resource acquisition script, hardware resource information data of each network element to be inspected are acquired, converted into a unified data model and stored in a data storage module, and meanwhile, the hardware resource information is presented to the user through the web interface.
Step 402: selecting specified equipment and creating a required inspection task;
the master control management module acquires each data analysis script list through the function script management module, the list corresponds to all polling item functions supported by the tool, and the functions are presented to a user through a web interface.
When a user formulates a required inspection task, the user needs to confirm the equipment network element to be inspected and inspection contents, the tool selects various inspection analysis scripts and equipment operation data acquisition scripts according to the association of the equipment and the inspection contents, and meanwhile, the user can specify whether each acquisition item of the equipment acquisition scripts needs to be acquired in real time. In addition, the analysis script may determine which unified data models of the device need to be obtained for analysis. The method comprises the following specific steps:
the inspection item function required at this time is selected firstly, the master control management module of the tool can transmit the task information appointed by the user to the function script management module, and the acquisition script and the analysis script required by the task are automatically associated.
All the equipment hardware resources to be inspected are selected, the master control management module transmits the equipment resource information to the equipment information management module, and the unified data model of the equipment resources is automatically associated.
Whether various acquisition points of the routing inspection item need to be acquired in real time or not can be configured, the equipment can be directly inquired in real time acquisition, and the data stored by an equipment information management module (data storage module) can be continuously acquired in non-real time.
Step 403: updating process of polling script (optional)
Before executing the inspection task, the following scenes are processed: 1) the newly added equipment and the inspection tool do not support the data acquisition of the equipment;
2) the routing inspection algorithm or routing inspection items are updated and optimized, and at the moment, the scenario can be solved by importing scripts through a web interface;
the acquisition script corresponding to the new equipment is imported to solve the problem that the current inspection tool cannot acquire the data of the equipment
Import new analysis scripts, support new tour entries or new tour algorithms.
Step 404: data collection related to inspection task
After the polling task is started, the data acquisition process is as follows:
the function script management module counts the types of all the equipment to be inspected, determines respective operation data acquisition scripts and determines all the information required to be uniformly acquired in the inspection.
The function script management module confirms whether all the equipment information items to be acquired are acquired through the equipment information management module and are uniformly stored in the data storage module through data conversion: if the collected information is stored and the user is configured not to need to collect the collected information in real time, the collected information item is marked as a collected item; if the data is not stored or the data is stored but the user configuration needs real-time acquisition to the equipment, the acquisition information item is represented as an unrecognized item.
To what isAnd the function script management module runs the acquisition scripts of different equipment to uniformly acquire data from the corresponding equipment.
And transmitting the acquisition results of different data formats of all the equipment to an equipment information management module (a data management module and a data storage module) for carrying out conversion and storage of a unified data model.
Step 405: analyzing and evaluating the data of the inspection result
The task obtains the stored data with uniform format of various devices in the network through the device information management module, then runs the function analysis script corresponding to the inspection item to perform uniform comprehensive analysis on the data of various devices, and evaluates whether each device in the network is in a normal working state.
The optional process is as follows: before analyzing the data of various types of equipment in a unified format, when a user needs to update the function analysis script for certain inspection items, the user can upload the updated function analysis script through a web page and store the updated function analysis script into the function script management module, and after the inspection task is started, the tool can call an optimized analysis algorithm to analyze and evaluate the acquired data of the equipment.
In the process, the collected data based on the uniform data model of the plurality of network element devices is analyzed, the analysis script is uniformly processed, and the specific device type difference is not required to be sensed, so that the network level routing inspection function is realized.
Step 406: and generating a polling report.
And outputting the analysis and evaluation result of the whole network and corresponding operation guidance suggestions according to the analysis and evaluation of the specific routing inspection items so as to facilitate the user to carry out whole evaluation and maintenance on the network condition.
The present invention is further described below with specific embodiments, which describe the optical module polling function of the network element device performed by the user.
Initializing basic data of network element needing to be inspected
After the tool is started, a user configures information such as equipment type, ip address, login user password and the like to be inspected through a web access tool and transmits the information to a master control management module, the master control management module calls an acquisition script corresponding to the equipment type through a function script management module to acquire resource data such as a hardware single board, a port and a module of a network element, the data are converted into a uniform network element resource format through a data management module and are stored in a data storage module, and meanwhile, various hardware information of the network element is presented to the user through a web interface.
(II) selecting specified equipment and creating required inspection task
The master control management module acquires each data analysis script list through the function script management module, the list corresponds to all polling item functions supported by the tool, and the functions are presented to a user through a web interface.
When a user formulates a required inspection task, the method comprises the following steps:
21) the optical module polling function required at this time is selected, the master control management module of the tool can transmit optical module polling task information to the function script management module, and acquisition scripts corresponding to module registers in various devices required by tasks and health state analysis scripts corresponding to various modules are automatically associated.
22) And selecting resources such as all single boards to be inspected, types of modules and the like, transmitting equipment resource information to an equipment information management module by the master control management module, and automatically associating the unified data models of the optical module resources of different equipment.
23) And configuring whether each register acquisition point of the optical module polling item needs to be acquired in real time. The operation needs real-time acquisition, so the acquisition script runs and directly inquires relevant data of the equipment.
24) And starting the inspection task.
(III) patrol task related data acquisition
After the polling task is started, the data acquisition process is as follows:
31) the function script management module counts various operation data acquisition scripts corresponding to the module types of different equipment and determines all register information required to be acquired corresponding to each module.
32) The function script management module needs to confirm whether register values required to be acquired by all modules are acquired or not through the equipment information management module, and whether the register values are stored in the data storage module after being converted through the unified data model or not:
if the collected information is stored and the user is configured not to need to collect the collected information in real time, the collected information item is marked as a collected item; if the data is not stored or the data is stored but the user configuration needs to be collected in real time, the collected information item is represented as an unrecovered item.
33) And aiming at all module register information items of which the identification bits are not acquired, the function script management module runs acquisition scripts of respective equipment corresponding to the module types under each equipment type, and register data acquisition is carried out on each single board of each equipment.
34) The data acquisition results of different formats of each module of the class device are transmitted to a device information management module (a data management module + a data storage module) to perform conversion and storage of the unified model structure of the optical module data.
(IV) analyzing and evaluating the inspection result data
The task obtains the stored register data of the unified structure of each module in the network through the equipment information management module, then runs the optical module polling analysis script to analyze, and evaluates whether each optical module in the network is in a normal working state or not and whether the inter-module butting state is normal or not.
The optical module manufacturer optimizes a module health check algorithm, updates a polling analysis script of the module, a user uploads the updated function analysis script through a web page, the updated function analysis script is stored in a function script management module, then a module polling task is started, and a tool analyzes and evaluates data of the module by using the optimized analysis algorithm.
And (V) generating a report of the inspection.
And outputting the analysis and evaluation results of all the optical modules of the whole network and corresponding operation guidance suggestions according to the analysis and evaluation of the specific routing inspection items so that a user can conveniently carry out the whole evaluation and maintenance on the conditions of the optical modules in the network.
One of ordinary skill in the art will appreciate that all or some of the steps of the methods, systems, functional modules/units in the devices disclosed above may be implemented as software, firmware, hardware, and suitable combinations thereof.
In a hardware implementation, the division between functional modules/units mentioned in the above description does not necessarily correspond to the division of physical components; for example, one physical component may have multiple functions, or one function or step may be performed by several physical components in cooperation. Some or all of the physical components may be implemented as software executed by a processor, such as a central processing unit, digital signal processor, or microprocessor, or as hardware, or as an integrated circuit, such as an application specific integrated circuit. Such software may be distributed on computer readable media, which may include computer storage media (or non-transitory media) and communication media (or transitory media). The term computer storage media includes volatile and nonvolatile, removable and non-removable media implemented in any method or technology for storage of information such as computer readable instructions, data structures, program modules or other data, as is well known to those of ordinary skill in the art. Computer storage media includes, but is not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, Digital Versatile Disks (DVD) or other optical disk storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other medium which can be used to store the desired information and which can accessed by a computer. In addition, communication media typically embodies computer readable instructions, data structures, program modules or other data in a modulated data signal such as a carrier wave or other transport mechanism and includes any information delivery media as is well known to those skilled in the art.
The preferred embodiments of the present invention have been described above with reference to the accompanying drawings, and are not to be construed as limiting the scope of the invention. Any modifications, equivalents and improvements which may occur to those skilled in the art without departing from the scope and spirit of the present invention are intended to be within the scope of the claims.
Claims (10)
1. A method for polling network equipment is characterized by comprising the following steps:
the method comprises the steps that an inspection tool determines a data acquisition script and a data analysis script required by the execution of an inspection task according to the inspection task configured by a user;
the inspection tool acquires data of various network equipment information in the inspection task by operating the data acquisition script, acquires inspection data of various formats of various network equipment, and performs format conversion on the inspection data of various formats to obtain inspection data of a uniform format;
and the inspection tool analyzes and evaluates the inspection data with the uniform format by operating the data analysis script to obtain evaluation results of various network devices.
2. The method according to claim 1, wherein the polling task comprises a device network element to be polled and content to be polled; the data acquisition script comprises a hardware resource information acquisition script and an equipment operation data acquisition script.
3. The method of claim 2, further comprising:
the inspection tool determines a hardware resource information acquisition script corresponding to the equipment information to be inspected according to the equipment information to be inspected initially configured by a user;
and the inspection tool acquires the hardware resource information of each equipment network element to be inspected by operating the hardware resource information acquisition script, and displays the acquired hardware resource information of each equipment network element so as to allow a user to select hardware according to the hardware resource information when an inspection task is configured.
4. The method of claim 2, wherein the inspection tool determines the data acquisition script and the data analysis script required for executing the inspection task according to the inspection task configured by the user comprises:
and the inspection tool selects an equipment operation data acquisition script and a data analysis script which are associated with the equipment network element to be inspected and the content to be inspected according to the equipment network element to be inspected and the content to be inspected in the inspection task.
5. The method of claim 4, wherein before the inspection tool performs data acquisition on various types of network equipment information in the inspection task by running the data acquisition script, the method further comprises:
the inspection tool determines all register information to be acquired according to the equipment operation data acquisition script;
the inspection tool judges whether the information of each register to be acquired is stored in a database;
and when the register information is judged not to be stored in the database, the inspection tool performs data acquisition on the register information by operating the equipment operation data acquisition script.
6. The method of claim 4, wherein before the inspection tool performs data acquisition on various types of network equipment information in the inspection task by running the data acquisition script, the method further comprises:
the inspection tool determines all register information to be acquired according to the equipment operation data acquisition script;
the inspection tool judges whether the information of each register needing to be acquired needs to be acquired in real time;
and when the register information needs to be acquired in real time, the inspection tool acquires the data of the register information by operating the equipment operation data acquisition script.
7. A patrol inspection device of network equipment is characterized by comprising:
the system comprises a determining module, a data analysis module and a data analysis module, wherein the determining module is used for determining a data acquisition script and a data analysis script which are required by the execution of an inspection task according to the inspection task configured by a user;
the data acquisition module is used for acquiring data of various network equipment information in the inspection task by operating the data acquisition script, acquiring inspection data of various network equipment in different formats, and performing format conversion on the inspection data of different formats to obtain inspection data in a uniform format;
and the analysis and evaluation module is used for analyzing and evaluating the routing inspection data with the uniform format by running the data analysis script to obtain evaluation results of various network devices.
8. The apparatus of claim 7, wherein the inspection task comprises a device network element to be inspected and content to be inspected; the data acquisition script comprises a hardware resource information acquisition script and an equipment operation data acquisition script.
9. Patrol device of a network device, characterized in that the device comprises a memory, a processor, a program stored on the memory and executable on the processor, and a data bus for enabling a connection communication between the processor and the memory, which program, when executed by the processor, implements the steps of a patrol method of a network device according to any one of claims 1 to 7.
10. A storage medium for computer readable storage, the storage medium storing one or more programs, the one or more programs being executable by one or more processors to perform the steps of the patrol method for a network device according to any one of claims 1 to 7.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011584818.4A CN114760180A (en) | 2020-12-28 | 2020-12-28 | Method, device, equipment and storage medium for polling network equipment |
PCT/CN2021/133833 WO2022142931A1 (en) | 2020-12-28 | 2021-11-29 | Network device inspection method, apparatus, and device, and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011584818.4A CN114760180A (en) | 2020-12-28 | 2020-12-28 | Method, device, equipment and storage medium for polling network equipment |
Publications (1)
Publication Number | Publication Date |
---|---|
CN114760180A true CN114760180A (en) | 2022-07-15 |
Family
ID=82260196
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202011584818.4A Pending CN114760180A (en) | 2020-12-28 | 2020-12-28 | Method, device, equipment and storage medium for polling network equipment |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN114760180A (en) |
WO (1) | WO2022142931A1 (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115862180A (en) * | 2022-12-23 | 2023-03-28 | 摩尔线程智能科技(北京)有限责任公司 | Automatic inspection method and automatic inspection device |
CN116527402B (en) * | 2023-06-30 | 2023-09-19 | 北京华信航电科技有限公司 | Method and device for inspecting instrument landing system |
CN118095812B (en) * | 2024-04-29 | 2024-07-23 | 山东汇通创软信息技术有限公司 | Intelligent patrol management method and system for power plant |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104680612A (en) * | 2013-11-27 | 2015-06-03 | 贵州电网公司信息通信分公司 | Automatic IT equipment inspection method |
CN104022904B (en) * | 2014-06-13 | 2017-11-14 | 中国民航信息网络股份有限公司 | Distributed computer room information technoloy equipment management platform |
CN106713001A (en) * | 2015-11-18 | 2017-05-24 | 中兴通讯股份有限公司 | Network inspection method and apparatus |
US11074522B2 (en) * | 2016-06-15 | 2021-07-27 | Roger N. Anderson | Electric grid analytics learning machine |
-
2020
- 2020-12-28 CN CN202011584818.4A patent/CN114760180A/en active Pending
-
2021
- 2021-11-29 WO PCT/CN2021/133833 patent/WO2022142931A1/en active Application Filing
Also Published As
Publication number | Publication date |
---|---|
WO2022142931A1 (en) | 2022-07-07 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN114760180A (en) | Method, device, equipment and storage medium for polling network equipment | |
CN109164783B (en) | Vehicle diagnosis method, apparatus, device, and medium | |
US20220329493A1 (en) | Method, apparatus, and device for data analytics and storage medium | |
EP3806432A1 (en) | Method for changing service on device and service changing system | |
CN107426023B (en) | Cloud platform log collection and forwarding method, system, equipment and storage medium | |
CN110831029B (en) | Model optimization method and analysis network element | |
CN108959059B (en) | Test method and test platform | |
CN110956269B (en) | Method, device, equipment and computer storage medium for generating data model | |
US20210065083A1 (en) | Method for changing device business and business change system | |
CN102006332A (en) | Method and system for software upgrading | |
CN107733735B (en) | Script recording system and method implanted in pressure measurement device | |
CN113326053B (en) | Robot management system and method | |
CN105072398B (en) | A kind of device updating method and device | |
US10608907B2 (en) | Open-loop control assistant to guide human-machine interaction | |
CN112988537A (en) | Server fault diagnosis method and device and related equipment | |
CN115086148A (en) | Optical network alarm processing method, system, equipment and storage medium | |
CN107092502B (en) | Automatic application configuration method and device based on cloud operating system | |
CN111832273A (en) | Method and device for determining destination message, storage medium and electronic device | |
US20230048473A1 (en) | Data labeling system and method, and data labeling manager | |
CN118170629A (en) | Automatic test method and device | |
CN115291841A (en) | Multi-source electronic evidence oriented modular evidence obtaining system and method | |
CN115599881A (en) | Workflow creation method, system, electronic device, and computer-readable storage medium | |
CN111352811B (en) | User behavior data acquisition method, device, equipment and medium | |
CN113608996B (en) | Mirror image compiling test method, system, device and readable storage medium | |
CN117149361B (en) | Multi-terminal collaborative optimization system for training model |
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 |