CN112866044B - Network equipment state information acquisition method and device - Google Patents

Network equipment state information acquisition method and device Download PDF

Info

Publication number
CN112866044B
CN112866044B CN201911179039.3A CN201911179039A CN112866044B CN 112866044 B CN112866044 B CN 112866044B CN 201911179039 A CN201911179039 A CN 201911179039A CN 112866044 B CN112866044 B CN 112866044B
Authority
CN
China
Prior art keywords
information
network equipment
preset value
log
network
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201911179039.3A
Other languages
Chinese (zh)
Other versions
CN112866044A (en
Inventor
苏强
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Unihub China Information Technology Co Ltd
Original Assignee
Unihub China Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Unihub China Information Technology Co Ltd filed Critical Unihub China Information Technology Co Ltd
Priority to CN201911179039.3A priority Critical patent/CN112866044B/en
Publication of CN112866044A publication Critical patent/CN112866044A/en
Application granted granted Critical
Publication of CN112866044B publication Critical patent/CN112866044B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/16Threshold monitoring

Abstract

The invention discloses a method and a device for collecting state information of network equipment, wherein the method comprises the following steps: acquiring log information related to network equipment to be acquired; analyzing the log information, and determining network equipment with the utilization rate exceeding a preset value according to an analysis result; and collecting the state information of the network equipment with the utilization rate exceeding the preset value. When the invention collects the state of the network equipment, the invention only needs to collect the state information of the network equipment with the utilization rate exceeding the preset value, the timeliness of the follow-up service opening is not affected, and the cost is lower.

Description

Network equipment state information acquisition method and device
Technical Field
The present invention relates to the field of data acquisition technologies, and in particular, to a method and an apparatus for acquiring status information of a network device.
Background
The network control system is a fully distributed and networked real-time feedback control system and is used for providing data transmission among all network devices in a certain area, so that users in different places in the area realize resource sharing and coordination operation. In the operation process, in order to ensure smooth operation, the state information of the network equipment in a certain area is generally collected at regular time, but when the state of the network equipment is updated, the problem of incomplete and inaccurate state information of the network equipment is generated between two information collection before and after the update, and further the influence on the subsequent service opening work of the network control system is generated. For example, the network control system opens communication lines of two areas, where both areas are provided with corresponding network devices, and if the status information of the network device of one area is incomplete and inaccurate, the smooth opening of the whole service is affected.
In order to solve the above problems, it is common practice in the prior art to sequentially collect all the state information of the network devices in a certain area according to a predetermined sequence, and shorten the interval of information collection by improving the performance of the information device collection hosts or increasing the number of the information device collection hosts, so as to improve the accuracy of the network control system in performing subsequent service opening operations.
The inventors found that the prior art has at least the following problems:
the method adopted by the prior art has higher cost, and the time rate of opening the subsequent service can be influenced by fully collecting the state information of the network equipment in a certain area. Because only a few network devices with higher usage rate in a certain area are often needed when a certain service opening operation is performed, all the status information of the network devices is collected, which causes delay in some collected status information of the network devices with higher usage rate.
Disclosure of Invention
The embodiment of the invention provides a method for collecting state information of network equipment, which is used for reducing cost and avoiding affecting smooth opening of subsequent services, and comprises the following steps:
acquiring log information related to network equipment to be acquired;
analyzing the log information, and determining network equipment with the utilization rate exceeding a preset value according to an analysis result;
and collecting the state information of the network equipment with the utilization rate exceeding the preset value.
Optionally, the analyzing the log information, determining, according to an analysis result, a network device with a usage rate exceeding a preset value, includes:
obtaining influencing factors of network equipment state information, wherein the influencing factors comprise: collecting object information, event occurrence time information, operation event type information and equipment influence result classification information corresponding to the collected object information and the event occurrence time information;
and analyzing the log information, scoring the network equipment to be acquired according to the operation event type information and the equipment influence result classification information, and determining the network equipment with the score exceeding a preset value as the network equipment with the utilization rate exceeding the preset value.
Optionally, the method further comprises:
receiving manual evaluation information;
and correcting the scores of the network equipment according to the manual evaluation information.
Optionally, the log information includes: the system comprises a network equipment access log, a network control system log, a collected data use log and a third party service system log.
The embodiment of the invention also provides a device for collecting the state information of the network equipment, which is used for reducing the cost and avoiding affecting the smooth opening of the subsequent service, and comprises the following steps:
the information acquisition module is used for acquiring log information related to the network equipment to be acquired;
the analysis prediction module is used for analyzing the log information and determining network equipment with the utilization rate exceeding a preset value according to an analysis result;
and the information acquisition module is used for acquiring the state information of the network equipment with the utilization rate exceeding the preset value.
Optionally, the analysis prediction module is further configured to:
obtaining influencing factors of network equipment state information, wherein the influencing factors comprise: collecting object information, event occurrence time information, operation event type information and equipment influence result classification information corresponding to the collected object information and the event occurrence time information;
and analyzing the log information, scoring the network equipment to be acquired according to the operation event type information and the equipment influence result classification information, and determining the network equipment with the score exceeding a preset value as the network equipment with the utilization rate exceeding the preset value.
Optionally, the apparatus further includes:
the information receiving module is used for receiving the manual evaluation information;
and the correction processing module is used for carrying out correction processing on the scores of the network equipment according to the manual evaluation information.
Optionally, the log information includes: the system comprises a network equipment access log, a network control system log, a collected data use log and a third party service system log.
The embodiment of the invention also provides computer equipment, which comprises a memory, a processor and a computer program stored on the memory and capable of running on the processor, wherein the processor realizes the method when executing the computer program.
Embodiments of the present invention also provide a computer-readable storage medium storing a computer program for executing the above method.
In the embodiment of the invention, the log information related to the network equipment to be acquired is acquired, the log information is analyzed, the network equipment with the usage rate exceeding the preset value is determined according to the analysis result, and when the state acquisition of the network equipment is carried out, the state information of the network equipment with the usage rate exceeding the preset value is acquired, the timeliness of the follow-up service opening is not influenced, and the cost is lower.
Drawings
In order to more clearly illustrate the embodiments of the invention or the technical solutions in the prior art, the drawings that are required in the embodiments or the description of the prior art will be briefly described, it being obvious that the drawings in the following description are only some embodiments of the invention, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art. In the drawings:
fig. 1 is a flowchart of a method for collecting status information of a network device according to an embodiment of the present invention;
fig. 2 is another flowchart of a method for collecting status information of a network device according to an embodiment of the present invention;
fig. 3 is a schematic structural diagram of a network device status information acquisition device according to an embodiment of the present invention;
fig. 4 is another schematic structural diagram of a network device status information acquisition device according to an embodiment of the present invention.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the embodiments of the present invention more apparent, the embodiments of the present invention will be described in further detail with reference to the accompanying drawings. The exemplary embodiments of the present invention and their descriptions herein are for the purpose of explaining the present invention, but are not to be construed as limiting the invention.
Fig. 1 shows a flowchart of a method for collecting status information of a network device according to an embodiment of the present invention, where, as shown in fig. 1, the method includes:
step 101, acquiring log information related to the network equipment to be acquired.
In the present embodiment, the log information includes: the system comprises a network device access log, a network control system log, a collected data use log, a third party service system log, a configuration opening log and the like.
Further, in order to facilitate subsequent use of the log information, the log information may be simplified, and the simplified log information may be stored in a database, and directly extracted when the log information is to be used subsequently.
And 102, analyzing the log information, and determining network equipment with the usage rate exceeding a preset value according to an analysis result. Step 102 comprises:
obtaining influencing factors of network equipment state information, wherein the influencing factors comprise: collecting object information, event occurrence time information, operation event type information and equipment influence result classification information corresponding to the collected object information and the event occurrence time information;
and analyzing the log information, scoring the network equipment to be acquired according to the operation event type information and the equipment influence result classification information, and determining the network equipment with the score exceeding a preset value as the network equipment with the utilization rate exceeding the preset value.
In an embodiment, the collected object information may be determined by IP address information of the network device, a name of the network device, etc., and the operation event type information and the device influence result classification information are predefined, and the event occurrence time information corresponds to an actual time occurrence time.
The operation event type information may be "network device access record", "early warning record", etc., and the network device to be collected may be scored according to the operation event type information and the corresponding device influence result thereof, for example, if 10 types of events exist in the operation event type information, each type of event has a corresponding score, and if the event is important, the score of the event is higher. Thus, comparing the total scores of the plurality of network devices can predict the network devices with the usage rate exceeding the preset value.
Step 103, collecting state information of the network equipment with the usage rate exceeding a preset value.
As can be seen from fig. 1, in the method for acquiring status information of network devices according to the embodiment of the present invention, log information related to a network device to be acquired is acquired, the log information is analyzed, and a network device with a usage rate exceeding a preset value is determined according to an analysis result, so that when status acquisition of the network device is performed, only status information of the network device with the usage rate exceeding the preset value is acquired, and the subsequent service opening timeliness rate is not affected, and the cost is low.
Fig. 2 shows a flowchart of a method for collecting status information of a network device according to an embodiment of the present invention, where, as shown in fig. 2, the method further includes:
step 201, receiving manual evaluation information.
And 202, correcting the scores of the network equipment according to the manual evaluation information.
Because the network equipment with the utilization rate exceeding the preset value determined by the score may have errors, the accuracy of the network equipment with the utilization rate exceeding the preset value can be improved by receiving the manual evaluation information and correcting the score of the network equipment according to the manual evaluation information.
Based on the same inventive concept, the embodiment of the invention also provides a network equipment state information acquisition device, as described in the following embodiment. Because the principle of the network equipment state information acquisition device for solving the problem is similar to that of the network equipment state information acquisition method, the implementation of the network equipment state information acquisition device can refer to the implementation of the network equipment state information acquisition method, and the repetition is omitted. As used below, the term "unit" or "module" may be a combination of software and/or hardware that implements the intended function. While the means described in the following embodiments are preferably implemented in software, implementation in hardware, or a combination of software and hardware, is also possible and contemplated.
Fig. 3 is a schematic structural diagram of a network device status information acquisition device according to an embodiment of the present invention, where, as shown in fig. 3, the device includes:
an information acquisition module 301, configured to acquire log information related to a network device to be acquired;
the analysis prediction module 302 is configured to analyze the log information, and determine, according to an analysis result, a network device whose usage rate exceeds a preset value;
the information collection module 303 is configured to collect status information of a network device whose usage rate exceeds a preset value.
In an embodiment of the present invention, the analysis and prediction module is further configured to:
obtaining influencing factors of network equipment state information, wherein the influencing factors comprise: collecting object information, event occurrence time information, operation event type information and equipment influence result classification information corresponding to the collected object information and the event occurrence time information;
and analyzing the log information, scoring the network equipment to be acquired according to the operation event type information and the equipment influence result classification information, and determining the network equipment with the score exceeding a preset value as the network equipment with the utilization rate exceeding the preset value.
Fig. 4 is a schematic structural diagram of a network device status information collection apparatus according to an embodiment of the present invention, where, as shown in fig. 4, the apparatus further includes:
an information receiving module 401, configured to receive manual evaluation information;
and the correction processing module 402 is used for performing correction processing on the scores of the network devices according to the manual evaluation information.
In an embodiment of the present invention, the log information includes: the system comprises a network equipment access log, a network control system log, a collected data use log and a third party service system log.
The embodiment of the invention also provides computer equipment, which comprises a memory, a processor and a computer program stored on the memory and capable of running on the processor, wherein the processor realizes the method when executing the computer program.
Embodiments of the present invention also provide a computer-readable storage medium storing a computer program for executing the above method.
In summary, the method analyzes the log information by acquiring the log information related to the network equipment to be acquired, determines the network equipment with the usage rate exceeding the preset value according to the analysis result, and only acquires the state information of the network equipment with the usage rate exceeding the preset value when acquiring the state of the network equipment, so that the timeliness of the follow-up service opening is not influenced, and the cost is low.
It will be appreciated by those skilled in the art that embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention 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 invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations 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.
The foregoing description of the embodiments has been provided for the purpose of illustrating the general principles of the invention, and is not meant to limit the scope of the invention, but to limit the invention to the particular embodiments, and any modifications, equivalents, improvements, etc. that fall within the spirit and principles of the invention are intended to be included within the scope of the invention.

Claims (4)

1. The method for collecting the state information of the network equipment is characterized by comprising the following steps of:
acquiring log information related to network equipment to be acquired; wherein the log information includes: the network equipment accesses logs, network control system logs, collected data use logs and third party service system logs;
simplifying the log information, storing the simplified log information into a database, and directly extracting the log information when the log information is used later;
analyzing the log information, and determining network equipment with the utilization rate exceeding a preset value according to an analysis result;
collecting state information of network equipment with the utilization rate exceeding a preset value;
the method for analyzing the log information, determining the network equipment with the usage rate exceeding the preset value according to the analysis result, comprises the following steps:
obtaining influencing factors of network equipment state information, wherein the influencing factors comprise: collecting object information, event occurrence time information, operation event type information and equipment influence result classification information corresponding to the collected object information and the event occurrence time information; the method comprises the steps that acquisition object information is determined through IP address information and network equipment names of network equipment, operation event type information and equipment influence result classification information are predefined, and event occurrence time information corresponds to actual time occurrence time; the operation event type information is a network equipment access record and an early warning record, the network equipment to be acquired is scored according to the operation event type information and a corresponding equipment influence result, if multiple types of events exist in the operation event type information, each type of event has a corresponding score, and if the event is more important, the score is higher;
analyzing the log information, and grading the network equipment to be acquired according to the operation event type information and the equipment influence result classification information;
receiving manual evaluation information;
and correcting the scores of the network devices according to the manual evaluation information, and determining the network devices with scores exceeding a preset value as the network devices with the utilization rate exceeding the preset value.
2. A network device status information acquisition device, comprising:
the information acquisition module is used for acquiring log information related to the network equipment to be acquired; wherein the log information includes: the network equipment accesses logs, network control system logs, collected data use logs and third party service system logs; simplifying the log information, storing the simplified log information into a database, and directly extracting the log information when the log information is used later;
the analysis prediction module is used for analyzing the log information and determining network equipment with the utilization rate exceeding a preset value according to an analysis result;
the information acquisition module is used for acquiring the state information of the network equipment with the utilization rate exceeding a preset value;
wherein the analysis prediction module is further to:
obtaining influencing factors of network equipment state information, wherein the influencing factors comprise: collecting object information, event occurrence time information, operation event type information and equipment influence result classification information corresponding to the collected object information and the event occurrence time information; the method comprises the steps that acquisition object information is determined through IP address information and network equipment names of network equipment, operation event type information and equipment influence result classification information are predefined, and event occurrence time information corresponds to actual time occurrence time; the operation event type information is a network equipment access record and an early warning record, the network equipment to be acquired is scored according to the operation event type information and a corresponding equipment influence result, if multiple types of events exist in the operation event type information, each type of event has a corresponding score, and if the event is more important, the score is higher;
analyzing the log information, scoring the network equipment to be acquired according to the operation event type information and the equipment influence result classification information, and determining the network equipment with the score exceeding a preset value as the network equipment with the utilization rate exceeding the preset value;
the apparatus further comprises: the information receiving module and the correction processing module; wherein, the liquid crystal display device comprises a liquid crystal display device,
the information receiving module is used for receiving the manual evaluation information;
and the correction processing module is used for carrying out correction processing on the scores of the network equipment according to the manual evaluation information.
3. A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the processor implements the method of claim 1 when executing the computer program.
4. A computer readable storage medium, characterized in that the computer readable storage medium stores a computer program which, when executed by a processor, implements the method of claim 1.
CN201911179039.3A 2019-11-27 2019-11-27 Network equipment state information acquisition method and device Active CN112866044B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911179039.3A CN112866044B (en) 2019-11-27 2019-11-27 Network equipment state information acquisition method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911179039.3A CN112866044B (en) 2019-11-27 2019-11-27 Network equipment state information acquisition method and device

Publications (2)

Publication Number Publication Date
CN112866044A CN112866044A (en) 2021-05-28
CN112866044B true CN112866044B (en) 2023-05-12

Family

ID=75984825

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911179039.3A Active CN112866044B (en) 2019-11-27 2019-11-27 Network equipment state information acquisition method and device

Country Status (1)

Country Link
CN (1) CN112866044B (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103401711A (en) * 2013-07-30 2013-11-20 浙江中烟工业有限责任公司 Security log-based network state analysis system

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
FR2860630B1 (en) * 2003-10-01 2006-04-28 Commissariat Energie Atomique METHOD FOR IMAGE RECONSTRUCTION WITH DATA ACQUISITION BY MULTIPLE MODES OF IMAGING AND SYNCHRONIZATION OF IMAGE SERIES.
US20100070769A1 (en) * 2007-03-28 2010-03-18 Shigeyoshi Shima Log acquisition system, log collection terminal, log acquisition terminal, and log acquisition method and program using the same system and terminals
CN105934915A (en) * 2014-12-30 2016-09-07 华为技术有限公司 Method and apparatus for presenting device load state in cloud computing network
CN109634803A (en) * 2018-11-16 2019-04-16 网宿科技股份有限公司 A kind of method and apparatus of reporting equipment exception
CN110413488B (en) * 2019-07-31 2022-12-23 中国工商银行股份有限公司 Server utilization rate early warning method and device

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103401711A (en) * 2013-07-30 2013-11-20 浙江中烟工业有限责任公司 Security log-based network state analysis system

Also Published As

Publication number Publication date
CN112866044A (en) 2021-05-28

Similar Documents

Publication Publication Date Title
US20200374306A1 (en) Network traffic anomaly detection method, apparatus, computer device and storage medium
CN111274095B (en) Log data processing method, device, equipment and computer readable storage medium
US9632899B2 (en) Method for analyzing request logs in advance to acquire path information for identifying problematic part during operation
CN109934268B (en) Abnormal transaction detection method and system
CN107220121B (en) Sandbox environment testing method and system under NUMA architecture
CN113242159A (en) Application access relation determining method and device
CN110995524A (en) Flow data monitoring method and device, electronic equipment and computer readable medium
US7617313B1 (en) Metric transport and database load
CN111158926B (en) Service request analysis method, device and equipment
CN110704583A (en) Medical record analysis method and device, server and storage medium
US10459933B2 (en) Identification and elimination of non-essential statistics for query optimization
CN109033188A (en) A kind of metadata acquisition method, apparatus, server and computer-readable medium
CN106951360B (en) Data statistical integrity calculation method and system
CN108093275B (en) Data processing method and device
CN106909454B (en) Rule processing method and equipment
US20100131497A1 (en) Method for determining which of a number of test cases should be run during testing
CN112866044B (en) Network equipment state information acquisition method and device
CN110928942A (en) Index data monitoring and management method and device
CN111124791A (en) System testing method and device
US9645877B2 (en) Monitoring apparatus, monitoring method, and recording medium
CN111064637B (en) NetFlow data duplicate removal method and device
CN112764888B (en) Distributed transaction checking and judging method and system based on log analysis
CN113285824B (en) Method and device for monitoring security of network configuration command
CN114416417A (en) System abnormity monitoring method, device, equipment and storage medium
CN110764909B (en) Method and system for load balancing of storage device of cloud computing platform

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CP02 Change in the address of a patent holder
CP02 Change in the address of a patent holder

Address after: Room 702-2, No. 4811, Cao'an Highway, Jiading District, Shanghai

Patentee after: CHINA UNITECHS

Address before: 100872 5th floor, Renmin culture building, 59 Zhongguancun Street, Haidian District, Beijing

Patentee before: CHINA UNITECHS