CN105024857B - A method of with bypass mode to IP network optical power automated analysis - Google Patents

A method of with bypass mode to IP network optical power automated analysis Download PDF

Info

Publication number
CN105024857B
CN105024857B CN201510431708.7A CN201510431708A CN105024857B CN 105024857 B CN105024857 B CN 105024857B CN 201510431708 A CN201510431708 A CN 201510431708A CN 105024857 B CN105024857 B CN 105024857B
Authority
CN
China
Prior art keywords
optical power
optical
port
value
equipment
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
CN201510431708.7A
Other languages
Chinese (zh)
Other versions
CN105024857A (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.)
Metamessage Science And Technology Ltd Is Consulted In Guangzhou
Original Assignee
Metamessage Science And Technology Ltd Is Consulted In Guangzhou
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 Metamessage Science And Technology Ltd Is Consulted In Guangzhou filed Critical Metamessage Science And Technology Ltd Is Consulted In Guangzhou
Priority to CN201510431708.7A priority Critical patent/CN105024857B/en
Publication of CN105024857A publication Critical patent/CN105024857A/en
Application granted granted Critical
Publication of CN105024857B publication Critical patent/CN105024857B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/02Standardisation; Integration
    • H04L41/0246Exchanging or transporting network management information using the Internet; Embedding network management web servers in network elements; Web-services-based protocols
    • H04L41/0266Exchanging or transporting network management information using the Internet; Embedding network management web servers in network elements; Web-services-based protocols using meta-data, objects or commands for formatting management information, e.g. using eXtensible markup language [XML]

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Optical Communication System (AREA)

Abstract

The present invention relates to a kind of with bypass mode to the method for IP network optical power automated analysis, the method is to acquire the optical power value of various equipment optical modules in IP network and carry out automated analysis, the method includes two processes, is optical module configuration collection process and optical power collection process respectively.Method involved in the present invention can circumvention device producer network management SNMP acquisition need to be related to the limitation in every kind of equipment Proprietary MIB library, by using the thinking of XML configuration script, it has ensured the compatibility of instruction scheme, has finally been compatible with all performance number management for supporting optical power equipment.

Description

