CN104394042A - Upgrading method for ONU (Optical Network Unit) testing system by MIB (Management Information Base) - Google Patents

Upgrading method for ONU (Optical Network Unit) testing system by MIB (Management Information Base) Download PDF

Info

Publication number
CN104394042A
CN104394042A CN201410789148.8A CN201410789148A CN104394042A CN 104394042 A CN104394042 A CN 104394042A CN 201410789148 A CN201410789148 A CN 201410789148A CN 104394042 A CN104394042 A CN 104394042A
Authority
CN
China
Prior art keywords
mib
message
onu
system upgrade
node
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.)
Granted
Application number
CN201410789148.8A
Other languages
Chinese (zh)
Other versions
CN104394042B (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.)
Shenzhen Superelectron Technology Co ltd
Original Assignee
Shanghai Feixun Data Communication 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 Shanghai Feixun Data Communication Technology Co Ltd filed Critical Shanghai Feixun Data Communication Technology Co Ltd
Priority to CN201410789148.8A priority Critical patent/CN104394042B/en
Publication of CN104394042A publication Critical patent/CN104394042A/en
Application granted granted Critical
Publication of CN104394042B publication Critical patent/CN104394042B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Computer And Data Communications (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention provides an upgrading method for an ONU testing system by MIB. The upgrading method comprises the following steps: using a data packet simulation tool to simulate the process that MIB nodes are operated by an MIB Browser, using the data packet simulation tool to send out a setup message requesting value setting and a reading message requesting reading node operation results, and judging whether the test results meet the technical requirements according to the interactive process of the data packet, wherein when different ONUs are tested, only the corresponding fields are required to be modified in the setup message and the reading message, and then the data packet transmitting tool is used to simulate data packet transmission. With application of the upgrading method for the ONU testing system by MIB disclosed by the invention, testing personnel are not required to understand the application method of the MIB Browser tool, so as to reduce the dependence on MIB node description file; the testing personnel are not required to understand the logic setting sequence of MIB, so that the testing process can be simplified, and the manual setting time for the nodes can be avoided; furthermore, in the testing for the second time, the data packet transmitting tool can be directly used to test, the manual testing is not required, and the upgrading method is suitable for ONU upgrading of different certified IDs.

Description

A kind of MIB tests the method for ONU system upgrade
Technical field
The present invention relates to a kind of Simple Network Management Protocol (Simple Network Management Protocol, SNMP) management information bank (Management Information Base in, MIB) method of functional test is carried out, particularly relate to the method for a kind of MIB testing optical network unit (Optical Network Unit, ONU) system upgrade.
Background technology
SNMP is the rule of communication in network between management equipment and managed devices.Utilize SNMP, management work station can the network equipment of this agreement of all supports of telemanagement, comprises monitoring network state, amendment network equipments configuration, receives network event warning etc.Have three elements in snmp management model: manager (Manager), by pipe belt reason (Agent) and management information bank (MIB).
The realization of real Network Management Function, resides in network management workstation.Regard Internet resources as object, then each object represents the variable of the feature be managed in fact exactly, and the set that these variablees are formed is exactly MIB.MIB deposits the management parameters of report objects, and MIB function provides the accessing points from management work station to agency.Management work station, by many-valued to realizing measuring ability in inquiry MIB, realizes various Network Management Function by the value changing mib object.
Each mib object object identifier (Object ID, OID) carries out unique mark, and this is the available information organized with the tree be defined in ASN.1 grammer.Wherein each available information is the node of a tape label, and each node numeral and character two kinds of modes show.Object identifier OID is the one group of integer separated by fullstop, namely leads to its path from root node, and it names node and the accurate location indicating it in ASN.1 tree.
The instrument that current test MIB node is conventional is exactly MIB Browser, imports mib file by this instrument, then carries out value setting and value read operation to reach message interaction object to correlation function node.MIB tests the setting that ONU system upgrade mainly carries out following three tables successively: (7 nodes need to arrange fxFMDevFileServTable table, totally 7 steps), (4 nodes need to arrange fxFMDevFileTransTable table, 1 node needs to read, totally 5 steps) and fxFMCpeUpgradeTable table (6 nodes need to arrange, totally 11 steps).Wherein, fxFMDevFileServTable shows the setting of primary responsibility file server, fxFMDevFileTransTable shows primary responsibility by file transfer to optical line terminal (Optical Line Terminal, OLT), in, upgrade file mainly to transfer to ONU on from OLT and activates ONU by fxFMCpeUpgradeTable table upgrades.Often open table all to need to carry out Node configuration and reading according to the description order of MIB document, and the value arranged also needs data type with reference to describing in MIB document and scope.Therefore, the test of MIB relies on stronger to MIB design documentation, and during second time test ONU upgrade function, needs again manually to arrange above three tables again.
Therefore, the method for existing MIB test ONU system upgrade comprises following shortcoming:
(1) using method of MIB Browser instrument itself need be grasped;
(2) MIB node need be relied on and describe document;
(3) logic need grasping MIB arranges order;
(4) operating procedure is complicated, completes the MIB operation that an ONU system upgrade test need carry out 23 steps;
(5) each test all needs manually to arrange three tables again, inefficiency.
Summary of the invention
The shortcoming of prior art in view of the above, a kind of MIB is the object of the present invention is to provide to test the method for ONU system upgrade, overcome testing tool is not understood, the series of problems such as node logical order is unfamiliar with, complicated operation, each duplication of labour, effectively shorten the testing time, improve testing efficiency.
For achieving the above object and other relevant objects, the invention provides a kind of method that MIB tests ONU system upgrade, comprise the following steps: step S1, server and OLT to be communicated to connect; Step S2, according to Wireshark software analysis, select to need the network interface card of packet capturing, start packet capturing; Step S3, manually each node in three MIB table is set; Step S4, judge that whether current test ONU is with identical before; If so, step S6 is proceeded to; If not, step S5 is proceeded to; Step S5, to arranging request message and read requests message is modified, be the ID of the ONU that need test by index modification last for the object identifier arranging request message and read requests message; Step S6, after ONU has upgraded, stop packet capturing, and derived message; Step S7, derived message being imported to again and gives out a contract for a project in instrument, after filtering out incoherent SNMP message, being sent to OLT by comprising the bag arranging request message and read requests message; Step S8, continuation packet capturing, check that OLT is to each response message arranging request message and read requests message; Step S9, judge the return value of the object identifier corresponding node of each response message show with MIB in the settings of each node whether consistent; If inconsistent, then show that the response message returned reports an error, ONU system upgrade cannot normally carry out; If consistent, then represent that all response messages are without reporting an error, the success of ONU system upgrade.
Test the method for ONU system upgrade according to above-mentioned MIB, wherein: in described step S1, described server is communicated to connect by internet and described OLT, makes described server can OLT described in normal management.
Test the method for ONU system upgrade according to above-mentioned MIB, wherein: in described step S3, by the MIB Browser on server, each node in three MIB tables is manually set.
Further, test the method for ONU system upgrade according to above-mentioned MIB, wherein: described three MIB table is fxFMDevFileServTable table, fxFMDevFileTransTable table and fxFMCpeUpgradeTable table respectively.
Test the method for ONU system upgrade according to above-mentioned MIB, wherein: in described step S7, when filtering incoherent SNMP message, only stay and request message and read requests message are set, filter out the response message of each node.
Test the method for ONU system upgrade according to above-mentioned MIB, wherein: in described step S8, carry out the identification of corresponding response message according to the object identifier of the request ID and response message that arrange request message and read requests message.
As mentioned above, MIB of the present invention tests the method for ONU system upgrade, has following beneficial effect:
(1) tester is without the need to understanding the using method of MIB Browser instrument;
(2) dependence MIB node being described to document is decreased;
(3) tester arranges order without the need to the logic grasping MIB;
(4) simplify test process, eliminate the time that node one by one is manually set;
(5) instrument of giving out a contract for a project directly is used to test during second time test, without the need to manual test again;
(6) the ONU upgrading of different authentication ID is applicable to.
Accompanying drawing explanation
Fig. 1 is shown as the flow chart that MIB of the present invention tests the method for ONU system upgrade;
Fig. 2 is shown as the topological structure schematic diagram that MIB of the present invention tests ONU system upgrade.
Embodiment
Below by way of specific instantiation, embodiments of the present invention are described, those skilled in the art the content disclosed by this specification can understand other advantages of the present invention and effect easily.The present invention can also be implemented or be applied by embodiments different in addition, and the every details in this specification also can based on different viewpoints and application, carries out various modification or change not deviating under spirit of the present invention.
It should be noted that, the diagram provided in the present embodiment only illustrates basic conception of the present invention in a schematic way, then only the assembly relevant with the present invention is shown in graphic but not component count, shape and size when implementing according to reality is drawn, it is actual when implementing, and the kenel of each assembly, quantity and ratio can be a kind of change arbitrarily, and its assembly layout kenel also may be more complicated.
MIB of the present invention tests the process of the method usage data bag simulation tool simulation MIB Browser operation MIB node of ONU system upgrade, usage data bag simulation tool sends and needs to carry out that value arranges arranges request message and need the read requests message of reading nodal operation result, and judges whether test result meets technical requirement according to the reciprocal process of packet; And when testing different ONU, only need revise and message is set and reads respective field in message, and then tool mould of giving out a contract for a project is used to send out bag.
ONU system upgrade comprises file server setting, file transfer is arranged and ONU upgrading arranges this three processes.Wherein, Servers installed comprises the setting of server ip, server account, password; File transfer arranges and upgrade software is uploaded to OLT from file server; ONU upgrading arranges and the upgrade file on OLT is reached ONU and activates upgrading.Therefore, MIB of the present invention tests the method for ONU system upgrade by software of giving out a contract for a project, file server that is virtually reality like reality sends and arranges request message, file transfer arranges request message, ONU upgrading arranges request message, simultaneously, capture the response message that returns of corresponding requests ID, and according to Node configuration value corresponding to OID each in message and read result and judge ONU updating operation whether successfully.
Wherein, file server is arranged, file transfer arranges and ONU upgrading arranges these three processes and relates separately to fxFMDevFileServTable table, fxFMDevFileTransTable table and fxFMCpeUpgradeTable and show this three MIB table.During test, arrange request message and read requests message can respond after OLT, OLT receive request message by sending, the last response message according to returning judges whether successfully ONU system upgrade.
With reference to Fig. 1, the method that MIB of the present invention tests ONU system upgrade comprises the following steps:
Step S1, server and OLT to be communicated to connect.
Particularly, server 1 is communicated to connect with OLT3 by internet 2, makes server 1 can normal management OLT3, as shown in Figure 2.
Step S2, according to Wireshark software analysis, select to need the network interface card of packet capturing, start packet capturing.
Particularly, select by the network package analysis software Wireshark on server the network interface card wanting packet capturing, start packet capturing.
Step S3, manually each node in three MIB table is set.
Particularly, open the MIB Browser on server, three MIB tables are manually set: fxFMDevFileServTable table, fxFMDevFileTransTable table and fxFMCpeUpgradeTable table.
Wherein, each node of MIB is respectively as table 1, table 2 and table 3 are arranged.
Table 1, fxFMDevFileServTable show Node configuration
Table 2, fxFMDevFileTransTable show Node configuration
Table 3 fxFMCpeUpgradeTable shows Node configuration
Step S4, judge that whether current test ONU is with identical before; If so, step S6 is proceeded to; If not, step S5 is proceeded to.
Step S5, giving out a contract for a project to arranging request message and read requests message is modified in instrument, be the ID of the ONU that need test by index modification last for the object identifier arranging request message and read requests message.
Preferably, giving out a contract for a project in instrument to arranging request message and read requests message is modified.
Step S6, after ONU has upgraded, stop packet capturing, and derived message.
Wherein, the message later stage test of deriving can reuse.
Step S7, derived message being imported to again and gives out a contract for a project in instrument, after filtering out incoherent SNMP message, being sent to OLT by comprising the bag arranging request message and read requests message.
Particularly, when filtering incoherent SNMP message, only stay and described by table one to table three, request message and read requests message are set, filter out the response message of each node.
Step S8, continuation packet capturing, check that OLT is to each response message arranging request message and read requests message.
Wherein, the identification of corresponding response message is carried out according to the object identifier of the request ID and response message that arrange request message and read requests message.
Particularly, use network package analysis software Wireshark packet capturing on the server, check OLT in step S7 to each response message arranging request message and read requests message.
Step S9, judge the return value of the object identifier corresponding node of each response message show with MIB in the settings of each node whether consistent; If inconsistent, then show that the response message returned reports an error, ONU system upgrade cannot normally carry out; If consistent, then represent that all response messages are without reporting an error, the success of ONU system upgrade.
As from the foregoing, the method for MIB test ONU system upgrade of the present invention focuses on the setting of server emulates packet and catching and analyzing of OLT return data bag.
It should be noted that, MIB method of testing of the present invention is not only confined to the test of ONU system upgrade, also can effectively use when the functional module test of other MIB.
In sum, MIB of the present invention tests the method tester of ONU system upgrade without the need to understanding the using method of MIB Browser instrument, decrease dependence MIB node being described to document, tester arranges order without the need to the logic grasping MIB, simplify test process, eliminate the time that node one by one is manually set, and directly use instrument of giving out a contract for a project to test during second time test, without the need to manual test again, be applicable to the ONU upgrading of different authentication ID.So the present invention effectively overcomes various shortcoming of the prior art and tool high industrial utilization.
Above-described embodiment is illustrative principle of the present invention and effect thereof only, but not for limiting the present invention.Any person skilled in the art scholar all without prejudice under spirit of the present invention and category, can modify above-described embodiment or changes.Therefore, such as have in art usually know the knowledgeable do not depart from complete under disclosed spirit and technological thought all equivalence modify or change, must be contained by claim of the present invention.

Claims (6)

1. MIB tests a method for ONU system upgrade, it is characterized in that: comprise the following steps:
Step S1, server and OLT to be communicated to connect;
Step S2, according to Wireshark software analysis, select to need the network interface card of packet capturing, start packet capturing;
Step S3, manually each node in three MIB table is set;
Step S4, judge that whether current test ONU is with identical before; If so, step S6 is proceeded to; If not, step S5 is proceeded to;
Step S5, to arranging request message and read requests message is modified, be the ID of the ONU that need test by index modification last for the object identifier arranging request message and read requests message;
Step S6, after ONU has upgraded, stop packet capturing, and derived message;
Step S7, derived message being imported to again and gives out a contract for a project in instrument, after filtering out incoherent SNMP message, being sent to OLT by comprising the bag arranging request message and read requests message;
Step S8, continuation packet capturing, check that OLT is to each response message arranging request message and read requests message;
Step S9, judge the return value of the object identifier corresponding node of each response message show with MIB in the settings of each node whether consistent; If inconsistent, then show that the response message returned reports an error, ONU system upgrade cannot normally carry out; If consistent, then represent that all response messages are without reporting an error, the success of ONU system upgrade.
2. MIB according to claim 1 tests the method for ONU system upgrade, and it is characterized in that: in described step S1, described server is communicated to connect by internet and described OLT, makes described server can OLT described in normal management.
3. MIB according to claim 1 tests the method for ONU system upgrade, it is characterized in that: in described step S3, by the MIB Browser on server, manually arranges each node in three MIB tables.
4. MIB according to claim 3 tests the method for ONU system upgrade, it is characterized in that: described three MIB table is fxFMDevFileServTable table, fxFMDevFileTransTable table and fxFMCpeUpgradeTable table respectively.
5. MIB according to claim 1 tests the method for ONU system upgrade, it is characterized in that: in described step S7, when filtering incoherent SNMP message, only stays and arrange request message and read requests message, filter out the response message of each node.
6. MIB according to claim 1 tests the method for ONU system upgrade, it is characterized in that: in described step S8, carries out the identification of corresponding response message according to the object identifier of the request ID and response message that arrange request message and read requests message.
CN201410789148.8A 2014-12-17 2014-12-17 A kind of method of MIB tests ONU system upgrades Active CN104394042B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410789148.8A CN104394042B (en) 2014-12-17 2014-12-17 A kind of method of MIB tests ONU system upgrades

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410789148.8A CN104394042B (en) 2014-12-17 2014-12-17 A kind of method of MIB tests ONU system upgrades

Publications (2)

Publication Number Publication Date
CN104394042A true CN104394042A (en) 2015-03-04
CN104394042B CN104394042B (en) 2018-01-02

Family

ID=52611878

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410789148.8A Active CN104394042B (en) 2014-12-17 2014-12-17 A kind of method of MIB tests ONU system upgrades

Country Status (1)

Country Link
CN (1) CN104394042B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105656701A (en) * 2016-04-01 2016-06-08 浪潮电子信息产业股份有限公司 Testing method based on windows system SNMP (simple network management protocol)
CN106899451A (en) * 2017-02-22 2017-06-27 广州市诚毅科技软件开发有限公司 The method of testing and device in a kind of MIB storehouses
CN108111929A (en) * 2017-11-17 2018-06-01 深圳市飞鸿光电子有限公司 A kind of method based on Python automatic tests, system and test terminal

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1658579A (en) * 2004-02-16 2005-08-24 华为技术有限公司 Method for set-up artificial equipment agency
CN101616022A (en) * 2008-06-26 2009-12-30 艾默生网络能源***北美公司 A kind of intelligent device management method and system based on snmp protocol
US20120128155A1 (en) * 2009-07-31 2012-05-24 Futurewei Technologies, Inc. Method and apparatus for providing security in a passive optical network
WO2013141840A1 (en) * 2012-03-19 2013-09-26 Adaptive Spectrum And Signal Alignment, Inc. System for diagnosing and optimizing vectored dsl line
CN104104546A (en) * 2014-07-23 2014-10-15 浪潮电子信息产业股份有限公司 SNMP network management system based on scripts

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1658579A (en) * 2004-02-16 2005-08-24 华为技术有限公司 Method for set-up artificial equipment agency
CN101616022A (en) * 2008-06-26 2009-12-30 艾默生网络能源***北美公司 A kind of intelligent device management method and system based on snmp protocol
US20120128155A1 (en) * 2009-07-31 2012-05-24 Futurewei Technologies, Inc. Method and apparatus for providing security in a passive optical network
WO2013141840A1 (en) * 2012-03-19 2013-09-26 Adaptive Spectrum And Signal Alignment, Inc. System for diagnosing and optimizing vectored dsl line
CN104104546A (en) * 2014-07-23 2014-10-15 浪潮电子信息产业股份有限公司 SNMP network management system based on scripts

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105656701A (en) * 2016-04-01 2016-06-08 浪潮电子信息产业股份有限公司 Testing method based on windows system SNMP (simple network management protocol)
CN106899451A (en) * 2017-02-22 2017-06-27 广州市诚毅科技软件开发有限公司 The method of testing and device in a kind of MIB storehouses
CN106899451B (en) * 2017-02-22 2020-04-17 广州市诚毅科技软件开发有限公司 Method and device for testing MIB (management information base)
CN108111929A (en) * 2017-11-17 2018-06-01 深圳市飞鸿光电子有限公司 A kind of method based on Python automatic tests, system and test terminal
CN108111929B (en) * 2017-11-17 2020-11-27 深圳市飞鸿光电子有限公司 Python-based automatic test method, system and test terminal

Also Published As

Publication number Publication date
CN104394042B (en) 2018-01-02

Similar Documents

Publication Publication Date Title
CN104579822B (en) Mobile application automated performance testing system and method based on Http agreements
KR101908467B1 (en) Method and apparatus for visualized network operation and maintenance
US7117411B2 (en) Methods and systems for testing communications network components
US9426284B2 (en) Methods, systems, and computer readable media for call flow analysis using comparison level indicators
CN108809747B (en) Simulation data test system and test method of system platform
CN102740342A (en) Network management equipment performance simulation test method and system
CN104581785B (en) wireless network test method, test device and mobile terminal
CN109450743A (en) Platform of internet of things pressure testing system, method, apparatus and server
US11405302B1 (en) Methods, systems, and computer readable media for network testing using configurable test infrastructure
CN106569951A (en) Web test method independent of page
CN103246606A (en) Method and system for testing performances of ESB (enterprises service bus) platform
CN103746840A (en) Method and system for automatic checking of software version information of network equipment
CN110196800A (en) Distributed transaction test method, apparatus and system
CN105812210A (en) Distributed network performance measuring system
CN104394042A (en) Upgrading method for ONU (Optical Network Unit) testing system by MIB (Management Information Base)
CN104125119A (en) Method and system for testing server
CN104717670A (en) Business quality testing method, device and system
CN105391601A (en) Network management equipment performance testing method and system
WO2008000143A1 (en) Method for equipment quality check, method and device for automatically adapting quality check data
CN107122307B (en) Internet of things execution system
CN105550103B (en) A kind of automated testing method based on self-defined test script
CN107769964B (en) Special line checking method and system
CN113992504A (en) Network transmission equipment management method based on industrial internet identification analysis
CN107124326A (en) A kind of automated testing method and system
CN111221687B (en) Cloud storage testing system and method

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
EXSB Decision made by sipo to initiate substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20201103

Address after: 318015 no.2-3167, zone a, Nonggang City, no.2388, Donghuan Avenue, Hongjia street, Jiaojiang District, Taizhou City, Zhejiang Province

Patentee after: Taizhou Jiji Intellectual Property Operation Co.,Ltd.

Address before: 201616 Shanghai city Songjiang District Sixian Road No. 3666

Patentee before: Phicomm (Shanghai) Co.,Ltd.

TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20230421

Address after: Room 403 and 404, No. 8, Yongtai Taixing Road, Yongping Street, Baiyun District, Guangzhou City, Guangdong Province, 510000

Patentee after: Guangzhou Mudi Information Technology Co.,Ltd.

Address before: 318015 no.2-3167, area a, nonggangcheng, 2388 Donghuan Avenue, Hongjia street, Jiaojiang District, Taizhou City, Zhejiang Province

Patentee before: Taizhou Jiji Intellectual Property Operation Co.,Ltd.

TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20230718

Address after: 518000 5th floor, building 7, huidebao Industrial Park, south side of great outer ring road, Baihua community, Guangming Street, Guangming New District, Shenzhen City, Guangdong Province

Patentee after: SHENZHEN SUPERELECTRON TECHNOLOGY Co.,Ltd.

Address before: Room 403 and 404, No. 8, Yongtai Taixing Road, Yongping Street, Baiyun District, Guangzhou City, Guangdong Province, 510000

Patentee before: Guangzhou Mudi Information Technology Co.,Ltd.

TR01 Transfer of patent right