The content of the invention
The shortcoming of prior art in view of the above, it is an object of the invention to provide a kind of test system of Fiber Node
And method, the incomplete problem of test for solving the node device (ONU and OLT) of optical fiber link in the prior art.
In order to achieve the above objects and other related objects, the present invention provides a kind of test system of Fiber Node, including:Treat
At least optical fiber link all the way of test, wherein, optical fiber link described in per road includes the node and connection positioned at optical fiber link two ends
The optical fiber of node described in two;Positioned at the jamming equipment of node at least one described, for based on acquired interference parameter to institute
State optical fiber link to be tested and apply environmental disturbances;The test equipment being connected with the jamming equipment, each node, is used for
The interference parameter is sent to the jamming equipment according to default environmental disturbances strategy, and during the jamming equipment is run
Count the data packet number that each node in the optical fiber link two ends sends and received, and send and receive based on each node
The comparison result of data packet number, is tested each node.
Preferably, the jamming equipment includes:Noise signal generating means, for based in acquired interference parameter
Noise parameter applies noise jamming to the optical fiber link;Light emitting devices, for based on the light in acquired interference parameter
Interference parameter applies light interference to the optical fiber link.
Preferably, the test equipment includes:Control device, for including noise parameter and/or light based on acquired
The environmental disturbances strategy of interference parameter and regulative mode sends to the jamming equipment and disturbed comprising noise parameter and/or light
The interference parameter of parameter;The quantity statistics device being connected with the node at the optical fiber link two ends currently tested, it is pre- for counting
If the data packet number that each node sends and received in duration, and the number-of-packet measurement for sending and receiving based on each node
The packet loss corresponding to the interference parameter that the control device is exported is tried, and respective nodes are determined based on the packet loss
Anti-interference.
Preferably, the node at the optical fiber link two ends is respectively OLT and ONU.
Preferably, the jamming equipment is located at the ONU sides.
Preferably, when optical fiber link to be tested is a plurality of, each optical fiber link common node is OLT, the survey
Test system also includes:The optical splitter being connected with the OLT, the node ONU of each optical fiber link other end to be tested passes through described
Optical splitter connects OLT.
Preferably, the test equipment connects each node in all optical fiber links to be tested.
Based on above-mentioned purpose, the present invention also provides a kind of method of testing of Fiber Node, including:It is dry according to default environment
Disturb strategy and apply environmental disturbances to optical fiber link to be tested;During environmental disturbances, count the optical fiber link two ends and respectively save
The data packet number that point sends and received, and the comparison result for the data packet number for sending and receiving based on each node, it is right
Each node is tested.
Preferably, the data packet number that each node in the statistics optical fiber link two ends sends and received, and based on each section
The comparison result for the data packet number that point sends and received, includes to the mode that each node is tested:Statistics is default
The data packet number that each node sends and received in duration, and the data packet number test for sending and receiving based on each node
Packet loss corresponding to the interference parameter, and determine based on the packet loss anti-interference of respective nodes.
As described above, the test system and method for the Fiber Node of the present invention, have the advantages that:By to optical fiber
Link applies interference, and tests the interference rejection ability of each node in an interference situation, is on the one hand capable of the net of test node product
Network transmission performance, is on the other hand also based on test result and node product is improved;In addition, particular for noise and outside
Interference of boundary's light to optical fiber link, can accurately measure the vulnerability to jamming of node product;Further, the test system can be surveyed simultaneously
Multiple ONU and its shared OLT are tried, testing efficiency is effectively increased.
Embodiment
Illustrate embodiments of the present invention below by way of specific instantiation, those skilled in the art can be by this specification
Disclosed content understands other advantages and effect of the present invention easily.The present invention can also pass through specific realities different in addition
The mode of applying is embodied or practiced, the various details in this specification can also based on different viewpoints with application, without departing from
Various modifications or alterations are carried out under the spirit of the present invention.It should be noted that, in the case where not conflicting, following examples and implementation
Feature in example can be mutually combined.
It should be noted that the diagram provided in following examples only illustrates the basic structure of the present invention in a schematic way
Think, then in schema only display with relevant component in the present invention rather than according to component count, shape and the size during actual implement
Draw, it is actual when implementing, and kenel, quantity and the ratio of each component can be a kind of random change, and its assembly layout kenel
It is likely more complexity.
Referring to Fig. 1, the present invention provides a kind of test system of Fiber Node.The test system includes:To be tested
At least optical fiber link, jamming equipment, test equipment all the way.
The optical fiber link includes the optical fiber positioned at node 11 described in the node 11 at optical fiber link two ends and connection two.Its
In, the node 11 at optical fiber two ends is respectively OLT and ONU.The length of the optical fiber is exemplified as 20km.Wherein, OLT can be used
The descending light of 1490nm wavelength sends packet, and ONU can send packet using the up light of 1310nm wavelength.
The jamming equipment 12 can be arranged on ONU sides, can also be arranged on OLT sides.The jamming equipment 12 is used to be based on
Acquired interference parameter applies environmental disturbances to the optical fiber link to be tested.
Said interference parameter includes but is not limited to:Light interference parameter, noise parameter etc..
Wherein, the jamming equipment 12 includes:Noise signal generating means and light emitting devices.
The noise signal generating means is used for based on the noise parameter in acquired interference parameter to the optical fiber chain
Road applies noise jamming.
Specifically, acquired interference parameter includes:White Gaussian noise interference type and jamming power, then noise letter
Number generating means applies white Gaussian noise according to the jamming power to the optical fiber link.
The light emitting devices is used to apply to the optical fiber link based on the light interference parameter in acquired interference parameter
Plus light interference.
Specifically, acquired interference parameter includes:Light intensity parameter, light launch angle etc., the light emitting devices according to
The interference parameter applies light interference to the optical fiber link.
The test device is connected with the jamming equipment 12, each node 11, for dry according to default environment
Disturb strategy and send the interference parameter to the jamming equipment 12, and the optical fiber is counted during the jamming equipment 12 is run
The data packet number that each node 11 of both link ends sends and received, and the number-of-packet for sending and receiving based on each node 11
The comparison result of amount, is tested each node 11.
Here, the environmental disturbances strategy includes but is not limited to:1) noise signal generating means adjustment noise ginseng is only indicated
Number;2) light emitting devices adjustment light interference parameter is only indicated;3) while indicating that noise signal generating means and light emitting devices are adjusted
Whole respective interference parameter.Wherein, the adjusting range of the noise parameter refers to the interval of noise parameter in actual fiber link
And set.The adjusting range of the smooth interference parameter also refers to the interval of light interference parameter in actual fiber link and set.
Also include adjustment mode in the environmental disturbances strategy.For example, the test equipment 13 is preset in interference parameter tune
Dull adjustment interference parameter step by step in whole scope, and count under every grade of interference parameter each node 11 in preset duration and send out
The data packet number for sending and receiving, and joined based on the interference that the data packet number that each node 11 sends and received tests every grade
The corresponding packet loss of number, and determine based on the packet loss anti-interference of respective nodes 11.
Here, the test equipment 13 includes:Control device and quantity statistic device.
The control device is used to include noise parameter and/or light interference parameter and regulative mode based on acquired
Environmental disturbances strategy send the interference parameter comprising noise parameter and/or light interference parameter to the jamming equipment 12.
Specifically, the control device can include display screen and man-machine interaction component (such as mouse, keyboard), and user passes through
Environmental disturbances strategy of the man-machine interaction component input comprising interference parameter and regulative mode, then the control device acquisition is corresponding
Environmental disturbances strategy, and send corresponding interference parameter to the jamming equipment 12.
The quantity statistics device is connected with the node 11 at the optical fiber link two ends currently tested, during for counting default
The data packet number that each node 11 sends and received in long, and the number-of-packet measurement for sending and receiving based on each node 11
The packet loss corresponding to the interference parameter that the control device is exported is tried, and respective nodes 11 are determined based on the packet loss
Anti-interference.
For example, in the quantity statistics device statistics preset duration jamming equipment 12 according to every grade of interference parameter to light
In the case that fine link is disturbed, the data packet number that the OLT and ONU at optical fiber two ends each send and receive.And it is described
The OLT data packet numbers sent and the ONU data packet number received are compared respectively for quantity statistics device, and ONU is sent
Data packet number and the data packet numbers that receive of OLT be compared, and determine OLT and ONU to should based on each comparison result
The packet loss of prime interference parameter.When corresponding when the packet loss of prime interference parameter is more than default packet loss threshold value, the number
Amount statistic device determines whether corresponding OLT or ONU anti-interference are qualified according to the grade of current interference parameter.Wherein, etc.
It is inversely proportional between level and default packet loss threshold value.
As a kind of preferred embodiment, as shown in Fig. 2 optical fiber link to be tested is total to for a plurality of and each optical fiber link
It is OLT with node 11.The test system also includes:The optical splitter being connected with the OLT, each optical fiber link to be tested is another
The node 11ONU at end connects OLT by the optical splitter.For example, the optical splitter is 64 points, then same OLT and 64 ONU
It is connected by optical fiber.In this way, for the ease of test, the jamming equipment 12 is located at the OLT sides.The test equipment 13 is connected
Each node 11 in all optical fiber links to be tested.The test mode of the test equipment 13 is detailed earlier herein, herein not
Repeat again.
As shown in figure 3, the present invention also provides a kind of method of testing of Fiber Node.The method of testing is main to be surveyed by foregoing
Test system is performed.
In step sl, the test system applies ring according to default environmental disturbances strategy to optical fiber link to be tested
Disturb in border.
Here, the environmental disturbances strategy includes but is not limited to:1) noise signal generating means adjustment noise ginseng is only indicated
Number;2) light emitting devices adjustment light interference parameter is only indicated;3) while indicating that noise signal generating means and light emitting devices are adjusted
Whole respective interference parameter.Wherein, the adjusting range of the noise parameter refers to the interval of noise parameter in actual fiber link
And set.The adjusting range of the smooth interference parameter also refers to the interval of light interference parameter in actual fiber link and set.
Also include adjustment mode in the environmental disturbances strategy.For example, the test system is preset in interference parameter adjustment
In the range of dull adjustment interference parameter step by step, wherein, every grade of interference parameter maintains preset duration.
Here, the interference parameter includes but is not limited to:Light interference parameter, noise parameter etc..
Specifically, the test system applies noise to the optical fiber link based on the noise parameter in interference parameter and done
Disturb.
For example, the interference parameter includes:White Gaussian noise interference type and jamming power, then the test system according to
The jamming power applies white Gaussian noise to the optical fiber link.
In addition, the test system applies light based on the light interference parameter in the interference parameter to the optical fiber link
Interference.
For example, the interference parameter includes:Light intensity parameter, light launch angle etc., the test system is according to the interference
Parameter applies light interference to the optical fiber link.
In step s 2, the test system counts each node in the optical fiber link two ends and sent during environmental disturbances
And the data packet number received, and the comparison result for the data packet number for sending and receiving based on each node, to each described
Node is tested.
In the present embodiment, the data packet number that each node sends and received in the test system statistics preset duration,
And the data packet number for being sent and being received based on each node tests the packet loss corresponding to the interference parameter, and based on institute
State the anti-interference that packet loss determines respective nodes.
Again specifically, the test system is under every grade of interference parameter, each node in statistics preset duration send and
The data packet number received, and it is right based on the interference parameter institute that the transmission of each node and the data packet number received test every grade
The packet loss answered, and determine based on the packet loss anti-interference of respective nodes.
For example, in the test system statistics preset duration jamming equipment according to every grade of interference parameter to optical fiber link
In the case of being disturbed, the data packet number that the OLT and ONU at optical fiber two ends each send and receive.And the quantity system
The OLT data packet numbers sent and the ONU data packet number received are compared respectively for counter device, the data that ONU is sent
The data packet number that bag quantity and OLT are received is compared, and determines that OLT is corresponding with ONU when prime is dry based on each comparison result
Disturb the packet loss of parameter.When corresponding when the packet loss of prime interference parameter is more than default packet loss threshold value, the quantity statistics
Device determines whether corresponding OLT or ONU anti-interference are qualified according to the grade of current interference parameter.Wherein, grade with it is pre-
If packet loss threshold value between be inversely proportional.
It should be noted that the test system can also test a plurality of optical fiber link, its test side according to above-mentioned steps
Formula is same or similar with abovementioned steps, will not be described in detail herein.
In summary, it is of the invention, disturbed by applying to optical fiber link, and test the anti-of each node in an interference situation
Disturb ability, on the one hand can test node product it is whether qualified, be on the other hand also based on test result and node product entered
Row is improved;In addition, the interference particular for noise and ambient light to optical fiber link, can accurately measure the anti-interference of node product
Property;Further, the test system can test multiple ONU and its shared OLT simultaneously, effectively increase testing efficiency.So,
The present invention effectively overcomes various shortcoming of the prior art and has high industrial utilization.
The above-described embodiments merely illustrate the principles and effects of the present invention, not for the limitation present invention.It is any ripe
Know the personage of this technology all can carry out modifications and changes under the spirit and scope without prejudice to the present invention to above-described embodiment.Cause
This, those of ordinary skill in the art is complete without departing from disclosed spirit and institute under technological thought such as
Into all equivalent modifications or change, should by the present invention claim be covered.