A method of with bypass mode to IP network optical power automated analysis
Technical field
The present invention relates to a kind of analysis methods, particularly a kind of to be divided with bypass mode the automation of IP network optical power The method of analysis.
Background technique
In the IP network using optical transport, optical power value directly affects the stability of optical transport in network, and performance number is inclined Greatly, less than normal all to cause packet loss even network interruption.Operation maintenance personnel generally rests on network construction to the detection of optical power Phase detects business both ends optical power using optical power tester, but optical power tester is due to needing to be concatenated into net The transmitting-receiving value of distal end is detected in network, will cause service disconnection in this way, and each of the links optical power value is both needed to manually hold The problems such as going, bringing human input big, and lack the variation of means monitoring optical power after the completion of network construction, form O&M work The blind spot of work.
The IP network equipment newly gone out at present generally supports the extraction to optical power value, the producer of some production IP network equipment Gradually recognize the importance of optical power inspection, start the inspection that joined optical power value in the producer's network management system of oneself, But because of compatibility issue, there are no commonly used in maintenance work.Specifically, producer's network management passes through SNMP (simple net Network communication protocol) agreement acquisition Proprietary MIB (management information base library) in optical power value, then presented in network management, it is this Producer's network management monitors optical power by the way of bypass, saves the staff support of optical power test, while energy It detects at any time, detection process non-interrupting service, but the Proprietary MIB of each producer is all underground, the network management system of other Fei Ben producers It is difficult to extract optical power value is arrived, therefore the network management of market can only manage this plant equipment, not have compatibility, therefore application is very It is few.
Summary of the invention
In order to solve the above technical problem, the present invention provides one kind with bypass mode to IP network optical power automated analysis Method, the method is described to acquire the optical power value of various equipment optical modules in IP network and carry out automated analysis Method includes two processes, is optical module configuration collection process and optical power collection process respectively.
Preferably, the optical module configuration collection process the following steps are included: extract port processing process, so first Port information is extracted from equipment according to the guide of operating process afterwards, extracts resolution rules again later to parse port information, finally The optical port configuration information storage that analysis is obtained, completes the acquisition of optical port configuration.
Preferably, the configuration extracted port processing process and realize collecting flowchart using configurable script, the configuration Information includes: optical port transmission range, wavelength, bandwidth, mode.
It is preferably, described that extract port information from equipment be the then basis after the completion of extraction process to port initializes Extracting rule is successively to sending instructions under distinct device, acquisition instruction echo, the implementation procedure of instruction include beaching accommodation, under bristle with anger It enables.
Preferably, the extraction resolution rules are after optical port information echo is extracted to need that letter will be echoed Breath is cut, and extracts transmission range, wavelength, bandwidth, mode data.
Preferably, the parsing port information:, will after being extracted port information and echoing and obtain extraction resolution rules The echo message is handled with resolution rules, is finally extracted transmission range, wavelength, bandwidth, mode data, is so far completed The acquisition of optical module configuration information.
Preferably, the optical power collecting flowchart is to do near real-time acquisition to the equipment optical module current operating value, will Collected performance number and the standard value of such optical module do comparative analysis, ultimately form Analysis of optical power report, including extract Optical power collecting flowchart simultaneously acquires, extracts optical power standard value, analysis 3 steps of optical power output report.
Preferably, the extraction optical power collecting flowchart and acquire be root after being imported series of rules by XML script Send instructions under guide according to the rule and extract power value information echo to equipment, power value parses later, finally by light function Rate value is persisted to optical power library.
Preferably, the extraction optical power standard value is to judge collected optical power value status, by corresponding Optical power standard value is analyzed, and corresponding optical power standard is extracted from optical power standard library according to the configuration of the optical port of equipment Value.
Preferably, the analysis optical power output report is the light function by collected optical port current power value and extraction Rate standard value does comparative analysis, final output analysis result information, represents different capacity state of value in different colors in report, clearly The clear state for distinguishing each optical power module.
Whole process of the invention is acquired optical port configuration information, optical port power information by the way of instruction, passes through XML script configuration mode realizes the compatibility of the equipment to all support optical power acquisitions, evades because equipment difference bring acquires The heat load of instruction difference, echo message analysis mode difference bring differentiation, XML script solves quickly compatible need It asks, avoids system reboot.In addition, method of the present invention by quickly analyzing current device optical power value, by optical power standard library It is loaded in a manner of HASH table, the current optical power value of equipment is equally loaded in a manner of HASH table, efficient to produce through rapid comparison algorithm Raw analysis report.
In addition, the present invention acquires optical power using instruction mode, circumvention device producer network management is acquired with SNMP need to be related to often Kind equipment Proprietary MIB library, cause the problem of being only applicable to the plant equipment.Instruction is then information disclosed in each equipment, but It is each equipment room there are instruction variance, the problems such as echo message difference, using the thinking of XML configuration script, has ensured instruction side The compatibility of case, it is final to realize compatible all performance number management for supporting optical power equipment.
Detailed description of the invention
Fig. 1 is of the present invention to be configured with bypass mode to optical module in the method for IP network optical power automated analysis The schematic diagram of collecting flowchart;
Fig. 2 is of the present invention to be acquired with bypass mode to optical power in the method for IP network optical power automated analysis The schematic diagram of process;
Specific embodiment
Below in conjunction with the drawings and specific embodiments, the present invention is described in further detail.
A kind of method with bypass mode to IP network optical power automated analysis is present embodiments provided, the method is used To acquire the optical power value of various equipment in IP network and carry out automated analysis, the method includes two processes, is respectively Optical module configures collection process and optical power collection process.Specifically, with reference to Fig. 1, the optical module configuration collection process includes Following steps: extracting port processing process first, then extracts port information from equipment according to the guide of operating process, it Extract resolution rules again afterwards finally to enter the optical port configuration information that analysis obtains for decomposing the information extracted from equipment The acquisition of optical port configuration is completed in library.Above steps is specific as follows:
(1) extract port processing process: technical solution of the present invention realizes the acquisition of data by the way of instruction, considers The collecting flowchart that is used to distinct device and to the analysis mode of echo message all there may be difference, be to ensure for difference The compatibility of equipment realizes the configuration of collecting flowchart in the present embodiment using configurable script.Include in optical port collecting flowchart With what instruction acquisition device port, the port of non-optical port how is rejected, which type of is used for the configuration information of each port Instruction obtains.
Collecting flowchart script refers to following table, and the script is based on XML (extensible markup language) language, in conjunction with regular expressions The powerful word processing ability of formula is realized from port and extracts the complete definition that port parses, by the process of user processing information It is translated as XML language.Wherein, " portinstruct " node definition optical port extracts instruction, proposes light in operating status Port, different type equipments have different instructions, and " command " node then defines the configuration extraction instruction of port, " The canonical that each configuration information of analyse " node definition optical port extracts, configuration information includes: optical port transmission range, wavelength, band Wide, mode.In this way, the step of entire artificial acquisition optical port configuration, completely embodies in XML language.Content in XML script Having made increase or modification hot can load (without restarting system), and XML script can be independently of system, portable.
(2) port information is extracted from equipment: after the completion of initialization in step (1) to the extraction process of port, then basis Extracting rule is successively to sending instructions under distinct device, acquisition instruction echo, the implementation procedure of instruction include beaching accommodation, under bristle with anger It enables, because distinct device landfall process is different, therefore also needs to configure landfall process, guarantee that all set can be compatible with by configuring Standby login mode.After logging in successfully, send instructions according under in the process of initialization.The script of operating procedure is such as mentioned referring to Fig. 2 The optical port information for taking Cisco GSR series is needed to extract all of the port with " show int desc " instruction first, is screened out from it With optical port, then match confidence with what port was extracted in " show hw-module subslot A/B transceiver " instruction Breath echo waits subsequent analysis processing.
(3) resolution rules are extracted: after optical port information echo is extracted in step (2), needing that letter will be echoed Breath is cut, and extracts transmission range, wavelength, bandwidth, mode data, because there may be differences for distinct device echo, therefore, this It needs for resolution rules to be put into XML script in embodiment, the extracting rule of various echos is adapted to by script configuration.With reference to Fig. 2, For transmission range, wavelength, the bandwidth, mode data of analysis " analyse " defined analysis exit port of Huawei NE series, each Configuration data defines the rule of extraction by individual regular expression.After extracting rule, rule is converted to from XML script Executable information waits pending.
(4) it parses port information: extracting resolution rules being extracted port information echo and obtaining according to step (3) Afterwards, echo message is handled with resolution rules, finally extracts transmission range, wavelength, bandwidth, mode data and carries out persistently Change, so far completes the acquisition of optical module configuration information.
The optical power collecting flowchart is to do near real-time acquisition to equipment optical module current operating value, by collected power Value and the standard value of such optical module do comparative analysis, ultimately form Analysis of optical power report.
Specifically, optical power collecting flowchart includes extracting optical power collecting flowchart and acquiring, extract optical power standard value, divide Analyse 3 steps such as optical power output report.
(1) it extracts optical power collecting flowchart and acquires: due to the extraction instruction and parsing of different type equipment optical power value All there may be differences for mode, therefore in the inventive solutions embody these differences with XML script, with XML foot The integrity of this content ensures the smooth implementation of compatibility and optical power collection rule, as shown in the table: " Portinstruct " node definition distinct device optical power extracts instruction, and " analyses " node then defines mentioning for optical power value Take rule.Such as: " instruction of Huawei NE serial model No. port optical power draw " is " dis int%portName% ", and is directed to and adopts The corresponding resolution rules for extracting rx power of the echo collected be " rx s (?: optical s)? p | Power: s (.+ ?) dBm ". From XML script will above series of rule import after, send instructions under a regular guide to equipment extract power value information return Aobvious, power value parses later, and optical power value is finally persisted to " optical power library ".
(2) it extracts optical power standard value: to judge collected optical power value status, corresponding optical power mark need to be used Quasi- value is analyzed.The state of performance number is divided into 5 in the present embodiment, is " lower than sensitivity ", " relatively low ", " just respectively Often ", " higher ", " overload ", the calibration power value of optical port need to be configured according to the optical port of equipment to be mentioned from optical power standard library Corresponding optical power standard value is taken, and optical power standard library is also configurable and heat load, and portable.
(3) optical power output report is analyzed: by the optical power standard value of collected optical port current power value and extraction Do comparative analysis, final output analysis result information represents different capacity state of value in report in different colors, it is clear distinguish it is each The state of optical power module.To guarantee that batch quickly generates the analysis reports of all optical power modules, this programme is by optical power Java standard library is loaded in a manner of multi-layer H ASH table, and the optical power of each module is equally recorded in a manner of HASH, and two HASH watches are with fast Fast extraction algorithm carries out quick comparison, generates analysis result.
A representative embodiment of the invention has obtained detailed description referring to attached drawing.These detailed descriptions are only given Those skilled in the art further believe content, with preferred aspect for carrying out the present invention, and will not be to the present invention Range limited.Only claim is for determining protection scope of the present invention.Therefore, the spy in foregoing detailed description The combination for step of seeking peace is not necessary for implementing the present invention in most broad range, and alternatively only to the present invention The representative embodiment being especially described in detail provide introduction.In addition, in order to obtain it is of the invention add useful embodiment, saying A variety of different features that introduction is provided in bright book can combine in several ways, however these modes are not enumerated particularly Out.

