CN103560917B - Network equipment warning device and warning method based on command line - Google Patents

Network equipment warning device and warning method based on command line Download PDF

Info

Publication number
CN103560917B
CN103560917B CN201310571232.8A CN201310571232A CN103560917B CN 103560917 B CN103560917 B CN 103560917B CN 201310571232 A CN201310571232 A CN 201310571232A CN 103560917 B CN103560917 B CN 103560917B
Authority
CN
China
Prior art keywords
alarm
order
command
line
module
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
CN201310571232.8A
Other languages
Chinese (zh)
Other versions
CN103560917A (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.)
Fiberhome Telecommunication Technologies Co Ltd
Original Assignee
Fiberhome Telecommunication Technologies 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 Fiberhome Telecommunication Technologies Co Ltd filed Critical Fiberhome Telecommunication Technologies Co Ltd
Priority to CN201310571232.8A priority Critical patent/CN103560917B/en
Publication of CN103560917A publication Critical patent/CN103560917A/en
Application granted granted Critical
Publication of CN103560917B publication Critical patent/CN103560917B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention provides a network equipment warning device based on a command line. The network equipment warning device is used for achieving warning management of a main control panel and at least one line chuck through network management equipment in a network. The network equipment warning device based on the command line comprises a warning command module, a warning processing module and at least one warning forwarding module, wherein the warning command module is arranged in the network management equipment, the warning processing module is arranged in the main control panel, and the at least one warning forwarding module is arranged in the at least one line chuck. The warning command module sends a warning query command to the at least one warning forwarding module through the warning processing module, and the at least one warning forwarding module judges whether to report a warning to the network management equipment according to the warning query command when the warning changes. The network management equipment in the warning device directly manages the main control panel and the line chuck in a command line mode, operations are simple and efficient, the network management equipment directly manages the line chucks, and operation accuracy is improved. The invention further provides a network equipment warning method based on the command line.

Description

