Summary of the invention
In view of this, the present invention provides a kind of power line carrier route test method and system, to realize the test to the routing algorithm performance in the electric line carrier communication network.
A kind of power line carrier routing algorithm method of testing comprises:
Make up routing algorithm test node network, said test node network is the benchmark test node that successively successively decreases with the intermediate layer, and said test node is arranged between port adjacent test port interlayer and that this test node is nearest;
Carrier signal is sent to source port and follows the tracks of current carrier signal path, between source port and destination interface, enable the test node test function;
Detect path quality between current source port and destination interface.
Preferably, said test function is specially test node between adjustment source port and destination interface cut-off, decay range and noise level amplitude.
In order to improve such scheme, said method also comprises: the path quality information of said source port and destination interface is sent to central server.
A kind of power line carrier routing algorithm test macro comprises:
Routing algorithm test port network struction unit; Be used to make up routing algorithm test node network; Said test node network is the benchmark test node that successively successively decreases with the intermediate layer, and said test node is arranged between port adjacent test port interlayer and that this test node is nearest;
Central server is sent to carrier signal source port and follows the tracks of current carrier signal path, between source port and destination interface, enables each test node test function;
The signal to noise ratio detecting unit detects path quality between current source port and destination interface.
Can find out from above-mentioned technical scheme; Embodiment of the invention power line carrier routing algorithm method of testing is utilized routing algorithm test port network; This network configuration can be simulated abundant path; And through enabling the test node test function between source port and destination interface, promptly the path break-make changes level decay amplitude and noise level amplitude; The path reliability under current signal to noise ratio environment on the selected path of this routing algorithm is used in monitoring; Lack in the prior art for power line carrier routing algorithm testing apparatus and system in the communication network being directed against the purpose of routing algorithm performance test to be measured on the carrier signal path, having overcome thereby reach, cause the shortcoming of communication failures such as electric line carrier communication interruption.
The embodiment of the invention also discloses the system corresponding with said method; Utilize the test node in this test network that the adjustment and the test network of the communication environment in the selected path of current routing algorithm are simulated the multipath characteristics, reaching can be flexibly to being directed against the purpose of the test of various routing algorithms on the electric line carrier communication network.
Embodiment
To combine the accompanying drawing in the embodiment of the invention below, the technical scheme in the embodiment of the invention is carried out clear, intactly description, obviously, described embodiment only is the present invention's part embodiment, rather than whole embodiment.Based on the embodiment among the present invention, those of ordinary skills are not making the every other embodiment that is obtained under the creative work prerequisite, all belong to the scope of the present invention's protection.
The embodiment of the invention discloses a kind of power line carrier route test method and system, to realize test to the routing algorithm performance in the electric line carrier communication network.
Fig. 1 a shows a kind of power line carrier routing algorithm method of testing, describes in conjunction with the corresponding routing algorithm test port of Fig. 1 b power line carrier routing algorithm method of testing network, and said method comprises:
Step 11: make up routing algorithm test node network;
Said test node network is the benchmark test node that successively successively decreases with the intermediate layer, and said test node is arranged between port adjacent test port interlayer and that this test node is nearest;
Fig. 1 b shows the concrete implementation of above-mentioned networking mode; According to the network structure combination like figure, test port is respectively test node 1 and test node 2 according to two test nodes are arranged between the ground floor and the second layer with 15 test nodes; Between the second test port layer and the 3rd layer three test nodes are arranged; Being respectively between test node 3, test node 4 and test node 5, the three test port layers and the 4th test port layer (middle two-layer) four test nodes to be arranged, is respectively test node 6, test node 7, test node 8 and test node 9; Between the 4th test port layer and the 5th test port layer three test nodes are arranged; Being respectively between test node 10, test node 11 and test node 12, the five test port layers and the 6th test port layer two test nodes to be arranged, is respectively test node 13 and test node 14; Between the 6th test port layer and the 7th test port layer test node being arranged, is test node 15.
With test node 6 is example; It is connected with nearest test node 1, test node 3 and the test node 7 of the 4th test port layer with adjacent test port layer the 3rd test port layer, promptly be arranged at adjacent test port interlayer and the nearest port of this test node 6 between;
With test node 4 is example; It is connected with nearest test node 1, test node 2, test node 7 and the test node 8 of the 4th test port layer with adjacent test port layer second test port layer by layer, promptly be arranged at adjacent test port interlayer and the nearest port of this test node 4 between;
Step 12: carrier signal is sent to source port and follows the tracks of current carrier signal path, between source port and destination interface, enable the test node test function;
In the present embodiment; Source port may be selected to be the port like first port layer among Fig. 1 b; This routing algorithm to be measured carries out Path selection until destination interface; A plurality of ports and the node in this networking possibly passed through in selected path; Through adjustment test node switch, signal attenuation range and noise amplitude, change the carrier communication environment of current path, so that can the path reliability under current signal to noise ratio environment detect and whether can behind transduction pathway, seek next optimal path fast and detect on the selected path of this routing algorithm to using.
The adjustment of the said test node position of the switch, the adjustment of signal attenuation range and the adjustment of noise amplitude can realize through the diverter switch, attenuator and the noise regulon that are arranged between two ports of path approach respectively; The path is broken off fully when diverter switch is broken off; When diverter switch is closed and programmable attenuator during at low-grade location; The path is in pass-through state, and when programmable attenuator was in high tap position, the path was in critical condition; Use the cascade of a plurality of attenuators of the some test nodes on the selected path of this routing algorithm to increase the selectivity in path; Thereby reach path communication environment between the adjustment port and change the order ground in path,, reach the purpose of simulating the low voltage power line carrier topological structure to simulate abundant path.
Need to prove: above-mentioned test process especially is suitable for carrier communication and checks meter order as routing algorithm test stream (carrier (boc) modulated signals); This carrier (boc) modulated signals transmits in the low pressure carrier wave route test macro framework that 15 route test nodes of present embodiment are formed; 15 route test nodes can be formed different topological structures and simulate the low-voltage power line environment of checking meter, and judge the validity and the practicality of carrier system routing algorithm through check meter success rate and parameters such as detecting the path signal to noise ratio of inquiry concentrator.
Step 13: detect path quality between current source port and destination interface.
Embodiment of the invention power line carrier routing algorithm method of testing is utilized routing algorithm test port network; This network configuration can be simulated abundant path; And through enabling the test node test function between source port and destination interface; It is the path break-make; Change level decay amplitude and noise level amplitude, can the path reliability under current signal to noise ratio environment reach can behind transduction pathway, seek next optimal path fast whether on the selected path of this routing algorithm to using, thereby reach being directed against the purpose of routing algorithm performance test to be measured on the carrier signal path.
Fig. 2 shows another power line carrier routing algorithm method of testing, comprising:
Step 21: make up routing algorithm test node network;
Step 22: carrier signal is sent to source port and follows the tracks of current carrier signal path, between source port and destination interface, enable the test node test function;
Step 23: detect path quality between current source port and destination interface;
Step 24: the path quality information of said source port and destination interface is sent to central server.
Said central server collection is also resolved the current path quality information, and the routing algorithm of participating in test is evaluated and tested, and has reached the purpose of laboratory to various carrier communication routing algorithm tests.
Fig. 3 shows a kind of power line carrier routing algorithm test macro, comprising:
Routing algorithm test port network struction unit 31; Be used to make up routing algorithm test node network; Said test node network is the benchmark test node that successively successively decreases with the intermediate layer, and said test node is arranged between port adjacent test port interlayer and that this test node is nearest;
Central server 32 is sent to carrier signal source port and follows the tracks of current carrier signal path, between source port and destination interface, enables each test node test function;
Signal to noise ratio detecting unit 33 detects path quality between current source port and destination interface.
In sum:
Embodiment of the invention power line carrier routing algorithm method of testing is utilized routing algorithm test port network; This network configuration can be simulated abundant path; And through enabling the test node test function between source port and destination interface; It is the path break-make; Change level decay amplitude and noise level amplitude, the path reliability under current signal to noise ratio environment on the selected path of this routing algorithm is used in monitoring, thereby reaches being directed against the purpose of routing algorithm performance test to be measured on the carrier signal path; Overcome and lacked in the prior art, caused the shortcoming of communication failures such as electric line carrier communication interruption for power line carrier routing algorithm testing apparatus and system in the communication network.
The embodiment of the invention also discloses the system corresponding with said method; Utilize the test node in this test network that the adjustment and the test network of the communication environment in the selected path of current routing algorithm are simulated the multipath characteristics, reaching can be flexibly to being directed against the purpose of the test of various routing algorithms on the electric line carrier communication network.
Each embodiment adopts the mode of going forward one by one to describe in this specification, and what each embodiment stressed all is and the difference of other embodiment that identical similar part is mutually referring to getting final product between each embodiment.For the disclosed system of embodiment, because it is corresponding with the embodiment disclosed method, so description is fairly simple, relevant part is partly explained referring to method and is got final product.
For system embodiment, because it is basically corresponding to method embodiment, so describe fairly simplely, relevant part gets final product referring to the part explanation of method embodiment.Device embodiment described above only is schematic; Wherein said unit as the separating component explanation can or can not be physically to separate also; The parts that show as the unit can be or can not be physical locations also; Promptly can be positioned at a place, perhaps also can be distributed on a plurality of NEs.Can realize the purpose of present embodiment scheme according to the needs selection some or all of module wherein of reality.Those of ordinary skills promptly can understand and implement under the situation of not paying creative work.
To the above-mentioned explanation of the disclosed embodiments, make this area professional and technical personnel can realize or use the present invention.Multiple modification to these embodiment will be conspicuous concerning those skilled in the art, and defined General Principle can realize under the situation of spirit that does not break away from the embodiment of the invention or scope in other embodiments among this paper.Therefore, the embodiment of the invention will can not be restricted to these embodiment shown in this paper, but will meet and principle disclosed herein and features of novelty the wideest corresponding to scope.