CN101452631A - Test method and system for management terminal of power use - Google Patents
Test method and system for management terminal of power use Download PDFInfo
- Publication number
- CN101452631A CN101452631A CNA2007101249420A CN200710124942A CN101452631A CN 101452631 A CN101452631 A CN 101452631A CN A2007101249420 A CNA2007101249420 A CN A2007101249420A CN 200710124942 A CN200710124942 A CN 200710124942A CN 101452631 A CN101452631 A CN 101452631A
- Authority
- CN
- China
- Prior art keywords
- checking meter
- request
- message
- checking
- meter
- 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
Links
- 238000010998 test method Methods 0.000 title claims abstract description 9
- 230000005611 electricity Effects 0.000 claims abstract description 41
- 230000004044 response Effects 0.000 claims abstract description 17
- 238000012360 testing method Methods 0.000 claims abstract description 17
- 238000000034 method Methods 0.000 claims abstract description 13
- 238000007726 management method Methods 0.000 claims description 39
- 238000004891 communication Methods 0.000 claims description 15
- 238000004088 simulation Methods 0.000 claims description 8
- 238000013524 data verification Methods 0.000 claims description 5
- 230000001934 delay Effects 0.000 claims description 2
- 230000005856 abnormality Effects 0.000 abstract 1
- 238000001514 detection method Methods 0.000 description 11
- 230000002159 abnormal effect Effects 0.000 description 6
- 230000009467 reduction Effects 0.000 description 2
- 238000012546 transfer Methods 0.000 description 2
- 238000012795 verification Methods 0.000 description 2
- 230000008901 benefit Effects 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 238000013523 data management Methods 0.000 description 1
- 230000002950 deficient Effects 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012856 packing Methods 0.000 description 1
- 238000012797 qualification Methods 0.000 description 1
Images
Landscapes
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
The invention is suitable for the field of electronic equipment, and provides a method and a system for testing an electricity management terminal. The test method comprises: receiving a meter reading message; verifying whether a meter reading request of the meter reading message is correct; retrieving data corresponding to the meter reading request if the meter reading request is correct; organizing the data into a response data frame; and transmitting the response data frame to the electricity management terminal in the mode of time delay. In the embodiment of the invention, the method and the system simulate abnormalities of an electric energy meter by verifying the correctness of the message request and transmitting the response data frame in the mode of time delay, so that the method and the system can detect whether the electricity management terminal can accurately read meter at the moment.
Description
Technical field
The invention belongs to electronic device field, relate in particular to a kind of method of testing and system of electricity management terminal.
Background technology
Current, electricity management terminal is widely used in power supply enterprise.By using this kind equipment can improve management of power use level, business automation level and the work efficiency of power supply enterprise.But, also can cause serious economy loss and bad social influence to power supply enterprise if the defective electricity management terminal of usability because its accuracy of checking meter is not enough, not only can not produce above-mentioned effect.Therefore, the performance of checking meter that often needs the detection office terminal.
At present, the usual method of the performance of checking meter of detection office terminal is: establishment detection system software is simulated electric energy meter, utilize this detection system to come the accuracy of checking meter of detection office terminal, but existing detection system is only simulated the electric energy meter that is in normal condition, and in fact, electric energy meter in use various abnormal conditions may occur.Like this, when utilizing existing detection system detection office terminal, can't detect when abnormal conditions appear in electric energy meter, whether electricity management terminal can check meter exactly.
Summary of the invention
The purpose of the embodiment of the invention is to provide a kind of method of testing of electricity management terminal, be intended to solve when utilizing existing detection system detection office terminal, can't detect when abnormal conditions appear in electric energy meter the problem whether electricity management terminal can check meter exactly.
The embodiment of the invention is achieved in that a kind of method of testing of electricity management terminal, and described method of testing comprises:
The reception message of checking meter;
Whether the request of checking meter of verifying the described message of checking meter is correct;
If the described request of checking meter is correct, the corresponding data of the retrieval request of checking meter;
Described data set is made into the response data frame;
Time-delay sends it back answers Frame to give electricity management terminal.
Another purpose of the embodiment of the invention is to provide a kind of test macro of electricity management terminal, and described system comprises:
The message receiver module is used for receiving the message of checking meter;
The authentication of message module is used to verify whether the request of checking meter of the described message of checking meter is correct;
Retrieval module, if it is correct to be used for the request of checking meter of the described message of checking meter, the corresponding data of the retrieval request of checking meter; And
Molded tissue block is used for described data set is made into the response data frame;
Time-delay sends, and being used for delays time to send it back answers Frame to give electricity management terminal.
In embodiments of the present invention, by the correctness of checking message request, and delay time to send it back and answer Frame to simulate the abnormal conditions of electric energy meter, thereby can detect this moment, the problem whether electricity management terminal can check meter exactly.
Description of drawings
Fig. 1 is the method for testing implementing procedure figure of the electricity management terminal that provides of the embodiment of the invention.
Fig. 2 is the structural representation of the test macro of the electricity management terminal that provides of the embodiment of the invention.
Fig. 3 is the synoptic diagram of a plurality of electricity management terminals of test system and test of the electricity management terminal that provides of the embodiment of the invention.
Embodiment
In order to make purpose of the present invention, technical scheme and advantage clearer,, the present invention is further elaborated below in conjunction with drawings and Examples.Should be appreciated that specific embodiment described herein only in order to explanation the present invention, and be not used in qualification the present invention.
In embodiments of the present invention, by the correctness of checking message request, and delay time to send it back and answer Frame to simulate the abnormal conditions of electric energy meter, thereby can detect this moment, the problem whether electricity management terminal can check meter exactly.
Fig. 1 shows the implementing procedure of the method for testing of the electricity management terminal that embodiments of the invention provide, and details are as follows:
In step S101, receive the message of checking meter.When need checking meter, can send electricity management terminal the message of checking meter.
In step S102, message is carried out data check.Before communication, the communication protocol of electricity management terminal is adjusted.According to this communication protocol message is carried out data check.For different communication protocol, its data check mode difference.For example, the checking algorithm of DL/T645-1997 reduction is BCC, and the checking algorithm of ABBAlpha reduction is CRC.Guaranteed the accuracy rate of the physical transfer of data transmission by data check.As embodiments of the invention, can use the mode of different communication protocol to carry out data detection by repeatedly test at every turn, whether can use various communications protocols to communicate thereby can test electricity management terminal.
In step S103, judge whether verification is correct.When verification is incorrect, execution in step S104.
In step S104, judge whether to respond erroneous frame.If response erroneous frame, then execution in step S111.Otherwise receive next message of checking meter.
In step S105, analytic message.Because the communications protocol difference that adopts, the organizational form of its message all is different, according to the communications protocol that is adopted, correspondingly message is resolved, and request obtains checking meter.
In step S106, judge whether this request of checking meter is correct.If the request of checking meter is wrong, then execution in step S104.
In step S107, retrieve the corresponding data of this request of checking meter.For example, when the request of checking meter is when obtaining magnitude of voltage, then in database, extract magnitude of voltage.
In step S108, organize the response data frame.The message form of communications protocol regulation by appointment, the packing data that retrieval is obtained becomes message.
In step S109, need to judge whether the simulation mistake.If do not need then execution in step S111.Wherein, mistake comprises: frame head mistake, control code mistake, frame length mistake, identifier mistake, check code mistake etc.
In step S110, simulate misdata, and misdata is added the response data frame.
In step S111, time-delay sends it back answers Frame to give electricity management terminal.For the time-delay of the testing electricity management terminal performance of checking meter, begin to calculate from being organized into the response data frame, wait for a regular time, and then the response data frame is sent to the data management terminal.As embodiments of the invention, can utilize the multiple speed of RS232 to communicate, with the communication capacity of check electricity management terminal.
Fig. 2 shows the structure of the test macro of the electricity management terminal that embodiments of the invention provide.
In order to guarantee the correctness of the message after the physical transfer, as embodiments of the invention, can increase by a data verification module 22 in this system, communications protocol is according to a preconcerted arrangement carried out data verification to this message of checking meter.
In order to respond error message, as embodiments of the invention, can increase by an erroneous frame judge module 23 in this system, judge whether to respond erroneous frame.
Fig. 3 shows a plurality of electricity management terminals of test system and test of the electricity management terminal that the embodiment of the invention provides.
This system can link to each other with a plurality of electricity management terminals by multipath server, and, at each electricity management terminal, use the method for testing shown in Fig. 1 to finish test.Simultaneously, at different electricity management terminals, use different communication protocol to communicate, with the communication capacity of definite each electricity management terminal, thereby realization is to the test of a plurality of electricity management terminals.
In embodiments of the present invention, by the correctness of checking message request, and delay time to send it back and answer Frame to simulate the abnormal conditions of electric energy meter, thereby can detect this moment, the problem whether electricity management terminal can check meter exactly.
The above only is preferred embodiment of the present invention, not in order to restriction the present invention, all any modifications of being done within the spirit and principles in the present invention, is equal to and replaces and improvement etc., all should be included within protection scope of the present invention.
Claims (10)
1, a kind of method of testing of electricity management terminal is characterized in that, described method of testing comprises:
The reception message of checking meter;
Whether the request of checking meter of verifying the described message of checking meter is correct;
If the described request of checking meter is correct, the corresponding data of the retrieval request of checking meter;
Described data set is made into the response data frame;
Time-delay sends it back answers Frame to give electricity management terminal.
2, the method for claim 1 is characterized in that, whether correct step also comprises before in the request of checking meter of the described message of checking meter of described checking:
Communications protocol is according to a preconcerted arrangement carried out data verification to the described message of checking meter.
3, the method for claim 1 is characterized in that, the checking meter of the described message of checking meter of described checking
Whether correct step specifically comprises in request:
From the described message of checking meter, parse the request of checking meter;
Judge whether the described request of checking meter is correct.
4, the method for claim 1 is characterized in that, whether correct step also comprises afterwards in the request of checking meter of the described message of checking meter of described checking:
If the request error of checking meter of the described message of checking meter judges whether to respond erroneous frame.
5, the method for claim 1 is characterized in that, describedly also comprises after described data set is made into the step of response data frame:
Need to judge whether the simulation mistake;
Simulate misdata, and described misdata is added described response data frame.
6, a kind of test macro of electricity management terminal is characterized in that, described system comprises:
The message receiver module is used for receiving the message of checking meter;
The authentication of message module is used to verify whether the request of checking meter of the described message of checking meter is correct;
Retrieval module, if it is correct to be used for the request of checking meter of the described message of checking meter, the corresponding data of the retrieval request of checking meter; And
Molded tissue block is used for described data set is made into the response data frame;
Time-delay sends, and being used for delays time to send it back answers Frame to give electricity management terminal.
7, system as claimed in claim 6 is characterized in that, described system also comprises:
The data verification module is used for communications protocol according to a preconcerted arrangement, and the described message of checking meter is carried out data verification.
8, system as claimed in claim 6 is characterized in that, described authentication of message module comprises:
Parsing module is used for parsing the request of checking meter from the described message of checking meter; And
The request judge module of checking meter is used to judge whether the described request of checking meter is correct.
9, system as claimed in claim 6 is characterized in that, described system also comprises:
The erroneous frame judge module if be used for the request error of checking meter of the described message of checking meter, judges whether to respond erroneous frame.
10, system as claimed in claim 6 is characterized in that, described system also comprises:
Simulation false judgment module is used to judge whether needs simulation mistake; And
The misdata analog module is used to simulate misdata, and described misdata is added described response data frame.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2007101249420A CN101452631B (en) | 2007-12-06 | 2007-12-06 | Test method and system for management terminal of power use |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2007101249420A CN101452631B (en) | 2007-12-06 | 2007-12-06 | Test method and system for management terminal of power use |
Publications (2)
Publication Number | Publication Date |
---|---|
CN101452631A true CN101452631A (en) | 2009-06-10 |
CN101452631B CN101452631B (en) | 2010-10-20 |
Family
ID=40734843
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2007101249420A Expired - Fee Related CN101452631B (en) | 2007-12-06 | 2007-12-06 | Test method and system for management terminal of power use |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN101452631B (en) |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101943734A (en) * | 2010-06-17 | 2011-01-12 | 深圳市科陆电子科技股份有限公司 | Method for automatically detecting terminals in batch based on IEC62056 protocol |
CN101719306B (en) * | 2009-10-30 | 2012-01-04 | 深圳市科陆电子科技股份有限公司 | Parallel electric quantity data acquisition method |
CN106710180A (en) * | 2015-07-23 | 2017-05-24 | 深圳市拓安信计控仪表有限公司 | Meter reading method of water meter, water meter and system |
CN107315158A (en) * | 2017-06-22 | 2017-11-03 | 南方电网科学研究院有限责任公司 | The data of expense control electric energy meter copy back function test method and system |
CN109035746A (en) * | 2018-07-30 | 2018-12-18 | 深圳市科陆电子科技股份有限公司 | A kind of the function judgment method and system of centralized meter reading terminal |
CN110111898A (en) * | 2019-04-26 | 2019-08-09 | 北京理工大学 | Multifunction manual pancreas control module and method based on mobile terminal |
CN110208586A (en) * | 2019-05-15 | 2019-09-06 | 广州供电局有限公司 | Multiplexing electric abnormality analog circuit and multiplexing electric abnormality analog machine |
CN112289017A (en) * | 2020-10-28 | 2021-01-29 | 国网安徽省电力有限公司合肥供电公司 | Remote meter reading method and system for intelligent electric energy meter |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5448229A (en) * | 1992-12-28 | 1995-09-05 | General Electric Company | Method and apparatus for communicating with a meter register |
CN1779730A (en) * | 2004-11-17 | 2006-05-31 | 上海科泰信息技术有限公司 | Main station system for large power users with charge recording via short messages |
-
2007
- 2007-12-06 CN CN2007101249420A patent/CN101452631B/en not_active Expired - Fee Related
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101719306B (en) * | 2009-10-30 | 2012-01-04 | 深圳市科陆电子科技股份有限公司 | Parallel electric quantity data acquisition method |
CN101943734A (en) * | 2010-06-17 | 2011-01-12 | 深圳市科陆电子科技股份有限公司 | Method for automatically detecting terminals in batch based on IEC62056 protocol |
CN106710180A (en) * | 2015-07-23 | 2017-05-24 | 深圳市拓安信计控仪表有限公司 | Meter reading method of water meter, water meter and system |
CN107315158A (en) * | 2017-06-22 | 2017-11-03 | 南方电网科学研究院有限责任公司 | The data of expense control electric energy meter copy back function test method and system |
CN107315158B (en) * | 2017-06-22 | 2019-12-31 | 南方电网科学研究院有限责任公司 | Method and system for testing data back-reading function of charge control electric energy meter |
CN109035746A (en) * | 2018-07-30 | 2018-12-18 | 深圳市科陆电子科技股份有限公司 | A kind of the function judgment method and system of centralized meter reading terminal |
CN110111898A (en) * | 2019-04-26 | 2019-08-09 | 北京理工大学 | Multifunction manual pancreas control module and method based on mobile terminal |
CN110208586A (en) * | 2019-05-15 | 2019-09-06 | 广州供电局有限公司 | Multiplexing electric abnormality analog circuit and multiplexing electric abnormality analog machine |
CN112289017A (en) * | 2020-10-28 | 2021-01-29 | 国网安徽省电力有限公司合肥供电公司 | Remote meter reading method and system for intelligent electric energy meter |
Also Published As
Publication number | Publication date |
---|---|
CN101452631B (en) | 2010-10-20 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101452631B (en) | Test method and system for management terminal of power use | |
CN111262346B (en) | Integrated automatic acceptance system and method for transformer substation | |
CN106056896B (en) | Intelligent electric power utilization system and its test method based on low voltage power line carrier | |
CN103354907A (en) | Communications system | |
CN110298976A (en) | The charging module of mobile power source leased equipment and its data transmission method between mobile power source | |
CN102820959A (en) | Method for performing large data volume communication between Modbus master station and Modbus slave station | |
CN101656642B (en) | Method, device and system for testing authentication performance of network access equipment | |
CN101022473B (en) | Method for automatic, identifying plate card configration and generating local data in exchanger | |
CN112100081B (en) | Upgrade test method and device based on double-core intelligent electric meter and computer equipment | |
CN102313880A (en) | Method and system for testing local communication equipment of power utilization information acquisition system, and master station | |
CN112034410A (en) | Detection tool module of multi-core modular electric energy meter | |
CN102413008B (en) | Based on method of testing and the system of electric power 104 stipulations | |
CN112614331A (en) | Method for reading electric energy meter event and electric energy meter event reading system | |
CN103678423A (en) | Data file input system, device and method | |
CN111935767B (en) | Network simulation system | |
CN103746868B (en) | A kind of method, device and test equipment for sending and receiving test packet | |
Urrea et al. | Enhancing Modbus‐RTU Communications for Smart Metering in Building Energy Management Systems | |
CN105099810A (en) | Communication test method and system for sampling value interface | |
CN109698813A (en) | A kind of intelligent meter data recording system and method | |
CN106855850A (en) | Based on portable equipment intelligent substation secondary void terminal figure reality symbol detection method | |
CN110334385A (en) | Test method, device and the equipment of integrated energy system central controller | |
CN113965447B (en) | Online cloud diagnosis method, device, system, equipment and storage medium | |
CN103647760A (en) | Manufacturing message specification (MMS) communication platform of intelligent substation digital protection device and access method of manufacturing message specification (MMS) communication platform | |
CN104639585A (en) | Real-time data transmission system and data synchronization method thereof | |
CN106841842A (en) | The method of testing and device in the empty loop of secondary device |
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 | ||
CF01 | Termination of patent right due to non-payment of annual fee | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20101020 Termination date: 20161206 |