Claims (1)

1. it is a kind of with bypass mode to the method for IP network optical power automated analysis, the method is each in IP network to acquire The optical power value of kind equipment optical module simultaneously carries out automated analysis, and the method includes two processes, is optical module configuration respectively Collection process and optical power collection process;
The optical module configuration collection process the following steps are included: extract port processing process, then according to operation first The guide of process extracts port information from equipment, extracts resolution rules again later to parse port information, finally obtains analysis Optical port configuration information storage, complete the acquisition of optical port configuration, extract port processing process and realized using configurable script The configuration of collecting flowchart, the configuration information include: optical port transmission range, wavelength, bandwidth, mode;It is described to be extracted from equipment Port information is after the completion of the extraction process initialization to port, then according to extracting rule successively to bristling with anger under distinct device Enable, acquisition instruction echo, the implementation procedure of instruction include beaching accommodation, under send instructions;The extraction resolution rules are at light end After message breath echo is extracted, needs to cut echo message, extract transmission range, wavelength, bandwidth, pattern count According to;The parsing port information: after being extracted port information and echoing and obtain extraction resolution rules, by the echo message It is handled with resolution rules, finally extracts transmission range, wavelength, bandwidth, mode data, so far completed optical module and match confidence The acquisition of breath;
The optical power collection process is to do near real-time acquisition to the equipment optical module current operating value, by collected light end The standard value of mouth current power value and such optical module does comparative analysis, ultimately forms Analysis of optical power report, including extract light Power collecting process simultaneously acquires, extracts optical power standard value, analysis 3 steps of optical power output report;
The extraction optical power collecting flowchart and acquire be after being imported series of rules by XML script, according to the rule Guide under send instructions to equipment extract power value information echo, later power value parse, finally by optical power value persistence To optical power library;
Method by quickly analyzing current device optical power value loads in optical power standard library in a manner of HASH table, and equipment is worked as Preceding optical power value is equally loaded in a manner of HASH table, generates analysis report through rapid comparison algorithm;
The extraction optical power standard value is to judge collected optical port current power value status, passes through corresponding light function Rate standard value is analyzed, and corresponding optical power standard value is extracted from optical power standard library according to the configuration of the optical port of equipment; The analysis optical power output report is to compare the optical power standard value of collected optical port current power value and extraction It analyzes, final output analysis result information, represents different capacity state of value in different colors in report, clearly distinguish each optical power The state of module.
CN201510431708.7A 2015-07-21 2015-07-21 A method of with bypass mode to IP network optical power automated analysis Active CN105024857B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510431708.7A CN105024857B (en) 2015-07-21 2015-07-21 A method of with bypass mode to IP network optical power automated analysis

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510431708.7A CN105024857B (en) 2015-07-21 2015-07-21 A method of with bypass mode to IP network optical power automated analysis

