CN103532778A - Intelligent testing method for electricity consumption information collection equipment - Google Patents

Intelligent testing method for electricity consumption information collection equipment Download PDF

Info

Publication number
CN103532778A
CN103532778A CN201310471188.3A CN201310471188A CN103532778A CN 103532778 A CN103532778 A CN 103532778A CN 201310471188 A CN201310471188 A CN 201310471188A CN 103532778 A CN103532778 A CN 103532778A
Authority
CN
China
Prior art keywords
collecting device
goes
detection
above instruction
afn
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
CN201310471188.3A
Other languages
Chinese (zh)
Other versions
CN103532778B (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.)
Elefirst Science & Tech Co Ltd
Original Assignee
Elefirst Science & Tech 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 Elefirst Science & Tech Co Ltd filed Critical Elefirst Science & Tech Co Ltd
Priority to CN201310471188.3A priority Critical patent/CN103532778B/en
Publication of CN103532778A publication Critical patent/CN103532778A/en
Application granted granted Critical
Publication of CN103532778B publication Critical patent/CN103532778B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/50Reducing energy consumption in communication networks in wire-line communication networks, e.g. low power modes or reduced link rate

Landscapes

  • Computer And Data Communications (AREA)

Abstract

The invention relates to an intelligent testing method for electricity consumption information collection equipment. The method comprises the following steps that an equipment remote communication program testing process is collected, and an equipment carrier meter reading communication testing process is collected. The method has the advantages that the testing on the collection equipment can be effectively and automatically completed, the building of a small-size real testing system is not needed, the corresponding time and resources are saved, the technical requirement on testing personnel is reduced, the testing schemes are rich, the testing conclusion confidence level is enhanced, the testing efficiency can be improved, the product output quality is improved, and the in-site operation and maintenance cost is reduced.

Description

