CN109861722A - A kind of Homeplug automatic network-building method for testing reliability and its test macro - Google Patents

A kind of Homeplug automatic network-building method for testing reliability and its test macro Download PDF

Info

Publication number
CN109861722A
CN109861722A CN201910215257.1A CN201910215257A CN109861722A CN 109861722 A CN109861722 A CN 109861722A CN 201910215257 A CN201910215257 A CN 201910215257A CN 109861722 A CN109861722 A CN 109861722A
Authority
CN
China
Prior art keywords
homeplug
power
building
automatic network
test
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
CN201910215257.1A
Other languages
Chinese (zh)
Other versions
CN109861722B (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 JIXIANG TENDA TECHNOLOGY Co Ltd
Original Assignee
SHENZHEN JIXIANG TENDA 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 SHENZHEN JIXIANG TENDA TECHNOLOGY Co Ltd filed Critical SHENZHEN JIXIANG TENDA TECHNOLOGY Co Ltd
Priority to CN201910215257.1A priority Critical patent/CN109861722B/en
Publication of CN109861722A publication Critical patent/CN109861722A/en
Application granted granted Critical
Publication of CN109861722B publication Critical patent/CN109861722B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Small-Scale Networks (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The present invention discloses a kind of Homeplug automatic network-building method for testing reliability and its test macro, and steps are as follows for the test method: setting testing time, the energization period of power on/off switching on and shutting down and power-off duration;PC1 continues to send PING packet toward PC2, and is saved in TXT document;The number of continuous " request timed out " in automated procedures statistics TXT document;Whether within the allowable range to judge the number of continuous " request timed out ";If so, judging the success of Homeplug automatic network-building;If not, judging that Homeplug automatic network-building fails;Count the power-off number of Homeplug in the testing time of setting, the number of Homeplug networking failure;Automatic network-building failure rate is calculated according to the number of Homeplug automatic network-building failure and Homeplug power-off number.The present invention only needs to be arranged before test the energization and power-off duration of power on/off switching on and shutting down, calculates probability after the completion of test, substantially reduces the testing time, working efficiency significantly improves.

Description

A kind of Homeplug automatic network-building method for testing reliability and its test macro
Technical field
The invention belongs to the communications field more particularly to a kind of Homeplug automatic network-building method for testing reliability and its test systems System.
Background technique
Homeplug product using when need multiple devices networking, Homeplug is connected into gateway, in addition an electricity Power cat is placed near equipment for surfing the net, transmits data by electric wire after power modem device networking, and client could access net Network;Therefore networking function is the very important function using Homeplug, needs analog subscriber to operate to setting in the product test stage It is standby to power off and power on, test the success rate of power modem device networking.
In the prior art, existing Homeplug automatic network-building method for testing reliability is: 4 Homeplugs are set up private two-by-two There is network, the Homeplug of two consolidated networks is placed on same insert row, and insert row connects power line isolator;The network interface of Homeplug is straight It is connected on computer, the IP address of phase same network segment, PC1PING PC2 is arranged in computer wired network adapter;By the switch for switching wiring board Control Homeplug powers on, and powers off;Again by check PC1 whether PING lead to PC2 come judge Homeplug whether networking success.
The above method has the following deficiencies:
(1) manual on-off electric equipment, the method for checking PING inclusion fruit are very time-consuming;If pressing 1000 test statistics, that S=18 hours total time H=1000 (secondary) * 65 (it is logical that power-off in 5 seconds powers on+50 seconds computer PING of system starting in+7 seconds for+3 seconds), This test item will use a people at least 18 working hours;
(2) test result statistics is inconvenient;4 testing times and the number to go wrong are recorded when test, held very much It is error-prone.
To sum up, it is necessary to study a kind of Homeplug automatic network-building method for testing reliability and its test macro is above-mentioned to solve Defect.
Summary of the invention
To solve drawbacks described above, the present invention proposes a kind of Homeplug automatic network-building method for testing reliability and its test system System by using power on/off switch machine equipment control Homeplug is auto-power on and power-off, and passes through statistics client PING packet Number is successful to identify Homeplug energization automatic network-building, to reach the personnel's investment reduced in this test item.
The technical scheme of the present invention is realized as follows:
The present invention discloses a kind of Homeplug automatic network-building method for testing reliability comprising following steps: (S1) setting is surveyed Try time, the energization period of power on/off switching on and shutting down and power-off duration;(S2) PC1 continues to send PING packet toward PC2, and is saved in In TXT document;(S3) using the number of continuous " request timed out " in automated procedures statistics TXT document;(S4) judgement continuously " is asked Ask time-out " number whether within the allowable range;If so, judging the success of Homeplug automatic network-building;If not, judging Homeplug Automatic network-building failure;(S5) number that the power-off number of Homeplug, Homeplug networking fail in the testing time of statistics setting; (S6) automatic network-building failure rate is calculated according to the number of Homeplug automatic network-building failure and Homeplug power-off number.
In step (S1), energization period is set as 60s, and power-off duration is set as 5s.
In step (S4), when the number of continuous " request timed out " is when within 12 times, Homeplug to be measured successful group is determined Net.
Invention additionally discloses a kind of Homeplug automatic network-building reliability test systems comprising Devices to test, Multi-netmouth PC Computer, power line isolator, power on/off switching on and shutting down, automated procedures;Multi-netmouth PC computer installs multiple wired network adapters, Duo Geyou Gauze card is connected respectively to wired network interface of Devices to test;Power line isolator is used to filter electric appliance interference signal in alternating current, It is connected to the feeder ear of Devices to test;Power on/off switching on and shutting down are used to control the power on/off of Devices to test.
Wherein, wired network adapter configures the IP address of different segment.
Wherein, the quantity of wired network adapter is identical as the Homeplug networking quantity of Devices to test.
Wherein, power line isolator is connected to the feeder ear of each pair of Homeplug, is used for each pair of electric power of Devices to test Cat keeps apart with other electric appliances respectively.
Wherein, power on/off switching on and shutting down are used to control the energization period and power-off duration of Devices to test.
Wherein, automated procedures are used to count the number of " request timed out " continuous in PING inclusion fruit, and are judged with this Whether automatic network-building is successful for Homeplug.
Wherein, when the number of continuous " request timed out " is when within 12 times, determine that Homeplug to be measured has succeeded networking.
Compared with prior art, the present invention has the advantage that
(1) by using power on/off switch machine equipment control Homeplug it is auto-power on and power-off, and by statistics client The number of PING packet continuous " request timed out " identifies whether Homeplug networking succeeds, to reach reduction in this test item Personnel's investment.
(2) present invention only needs to be arranged before test power on/off switching on and shutting down, and Homeplug is connected to computer, is less than total time 15 minutes, the testing time is substantially reduced, working efficiency significantly improves, and reduces human cost.
(3) present invention is derived automatically from test record, calculates the successful probability of Homeplug networking automatically by testing time;And The present invention supports multipair Homeplug to test simultaneously, the testing time can be made to shorten at double, greatly improve testing efficiency.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this Some embodiments of invention for those of ordinary skill in the art without creative efforts, can be with It obtains other drawings based on these drawings.
Fig. 1 is the structural schematic diagram of Homeplug automatic network-building reliability test system of the present invention.
Fig. 2 is the flow diagram of Homeplug automatic network-building method for testing reliability of the present invention.
Wherein:
The first Homeplug of 1-;The second Homeplug of 2-;3- power line isolator;4- power on/off switching on and shutting down;The more nets of PC1, PC2- Mouth computer.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every other Embodiment shall fall within the protection scope of the present invention.
In order to facilitate and clarify the description of subsequent embodiment, carried out specifically to a specific embodiment of the invention Before bright, part term is explained, following explanation is applied to this specification and claims.
English word PC1, PC2, PING, TXT for occurring in the present invention etc. are code, do not represent it is other in all senses.
Referring to FIG. 1 and FIG. 2, the present invention discloses a kind of Homeplug automatic network-building method for testing reliability comprising following step Rapid: testing time, the energization period of power on/off switching on and shutting down and power-off duration is arranged in (S1);(S2) PC1 continues to send PING toward PC2 Packet records PING packet in real time and sends result and be saved in TXT document;(S3) automated procedures or automatized script tool are used Count the number of " request timed out " continuous in TXT document;(S4) judge the number of continuous " request timed out " whether in allowed band It is interior;If so, judging the success of Homeplug automatic network-building;If not, judging that Homeplug automatic network-building fails;(S5) statistics is set The number that the power-off number of Homeplug, Homeplug networking fail in testing time;(S6) according to the failure of Homeplug automatic network-building Number and Homeplug power-off number calculate automatic network-building failure rate.
In step (S1), energization period is set as 60s, and power-off duration is set as 5s.The energization period of the present embodiment setting It is according to the system boot duration and networking duration of Devices to test come fixed with power-off duration, the present embodiment is with TENDA product Example, setting are powered a length of 60 seconds, and when power-off is 5 seconds a length of, those skilled in the art can according to the quantity of practical Homeplug to be measured and Energization period and power-off duration is rationally arranged in practical situation.
In step (S4), when the number of continuous " request timed out " is when within 12 times, Homeplug to be measured successful group is determined Net.The number needs of setting adjust according to different Devices to test;3 seconds completion system boots of product to be measured in the present embodiment, Every five seconds clock shows a PING " request timed out " before Devices to test networking success, so the reasonable model of the present embodiment setting Enclosing is (+3 seconds * 5 seconds system boot=58 second of 11 ping " request timed out ") within 12 times, be can determine that within 60 second conduction time The success of networking.Those skilled in the art need to not adjust according to the actual situation simultaneously in Devices to test.
The present embodiment is the overlap joint carried out by taking a pair of (two) Homeplug as an example, if you need to increase multipair Homeplug while surveying Examination, it is only necessary to after Homeplug networking, be connected to other wired network adapters of Multi-netmouth computer PC1 Yu Multi-netmouth computer PC2; If it is multipair Homeplug, it is only necessary to using the not used wired network adapter of cable connection Multi-netmouth computer and Homeplug, with a pair of The IP address of the wired network adapter of Homeplug connection is the IP address of phase same network segment, and so on.
In the present invention, PING packet is by path are as follows: Multi-netmouth computer PC1- > Homeplug 1- > power line -> Homeplug 2- > more Network interface computer PC2.
The operation principle of the present invention is that: when power on/off switching on and shutting down go off state, Multi-netmouth computer PC1 by energized state It is unable to the IP address that PING leads to Multi-netmouth computer PC2;Power on/off switching on and shutting down become energized state after 5s, and Homeplug re-powers Networking, after networking success Multi-netmouth computer PC1 can normal PING lead to the IP address of Multi-netmouth computer PC2.
Invention additionally discloses a kind of Homeplug automatic network-building reliability test system, can be used for testing it is more than one pair of to Survey Homeplug comprising Devices to test, Multi-netmouth PC computer, power line isolator 3, power on/off switching on and shutting down 4, automated procedures; Multi-netmouth PC computer installs multiple wired network adapters (not shown), and multiple wired network adapters are connected respectively to wired network interface of Devices to test (not shown);Power line isolator is connected to the feeder ear of Devices to test for filtering electric appliance interference signal in alternating current;On-off Establish the power on/off shut down for controlling Devices to test by cable.Multi-netmouth PC computer includes Multi-netmouth computer PC1 and more in the present embodiment Network interface computer PC2, Devices to test are a pair of of Homeplug (respectively the first Homeplug 1 and the second Homeplug 2);First Homeplug 1 Private network is formed with the second Homeplug 2, the first Homeplug 1 is connected to a wired network of Multi-netmouth computer PC1 by cable Card, the second Homeplug 2 are connected to a wired network adapter of Multi-netmouth computer PC2 by cable;Two of a pair of of Homeplug connection Wired network adapter must be provided with the different IP addresses of identical network number.
Wired network adapter of the present invention configures the IP address of different segment;The quantity of wired network adapter and the Homeplug of Devices to test Networking quantity is identical.Multi-netmouth PC computer installs multiple wired network adapters, all matches on Multi-netmouth computer PC1 and Multi-netmouth computer PC2 The IP address of different segment is set, the Homeplug of consolidated network, which is connected respectively in two Multi-netmouth computer computers, phase same network segment The wired network adapter of IP address.It is 10.10.10.10/8 that the wired network adapter 1 of Multi-netmouth computer PC1, which configures IP address, in the present embodiment; It is 20.20.20.20/8 that wired network adapter 2, which configures IP address,;It is 30.30.30.30/8 ... that wired network adapter 3, which configures IP address, is respectively had The IP address of line network card configuration different segment;It is 10.10.10.11/8 that the wired network adapter 1 of Multi-netmouth computer PC2, which configures IP address,; It is 20.20.20.22/8 that wired network adapter 2, which configures IP address,;It is 30.30.30.33/8 ... that wired network adapter 3, which configures IP address, is respectively had The IP address of line network card configuration different segment.
Wherein, power line isolator is connected to the feeder ear of each pair of Homeplug, is used for each pair of electric power of Devices to test Cat keeps apart with other electric appliances respectively.
Wherein, power on/off switching on and shutting down are used to control the energization period and power-off duration of Devices to test.The present embodiment is set as Energization period is 60 seconds, and when power-off is 5 seconds a length of.
Wherein, automated procedures are used to count the number of " request timed out " continuous in PING inclusion fruit, and are judged with this Whether automatic network-building is successful for Homeplug.
Wherein, when the number of continuous " request timed out " is when within 12 times, determine that Homeplug to be measured has succeeded networking.
The present invention only needs to be arranged before test power on/off switching on and shutting down, and Homeplug, which is powered, connects computer client, is surveying Probability is calculated after the completion of examination, total time less than 15 minutes, substantially reduces the testing time, working efficiency significantly improves, Reduce human cost;And the present invention can be derived automatically from test record, and test total degree calculates automatically, and it is accurate clear, and can Very easily calculate automatic network-building probability of failure;The present invention can also support multipair Homeplug while test, when can make test Between shorten at double, greatly improve testing efficiency.
The foregoing is merely illustrative of the preferred embodiments of the present invention, is not intended to limit the invention, all in essence of the invention Within mind and principle, any modification, equivalent replacement, improvement and so on be should all be included in the protection scope of the present invention.

Claims (10)

1. a kind of Homeplug automatic network-building method for testing reliability, which is characterized in that it includes the following steps:
(S1) testing time, the energization period of power on/off switching on and shutting down and power-off duration are set;
(S2) PC1 continues to send PING packet toward PC2, and is saved in TXT document;
(S3) using the number of continuous " request timed out " in automated procedures statistics TXT document;
(S4) whether within the allowable range to judge the number of continuous " request timed out ";If so, judge Homeplug automatic network-building at Function;If not, judging that Homeplug automatic network-building fails;
(S5) number that the power-off number of Homeplug, Homeplug networking fail in the testing time of statistics setting;
(S6) automatic network-building failure rate is calculated according to the number of Homeplug automatic network-building failure and Homeplug power-off number.
2. Homeplug automatic network-building method for testing reliability as described in claim 1, which is characterized in that in step (S1), lead to Electric duration is set as 60s, and power-off duration is set as 5s.
3. Homeplug automatic network-building method for testing reliability as claimed in claim 1 or 2, which is characterized in that in step (S4), When the number of continuous " request timed out " is when within 12 times, determine that Homeplug to be measured has succeeded networking.
4. a kind of test system for realizing the Homeplug automatic network-building method for testing reliability as described in any one of claim 1-3 System, which is characterized in that it includes Devices to test, Multi-netmouth PC computer, power line isolator, power on/off switching on and shutting down, automation journey Sequence;Multi-netmouth PC computer installs multiple wired network adapters, and multiple wired network adapters are connected respectively to wired network interface of Devices to test;Electric power Line isolator is connected to the feeder ear of Devices to test for filtering electric appliance interference signal in alternating current;Power on/off switching on and shutting down are used for Control the power on/off of Devices to test.
5. Homeplug automatic network-building reliability test system as claimed in claim 4, which is characterized in that wired network adapter configures The IP address of different segment.
6. Homeplug automatic network-building reliability test system as claimed in claim 5, which is characterized in that the quantity of wired network adapter It is identical as the Homeplug networking quantity of Devices to test.
7. Homeplug automatic network-building reliability test system as claimed in claim 6, which is characterized in that power line isolator connects The feeder ear in each pair of Homeplug is connect, is used to respectively keep apart each pair of Homeplug of Devices to test with other electric appliances.
8. Homeplug automatic network-building reliability test system as claimed in claim 7, which is characterized in that power on/off switching on and shutting down are used In the energization period and power-off duration of control Devices to test.
9. Homeplug automatic network-building reliability test system as claimed in claim 8, which is characterized in that automated procedures are used for The number of " request timed out " continuous in PING inclusion fruit is counted, and whether automatic network-building is successful with this to judge Homeplug.
10. Homeplug automatic network-building reliability test system as claimed in claim 9, which is characterized in that " requested super when continuous When " number when within 12 times, determine that Homeplug to be measured has succeeded networking.
CN201910215257.1A 2019-03-21 2019-03-21 Method and system for testing reliability of automatic networking of power line modem Active CN109861722B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910215257.1A CN109861722B (en) 2019-03-21 2019-03-21 Method and system for testing reliability of automatic networking of power line modem

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910215257.1A CN109861722B (en) 2019-03-21 2019-03-21 Method and system for testing reliability of automatic networking of power line modem

Publications (2)

Publication Number Publication Date
CN109861722A true CN109861722A (en) 2019-06-07
CN109861722B CN109861722B (en) 2021-10-29

Family

ID=66901455

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910215257.1A Active CN109861722B (en) 2019-03-21 2019-03-21 Method and system for testing reliability of automatic networking of power line modem

Country Status (1)

Country Link
CN (1) CN109861722B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113866608A (en) * 2021-09-30 2021-12-31 广东汉为信息技术有限公司 Circuit mainboard reliability test method, storage medium and system

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030204611A1 (en) * 2002-04-29 2003-10-30 Mccosh John C. Communications tester and method of using same
CN104065530A (en) * 2014-06-05 2014-09-24 武汉精测电子技术股份有限公司 Automatic testing method and system of powerline adapter
CN105337807A (en) * 2015-11-30 2016-02-17 上海斐讯数据通信技术有限公司 Router testing system and method
CN106452956A (en) * 2016-09-30 2017-02-22 深圳市吉祥腾达科技有限公司 Power modem sleep wake-up test system and test method
CN107632219A (en) * 2017-10-11 2018-01-26 四川九州电子科技股份有限公司 A kind of automatic switching test system and its method of testing
CN108900378A (en) * 2018-07-06 2018-11-27 四川斐讯信息技术有限公司 A kind of router switch machine automated testing method and system

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030204611A1 (en) * 2002-04-29 2003-10-30 Mccosh John C. Communications tester and method of using same
CN104065530A (en) * 2014-06-05 2014-09-24 武汉精测电子技术股份有限公司 Automatic testing method and system of powerline adapter
CN105337807A (en) * 2015-11-30 2016-02-17 上海斐讯数据通信技术有限公司 Router testing system and method
CN106452956A (en) * 2016-09-30 2017-02-22 深圳市吉祥腾达科技有限公司 Power modem sleep wake-up test system and test method
CN107632219A (en) * 2017-10-11 2018-01-26 四川九州电子科技股份有限公司 A kind of automatic switching test system and its method of testing
CN108900378A (en) * 2018-07-06 2018-11-27 四川斐讯信息技术有限公司 A kind of router switch machine automated testing method and system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113866608A (en) * 2021-09-30 2021-12-31 广东汉为信息技术有限公司 Circuit mainboard reliability test method, storage medium and system

Also Published As

Publication number Publication date
CN109861722B (en) 2021-10-29

Similar Documents

Publication Publication Date Title
CN113014449B (en) Local communication protocol pressure testing method and system of electricity consumption information acquisition system
CN108366006A (en) A kind of intelligent appliance distribution method, apparatus and system
CN104935489B (en) A kind of information collection networking method and power information acquire network
CN105978159B (en) A kind of substation's remote control test is online to exempt to execute checking method
CN108322348A (en) Supervisory control of substation information checks and accepts signal triggering running subsystem and method automatically
CN107094091B (en) A kind of intelligent substation station level network configuration method of calibration and system
CN106712295A (en) Logical power distribution terminal based on distributed power distribution automation system and communication method thereof
CN109062745A (en) A kind of test terminal with testing service device hardware temperatures
CN106124902A (en) A kind of distribution transformer health state evaluation system
CN109861722A (en) A kind of Homeplug automatic network-building method for testing reliability and its test macro
CN104655179A (en) Stress-strain test method, device and system
CN105847076A (en) Signal testing system, method and device for substation control level equipment of transformer substation
CN104184215B (en) Transformer station's dispatching automation joint debugging method and the Apparatus and system of application the method
CN106530653A (en) Electricity information acquisition method
CN111521966B (en) Method and device for monitoring time out-of-tolerance of district electric meter, monitoring terminal and storage medium
CN106849346B (en) A kind of system for testing power distribution automation equipment time adjustment function and timekeeping performance
CN107255788A (en) A kind of power supply cut-offs the method for testing, system and smart jack of surge
CN104022515B (en) Reactive compensation cabinet and the control method of reactive compensation unit
CN111917182B (en) Method and system for directly transmitting data of double main stations of low-voltage distribution network
CN110333909A (en) A kind of modeling method that automation secondary device model automatically configures
CN108562804A (en) Intelligent grid terminal real-time detection method and device
CN104793083A (en) Communication unit interchangeability testing system and interchanging method thereof
CN206149291U (en) Transformer station monitoring system
KR101990566B1 (en) Apparatus and method for acquiring data
CN113203911A (en) Full-automatic simulation test method and system for feeder self-healing master station

Legal Events

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