Publications (2)

Publication Number Publication Date
CN105024857A CN105024857A (en) 2015-11-04
CN105024857B true CN105024857B (en) 2019-07-19

Family

ID=54414585

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510431708.7A Active CN105024857B (en) 2015-07-21 2015-07-21 A method of with bypass mode to IP network optical power automated analysis

Country Status (1)

Country Link
CN (1) CN105024857B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105847032B (en) * 2016-03-16 2019-05-14 国家电网公司 Marconi transmission device receives light level acquisition and analysis method
CN110365406B (en) * 2019-07-16 2020-11-24 中国联合网络通信集团有限公司 Method and equipment for evaluating performance of optical port of IP network

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101566835A (en) * 2009-05-21 2009-10-28 中兴通讯股份有限公司 Method and device for controlling instrument
CN101877612A (en) * 2010-06-30 2010-11-03 中兴通讯股份有限公司 System for protecting optical link of passive optical network, device thereof and method thereof
CN102547494A (en) * 2012-02-20 2012-07-04 烽火通信科技股份有限公司 Method and device for peer-to-peer optical cross connection configuration

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104348541B (en) * 2013-07-25 2017-05-03 ***通信集团湖北有限公司 WDM light power early warning method and device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101566835A (en) * 2009-05-21 2009-10-28 中兴通讯股份有限公司 Method and device for controlling instrument
CN101877612A (en) * 2010-06-30 2010-11-03 中兴通讯股份有限公司 System for protecting optical link of passive optical network, device thereof and method thereof
CN102547494A (en) * 2012-02-20 2012-07-04 烽火通信科技股份有限公司 Method and device for peer-to-peer optical cross connection configuration