Power information collecting device intelligent test method
Technical field
The present invention relates to a kind of power information collecting device intelligent test method.
Background technology
Orderly propelling along with the construction of power consumer power information acquisition system, ten hundreds of collecting device (low pressure concentrator, specially become acquisition terminal etc.) constantly puts into operation, the quality of collecting device is the problem that all manufacturer terminals are paid close attention to, any quality of lot problem all can cause the massive losses of manpower, financial resources, for this reason, increasing manufacturer terminal has taken up to study the integrated test facility of collecting device.
Traditional power information collecting device method of testing need to, according to the related instrument of collecting device functional requirement, device, parts, main station system etc., be built a set of real small-sized test macro, and then test conventionally under laboratory environment.Yet there are some disadvantages in this conventional method: the small-sized authentic testing system of building under (1) laboratory environment cannot realize comprehensively test fully to collecting device, cannot simulate abnormal conditions, may cause collecting device to move in spite of illness; (2) test resource requirement is more, the system of building length consuming time, and testing efficiency is lower; (3) need manual testing, tester's technical merit and sense of responsibility are had relatively high expectations, test has higher uncertainty, test result convincingness is not strong, because manual testing is with these disadvantages, there is the hidden danger of quality of upgrade applications in the collecting device that makes to put into operation, easily causes maintenance workload significantly to increase.
Summary of the invention
Technical problem to be solved by this invention is: the problem existing for prior art, a kind of power information collecting device intelligent test method is proposed, and can automatically complete the test to collecting device.
The technical scheme that the present invention solves its technical problem is as follows:
A collecting device intelligent test method, is characterized in that, described method of testing comprises collecting device telecommunication program test process, and described collecting device telecommunication program test process comprises the following steps:
Whether the first step, detection collecting device start shooting normal, if go to second step, record if not the abnormal also detection of end of collecting device start;
Whether second step, the client computer that the detects collecting device communication program of reaching the standard grade is normal, if go to the 3rd step, records if not collecting device the client computer abnormal and detection of end of communication program of reaching the standard grade;
Whether the 3rd step, the client computer that the detects collecting device communication program that rolls off the production line is normal, if go to the 4th step, records if not collecting device the client computer abnormal and detection of end of communication program that rolls off the production line;
Whether the server communication program of the 4th step, detection collecting device is normal, if go to the 5th step, records if not the abnormal also detection of end of server communication program of collecting device;
The 5th step, collecting device telecommunication program state are normal, detection of end.
Preferably, the detailed process of the first step is as follows:
S1. monitor VCC4V pin, the ON/OFF pin status of collecting device;
S2. when collecting device VCC4V pin is low level, detect VCC4V pin and whether maintain low level over switching to high level after 2 seconds and when being no more than 10 seconds, if go to S3, go to if not S5;
S3. from collecting device VCC4V pin from after low level switches to high level during 100ms, detect whether ON/OFF pin is that low level and pulse duration are 1 ± 0.1 second, if go to S4, go to if not S5;
S4. after waiting at least 10 seconds, to collecting device, assign AT instruction and detect collecting device whether responding, if go to S6, go to if not S5;
S5. record the abnormal also detection of end of collecting device start;
S6. collecting device start is normal, goes to second step.
Preferably, the detailed process of second step is as follows:
S7. initialization detects: to collecting device, send respectively to give an order: AT, ATE0 (1) ,+I ,+GMR ,+CSQ ,+CFUN ,+CMUX, MYSOCKETLED; If collecting device goes to S8 to the whole response success of above instruction, if collecting device is in above instruction, at least one does not respond and go to S13;
S8. inquiry arranges configuration information detection: to collecting device, send respectively to give an order: MYGMR, MYNETURC, MYTYPE ,+CGSN; If collecting device goes to S9 to the whole response success of above instruction, if collecting device is in above instruction, at least one does not respond and go to S13;
S9.SIM detects: to collecting device, send respectively to give an order :+CPIN ,+CREG; If collecting device goes to S10 to the whole response success of above instruction, if collecting device is in above instruction, at least one does not respond and go to S13;
S10. network configuration and registration detect: to collecting device, send successively to give an order: MYNETCON, MYNETACT; If collecting device goes to S11 to the whole response success of above instruction successively, if collecting device does not respond and goes to S13 one of above instruction;
S11. open the detection of TCP/UDP service: with client mode, to collecting device, send successively to give an order: MYNETSRV, MYNETOPEN; If collecting device goes to S12 to the whole response success of above instruction successively, if collecting device does not respond and goes to S13 one of above instruction;
S12. the detection of transceiving data and inquiry: send respectively to give an order to collecting device: MYNETREAD, MYNETWRITE, MYNETACK; If collecting device goes to S14 to the whole response success of above instruction, if collecting device is in above instruction, at least one does not respond and go to S13;
S13. record collecting device client computer and reach the standard grade communication program extremely and detection of end;
S14. the collecting device client computer communication program of reaching the standard grade is normal, goes to the 3rd step.
Preferably, the detailed process of the 3rd step is as follows:
S15. to collecting device, send the request of rolling off the production line, go to S16;
S16. close the detection of TCP/UDP service: with client mode, to collecting device, send successively to give an order: MYNETCLOSE, MYNETACT; If collecting device goes to S18 to the whole response success of above instruction successively, if collecting device does not respond and goes to S17 one of above instruction;
S17. record collecting device client computer and roll off the production line communication program extremely and detection of end;
S18. the collecting device client computer communication program that rolls off the production line is normal, goes to the 4th step.
Preferably, the detailed process of the 4th step is as follows:
S19. initialization detects: to collecting device, send respectively to give an order: AT, ATE0 (1) ,+I ,+GMR ,+CSQ ,+CFUN ,+CMUX, MYSOCKETLED; If collecting device goes to S20 to the whole response success of above instruction, if collecting device is in above instruction, at least one does not respond and go to S25;
S20. inquiry arranges configuration information detection: to collecting device, send respectively to give an order: MYGMR, MYNETURC, MYTYPE ,+CGSN; If collecting device goes to S21 to the whole response success of above instruction, if collecting device is in above instruction, at least one does not respond and go to S25;
S21.SIM detects: to collecting device, send respectively to give an order :+CPIN ,+CREG; If collecting device goes to S22 to the whole response success of above instruction, if collecting device is in above instruction, at least one does not respond and go to S25;
S22. network configuration and registration detect: to collecting device, send successively to give an order: MYNETCON, MYNETACT; If collecting device goes to S23 to the whole response success of above instruction successively, if collecting device does not respond and goes to S25 one of above instruction;
S23. open TCP and intercept the detection of service: with server mode, to collecting device, send successively to give an order: MYIPFILTER, MYNETSRV, MYNETOPEN, MYNETACCEPT; If collecting device goes to S24 to the whole response success of above instruction successively, if collecting device does not respond and goes to S25 one of above instruction;
S24. the detection of transceiving data and inquiry: send respectively to give an order to collecting device: MYNETREAD, MYNETWRITE, MYNETACK; If collecting device goes to S26 to the whole response success of above instruction, if collecting device is in above instruction, at least one does not respond and go to S25;
S25. record the abnormal also detection of end of server communication program of collecting device;
S26. the server communication program of collecting device is normal, goes to the 5th step.
Preferably, the 5th step also comprises abnormality test; The detailed process of the 5th step is as follows:
S27. the state of hardware mouth line is controlled test, if test result normally goes to S28, if test result extremely goes to S30;
S28. sequential matching test, if test result normally goes to S29, if test result extremely goes to S30;
Self-recovering function test when S29. communication unit is abnormal, if test result normally goes to S31, if test result extremely goes to S30;
S30. recording exceptional state verification result is abnormal, and detection of end;
S31. abnormality test result is normal, goes to S32;
S32. collecting device telecommunication program state is normal, detection of end.
Preferably, described method of testing also comprises collecting device carrier meter reading communication test process, and described collecting device carrier meter reading communication test process comprises the following steps:
Whether step I, to detect the communication that powers on normal, if go to step II, and power on communication abnormality detection of end of record if not;
Whether step II, to detect archives synchronous communication normal, if go to step III, records if not the abnormal and detection of end of archives synchronous communication;
Step III, detect that registration, point are copied, whether cycle meter reading communication is normal, if go to step IV, record registration, point are copied if not, cycle meter reading communication is abnormal and detection of end;
Step IV, collecting device carrier meter reading communication state is normal, detection of end.
Preferably, the detailed process of step I is as follows:
T1. to collecting device, report default local communication module information;
T2. monitor under collecting device and send instructions, if receive down, send instructions and under send instructions for AFN=03H-F1 or AFN=03H-F4 go to T3, otherwise go to T4; If receive down in the given time, do not send instructions and go to T4;
If T3. send instructions down AFN=03H-F1, reply default vendor code and version information to collecting device; If under the AFN=03H-F4 that sends instructions, to collecting device, reply default host node address, and carry out the simulated operation of preserving host node address; Go to T5;
T4. record power on communication abnormality detection of end;
T5. the communication that powers on is normal, goes to step II.
Preferably, the detailed process of step II is as follows:
T6. to collecting device, submit archives synchronization request to;
T7. monitor under collecting device and send instructions, if receive down, send instructions and under send instructions for AFN=10H-F1, AFN=10H-F2, AFN=11H-F1, AFN=11H-F2 or AFN=1H-F2 go to T8, otherwise go to T9; If receive down in the given time, do not send instructions and go to T9;
If T8. send instructions down AFN=10H-F1, to collecting device, reply default from number of nodes; If under the AFN=10H-F2 that sends instructions, to collecting device, reply default from nodal information; If under the AFN=11H-F1 that sends instructions, carry out the simulated operation of preserving from node; If under the AFN=11H-F2 that sends instructions, carry out the simulated operation of deleting from node; If under the initialized simulated operation in AFN=1H-F2 ,Ze execution parameter district that sends instructions; Go to T10;
T9. record the abnormal also detection of end of archives synchronous communication;
T10. archives synchronous communication is normal, goes to step III.
Preferably, the detailed process of step III is as follows:
T11. to collecting device, submit that registration, point are copied, the cycle request of checking meter to;
T12. monitor under collecting device and send instructions, if receive down, send instructions and under send instructions for AFN=12H-F2, AFN=12H-F1 or AFN=12H-F3 go to T13, otherwise go to T16; If receive down in the given time, do not send instructions and go to T16;
If send instructions T13. for AFN=12H-F2 goes to T14, if under send instructions and go to T15 for AFN=12H-F1 or AFN=12H-F3;
T14. enter pausing operation:
T14-1. carry out and stop initiatively the checking meter simulated operation of flow process of route; Go to T14-2;
T14-2. judge whether to activate and initiatively register from node, if go to T14-3, to collecting device, reply and suspend successfully if not, and go to T17;
T14-3. to collecting device, report default from nodal information and device type; Go to T14-4;
T14-4. monitor the confirmation message of collecting device, if receive, go to T14-5, if do not receive in the given time, go to T16;
T14-5. judge whether to continue initiatively to register from node, if go to T14-3, go to if not T17;
T15. enter and restart or recovery operation:
T15-1. carry out to start initiatively the check meter simulated operation of flow process of route; Go to T15-2;
T15-2. carry out the simulated operation that starts inquiry copy reading data item from node i, i is positive integer; Go to T15-3;
T15-3. to collecting device, report the content of route requests copy reading node i; Go to T15-4;
T15-4. monitor the copy reading data item that collecting device returns, if return, go to T15-5, if do not return in the given time, go to T16;
T15-5. whether decision node i needs to continue to check meter, if go to T15-6, goes to if not T15-8;
T15-6. to collecting device, report default copy reading data; Go to T15-7;
T15-7. monitor the confirmation message of collecting device, if receive, go to T15-8, if do not receive in the given time, go to T16;
T15-8. make i=i+1, whether copy reading is complete to judge all nodes, if go to T17, goes to if not T15-3;
T16. record registration, point are copied, cycle meter reading communication is abnormal and detection of end;
T17. register, put copy, cycle meter reading communication is normal, goes to step IV.
Applicant is through in depth just finally drawing technique scheme after practical studies, can effectively automatically complete the test to collecting device, without building small-sized authentic testing system, saved corresponding time and resource, and reduced the specification requirement to tester, testing scheme is abundant, strengthen test result confidence level, can improve testing efficiency, improving product output quality, reduces on-the-spot operation expense.
Accompanying drawing explanation
Fig. 1 is the schematic diagram of embodiment of the present invention collecting device telecommunication program test process.
Fig. 2 is the schematic diagram of Fig. 1 embodiment collecting device carrier meter reading communication test process.
Embodiment
With reference to the accompanying drawings and in conjunction with the embodiments the present invention is described in further detail.But the invention is not restricted to given example.
Embodiment
As shown in Figure 1 and Figure 2, the power information collecting device intelligent test method of the present embodiment, comprises collecting device telecommunication program test process, and collecting device telecommunication program test process comprises the following steps:
Whether the first step, detection collecting device start shooting normal, if go to second step, record if not the abnormal also detection of end of collecting device start;
Detailed process is as follows:
S1. monitor VCC4V pin, the ON/OFF pin status of collecting device;
S2. when collecting device VCC4V pin is low level, detect VCC4V pin and whether maintain low level over switching to high level after 2 seconds and when being no more than 10 seconds, if go to S3, go to if not S5;
S3. from collecting device VCC4V pin from after low level switches to high level during 100ms, detect whether ON/OFF pin is that low level and pulse duration are 1 ± 0.1 second, if go to S4, go to if not S5;
S4. after waiting at least 10 seconds, to collecting device, assign AT instruction and detect collecting device whether responding, if go to S6, go to if not S5;
S5. record the abnormal also detection of end of collecting device start;
S6. collecting device start is normal, goes to second step.
Whether second step, the client computer that the detects collecting device communication program of reaching the standard grade is normal, if go to the 3rd step, records if not collecting device the client computer abnormal and detection of end of communication program of reaching the standard grade;
Detailed process is as follows:
S7. initialization detects: to collecting device, send respectively to give an order: AT, ATE0 (1) ,+I ,+GMR ,+CSQ ,+CFUN ,+CMUX, MYSOCKETLED; If collecting device goes to S8 to the whole response success of above instruction, if collecting device is in above instruction, at least one does not respond and go to S13;
S8. inquiry arranges configuration information detection: to collecting device, send respectively to give an order: MYGMR, MYNETURC, MYTYPE ,+CGSN; If collecting device goes to S9 to the whole response success of above instruction, if collecting device is in above instruction, at least one does not respond and go to S13;
S9.SIM detects: to collecting device, send respectively to give an order :+CPIN ,+CREG; If collecting device goes to S10 to the whole response success of above instruction, if collecting device is in above instruction, at least one does not respond and go to S13;
S10. network configuration and registration detect: to collecting device, send successively to give an order: MYNETCON, MYNETACT; If collecting device goes to S11 to the whole response success of above instruction successively, if collecting device does not respond and goes to S13 one of above instruction;
S11. open the detection of TCP/UDP service: with client mode, to collecting device, send successively to give an order: MYNETSRV, MYNETOPEN; If collecting device goes to S12 to the whole response success of above instruction successively, if collecting device does not respond and goes to S13 one of above instruction;
S12. the detection of transceiving data and inquiry: send respectively to give an order to collecting device: MYNETREAD, MYNETWRITE, MYNETACK; If collecting device goes to S14 to the whole response success of above instruction, if collecting device is in above instruction, at least one does not respond and go to S13;
S13. record collecting device client computer and reach the standard grade communication program extremely and detection of end;
S14. the collecting device client computer communication program of reaching the standard grade is normal, goes to the 3rd step.
Whether the 3rd step, the client computer that the detects collecting device communication program that rolls off the production line is normal, if go to the 4th step, records if not collecting device the client computer abnormal and detection of end of communication program that rolls off the production line;
Detailed process is as follows:
S15. to collecting device, send the request of rolling off the production line, go to S16;
S16. close the detection of TCP/UDP service: with client mode, to collecting device, send successively to give an order: MYNETCLOSE, MYNETACT; If collecting device goes to S18 to the whole response success of above instruction successively, if collecting device does not respond and goes to S17 one of above instruction;
S17. record collecting device client computer and roll off the production line communication program extremely and detection of end;
S18. the collecting device client computer communication program that rolls off the production line is normal, goes to the 4th step.
Whether the server communication program of the 4th step, detection collecting device is normal, if go to the 5th step, records if not the abnormal also detection of end of server communication program of collecting device;
Detailed process is as follows:
S19. initialization detects: to collecting device, send respectively to give an order: AT, ATE0 (1) ,+I ,+GMR ,+CSQ ,+CFUN ,+CMUX, MYSOCKETLED; If collecting device goes to S20 to the whole response success of above instruction, if collecting device is in above instruction, at least one does not respond and go to S25;
S20. inquiry arranges configuration information detection: to collecting device, send respectively to give an order: MYGMR, MYNETURC, MYTYPE ,+CGSN; If collecting device goes to S21 to the whole response success of above instruction, if collecting device is in above instruction, at least one does not respond and go to S25;
S21.SIM detects: to collecting device, send respectively to give an order :+CPIN ,+CREG; If collecting device goes to S22 to the whole response success of above instruction, if collecting device is in above instruction, at least one does not respond and go to S25;
S22. network configuration and registration detect: to collecting device, send successively to give an order: MYNETCON, MYNETACT; If collecting device goes to S23 to the whole response success of above instruction successively, if collecting device does not respond and goes to S25 one of above instruction;
S23. open TCP and intercept the detection of service: with server mode, to collecting device, send successively to give an order: MYIPFILTER, MYNETSRV, MYNETOPEN, MYNETACCEPT; If collecting device goes to S24 to the whole response success of above instruction successively, if collecting device does not respond and goes to S25 one of above instruction;
S24. the detection of transceiving data and inquiry: send respectively to give an order to collecting device: MYNETREAD, MYNETWRITE, MYNETACK; If collecting device goes to S26 to the whole response success of above instruction, if collecting device is in above instruction, at least one does not respond and go to S25;
S25. record the abnormal also detection of end of server communication program of collecting device;
S26. the server communication program of collecting device is normal, goes to the 5th step.
The 5th step, detailed process are as follows:
S27. the state of hardware mouth line is controlled test, if test result normally goes to S28, if test result extremely goes to S30;
S28. sequential matching test, if test result normally goes to S29, if test result extremely goes to S30;
Self-recovering function test when S29. communication unit is abnormal, if test result normally goes to S31, if test result extremely goes to S30;
S30. recording exceptional state verification result is abnormal, and detection of end;
S31. abnormality test result is normal, goes to S32;
S32. collecting device telecommunication program state is normal, detection of end.
In addition, the present embodiment method of testing also comprises collecting device carrier meter reading communication test process, and collecting device carrier meter reading communication test process comprises the following steps:
Whether step I, to detect the communication that powers on normal, if go to step II, and power on communication abnormality detection of end of record if not;
Detailed process is as follows:
T1. to collecting device, report default local communication module information;
T2. monitor under collecting device and send instructions, if receive down, send instructions and under send instructions for AFN=03H-F1 or AFN=03H-F4 go to T3, otherwise go to T4; If receive down in the given time, do not send instructions and go to T4;
If T3. send instructions down AFN=03H-F1, reply default vendor code and version information to collecting device; If under the AFN=03H-F4 that sends instructions, to collecting device, reply default host node address, and carry out the simulated operation of preserving host node address; Go to T5;
T4. record power on communication abnormality detection of end;
T5. the communication that powers on is normal, goes to step II.
Whether step II, to detect archives synchronous communication normal, if go to step III, records if not the abnormal and detection of end of archives synchronous communication;
Detailed process is as follows:
T6. to collecting device, submit archives synchronization request to;
T7. monitor under collecting device and send instructions, if receive down, send instructions and under send instructions for AFN=10H-F1, AFN=10H-F2, AFN=11H-F1, AFN=11H-F2 or AFN=1H-F2 go to T8, otherwise go to T9; If receive down in the given time, do not send instructions and go to T9;
If T8. send instructions down AFN=10H-F1, to collecting device, reply default from number of nodes; If under the AFN=10H-F2 that sends instructions, to collecting device, reply default from nodal information; If under the AFN=11H-F1 that sends instructions, carry out the simulated operation of preserving from node; If under the AFN=11H-F2 that sends instructions, carry out the simulated operation of deleting from node; If under the initialized simulated operation in AFN=1H-F2 ,Ze execution parameter district that sends instructions; Go to T10;
T9. record the abnormal also detection of end of archives synchronous communication;
T10. archives synchronous communication is normal, goes to step III.
Step III, detect that registration, point are copied, whether cycle meter reading communication is normal, if go to step IV, record registration, point are copied if not, cycle meter reading communication is abnormal and detection of end;
Detailed process is as follows:
T11. to collecting device, submit that registration, point are copied, the cycle request of checking meter to;
T12. monitor under collecting device and send instructions, if receive down, send instructions and under send instructions for AFN=12H-F2, AFN=12H-F1 or AFN=12H-F3 go to T13, otherwise go to T16; If receive down in the given time, do not send instructions and go to T16;
If send instructions T13. for AFN=12H-F2 goes to T14, if under send instructions and go to T15 for AFN=12H-F1 or AFN=12H-F3;
T14. enter pausing operation:
T14-1. carry out and stop initiatively the checking meter simulated operation of flow process of route; Go to T14-2;
T14-2. judge whether to activate and initiatively register from node, if go to T14-3, to collecting device, reply and suspend successfully if not, and go to T17;
T14-3. to collecting device, report default from nodal information and device type; Go to T14-4;
T14-4. monitor the confirmation message of collecting device, if receive, go to T14-5, if do not receive in the given time, go to T16;
T14-5. judge whether to continue initiatively to register from node, if go to T14-3, go to if not T17;
T15. enter and restart or recovery operation:
T15-1. carry out to start initiatively the check meter simulated operation of flow process of route; Go to T15-2;
T15-2. carry out the simulated operation that starts inquiry copy reading data item from node i, i is positive integer; Go to T15-3;
T15-3. to collecting device, report the content of route requests copy reading node i; Go to T15-4;
T15-4. monitor the copy reading data item that collecting device returns, if return, go to T15-5, if do not return in the given time, go to T16;
T15-5. whether decision node i needs to continue to check meter, if go to T15-6, goes to if not T15-8;
T15-6. to collecting device, report default copy reading data; Go to T15-7;
T15-7. monitor the confirmation message of collecting device, if receive, go to T15-8, if do not receive in the given time, go to T16;
T15-8. make i=i+1, whether copy reading is complete to judge all nodes, if go to T17, goes to if not T15-3;
T16. record registration, point are copied, cycle meter reading communication is abnormal and detection of end;
T17. register, put copy, cycle meter reading communication is normal, goes to step IV.
Step IV, collecting device carrier meter reading communication state is normal, detection of end.
In addition, it is pointed out that each instruction implication relating in above step is:
AT: command prompt symbol, is generally applied to terminal equipment being connected and communicating by letter between applying with PC.
In each AT order line, can only comprise an AT instruction; For initiatively being responded to URC indication or the response of the report of PC end by terminal equipment, also require a line to have at most one, in a line that does not allow to report, there are many indications or response.AT instruction is usingd carriage return as ending, response or on respond with new line for ending.
ATE0 (1): the module character whether echo receives is set.ATE0---close echo, ATE1---open echo.
+ I: acquisition module manufacturer's information.
+ GMR: acquisition module software version information.
+ CSQ: acquisition module network signal intensity.
+ CFUN: restart module.
+ CMUX: module serial ports multiplex function is set.
$ MYSOCKETLED: control network timing lamp, during for external protocol stack Socket successful connection, the flicker of LED lamp is controlled.
$ MYGMR: enquiry module software and hardware version information.
$ MYNETURC: arrange and whether allow built-in protocol stack active reporting.
$ MYTYPE: inquiry telecommunication unit type.
+ CGSN: obtaining communication module IMEI number.
+ CPIN: whether enquiry module needs password.
+ CREG: acquisition module current network login state.
$ MYNETCON: network is set and connects initiation parameter.
$ MYNETACT: activate/disconnect network and connect.
$ MYNETSRV: the service parameter that TCP/IP is set.
$ MYNETOPEN: open TCP/UDP and connect.
$ MYNETREAD: from module reading out data.
$ MYNETWRITE: send data to module.
$ MYNETACK: the data that inquiry TCP sends are by the quantity of opposite end ACK.
$ MYNETCLOSE: close TCP/IP and connect.
$ MYIPFILTER: configuration querying allows the IP information of access control.
$ MYNETACCEPT: when communication module is operated in TCP/UDP server mode lower time, receive the connection request of client.
In addition to the implementation, the present invention can also have other execution modes.All employings are equal to the technical scheme of replacement or equivalent transformation formation, all drop on the protection range of requirement of the present invention.

