A kind of method and device of testing PON local side hardware performance
Technical field
The present invention relates to technical field of optical fiber communication, relate in particular to the method for testing of performance of network equipments, more particularly, relate to a kind of method and device of test PON (Passive Opical Network EPON) local side hardware performance.
Background technology
Along with the extensive expansion of Ge great operator " broadband speed-raising ", " light entering and copper back " engineering, optical fiber access has impayable advantage aspect bandwidth capacity and coverage distance, the particularly sustained and rapid development of the Internet, the business such as online game, video conferencing, video request program, make user continue to increase the demand of network insertion bandwidth.
PON technology is as one of main access way of operator.FTTH (Fiber to the home for Fiber To TheHome) can not only provide larger communication bandwidth, and can allow multiple operators arrive user by an optical fiber equal access, this both can allow user have the real autonomous power of selecting Virtual network operator, the caused wasting of resources of also can avoiding overlapping construction.Along with FTTH is in the large-scale application of operator, the port number originally using is few, and low capacity PON local side apparatus more and more can not meet the demand of operator, the substitute is large capacity, highdensity equipment contributes to reduce operator's cost, improves and disposes flexibility.Therefore be also vital to the hardware performance test of PON local side apparatus.
As shown in Figure 1, for traditional PON local side apparatus testing apparatus schematic diagram, 1 PON mouth need to take 2 ports of network tester and edit 2 data message flows (each 1 of up-downgoing data flow), (N is natural number) the individual PON port test of supposing there is N, needing network tester port number is 2N and configuration data stream 2N bar.The shortcoming of traditional PON local side apparatus hardware performance method of testing is: in the situation of this method for PON mouth quantity few (PON port number <5), test more for convenience, and for thering is highdensity PON mouth quantity (PON port number >5), some is loaded down with trivial details, need to take more network tester port resource, the testing cost of increasing input.Conventional PON business board has 16 PON ports in the market.
As shown in Figure 2, it is existing PON local side apparatus hardware performance testing apparatus schematic diagram, traditional method of testing, application reference publication No. is the Chinese invention patent application file of CN102497229A, in literary composition, mention the method for utilizing 1 port of network tester to complete all port tests of PON local side apparatus, adopt the shortcoming of this method of testing to be: 1, send data flow to multiple PON ports by 1 port of network tester simultaneously, and the speed of 1 port of described network tester must be greater than the summation of all ONU upstream rates, the upstream rate surface speed forwarding of the most basic 900M of all ONU of guarantee like this.If according to 16 PON port tests conventional on market, network tester at least needs a 16G port could meet the most basic up surface speed forwarding so, therefore require very high for network tester like this, need to purchase corresponding two-forty port instrument and test, testing cost increases greatly; 2, network tester port sends downstream data flow, while being forwarded to another ONU through ONU, become upstream, article one, data rheology changes two kinds of different rate tests into, due to the not reciprocity characteristic of PON upstream and downstream speed, this can cause the downstream rate of the most basic 950M not reach surface speed forwarding.Therefore the method can only meet testing uplink speed, can not meet test downstream rate.
Summary of the invention
Main purpose of the present invention is to utilize two ports of network tester that a kind of method and device thereof that utilizes exchange chip characteristic test PON local side hardware performance is provided, can save network tester port resource, greatly improve testing efficiency, thereby saved test input cost, the test that simultaneously meets the most basic 900M upstream rate bandwidth of PON port and 950M downstream rate band width configuration ensures.
In order to solve the problems of the technologies described above, the present invention has adopted following technical scheme:
The invention discloses a kind of method and device thereof of the PON of test local side hardware performance, described device comprises: a master control borad, a PON business board to be measured, an Ethernet service plate, a backboard, a station terminal PC, a Serial Port Line, a network tester, N ONU (Optical Network Unit optical network unit), N optical splitter, N bar ethernet line; A port of first GE (GigabitEthernet gigabit Ethernet) port interconnection network tester of described Ethernet service plate is as up going port; First PON port of described PON business board to be measured, connects First ONU by optical splitter, and the downlink Ethernet mouth of described First ONU connects second GE port of described Ethernet service plate by ethernet line; Second PON port of described PON business board to be measured, connect second ONU by optical splitter, the downlink Ethernet mouth of described second ONU connects the 3rd GE port of Ethernet service plate by ethernet line, by that analogy, the 3rd PON port of PON business board to be measured, connect the 3rd ONU by optical splitter, the downlink Ethernet mouth of the 3rd ONU connects the 4th GE port of Ethernet service plate by ethernet line; Last PON port of PON business board to be measured, connects last ONU by optical splitter, and the downlink Ethernet mouth of last ONU passes through another port of ethernet line interconnection network tester as down going port.
The port number of described network tester is two.
Described Ethernet service plate comprises full electricity mouthful Ethernet service plate or full light port service plate or electricity mouthful light mouth mixed service plate.
Described PON local side hardware comprises boxlike PON equipment or frame PON equipment.
A kind of method of testing PON local side hardware performance of the present invention, comprises the following steps:
Step S1, using a port of first GE port interconnection network tester of Ethernet service plate as up going port, first PON port of PON business board to be measured is connected to First ONU by optical splitter, the downlink Ethernet mouth of described First ONU connects second GE port of described Ethernet service plate by ethernet line, and then second of PON business board PON port connects second ONU by optical splitter, the downlink Ethernet mouth of second ONU connects the 3rd GE port of Ethernet service plate by ethernet line, the like, the 3rd PON port connected to the 3rd ONU by optical splitter, the downlink Ethernet mouth of the 3rd ONU is connected to the 4th GE port of Ethernet service plate by ethernet line, finally, by last PON port of PON business board, connect last ONU by optical splitter, the downlink Ethernet mouth of last ONU passes through another port of ethernet line interconnection network tester as down going port,
Step S2, according to the port number of the port number of PON business board to be measured and Ethernet service plate, in equipment, create VLAN (Virtual Local Area Network VLAN) list item, set up vlan port membership table, each VLAN comprises a PON port to be measured and an Ethernet service plate GE port;
Step S3, according to described vlan port membership table, the PVID (Port-base Vlan ID port VLAN ID) that revises described PON port to be measured and described Ethernet service plate GE port is corresponding VLANID;
Step S4, according to performance test requirement, configures the bandwidth rates of all ONU, closes spanning-tree feature and the loop detection function of whole PON local side apparatus and all ONU, and preserves configuration result restarting equipment;
Step S5, network tester equipment sends test data stream to described up going port, and whether the receiving data stream that detects down going port is normal, in like manner, described down going port sends test data stream, and whether the receiving data stream that detects up going port is normal, whether normal to determine the two-way converting performance of PON equipment to be measured;
Step S6, analyzing test data, exports test report, and provides the performance index explanation of Devices to test.
Described in step S2, the port number of PON business board to be measured is N, and the port number of described Ethernet service plate is M, and M is more than or equal to N, and described vlan table item is T, and T equals N, and each VLAN comprises a N and two ports of a M.
Up going port described in step S5 and down going port are any one port of network tester, and the flow that described up going port sends test data stream is no less than 950M; The flow that described down going port sends test data stream is no less than 900M.
Reading by reference to the accompanying drawings after the detailed description of embodiments of the present invention, it is clearer that the features and advantages of the invention will become.
Brief description of the drawings
Fig. 1 is conventional P ON local side apparatus hardware performance testing apparatus schematic diagram;
Fig. 2 is existing PON local side apparatus hardware performance testing apparatus schematic diagram;
Fig. 3 is embodiment of the present invention PON local side apparatus hardware performance testing apparatus schematic diagram;
Fig. 4 is embodiment of the present invention PON local side apparatus hardware performance testing process schematic diagram;
Fig. 5 is that the test of embodiment of the present invention PON local side apparatus hardware performance connects configuration schematic diagram.
Embodiment
With an execution mode, the present invention is further detailed explanation below, but should illustrate, protection scope of the present invention is not limited only to this.
As shown in 3, a kind of device that utilizes exchange chip characteristic test PON local side hardware performance, it comprises: a master control borad, a PON business board to be measured, an Ethernet service plate, a backboard, one station terminal PC, a Serial Port Line, a network tester, N ONU, N optical splitter, N bar ethernet line, by first GE port of Ethernet service plate, a port of GE1 mouth interconnection network tester is as up going port, by first PON port of PON business board to be measured, be that to connect First ONU by optical splitter be ONU1 to PON1 mouth, the downlink Ethernet mouth of described ONU1 connects second port of described Ethernet service plate by ethernet line, it is GE2 port, and then second of PON business board PON port, be that PON2 connects ONU2 by optical splitter, ONU2 downlink Ethernet mouth connects Ethernet service plate GE3 port by ethernet line, by that analogy, the ONU3 of PON3 port connects Ethernet service plate GE4 port by ethernet line, finally, a rear PON port of described PON business board, the downlink Ethernet mouth that is PON16 port ONU16 passes through port of ethernet line interconnection network tester as down going port.
As shown in Figure 5, the process that the present invention tests downstream data flow comprises: data flow is sent to first port of Ethernet service plate from network tester up going port port one, forward characteristic according to VALN11 list item, through backboard, arrive again master control borad, after master control borad exchange, enter PON business board, then through PON business board exchange chip, go downwards to ONU1, the data of ONU1 are forwarded to second port of Ethernet service plate by ethernet line, forward characteristic according to VLAN12 list item, data flow is forwarded to again the ONU2 under second port of PON business board, by that analogy, data flow is through the ONU under last PON port of PON business board, get back to communication test instrument down going port port 2 by ethernet line, thereby complete downlink data current test.
In like manner, its testing uplink data flow procedure as shown in Figure 5, data flow is sent to last ONU16 from network tester down going port port 2, forward characteristic according to VALN26 list item, through backboard, arrive again master control borad, after master control borad exchange, enter Ethernet service plate GE16 port, then pass through external ethernet netting twine to ONU15, by that analogy, finally get back to communication test instrument port one by ethernet line, complete downlink data current test.
As shown in Figure 4, be test flow chart of the present invention, the method for test PON local side hardware performance provided by the invention, concrete testing procedure is as follows:
Step S1, by first GE port of Ethernet service plate, a port of GE1 mouth interconnection network tester is as up going port, by first PON port of PON business board to be measured, be that PON1 mouth connects First ONU by optical splitter, be ONU1, the downlink Ethernet mouth of described ONU1 connects second port of described Ethernet service plate by ethernet line, it is GE2 port, and then second of PON business board PON port, be that PON2 connects ONU2 by optical splitter, ONU2 downlink Ethernet mouth connects Ethernet service plate GE3 port by ethernet line, by that analogy, the ONU3 of PON3 port connects Ethernet service plate GE4 port by ethernet line, finally, a rear PON port of described PON business board, the downlink Ethernet mouth that is the ONU16 of PON16 port passes through port of netting twine interconnection network tester as down going port,
Step S2, according to the port number of the port number of PON business board to be measured and Ethernet service plate, in equipment, create VLAN (Virtual Local Area Network VLAN) list item, each VLAN comprises a PON port to be measured and an Ethernet service plate GE port; The port number of PON business board to be measured is assumed to N, the port number of Ethernet service plate is M, M is more than or equal to N, and vlan table item is T, and T equals N, each VLAN comprises a N and two ports of a M, as VLAN11 comprises PON1 port and GE1 port, VLAN12 comprises PON2 port and GE2 port, and VLAN13 comprises PON3 port and GE3 port, by that analogy, VLAN26 comprises port PO N16 port and GE16 port.
Step S3, according to described vlan port membership table, the PVID that revises described PON port to be measured and described Ethernet service plate GE port is corresponding VLAN ID; Described member of vlan's table, as the PVID of VLAN11 membership table PON1 port and GE1 port is revised as 11, the PVID of VLAN12 membership table PON2 port and GE2 port is revised as 12, the PVID of VLAN13 membership table PON3 port and GE3 port is revised as 13, by that analogy, the PVID of VLAN26 membership table PON16 port and GE16 port is revised as 16.
Step S4, according to performance test requirement, configures the bandwidth rates of described all ONU, closes spanning-tree feature and the loop detection function of whole PON local side apparatus and all ONU, and preserves configuration result restarting equipment.
Step S5, network tester equipment sends test data to described up going port, and whether the reception data that detect down going port are normal, in like manner, described down going port sends test data, and whether the reception data that detect up going port are normal, whether normal to determine the two-way converting performance of PON equipment to be measured.Up going port is any one port of network tester, any one port that down going port is network tester, and up going port sends test data stream, and transmission data traffic is the most basic 950M; Down going port sends test data stream, and transmission data traffic is the most basic 900M;
Step S6, analyzing test data, exports test report, and provides the performance index explanation of Devices to test.
Adopt method of testing of the present invention only to need two ports of network tester just can test all of the port of PON business board, so greatly save network tester port resource, simplified network tester port arrangement, improve testing efficiency, thereby saving testing cost, especially in the situation that PON mouth quantity increases, save test resource more outstanding.
The foregoing is only preferred embodiment of the present invention, in order to limit the present invention, within the spirit and principles in the present invention not all, any amendment of making, be equal to replacement, improvement etc., within all should being included in the scope of protection of the invention.