Also Published As

Publication number Publication date
CN105024857A (en) 2015-11-04

Similar Documents

Publication Publication Date Title
CN101605067B (en) Network behaviour active analyzing and diagnosing method
CN104052633B (en) Intelligent station 61850 and the stipulations integration test method of telemechanical 104
CN102123044A (en) Detection device and method of network topology consistency based on topology discovery technology
CN105141441B (en) A kind of method that IP network graphically configures
CN105208016B (en) The a variety of data transmissions of agriculture Internet of Things and the method for processing
CN108600049A (en) A kind of performance measurement method and device of data center network TCP connection
CN108092854A (en) The test method and device of train grade ethernet device based on IEC61375 agreements
CN105024857B (en) A method of with bypass mode to IP network optical power automated analysis
CN102325036A (en) Fault diagnosis method for network system, system and device
CN105677567A (en) Automation testing method and system
CN102223251A (en) Collecting and analyzing method for network operation and maintenance and business processing device
CN104219100A (en) Information acquiring method and device
CN113676526A (en) Industrial data access management system and method
CN103905233B (en) Realize method, system and the access network device of analog sensor plug and play
CN111885621B (en) Wireless message grabbing method, system, terminal and storage medium
WO2017016386A1 (en) Method and device for implementing radio remote unit fault analysis
CN106302349A (en) Method and device analyzed by HTTP bag based on libpcap
CN111817865A (en) Method for monitoring network management equipment and monitoring system
CN103957119B (en) Method for managing network equipment by using MIB file and browser
CN108400910A (en) A kind of router realizes the method and system of network protocol analysis
CN104584515B (en) Analyzing communication configuration in Process Control System
CN107070868A (en) A kind of power network video and the data analysis system and its method in environmental monitoring system
KR20140123126A (en) System and method for generating database based on SCL
WO2014173127A1 (en) Communication network monitoring method, device and system in electric power system
CN104581766A (en) Special dynamic data collecting and analyzing method and system

Legal Events

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