Claims (10)

1. a power information collecting device intelligent test method, is characterized in that, described method of testing comprises collecting device telecommunication program test process, and described collecting device telecommunication program test process comprises the following steps:
Whether the first step, detection collecting device start shooting normal, if go to second step, record if not the abnormal also detection of end of collecting device start;
Whether second step, the client computer that the detects collecting device communication program of reaching the standard grade is normal, if go to the 3rd step, records if not collecting device the client computer abnormal and detection of end of communication program of reaching the standard grade;
Whether the 3rd step, the client computer that the detects collecting device communication program that rolls off the production line is normal, if go to the 4th step, records if not collecting device the client computer abnormal and detection of end of communication program that rolls off the production line;
Whether the server communication program of the 4th step, detection collecting device is normal, if go to the 5th step, records if not the abnormal also detection of end of server communication program of collecting device;
The 5th step, collecting device telecommunication program state are normal, detection of end.
2. power information collecting device intelligent test method according to claim 1, is characterized in that, the detailed process of the first step is as follows:
S1. monitor VCC4V pin, the ON/OFF pin status of collecting device;
S2. when collecting device VCC4V pin is low level, detect VCC4V pin and whether maintain low level over switching to high level after 2 seconds and when being no more than 10 seconds, if go to S3, go to if not S5;
S3. from collecting device VCC4V pin from after low level switches to high level during 100ms, detect whether ON/OFF pin is that low level and pulse duration are 1 ± 0.1 second, if go to S4, go to if not S5;
S4. after waiting at least 10 seconds, to collecting device, assign AT instruction and detect collecting device whether responding, if go to S6, go to if not S5;
S5. record the abnormal also detection of end of collecting device start;
S6. collecting device start is normal, goes to second step.
3. power information collecting device intelligent test method according to claim 2, is characterized in that, the detailed process of second step is as follows:
S7. initialization detects: to collecting device, send respectively to give an order: AT, ATE0 (1) ,+I ,+GMR ,+CSQ ,+CFUN ,+CMUX, MYSOCKETLED; If collecting device goes to S8 to the whole response success of above instruction, if collecting device is in above instruction, at least one does not respond and go to S13;
S8. inquiry arranges configuration information detection: to collecting device, send respectively to give an order: MYGMR, MYNETURC, MYTYPE ,+CGSN; If collecting device goes to S9 to the whole response success of above instruction, if collecting device is in above instruction, at least one does not respond and go to S13;
S9.SIM detects: to collecting device, send respectively to give an order :+CPIN ,+CREG; If collecting device goes to S10 to the whole response success of above instruction, if collecting device is in above instruction, at least one does not respond and go to S13;
S10. network configuration and registration detect: to collecting device, send successively to give an order: MYNETCON, MYNETACT; If collecting device goes to S11 to the whole response success of above instruction successively, if collecting device does not respond and goes to S13 one of above instruction;
S11. open the detection of TCP/UDP service: with client mode, to collecting device, send successively to give an order: MYNETSRV, MYNETOPEN; If collecting device goes to S12 to the whole response success of above instruction successively, if collecting device does not respond and goes to S13 one of above instruction;
S12. the detection of transceiving data and inquiry: send respectively to give an order to collecting device: MYNETREAD, MYNETWRITE, MYNETACK; If collecting device goes to S14 to the whole response success of above instruction, if collecting device is in above instruction, at least one does not respond and go to S13;
S13. record collecting device client computer and reach the standard grade communication program extremely and detection of end;
S14. the collecting device client computer communication program of reaching the standard grade is normal, goes to the 3rd step.
4. power information collecting device intelligent test method according to claim 3, is characterized in that, the detailed process of the 3rd step is as follows:
S15. to collecting device, send the request of rolling off the production line, go to S16;
S16. close the detection of TCP/UDP service: with client mode, to collecting device, send successively to give an order: MYNETCLOSE, MYNETACT; If collecting device goes to S18 to the whole response success of above instruction successively, if collecting device does not respond and goes to S17 one of above instruction;
S17. record collecting device client computer and roll off the production line communication program extremely and detection of end;
S18. the collecting device client computer communication program that rolls off the production line is normal, goes to the 4th step.
5. power information collecting device intelligent test method according to claim 4, is characterized in that, the detailed process of the 4th step is as follows:
S19. initialization detects: to collecting device, send respectively to give an order: AT, ATE0 (1) ,+I ,+GMR ,+CSQ ,+CFUN ,+CMUX, MYSOCKETLED; If collecting device goes to S20 to the whole response success of above instruction, if collecting device is in above instruction, at least one does not respond and go to S25;
S20. inquiry arranges configuration information detection: to collecting device, send respectively to give an order: MYGMR, MYNETURC, MYTYPE ,+CGSN; If collecting device goes to S21 to the whole response success of above instruction, if collecting device is in above instruction, at least one does not respond and go to S25;
S21.SIM detects: to collecting device, send respectively to give an order :+CPIN ,+CREG; If collecting device goes to S22 to the whole response success of above instruction, if collecting device is in above instruction, at least one does not respond and go to S25;
S22. network configuration and registration detect: to collecting device, send successively to give an order: MYNETCON, MYNETACT; If collecting device goes to S23 to the whole response success of above instruction successively, if collecting device does not respond and goes to S25 one of above instruction;
S23. open TCP and intercept the detection of service: with server mode, to collecting device, send successively to give an order: MYIPFILTER, MYNETSRV, MYNETOPEN, MYNETACCEPT; If collecting device goes to S24 to the whole response success of above instruction successively, if collecting device does not respond and goes to S25 one of above instruction;
S24. the detection of transceiving data and inquiry: send respectively to give an order to collecting device: MYNETREAD, MYNETWRITE, MYNETACK; If collecting device goes to S26 to the whole response success of above instruction, if collecting device is in above instruction, at least one does not respond and go to S25;
S25. record the abnormal also detection of end of server communication program of collecting device;
S26. the server communication program of collecting device is normal, goes to the 5th step.
6. power information collecting device intelligent test method according to claim 5, is characterized in that, the 5th step also comprises abnormality test; The detailed process of the 5th step is as follows:
S27. the state of hardware mouth line is controlled test, if test result normally goes to S28, if test result extremely goes to S30;
S28. sequential matching test, if test result normally goes to S29, if test result extremely goes to S30;
Self-recovering function test when S29. communication unit is abnormal, if test result normally goes to S31, if test result extremely goes to S30;
S30. recording exceptional state verification result is abnormal, and detection of end;
S31. abnormality test result is normal, goes to S32;
S32. collecting device telecommunication program state is normal, detection of end.
7. according to power information collecting device intelligent test method described in claim 1 to 6 any one, it is characterized in that, described method of testing also comprises collecting device carrier meter reading communication test process, and described collecting device carrier meter reading communication test process comprises the following steps:
Whether step I, to detect the communication that powers on normal, if go to step II, and power on communication abnormality detection of end of record if not;
Whether step II, to detect archives synchronous communication normal, if go to step III, records if not the abnormal and detection of end of archives synchronous communication;
Step III, detect that registration, point are copied, whether cycle meter reading communication is normal, if go to step IV, record registration, point are copied if not, cycle meter reading communication is abnormal and detection of end;
Step IV, collecting device carrier meter reading communication state is normal, detection of end.
8. power information collecting device intelligent test method according to claim 7, is characterized in that, the detailed process of step I is as follows:
T1. to collecting device, report default local communication module information;
T2. monitor under collecting device and send instructions, if receive down, send instructions and under send instructions for AFN=03H-F1 or AFN=03H-F4 go to T3, otherwise go to T4; If receive down in the given time, do not send instructions and go to T4;
If T3. send instructions down AFN=03H-F1, reply default vendor code and version information to collecting device; If under the AFN=03H-F4 that sends instructions, to collecting device, reply default host node address, and carry out the simulated operation of preserving host node address; Go to T5;
T4. record power on communication abnormality detection of end;
T5. the communication that powers on is normal, goes to step II.
9. power information collecting device intelligent test method according to claim 8, is characterized in that, the detailed process of step II is as follows:
T6. to collecting device, submit archives synchronization request to;
T7. monitor under collecting device and send instructions, if receive down, send instructions and under send instructions for AFN=10H-F1, AFN=10H-F2, AFN=11H-F1, AFN=11H-F2 or AFN=1H-F2 go to T8, otherwise go to T9; If receive down in the given time, do not send instructions and go to T9;
If T8. send instructions down AFN=10H-F1, to collecting device, reply default from number of nodes; If under the AFN=10H-F2 that sends instructions, to collecting device, reply default from nodal information; If under the AFN=11H-F1 that sends instructions, carry out the simulated operation of preserving from node; If under the AFN=11H-F2 that sends instructions, carry out the simulated operation of deleting from node; If under the initialized simulated operation in AFN=1H-F2 ,Ze execution parameter district that sends instructions; Go to T10;
T9. record the abnormal also detection of end of archives synchronous communication;
T10. archives synchronous communication is normal, goes to step III.
10. power information collecting device intelligent test method according to claim 9, is characterized in that, the detailed process of step III is as follows:
T11. to collecting device, submit that registration, point are copied, the cycle request of checking meter to;
T12. monitor under collecting device and send instructions, if receive down, send instructions and under send instructions for AFN=12H-F2, AFN=12H-F1 or AFN=12H-F3 go to T13, otherwise go to T16; If receive down in the given time, do not send instructions and go to T16;
If send instructions T13. for AFN=12H-F2 goes to T14, if under send instructions and go to T15 for AFN=12H-F1 or AFN=12H-F3;
T14. enter pausing operation:
T14-1. carry out and stop initiatively the checking meter simulated operation of flow process of route; Go to T14-2;
T14-2. judge whether to activate and initiatively register from node, if go to T14-3, to collecting device, reply and suspend successfully if not, and go to T17;
T14-3. to collecting device, report default from nodal information and device type; Go to T14-4;
T14-4. monitor the confirmation message of collecting device, if receive, go to T14-5, if do not receive in the given time, go to T16;
T14-5. judge whether to continue initiatively to register from node, if go to T14-3, go to if not T17;
T15. enter and restart or recovery operation:
T15-1. carry out to start initiatively the check meter simulated operation of flow process of route; Go to T15-2;
T15-2. carry out the simulated operation that starts inquiry copy reading data item from node i, i is positive integer; Go to T15-3;
T15-3. to collecting device, report the content of route requests copy reading node i; Go to T15-4;
T15-4. monitor the copy reading data item that collecting device returns, if return, go to T15-5, if do not return in the given time, go to T16;
T15-5. whether decision node i needs to continue to check meter, if go to T15-6, goes to if not T15-8;
T15-6. to collecting device, report default copy reading data; Go to T15-7;
T15-7. monitor the confirmation message of collecting device, if receive, go to T15-8, if do not receive in the given time, go to T16;
T15-8. make i=i+1, whether copy reading is complete to judge all nodes, if go to T17, goes to if not T15-3;
T16. record registration, point are copied, cycle meter reading communication is abnormal and detection of end;
T17. register, put copy, cycle meter reading communication is normal, goes to step IV.
CN201310471188.3A 2013-10-11 2013-10-11 Power information collecting device intelligent test method Active CN103532778B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310471188.3A CN103532778B (en) 2013-10-11 2013-10-11 Power information collecting device intelligent test method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310471188.3A CN103532778B (en) 2013-10-11 2013-10-11 Power information collecting device intelligent test method