Network equipment alarm device and alarm method based on order line
Technical field
The present invention relates to network management technology, more particularly to a kind of network equipment alarm device and alarm side based on order line Method.
Background technology
At present, traditional network equipment alarm is that NMS passes through graphic interface, there is provided sound, alarm are indicated The realization of the methods such as lamp color change, meets the demand that user is managed to communication network warning.
However, this way to manage first has to formulate complicated communication protocol, with the continuous growth of network size, interface All the more object is numerous causes graphic interface low-response, information numerous and diverse for complicated, management, and user must be cut between multiple interfaces Change, refresh alarm, operating efficiency is relatively low.User selects multiple network equipment objects, various alarm type shielding strips by mouse Part, multiple alarms suppress object, easily cause maloperation.
The content of the invention
In view of this, the present invention provides a kind of a kind of network based on order line that is simple to operate efficient and improving accuracy Equipment alarm device and alarm method.
A kind of network equipment alarm device based on order line, its be used to realize network in Network Management Equipment to a main control unit And at least one line chuck alarm management, the network equipment alarm device based on order line includes an alert command mould Block, a warning processing module and at least one alarm forwarding module, the alert command module are arranged on the Network Management Equipment Interior, the warning processing module is arranged in the main control unit, at least one alarm forwarding module be arranged on it is described at least In one line chuck, the alert command module is by alarm inquiry order with Command Line Interface (Command-Line Interface, CLI) warning processing module described in mode Jing be issued to it is described at least one alarm forwarding module, it is described each announcement Alert forwarding module includes a receiving unit, first judging unit and a renewal memory element, and the receiving unit is used In receiving the alarm that described each line chuck is produced, the judging unit is for the alarm that received according to the receiving unit and institute The alarm of storage updating block memory storage is stated judging whether received alarm changes, the storage updating block is being accused Alarm is updated when police changes.
A kind of network equipment alarm method based on order line, its be used to realize network in Network Management Equipment to a main control unit And at least one line chuck alarm management.The network equipment alarm method based on order line is comprised the following steps:
Alarm inquiry order and alarm shield order are issued in CLI modes;
Receive the alarm of generation and store;
Judge whether received alarm changes according to the alarm for being received and the alarm for being stored, if so, then more It is new to alert;
According to the alarm report whether the alarm inquiry command determination for being received will update, if so, then report and alarm;
According to the alarm shield command determination for issuing whether shield alarm.
Compared with prior art, net in the network equipment alarm device based on order line and alarm method of present invention offer Tube apparatus directly manage main control unit and line chuck by command line mode, and alarm control is unified to be realized by command line mode, operation Simple efficient, while user is without the need for switch between multiple interfaces, Network Management Equipment directly manages each line chuck, improves operation Accuracy.
Description of the drawings
Fig. 1 is a kind of module diagram of network equipment alarm device based on order line that the present invention is provided.
Fig. 2 is a kind of flow chart of network equipment alarm method based on order line that the present invention is provided.
Fig. 3 is the flow chart that alert command step is issued in Fig. 2.
Fig. 4 is the flow chart of report and alarm step in Fig. 2.
Main element symbol description
Network equipment alarm device 100 based on order line
Network Management Equipment 200
Main control unit 300
Line chuck 400
Alert command module 110
Warning processing module 120
Communication adaptation unit 122
Alarming processing unit 124
Alarm forwarding module 140
Receiving unit 142
First judging unit 144a
Second judging unit 144b
3rd judging unit 144c
Update memory element 146
Following specific embodiment will further illustrate the present invention with reference to above-mentioned accompanying drawing.
Specific embodiment
Fig. 1 is referred to, a kind of its network equipment alarm device 100 based on order line provided for the present invention, which is used for Realize the alarm management of 200 pairs of main control units 300 of Network Management Equipment and at least one line chuck 400 in network.Present embodiment In, one line chuck 400 of correspondence of main control unit 300.The network equipment alarm device 100 based on order line includes one 110, warning processing module 120 of alert command module and an alarm forwarding module 140.The alert command module 110 It is arranged in the Network Management Equipment 200, the warning processing module 120 is arranged in the main control unit 300, the alarm forwarding Module 140 is arranged in the line chuck 400.
In present embodiment, the communication that forwarding module 140 is responsible for line chuck 400 and main control unit 300 is alerted, by alarm by single Disk agreement is packaged, and on be sent to main control unit 300, warning processing module 120 is by the uni-disk protocol form sent on line chuck 400 Network Management Equipment 200 is sent on the form for being converted to the needs of Network Management Equipment 200, upper net carrying pipe mode is to be organized into after file mode again On be sent to Network Management Equipment 200.
Alarm inquiry order and alarm shield order Jing warning processing modules 120 are issued to announcement by alert command module 110 Alert forwarding module 140, in present embodiment, the alert command module 110 of Network Management Equipment 200 is with Command Line Interface (Command- Line Interface, CLI) mode processes alarm inquiry order and alarm shield order.
Warning processing module 120 includes a communication adaptation unit 122 and an alarming processing unit 124, the communication Adaptation unit 122 is sent to alarming processing unit 124 for parsing the alarm inquiry order that alert command module 110 is issued, and accuses The alarm inquiry order for having parsed is sent to alarm forwarding module 140 by alert processing unit 124.In present embodiment, communication is suitable Communication function between main control unit and Network Management Equipment, the subpackage of main control unit and network management communication data UDP bag, group are completed with unit 122 Function and main control unit and the webmaster CLI command protocol analysis function such as bag and pressure place, decompression.
Alarm forwarding module 140 includes 142, first judging unit 144a of a receiving unit, second judgement Unit 144b, a 3rd judging unit 144c and a renewal memory element 146.
The receiving unit 142 is used for the alarm for receiving the generation of line chuck 400, and the first judging unit 144a is used for root Whether the alarm received according to receiving unit 142 and the alarm of 146 memory storage of storage updating block judge received alarm Change, alert and change including such as new alarm appearance or alert end etc., if alarm changes, update and store single Unit 146 updates alarm.It is understood that the announcement that the alarm for updating 146 memory storage of memory element is produced for last time line chuck 400 The alarm of storage is updated when police changes.
The second judging unit 144b is ordered according to the alarm inquiry that the alert command module 110 of Network Management Equipment 200 is issued Order judges whether updated alarm needs to report, and if desired reports, then the alarm Jing alarming processings unit 124 for reporting needs Network Management Equipment 200 is reported to after process, if the report need not be gone up, the 3rd judging unit 144c is according to alert command module The 110 alarm shield command determinations for issuing whether shield alarm and by the alarm Jing alarming processings unit 124 that need not be shielded and Communication adaptation unit 122 reports to Network Management Equipment 200.
Refer to Fig. 2, a kind of network equipment alarm method based on order line that the present invention is provided, which is used to realize network Middle Network Management Equipment is to a main control unit and the alarm management of at least one line chuck.In present embodiment, main control unit correspondence one Line chuck.The network equipment alarm method based on order line is comprised the following steps:
S100:Issue alarm inquiry order and alarm shield order;
S200:Whether will be produced in the alarm for changing according to alarm inquiry command determination when the alarm for producing changes Report, if so, then enters step S300, if it is not, then entering step S400;
S300:Report and alarm;
S400:According to the alarm shield command determination for issuing whether shield alarm, step S500 is if so, then entered, if it is not, Step S300 is entered then.
S500:Shield alarm.
Fig. 3 is referred to, in the step s 100, the transmitting order to lower levels step is comprised the following steps:
S110:Alarm inquiry order and alarm shield order are issued in CLI modes;
S120:Alarm inquiry order and alarm shield order that parsing is issued;
S130:The alarm inquiry order for having parsed and alarm shield order are issued.
In step s 110, using the alert command module 110 of Network Management Equipment 200 with Command Line Interface (Command- Line Interface, CLI) mode issues alarm inquiry order and alarm shield order.
In the step s 120, the alarm inquiry order that alert command module 110 is issued is parsed using communication adaptation unit 122 And after alarm shield order, it is sent to alarming processing unit 124.In present embodiment, communication adaptation unit 122 completes main control unit The subpackage of communication function, main control unit and network management communication data UDP bag between Network Management Equipment, group are wrapped and press the work(such as place, decompression Energy and main control unit and webmaster CLI command protocol analysis function.
In step s 130, the alarm inquiry order for having parsed is issued to into alarm forwarding using alarming processing unit 124 The second judging unit 144b and the 3rd judging unit 144c in module 140.
Fig. 4 is referred to, in step s 200, judges comprise the following steps whether the alarm of generation is reported in step:
S210:Receive the alarm of generation and store;
S220:Judge whether received alarm changes according to the alarm for being received and the alarm for being stored, if so, Then update and alert and enter step S230, if it is not, then terminating;
S230:According to the alarm inquiry command determination for being received whether by the alarm report for changing, if so, then enter Step S300, if it is not, then entering step S400.
In step S210, the alarm of the generation of line chuck 400 is received using receiving unit 142 and store single to storage renewal In unit 146, the alarm that 142 real-time reception line chuck of receiving unit 400 is produced.
In step S220, the alarm and renewal received according to receiving unit 142 using the first judging unit 144a is stored Comparing to judge whether the alarm that line chuck 400 is produced changes, alarm changes bag for the alarm of 146 memory storage of unit Include as new alarm occurs or alarm terminates, if alarm changes, storage updating block 146 updates alarm.
In step S230, issued according to the alert command module 110 of Network Management Equipment 200 using the second judging unit 144b The alarm that updated of alarm inquiry command determination whether need to report.
In step S300, if the second judging unit 144b judges alarm, needs are reported, and line chuck 400 will need to report Alarm report to Network Management Equipment 200 Jing after alarming processing unit 124 is processed with communication adaptation unit 122.
In step S400, if the second judging unit 144b judges not needing report and alarm, the 3rd judging unit 144c The alarm shield command determination issued according to alert command module 110 whether shield alarm, if need not shield, need not The alarm Jing alarming processings unit 124 of shielding and communication adaptation unit 122 report to Network Management Equipment 200.
In step S500, the mask off command for if desired being issued according to alert command module 110 by alarm shield, then the 3rd Alarm is put mask bit with shield alarm by judging unit 144c, namely alarm is not reported.
Network Management Equipment 200 in the network equipment alarm device 100 based on order line and alarm method of present invention offer Alert command module 110 directly manages main control unit 300 and line chuck 400, alarm control management system by transmitting order to lower levels line mode One is realized by command line mode, simple to operate efficient, while user is without the need for switch between multiple interfaces, Network Management Equipment 200 directly manage each line chuck 400, improve operating accuracy.
It is understood that for the person of ordinary skill of the art, can be done with technology according to the present invention design Go out other various corresponding changes and deformation, and all these changes and deformation should all belong to the protection model of the claims in the present invention Enclose.

Claims (7)

1. a kind of network equipment alarm device based on order line, its be used to realizing in network Network Management Equipment to a main control unit and The alarm management of at least one line chuck, the network equipment alarm device based on order line include an alert command mould Block, a warning processing module and at least one alarm forwarding module, the alert command module are arranged on the Network Management Equipment Interior, the warning processing module is arranged in the main control unit, at least one alarm forwarding module be arranged on it is described at least In one line chuck, the alert command module is by alarm inquiry order with Command Line Interface (Command-Line Interface, CLI) warning processing module described in mode Jing be issued to it is described at least one alarm forwarding module, it is described each announcement Alert forwarding module includes a receiving unit, first judging unit and a renewal memory element, and the receiving unit is used In receiving the alarm that described each line chuck is produced, the judging unit is for the alarm that received according to the receiving unit and institute The alarm of storage updating block memory storage is stated judging whether received alarm changes, the storage updating block is being accused Alarm is updated when police changes.
2. the network equipment alarm device based on order line as claimed in claim 1, it is characterised in that the alert command mould Block is further used at least one alarm forwarding being issued to after alarm shield order warning processing module process described in Module, at least one alarm forwarding module are given the correct time according to whether the alarm shield command determination shields announcement not alerting It is alert.
3. the network equipment alarm device based on order line as claimed in claim 2, it is characterised in that the alarming processing mould Block includes a communication adaptation unit and an alarming processing unit, and the communication adaptation unit is used to parse the alert command Alarm inquiry order that module is issued and alarm shield order are simultaneously sent to the alarming processing unit, the alarming processing unit The alarm inquiry order for having parsed and alarm shield order are issued to into each alarm forwarding module.
4. the network equipment alarm device based on order line as claimed in claim 3, it is characterised in that described each alarm turns Sending out module also includes second judging unit and the 3rd judging unit, and second judging unit is according to the alarm life The alert command that module is issued is made to judge whether updated alarm reports, the 3rd judging unit is not alerting the root that gives the correct time The alarm shield command determination issued according to the alert command module whether shield alarm by the alarm Jing institutes that need not be shielded State alarming processing unit and report to the Network Management Equipment.
5. a kind of network equipment alarm method based on order line, its be used to realizing in network Network Management Equipment to a main control unit and The alarm management of at least one line chuck, the network equipment alarm method based on order line are comprised the following steps:
Alarm inquiry order and alarm shield life are issued in Command Line Interface (Command-Line Interface, CLI) mode Order;
Receive the alarm of generation and store;
Judge whether received alarm changes according to the alarm for being received and the alarm for being stored, if so, then update and accuse It is alert;
According to the alarm report whether the alarm inquiry command determination for being received will update, if so, then report and alarm;
According to the alarm shield command determination for issuing whether shield alarm.
6. the network equipment alarm method based on order line as claimed in claim 5, it is characterised in that described to issue alarm life Step is made to comprise the following steps:
Issue alarm inquiry order and alarm shield order;
Alarm inquiry order and alarm shield order that parsing is issued;
The alarm inquiry order for having parsed and alarm shield order are issued.
7. the network equipment alarm method based on order line as claimed in claim 5, it is characterised in that judge whether described In report and alarm step, if it is not, then according to the alarm shield command determination for being received whether shield alarm, if so, shield alarm, If it is not, report and alarm.
CN201310571232.8A 2013-11-15 2013-11-15 Network equipment warning device and warning method based on command line Active CN103560917B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310571232.8A CN103560917B (en) 2013-11-15 2013-11-15 Network equipment warning device and warning method based on command line

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310571232.8A CN103560917B (en) 2013-11-15 2013-11-15 Network equipment warning device and warning method based on command line

Publications (2)

Publication Number Publication Date
CN103560917A CN103560917A (en) 2014-02-05
CN103560917B true CN103560917B (en) 2017-04-12

Family

ID=50015072

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310571232.8A Active CN103560917B (en) 2013-11-15 2013-11-15 Network equipment warning device and warning method based on command line

Country Status (1)

Country Link
CN (1) CN103560917B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107769954B (en) * 2016-08-23 2022-09-30 中兴通讯股份有限公司 Method and device for shielding equipment alarm

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1852153A (en) * 2005-11-09 2006-10-25 华为技术有限公司 Fault/alarm management system and method based on simple network management protocol
CN101187885A (en) * 2007-10-10 2008-05-28 中兴通讯股份有限公司 Warning treatment method and device
CN101778317A (en) * 2010-02-22 2010-07-14 烽火通信科技股份有限公司 Unattended PON system and implement method thereof
CN102014012A (en) * 2009-09-04 2011-04-13 中兴通讯股份有限公司 Synchronous alarming method and device

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7886296B2 (en) * 2004-07-22 2011-02-08 Computer Associates Think, Inc. System and method for providing alerts for heterogeneous jobs

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1852153A (en) * 2005-11-09 2006-10-25 华为技术有限公司 Fault/alarm management system and method based on simple network management protocol
CN101187885A (en) * 2007-10-10 2008-05-28 中兴通讯股份有限公司 Warning treatment method and device
CN102014012A (en) * 2009-09-04 2011-04-13 中兴通讯股份有限公司 Synchronous alarming method and device
CN101778317A (en) * 2010-02-22 2010-07-14 烽火通信科技股份有限公司 Unattended PON system and implement method thereof

Also Published As

Publication number Publication date
CN103560917A (en) 2014-02-05

Similar Documents

Publication Publication Date Title
US20160012150A1 (en) System and method for main distribution network graph/model/data integration based on remote access and information interaction
CN107241221B (en) Support the network management protocol data unified processing system and method for different network management protocols
CN103414596B (en) The method that all manufacturer Trap and processing are recognized based on simple management procotol
CN102609346B (en) Monitoring method and monitoring device on basis of service operation
US10097397B2 (en) System and method for managing CWSN with GUI
CN106452927A (en) Business topology information display method and system of cloud monitoring system
CN110191138A (en) A kind of edge calculations intelligent adapter and implementation method towards industry manufacture
WO2016062062A1 (en) Internet of things alarm suppression method and system
CN106487612A (en) A kind of server node monitoring method, monitoring server and system
CN101145944B (en) A method for processing alarm
CN109164776B (en) Distributed data acquisition method for industrial equipment
CN104519059B (en) The Real-time Alarm processing system and method for a kind of vehicle
CN108040339A (en) Offline network-building method and its system based on LoRa
CN102916846B (en) Monitoring method and system
CN103560917B (en) Network equipment warning device and warning method based on command line
CN103973489B (en) A kind of heterogeneous device centralized monitoring system
CN114401207A (en) Positioning method and device for communication abnormal terminal equipment and electronic equipment
WO2016177054A1 (en) Charging equipment management method and device
WO2014044112A1 (en) Device and method for controlling and supervising and alarming power supply of base station
WO2016110070A1 (en) Data acquiring method and device, and storage medium
CN102457397A (en) Method and system for optical fiber warning display
CN102026253B (en) Alarm reporting and processing method, system and equipment
US20140337522A1 (en) Method and Device for Filtering Network Traffic
CN103052105B (en) A kind of processing method of base station alarm and device
CN202551115U (en) Front end control device of Internet of things

Legal Events

Date Code Title Description
C06 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