Publications (2)

Publication Number Publication Date
CN103532778A true CN103532778A (en) 2014-01-22
CN103532778B CN103532778B (en) 2016-09-14

Family

ID=49934477

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310471188.3A Active CN103532778B (en) 2013-10-11 2013-10-11 Power information collecting device intelligent test method

Country Status (1)

Country Link
CN (1) CN103532778B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104158852A (en) * 2014-07-23 2014-11-19 国家电网公司 Information interaction detection system for low-voltage meter reading concentrator and local communication module
CN104749473A (en) * 2015-04-21 2015-07-01 国家电网公司 Testing method capable of simulating field power utilization information collecting terminal power failure events

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1852176A (en) * 2005-11-18 2006-10-25 华为技术有限公司 Network communication apparatus protocol testing system and method
CN102468986A (en) * 2010-11-04 2012-05-23 北京市电力公司 Test method and system for electricity consumption information collection system, and main station

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1852176A (en) * 2005-11-18 2006-10-25 华为技术有限公司 Network communication apparatus protocol testing system and method
CN102468986A (en) * 2010-11-04 2012-05-23 北京市电力公司 Test method and system for electricity consumption information collection system, and main station

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
周毅波等: "低压集抄测试系统的研发及应用", 《广西电力》 *
马利人: "低压集抄系统检测装置的研制", 《电测与仪表》 *

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104158852A (en) * 2014-07-23 2014-11-19 国家电网公司 Information interaction detection system for low-voltage meter reading concentrator and local communication module
CN104158852B (en) * 2014-07-23 2017-08-29 国家电网公司 A kind of low-voltage collecting meter reading concentrator and local communication module information interaction detecting system
CN104749473A (en) * 2015-04-21 2015-07-01 国家电网公司 Testing method capable of simulating field power utilization information collecting terminal power failure events
CN104749473B (en) * 2015-04-21 2017-08-29 国家电网公司 A kind of power information acquisition terminal for simulating scene stops upper electric event testing method

Also Published As

Publication number Publication date
CN103532778B (en) 2016-09-14

Similar Documents

Publication Publication Date Title
CN113014449B (en) Local communication protocol pressure testing method and system of electricity consumption information acquisition system
CN105306298B (en) Long distance wireless test macro and test method based on vehicle network
CN102437938B (en) Large-scale network monitoring oriented virtual deployment system and method
CN101738997B (en) Multithread electric negative control system and control method
CN105788227A (en) Electricity consumption information acquisition system fault diagnosis equipment
CN103439612A (en) Intelligent transformer substation automatic testing system based on SCD
CN107819611B (en) Client test method based on IEC61850 multi-server simulation
CN103391222A (en) System and method for monitoring web service
CN105553783A (en) Automated testing method for switching of configuration two-computer resources
WO2022151815A1 (en) Method and apparatus for determining security state of terminal device
CN109587005A (en) Connecting detection method, apparatus, computer equipment and readable storage medium storing program for executing
CN107070752B (en) Testing method and testing system for long connection capacity
CN103970655A (en) Expect-based automatic server cluster testing method
CN105512044A (en) Method and system for updating object base used for keyword drive test
CN110989547A (en) Detection method and system for intelligent substation one-key sequence control system
CN107168873B (en) Network testing system and method based on script
CN103200395A (en) Intelligent fault report optical transceiver and network management client system thereof
CN103354562A (en) Energy consumption collector, energy consumption collecting system and energy consumption collecting method
CN103731663A (en) Method and device for testing smart television
CN104133429A (en) Intelligent control gateway and control method
CN104638767B (en) Spacer layer data source simulation method and device for intelligent substation test
CN106844432A (en) Data processing method and device
CN104133428A (en) Intelligent electrical equipment control method
CN103532778A (en) Intelligent testing method for electricity consumption information collection equipment
CN104639351A (en) Processing system and method for constructing network structure deployment diagram

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
PP01 Preservation of patent right
PP01 Preservation of patent right

Effective date of registration: 20240204

Granted publication date: 20160914