CN102759724A - Testing method and system for communication reliability of intelligent electric energy meters - Google Patents

Testing method and system for communication reliability of intelligent electric energy meters Download PDF

Info

Publication number
CN102759724A
CN102759724A CN2012102514937A CN201210251493A CN102759724A CN 102759724 A CN102759724 A CN 102759724A CN 2012102514937 A CN2012102514937 A CN 2012102514937A CN 201210251493 A CN201210251493 A CN 201210251493A CN 102759724 A CN102759724 A CN 102759724A
Authority
CN
China
Prior art keywords
electric energy
intelligent electric
communication
energy meter
communication frame
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
CN2012102514937A
Other languages
Chinese (zh)
Other versions
CN102759724B (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.)
State Grid Corp of China SGCC
Electric Power Research Institute of State Grid Zhejiang Electric Power Co Ltd
Marketing Service Center of State Grid Zhejiang Electric Power Co Ltd
Original Assignee
Electric Power Research Institute of State Grid Zhejiang Electric Power 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 Electric Power Research Institute of State Grid Zhejiang Electric Power Co Ltd filed Critical Electric Power Research Institute of State Grid Zhejiang Electric Power Co Ltd
Priority to CN201210251493.7A priority Critical patent/CN102759724B/en
Publication of CN102759724A publication Critical patent/CN102759724A/en
Application granted granted Critical
Publication of CN102759724B publication Critical patent/CN102759724B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The embodiment of the invention provides a testing method and a testing system for the communication reliability of intelligent electric energy meters. The testing method is on the basis of the testing system for the communication reliability of the intelligent electric energy meters. The testing system comprises a testing host machine, a multi-serial-port card and the at least two intelligent electric energy meters, wherein the testing host machine is used for determining the testing types of communication reliability of the intelligent electric energy meters and transmitting communication frames which correspond to the testing types of communication reliability; the multi-serial-port card is used for distributing the communication frames corresponding to the testing types of communication reliability to the at least two intelligent electric energy meters; the at least two intelligent electric energy meters respond to the received communication frames; and the testing host machine is used for judging the communication reliability of the intelligent electric energy meters according to the response of the intelligent electric energy meters. The testing method realizes the reliability testing on the batched communication of the intelligent electric energy meters.

Description

A kind of communication reliability method of testing and system of intelligent electric energy meter
Technical field
The present invention relates to electric energy meter detection technique field, more particularly, relate to a kind of communication reliability method of testing and system of intelligent electric energy meter.
Background technology
Intelligent electric energy meter is the electronic electric energy meter with functions such as electric flux calculating, data processing, monitoring in real time, control automatically, information interactions.Construction along with intelligent grid; The appearance of intelligent electric energy meter correlation technique standard; Intelligent electric energy meter has carried more functions of use; Relevant DLT/645-2007 communication protocol is also constantly being augmented (DLT/645-2007 communication protocol is the electric energy meter communication protocol), and the quickening construction of power information acquisition system in addition makes intelligent electric energy meter become more important with communicating by letter of acquisition terminal; Can intelligent electric energy meter correctly, in time reply the communication frame that sends at the terminal and seem particularly important, and this is for the demands for higher performance of intelligent electric energy meter.
Communication reliability is as one of important indicator of estimating the intelligent electric energy meter performance; Be the key that guarantees that the intelligent electric energy meter performance is not fully exerted in actual use, therefore intelligent electric energy meter is communicated reliability testing can provide valid data for the communication reliability analysis of intelligent electric energy meter.Wherein, the communication reliability of intelligent electric energy meter is meant intelligent electric energy meter under defined terms and in the official hour, the ability of completion regulation communication function; The communication reliability test-types of intelligent electric energy meter mainly is divided into the test of rapid Continuous frame, erroneous frame test and disturbs the frame test.
Prior art only is a certain data write communication capacity to be judged the communication performance of this intelligent electric energy meter through intelligent electric energy meter at present; For the reliable communications property testing that how to carry out intelligent electric energy meter; Prior art does not also have the solution of moulding; And detect at intelligent electric energy meter under the requirement of efficientibility, also should make the solution of reliable communications property testing of the intelligent electric energy meter that provided can satisfy the demand of intelligent electric energy meter batch testing.
Can find out that providing a kind of can be the problem that those skilled in the art need solve to the method that a plurality of intelligent electric energy meters carry out reliable communications property testing in batches.
Summary of the invention
In view of this, the embodiment of the invention provides a kind of communication reliability method of testing and system of intelligent electric energy meter, with the reliable communications property testing of the batch of realizing intelligent electric energy meter.
For realizing above-mentioned purpose, the embodiment of the invention provides following technical scheme:
A kind of communication reliability method of testing of intelligent electric energy meter; Communication reliability test macro based on a kind of intelligent electric energy meter; Said system comprises: Test Host, and the multi-serial-port card that links to each other with said Test Host is with at least two intelligent electric energy meters that link to each other with said multi-serial-port card;
Said method comprises:
Said Test Host is confirmed the communication reliability test-types of intelligent electric energy meter, sends and the corresponding communication frame of said communication reliability test-types to said multi-serial-port card;
Said multi-serial-port card is to said at least two intelligent electric energy meters distribution and the corresponding communication frame of said communication reliability test-types;
Said at least two intelligent electric energy meters are made a response to the communication frame that receives; Said reaction comprises that said at least two intelligent electric energy meters are made the communication frame that receives and replys or do not make and replying; If said at least two intelligent electric energy meters are made the communication frame that receives and being replied, then pass through said multi-serial-port card to said Test Host echo reply communication frame;
The communication reliability of each intelligent electric energy meter of reaction and judgement that said Test Host is made according to each intelligent electric energy meter.
Optional, when the communication reliability test-types of the definite intelligent electric energy meter of said Test Host was tested for the rapid Continuous frame, the said transmission to said multi-serial-port card comprised with the corresponding communication frame of said communication reliability test-types:
Said Test Host sends the communication frame of continuous constant duration to said multi-serial-port card;
Said Test Host comprises according to the communication reliability of each intelligent electric energy meter of reaction and judgement that each intelligent electric energy meter is made:
Said Test Host calculates each intelligent electric energy meter and returns the success ratio of communication frame and the accuracy of the communication frame that returns;
Said success ratio and accuracy and preset standard are compared, judge the responsibility of each intelligent electric energy meter the communication frame of continuous constant duration according to comparison result.
Optional, when the communication reliability test-types of the definite intelligent electric energy meter of said Test Host was the erroneous frame test, the said transmission to said multi-serial-port card comprised with the corresponding communication frame of said communication reliability test-types:
Said Test Host sends the communication frame that includes misdata to said multi-serial-port card;
Said Test Host comprises according to the communication reliability of each intelligent electric energy meter of reaction and judgement that each intelligent electric energy meter is made:
According to the reply situation of intelligent electric energy meter, judge the judgement of intelligent electric energy meter to the communication frame that includes misdata to the communication frame that includes misdata that receives;
Or
At intelligent electric energy meter the communication frame that includes misdata that receives is made under the situation of replying; With the response content that comprises in the acknowledge communication frame that each intelligent electric energy meter returned, compare with the said desired response content of the pairing correct communication frame of communication frame that includes misdata;
Judge the judgement of each intelligent electric energy meter according to comparison result to the communication frame that includes misdata.
Optional; The said communication frame that includes misdata is: the communication frame of frame head change, or the communication frame of control code change, or the communication frame of Data Identification change; Or the communication frame of data field length change; Or the communication frame of check code change, or the communication frame of end mark change, or the communication frame of check bit change.
Optional, when the communication reliability test-types of the definite intelligent electric energy meter of said Test Host was tested for disturbing frame, the said transmission to said multi-serial-port card comprised with the corresponding communication frame of said communication reliability test-types:
Said Test Host sends the communication frame that includes interfering data to said multi-serial-port card;
Said Test Host comprises according to the communication reliability of each intelligent electric energy meter of reaction and judgement that each intelligent electric energy meter is made:
If intelligent electric energy meter is not made the communication frame that includes interfering data that receives and being replied, then judge the communication anti-interference capability of intelligent electric energy meter according to the working condition of intelligent electric energy meter;
If intelligent electric energy meter is made the communication frame that includes interfering data that receives and being replied, the response content that then the acknowledge communication frame that each intelligent electric energy meter returned is comprised is compared with the said desired response content of communication frame that includes interfering data;
Judge the communication anti-interference capability of each intelligent electric energy meter according to comparison result.
Optional; The said communication frame that includes interfering data is: have the communication frame that lead byte disturbs; Or communication frame with interference byte of end mark heel; Or be provided with the communication frame of waiting for time-delay, or be provided with the communication frame of byte time-delay, or in continuously normal sequence of communication frames, insert and disturb frame.
Optional, the said transmission to said multi-serial-port card comprises with the corresponding communication frame of said communication reliability test-types:
Said Test Host equates with the quantity of said two intelligent electric energy meters to said multi-serial-port card transmission at least, with the corresponding communication frame of said communication reliability test-types;
Said multi-serial-port card comprises with said communication reliability test-types corresponding communication frame to said two intelligent electric energy meters distribution at least:
With equating with the quantity of said at least two intelligent electric energy meters of receiving, be distributed to each intelligent electric energy meter with the corresponding communication frame of said communication reliability test-types, communication frame of an intelligent electric energy meter reception.
Optional, the said transmission to said multi-serial-port card comprises with the corresponding communication frame of said communication reliability test-types:
Said Test Host to said multi-serial-port card send one with the corresponding communication frame of said communication reliability test-types;
Said multi-serial-port card comprises with said communication reliability test-types corresponding communication frame to said two intelligent electric energy meters distribution at least:
Said multi-serial-port card with one that is received with the corresponding communication frame of said communication reliability test-types; Be copied into the communication frame that equates with the quantity of said at least two intelligent electric energy meters; To each intelligent electric energy meter distribution and the corresponding communication frame of said communication reliability test-types, an intelligent electric energy meter receives a communication frame.
The embodiment of the invention also provides a kind of communication reliability test macro of intelligent electric energy meter, comprising:
Confirm the communication reliability test-types of intelligent electric energy meter, send and the corresponding communication frame of said communication reliability test-types, and, judge the Test Host of the communication reliability of each intelligent electric energy meter according to the reaction that each intelligent electric energy meter is made;
Link to each other with said Test Host; Receive that said Test Host sends with the corresponding communication frame of said communication reliability test-types; To each intelligent electric energy meter distribution and the corresponding communication frame of said communication reliability test-types; Reach at intelligent electric energy meter the communication frame that receives is made under the situation of replying, send the multi-serial-port card of the acknowledge communication frame that intelligent electric energy meter returned to said Test Host;
Link to each other with said multi-serial-port card, receive the distribution of said multi-serial-port card with the corresponding communication frame of said communication reliability test-types, at least two intelligent electric energy meters that the communication frame of reception is made a response;
Said reaction comprises that said at least two intelligent electric energy meters are made the communication frame that receives and replys or do not make and replying; If said at least two intelligent electric energy meters are made the communication frame that receives and being replied, then pass through said multi-serial-port card to said Test Host echo reply communication frame.
Optional, said system also comprises:
The display screen that links to each other with said Test Host;
Said display screen comprises first display interface of the table number that shows said at least two intelligent electric energy meters and shows second display interface of the communication reliability information of said at least two intelligent electric energy meters.
Based on technique scheme; Method that the embodiment of the invention provided has realized being connected of Test Host and at least two intelligent electric energy meters through multi-serial-port card; The passage that said Test Host is set up through this connection sends and determined communication reliability test-types corresponding communication frame to said two intelligent electric energy meters at least; Make said at least two intelligent electric energy meters make a response to the communication frame that is received; And the reaction of making at intelligent electric energy meter is for making under the situation of replying the communication frame that receives; To said Test Host echo reply communication frame, so that the communication reliability of each intelligent electric energy meter of reaction and judgement that Test Host can be made according to each intelligent electric energy meter, realized the reliable communications property testing of the batch of intelligent electric energy meter through the passage set up.
Description of drawings
In order to be illustrated more clearly in the embodiment of the invention or technical scheme of the prior art; To do to introduce simply to the accompanying drawing of required use in embodiment or the description of the Prior Art below; Obviously, the accompanying drawing in describing below only is some embodiments of the present invention, for those of ordinary skills; Under the prerequisite of not paying creative work, can also obtain other accompanying drawing according to these accompanying drawings.
The process flow diagram of the communication reliability method of testing of a kind of intelligent electric energy meter that Fig. 1 provides for the embodiment of the invention;
The process flow diagram of the rapid Continuous frame method of testing of the intelligent electric energy meter that Fig. 2 provides for the embodiment of the invention;
The process flow diagram of the erroneous frame method of testing of the intelligent electric energy meter that Fig. 3 provides for the embodiment of the invention;
The process flow diagram of the interference frame method of testing of the intelligent electric energy meter that Fig. 4 provides for the embodiment of the invention;
The structural representation of the communication reliability test macro of the intelligent electric energy meter that Fig. 5 provides for the embodiment of the invention;
Another structural representation of the communication reliability test macro of the intelligent electric energy meter that Fig. 6 provides for the embodiment of the invention;
The another structural representation of the communication reliability test macro of the intelligent electric energy meter that Fig. 7 provides for the embodiment of the invention.
Embodiment
To combine the accompanying drawing in the embodiment of the invention below, the technical scheme in the embodiment of the invention is carried out clear, intactly description, obviously, described embodiment only is the present invention's part embodiment, rather than whole embodiment.Based on the embodiment among the present invention, those of ordinary skills are not making the every other embodiment that is obtained under the creative work prerequisite, all belong to the scope of the present invention's protection.
The process flow diagram of the communication reliability method of testing of a kind of intelligent electric energy meter that Fig. 1 provides for the embodiment of the invention; This method is based on a kind of communication reliability test macro of intelligent electric energy meter; This system comprises Test Host, multi-serial-port card and at least two intelligent electric energy meters, wherein; Test Host links to each other with multi-serial-port card, and multi-serial-port card links to each other with at least two intelligent electric energy meters; Method shown in Figure 1 can comprise the steps:
Step S100, said Test Host are confirmed the communication reliability test-types of intelligent electric energy meter, send and the corresponding communication frame of said communication reliability test-types to said multi-serial-port card;
The communication reliability test-types mainly is divided into the test of rapid Continuous frame, erroneous frame test and disturbs these three kinds of frame tests in the embodiment of the invention; Wherein, The main test of rapid Continuous frame test intelligent electric energy meter is for the responsibility of rapid Continuous frame, thus the communication answering of judgement intelligent electric energy meter; The main test of erroneous frame test intelligent electric energy meter is for the judgement of erroneous frame, and for any erroneous frame, intelligent electric energy meter should not return correct replying; Disturb the communication anti-interference capability of the main test of frame test intelligent electric energy meter, judge that intelligent electric energy meter is at the communication responsibility that disturbs under the scene.
The embodiment of the invention should be confirmed a kind of earlier from above-mentioned three kinds of communication reliability test-types when carrying out the reliable communications property testing of intelligent electric energy meter; The communication reliability test-types can be artificial selected, the type of the each reliable communications property testing of artificial control; The execution sequence of also predeterminable three kinds of communication reliability test-types, the rapid Continuous frame is tested as presetting, erroneous frame is tested and disturb frame to test the execution etc. that circulates successively.
After having confirmed the communication reliability test-types, Test Host sends and the corresponding communication frame of determined communication reliability test-types to multi-serial-port card.Test Host can communicate the combination of frame after having confirmed the communication reliability test-types, with the combination after send to multi-serial-port card with the corresponding communication frame of determined communication reliability test-types; Test Host also can be after having confirmed the communication reliability test-types, transfers preset and the corresponding communication frame of determined communication reliability test-types, sends preset communication frame to multi-serial-port card.
With the corresponding communication frame of said communication reliability test-types; Be meant the communication frame that to simulate abnormal communication conditions that intelligent electric energy meter and acquisition terminal possibly occur in actual moving process; It can realize determined communication reliability test-types, makes intelligent electric energy meter can make the reaction that adapts with determined communication reliability test-types according to communication protocol.As testing for the rapid Continuous frame; With the corresponding communication frame of rapid Continuous frame test is the communication frame of continuous constant duration; And the time interval between communication frame must enough lack to reach the effect of high-speed traffic frame; Optional, unnecessary 1 of the communication frame that can refer to fast to be sent in 1 second is chosen as 500 milliseconds and sends a communication frame; For the erroneous frame test, be the communication frame that includes misdata with the corresponding communication frame of erroneous frame test; For disturbing the frame test, be the communication frame that includes interfering data with disturbing the corresponding communication frame of frame test.
Test Host can be computing machine, or other calculation process equipment that can link to each other with multi-serial-port card arbitrarily.
Step S110, said multi-serial-port card are to said at least two intelligent electric energy meters distribution and the corresponding communication frame of said communication reliability test-types;
Behind the communication frame corresponding that multi-serial-port card acceptance test main frame sends, send and the corresponding communication frame of said communication reliability test-types to each intelligent electric energy meter that links to each other with self respectively with said communication reliability test-types.
Step S120, said at least two intelligent electric energy meters are made a response to the communication frame that receives; Said reaction comprises that said at least two intelligent electric energy meters are made the communication frame that receives and replys or do not make and replying; If said at least two intelligent electric energy meters are made the communication frame that receives and being replied, then pass through said multi-serial-port card to said Test Host echo reply communication frame;
After each intelligent electric energy meter receives the communication frame corresponding with said communication reliability test-types; To make a response according to the communication performance situation of self; The reaction that intelligent electric energy meter is made is divided into two kinds: intelligent electric energy meter is made the communication frame that receives and being replied and intelligent electric energy meter is not made the communication frame that receives and being replied.Can judge that the reaction that intelligent electric energy meter is made is any through Test Host,, in Preset Time, not receive the acknowledge communication frame corresponding, judge then that intelligent electric energy meter is not made to reply with this communication frame if after Test Host has sent communication frame; After if Test Host has sent communication frame, in Preset Time, receive the acknowledge communication frame corresponding with this communication frame, judge then that intelligent electric energy meter is made to reply.
Make under the situation of replying at intelligent electric energy meter, intelligent electric energy meter will send the acknowledge communication frame, and the current frame of replying that is sent returns to said Test Host through said multi-serial-port card.Since communication frame that Test Host sent generally all indicate intelligent electric energy meter the function that will carry out; So the acknowledge communication frame that each intelligent electric energy meter sends generally all includes corresponding response content; This response content can embody intelligent electric energy meter and whether carry out corresponding work, the situation of execution work and data etc.Because the performance of each intelligent electric energy meter has nothing in common with each other, the time point of replying current frame that therefore sends has nothing in common with each other, and said multi-serial-port card receives an acknowledge communication frame and returns to said Test Host immediately, does not do wait.
The communication reliability of each intelligent electric energy meter of reaction and judgement that step S130, said Test Host make according to each intelligent electric energy meter.
When intelligent electric energy meter is not made when replying the communication frame that receives, can judge the communication reliability of intelligent electric energy meter to the situation of replying of the communication frame that receives according to intelligent electric energy meter, as when carrying out the situation of erroneous frame test.
When intelligent electric energy meter is made when replying the communication frame that receives; After said Test Host receives the acknowledge communication frame that each intelligent electric energy meter returned; Which intelligent electric energy meter the mailing address of the intelligent electric energy meter that can be carried through the acknowledge communication frame (mailing address of intelligent electric energy meter is that intelligent electric energy meter has just set when dispatching from the factory) judgement acknowledge communication frame belongs to, thereby confirms the corresponding relation of each acknowledge communication frame and each intelligent electric energy meter of being tested.
Confirming on the basis of each acknowledge communication frame and the corresponding relation of each intelligent electric energy meter of being tested; Can be according to intelligent electric energy meter communication protocol (like DLT/645-2007 communication protocol etc.); With the acknowledge communication frame that each intelligent electric energy meter was returned is foundation, judges the communication reliability of each intelligent electric energy meter; Optional; Can judge the actual response communication frame that each intelligent electric energy meter returns; Whether the acknowledge communication frame that under the basis of communication protocol, should return with each intelligent electric energy meter adapts, and through this judged result the communication reliability of each intelligent electric energy meter is made judgement.
Method that the embodiment of the invention provided has realized being connected of Test Host and at least two intelligent electric energy meters through multi-serial-port card; The passage that said Test Host is set up through this connection sends and determined communication reliability test-types corresponding communication frame to said two intelligent electric energy meters at least; Make said at least two intelligent electric energy meters make a response to the communication frame that is received; And the reaction of making at intelligent electric energy meter is for making under the situation of replying the communication frame that receives; Through the passage set up to said Test Host echo reply communication frame; So that the communication reliability of each intelligent electric energy meter of reaction and judgement that Test Host can be made according to each intelligent electric energy meter, realized the reliable communications property testing of the batch of intelligent electric energy meter.。
The inventor finds in realizing process of the present invention: in practical application, communication issue comprises between intelligent electric energy meter that can run into usually and acquisition terminal:
Part intelligent electric energy meter producer understands differently to the related protocol standard and causes, and causes the communication protocol disunity of intelligent electric energy meter and acquisition terminal, makes intelligent electric energy meter have the situation of giving an irrelevant answer or simply not answering;
The transmitting-receiving sequential does not match, and the part intelligent electric energy meter is delayed time after receiving the amr frame order of acquisition terminal; Just send the acknowledge communication frame immediately; This moment, the terminal possibly also be in transmit status, and when waiting terminal to get back to receive status, the communication frame forward part possibly lost;
The part intelligent electric energy meter exists the part communication frame correctly to reply, the situation that the part communication frame can't correctly be replied during to several frame data of the continuous copy reading of acquisition terminal;
It is 1200bps or higher that the problem of the speed of transmission, part intelligent electric energy meter are provided with transfer rate all the time, after changing different acquisition terminals, the inconsistent problem of transfer rate can occur, causes communication failure;
The part intelligent electric energy meter is the superfluous fault reason of design of communications not, and to the erroneous frame that acquisition terminal sends, interference frame etc. carries out incorrect response, asks answer like mistake, even causes the deadlock of electric energy meter.
On this basis; To introduce the test of rapid Continuous frame, the erroneous frame test of intelligent electric energy meter below and disturb the frame test; Send the communication conditions under rapid Continuous frame, erroneous frame and the interference frame condition with intelligent electric energy meter in the simulation actual moving process at acquisition terminal; Through analyzing the correctness that intelligent electric energy meter is resolved communication protocol; To the shielding processing ability of error communications frame, the antijamming capability of transceiver communication sequential and intelligent electric energy meter communication, the communication reliability of judgement intelligent electric energy meter communication aspects.
The process flow diagram of the rapid Continuous frame method of testing of the intelligent electric energy meter that Fig. 2 provides for the embodiment of the invention, this method can comprise:
Step S200, said Test Host send the communication frame of continuous constant duration to said multi-serial-port card;
Step S210, said multi-serial-port card are distributed the communication frame of continuous constant duration at least to said two intelligent electric energy meters;
Step S220, said at least two intelligent electric energy meters are made a response to the communication frame that receives;
Step S230, said Test Host calculate that each intelligent electric energy meter returns the success ratio of communication frame and the accuracy of the communication frame that returns; Said success ratio and accuracy and preset standard are compared, judge the responsibility of each intelligent electric energy meter the communication frame of continuous constant duration according to comparison result.
In method shown in Figure 2, the said Test Host of step S100 shown in Figure 1 to said multi-serial-port card send the communication frame corresponding with said communication reliability test-types concrete implementation can for: said Test Host sends the communication frame of continuous constant duration to said multi-serial-port card; The communication frame that the set time interval should be able to make Test Host in 1 second, sent is no less than 1.
Test Host the communication frame that will send can read and write and feed back read-write result's communication frame for requiring intelligent electric energy meter; Also can carry out the communication frame of other functions for requiring intelligent electric energy meter; Particular content for communication frame does not limit at this; Attribute between a limiting telecommunication frame and communication frame, i.e. rapid Continuous here.
In method shown in Figure 2; The communication reliability Test Host of each intelligent electric energy meter of reaction and judgement that the said Test Host of step S130 shown in Figure 1 is made according to each intelligent electric energy meter is according to the acknowledge communication frame that each intelligent electric energy meter returned, judge each intelligent electric energy meter communication reliability concrete implementation can for: said Test Host calculates each intelligent electric energy meter and returns the success ratio of communication frame and the accuracy of the communication frame that returns; Said success ratio and accuracy and preset standard are compared, judge the responsibility of each intelligent electric energy meter the communication frame of continuous constant duration according to comparison result.
Success ratio is meant the communication frame that sends for Test Host, and whether each intelligent electric energy meter all replys, and what reacted is the probability of replying, and refers to the proportion in the reaction that this intelligent electric energy meter is made of replying that an intelligent electric energy meter makes; Accuracy is meant the function that requires intelligent electric energy meter to carry out in the communication frame that sends for Test Host, and whether intelligent electric energy meter is carried out and be embodied in the acknowledge communication frame, and what reacted is the accuracy of replying.The communication reliability of the high more expression intelligent electric energy meter of success ratio and accuracy is good more, and fiduciary level is high more.
Optional, preset standard can be provided with according to actual needs, is preferably success ratio 100%, accuracy 100%.
The process flow diagram of the erroneous frame method of testing of the intelligent electric energy meter that Fig. 3 provides for the embodiment of the invention, this method can comprise:
Step S300, said Test Host send the communication frame that includes misdata to said multi-serial-port card;
Step S310, said multi-serial-port card contain the communication frame of misdata at least to said two intelligent electric energy meter distributing packets;
Step S320, said at least two intelligent electric energy meters are made a response to the communication frame that receives;
Step S330, according to the reply situation of intelligent electric energy meter to the communication frame that includes misdata that receives, judge the judgement of intelligent electric energy meter to the communication frame that includes misdata;
Step S340, the communication frame that includes misdata that receives is made under the situation of replying at intelligent electric energy meter; With the response content that comprises in the acknowledge communication frame that each intelligent electric energy meter returned, compare with the said desired response content of the pairing correct communication frame of communication frame that includes misdata; Judge the judgement of each intelligent electric energy meter according to comparison result to the communication frame that includes misdata.
Wherein, step S330 and step S340 are two steps arranged side by side, do not have sequencing between the two.
In method shown in Figure 3, the said Test Host of step S100 shown in Figure 1 to said multi-serial-port card send the communication frame corresponding with said communication reliability test-types concrete implementation can for: said Test Host includes the communication frame of misdata to said multi-serial-port card transmission.
The communication frame that includes misdata is chosen as: the communication frame of frame head change; Or the communication frame of control code change; Or the communication frame of Data Identification change, or the communication frame of data field length change, or the communication frame of check code change; Or the communication frame of end mark change, or the communication frame of check bit change.
Wherein, the communication frame of frame head change, preceding or the variation of a back 68H initial code in the frame head can be tested the rationality of intelligent electric energy meter to the judgement of communication frame frame head.
The change of control code can be tested the thorough property that intelligent electric energy meter is considered control code, and the response of Different control sign indicating number should have corresponding control to respond, and response will meet DLT/614-2007 communication protocol.
The change of Data Identification can be tested the response of intelligent electric energy meter correct and misdata sign, and the Data Identification of mistake should not cause responding correct or program crashing.
The change of data field length can be tested the rationality of intelligent electric energy meter to the processing of data length and data field content.
The check code change can be tested the response process of intelligent electric energy meter to the command frame of check code mistake, and the command frame intelligent electric energy meter of check code mistake should not made correct response.
The change of end mark; Main test intelligent electric energy meter is to the judgment processing of whole frame or imperfect frame; When no end mark or end mark mistake; The intelligent electric energy meter program should not made correct response, and the intelligent electric energy meter that end mark is not judged causes other auxiliary facility samplings undesired in the time of may using at the scene.
The check bit change is mainly tested intelligent electric energy meter and whether is adopted even parity check transmission judgment data, except that even parity check, and the incorrect success that can not realize communication of check bit.
The communication frame that includes misdata that Test Host sent here, can according to the test demand, edit a frame traffic frame with, an error items or a plurality of error items.
In method shown in Figure 3; The concrete implementation of the communication reliability of each intelligent electric energy meter of reaction and judgement that the said Test Host of step S130 shown in Figure 1 is made according to each intelligent electric energy meter can be divided into two kinds; Wherein a kind ofly be:, judge the judgement of intelligent electric energy meter to the communication frame that includes misdata according to the situation of replying of intelligent electric energy meter to the communication frame that includes misdata that receives.Another kind is: at intelligent electric energy meter the communication frame that includes misdata that receives is made under the situation of replying; With the response content that comprises in the acknowledge communication frame that each intelligent electric energy meter returned, compare with the said desired response content of the pairing correct communication frame of communication frame that includes misdata; Judge the judgement of each intelligent electric energy meter according to comparison result to the communication frame that includes misdata.
The erroneous frame test can be tested the processing of intelligent electric energy meter to the stipulations framing; The communication frame of mistake should not obtain correctly replying of intelligent electric energy meter; Therefore can make the situation of replying to the communication frame that receives through intelligent electric energy meter; Judge the recognition capability of intelligent electric energy meter for erroneous frame, the situation of replying of intelligent electric energy meter refers to intelligent electric energy meter and makes replying not make with intelligent electric energy meter and reply shared proportion, does not reply if intelligent electric energy meter is made for erroneous frame; Explain that then intelligent electric energy meter identifies erroneous frame, the intelligent electric energy meter reliability is higher.
When intelligent electric energy meter is made when replying the communication frame that includes misdata that receives; The pairing correct communication frame of communication frame that includes misdata is the sources traffic frame; The sources traffic frame is the communication frame of original correct format; The communication frame that includes misdata is on the basis of sources traffic frame, to increase misdata or revise form, makes that the appearance of sources traffic frame is wrong and forms the communication frame that includes misdata.The desired response content of the pairing correct communication frame of communication frame that includes misdata is meant the function that sources traffic intelligent electric energy meter that frame requires is carried out.
If the response content that comprises in the acknowledge communication frame that intelligent electric energy meter returned has embodied intelligent electric energy meter and has carried out the sources traffic frame and require the function carried out; The response content that comprises in the acknowledge communication frame that intelligent electric energy meter returned is corresponding with the desired response content of sources traffic frame; Explain that it is erroneous frame that intelligent electric energy meter does not identify the communication frame that includes misdata; There is defective in the communication reliability of intelligent electric energy meter, and fiduciary level is not high; If indicated the information of communication frame mistake in the acknowledge communication frame that intelligent electric energy meter returned, explain that then it is erroneous frame that intelligent electric energy meter identifies the communication frame that includes misdata, the communication reliability of intelligent electric energy meter is better, and fiduciary level is higher.
The process flow diagram of the interference frame method of testing of the intelligent electric energy meter that Fig. 4 provides for the embodiment of the invention, this method can comprise:
Step S400, said Test Host send the communication frame that includes interfering data to said multi-serial-port card;
Step S410, said multi-serial-port card contain the communication frame of interfering data at least to said two intelligent electric energy meter distributing packets;
Step S420, said at least two intelligent electric energy meters are made a response to the communication frame that receives;
Step S430, if intelligent electric energy meter is not made the communication frame that includes interfering data that receives replys, then judge the communication anti-interference capability of intelligent electric energy meter according to the working condition of intelligent electric energy meter;
Step S440,, intelligent electric energy meter replys if making the communication frame that includes interfering data that receives; The response content that then the acknowledge communication frame that each intelligent electric energy meter returned is comprised is compared with the said desired response content of communication frame that includes interfering data; Judge the antijamming capability of each intelligent electric energy meter according to comparison result.
Step S430 and step S440 are step arranged side by side, do not have sequencing between the two.
In method shown in Figure 4, the said Test Host of step S100 shown in Figure 1 to said multi-serial-port card send the communication frame corresponding with said communication reliability test-types concrete implementation can for: said Test Host includes the communication frame of interfering data to said multi-serial-port card transmission.
The communication frame that includes interfering data is chosen as: have the communication frame that lead byte disturbs; Or communication frame with interference byte of end mark heel; Or be provided with the communication frame of waiting for time-delay, or be provided with the communication frame of byte time-delay, or in continuously normal sequence of communication frames, insert and disturb frame.
For having the communication frame that lead byte disturbs, the different length of definable lead byte, different data are to examine the antijamming capability of different intelligent electric energy meters to leading interference content.
For the communication frame of the interference byte with end mark heel, the length that the interference byte behind the definable end mark is different, different data are with the anti-afterbody interference capability of examination intelligent electric energy meter.
For being provided with the communication frame of waiting for time-delay, the wait time-delay between the command frame can be set, the examination intelligent electric energy meter is to different communication frames response speed at interval; Optional, the intelligent electric energy meter program should be supported 500 milliseconds with interior response.
Communication frame for being provided with the byte time-delay can be provided with the different byte interval of command frame, examines the response of different intelligent electric energy meters to the communication frame of different byte time-delays; Optional, intelligent electric energy meter is transmitted in 500ms to byte and responds with interior communication frame.
The communication frame that includes interfering data that Test Host sent here can be edited different interference according to the demand of test.
In method shown in Figure 4; The concrete implementation of the communication reliability of each intelligent electric energy meter of reaction and judgement that the said Test Host of step S130 shown in Figure 1 is made according to each intelligent electric energy meter can for: do not reply if intelligent electric energy meter is made the communication frame that includes interfering data that receives, then judge the communication anti-interference capability of intelligent electric energy meter according to the working condition of intelligent electric energy meter; If intelligent electric energy meter is made the communication frame that includes interfering data that receives and being replied; The response content that then the acknowledge communication frame that each intelligent electric energy meter returned is comprised; Compare with the said desired response content of communication frame that includes interfering data, judge the communication anti-interference capability of each intelligent electric energy meter according to comparison result.
Disturbing the purpose of frame test is in order to examine the interference rejection ability of intelligent electric energy meter to the disorderly data in scene.Do not make under the situation of replying at intelligent electric energy meter, can be through the working condition of intelligent electric energy electric energy meter, thus judge the communication anti-interference capability of intelligent electric energy meter.When if intelligent electric energy meter is in normal operating conditions, then explanation disturbs frame for not influence of intelligent electric energy meter, and the intelligent electric energy meter communication anti-interference capability is stronger.If intelligent electric energy meter is in the duty that deadlock, program are flown away, then explanation disturbs frame that intelligent electric energy meter has been produced influence, the intelligent electric energy meter communication anti-interference capability a little less than.
Make under the situation of replying at intelligent electric energy meter; For the high intelligent electric energy meter of communication reliability; Intelligent electric energy meter when receiving the communication frame that includes interfering data, can identify intelligent electric energy meter indicated in the communication frame the function that will carry out, make intelligent electric energy meter carry out function corresponding; And, answer the executed function of embodiment intelligent electric energy meter in the communication frame in the response of returning to Test Host echo reply communication frame.The desired response content of communication frame that includes interfering data is meant the function of intelligent electric energy meter that communication frame the requires execution that includes interfering data.
If the response content that the acknowledge communication frame that intelligent electric energy meter returned comprises; Embody intelligent electric energy meter and carried out the function that the communication frame that includes interfering data requires execution; Explain that then intelligent electric energy meter has identified the communication frame that includes interfering data; The communication reliability of intelligent electric energy meter is better, and fiduciary level is higher; Otherwise there is defective in the communication reliability of intelligent electric energy meter, and fiduciary level is not high.
In the embodiment of the invention, the communication frame that each intelligent electric energy meter received should be identical, and promptly multi-serial-port card is distributed to the communication frame of said at least two intelligent electric energy meters, for each intelligent electric energy meter, all is identical.In the embodiment of the invention; Test Host sends and the corresponding communication frame of said communication reliability test-types to said multi-serial-port card; Have two kinds with multi-serial-port card to the mode of said at least two intelligent electric energy meters distribution communication frame corresponding with said communication reliability test-types, specific as follows shown in:
Test Host to said multi-serial-port card send the communication frame corresponding with said communication reliability test-types concrete implementation can for: said Test Host equates with the quantity of said two intelligent electric energy meters to said multi-serial-port card transmission at least, with the corresponding communication frame of said communication reliability test-types;
Corresponding; Said multi-serial-port card to the concrete implementation of said at least two intelligent electric energy meters distribution communication frame corresponding with said communication reliability test-types can for: that will receive equate with quantity said at least two intelligent electric energy meters; Be distributed to each intelligent electric energy meter with the corresponding communication frame of said communication reliability test-types, an intelligent electric energy meter receives a communication frame.
Test Host to said multi-serial-port card send the communication frame corresponding with said communication reliability test-types concrete implementation can for: said Test Host to one of said multi-serial-port card transmission and the corresponding communication frame of said communication reliability test-types;
Corresponding; Said multi-serial-port card to the concrete implementation of said at least two intelligent electric energy meters distribution communication frame corresponding with said communication reliability test-types can for: said multi-serial-port card with one that is received with the corresponding communication frame of said communication reliability test-types; Be copied into the communication frame that equates with the quantity of said at least two intelligent electric energy meters; To each intelligent electric energy meter distribution and the corresponding communication frame of said communication reliability test-types, an intelligent electric energy meter receives a communication frame.
The communication reliability test macro of the intelligent electric energy meter that provides in the face of the embodiment of the invention is down introduced; It should be noted that; The communication reliability test macro of the described intelligent electric energy meter of hereinafter is corresponding with the communication reliability method of testing of the described intelligent electric energy meter of preceding text, but cross-reference.
The structural representation of the communication reliability test macro of the intelligent electric energy meter that Fig. 5 provides for the embodiment of the invention, with reference to Fig. 5, this system comprises:
Confirm the communication reliability test-types of intelligent electric energy meter, send and the corresponding communication frame of said communication reliability test-types, reach the reaction of making according to each intelligent electric energy meter, judge each intelligent electric energy meter communication reliability Test Host 100;
Acceptance test main frame 100 send with the corresponding communication frame of said communication reliability test-types; To each intelligent electric energy meter distribution and the corresponding communication frame of said communication reliability test-types; Reach at intelligent electric energy meter the communication frame that receives is made under the situation of replying, send the multi-serial-port card 200 of the acknowledge communication frames that intelligent electric energy meter returned to Test Host 100;
Receive multi-serial-port card 200 distributions with the corresponding communication frame of said communication reliability test-types, at least two intelligent electric energy meters 300 that the communication frame of reception is made a response.
The reaction that intelligent electric energy meter is made comprises that intelligent electric energy meter is made the communication frame that receives to be replied or not to make and replying, reply if intelligent electric energy meter is made the communication frame that receives, then through multi-serial-port card 200 to Test Host 100 echo reply communication frames.
As shown in Figure 5, Test Host 100 links to each other with multi-serial-port card 200, and multi-serial-port card 200 links to each other with at least two intelligent electric energy meters 300.
Optional, can adopt the RS485 bus to communicate between intelligent electric energy meter and the multi-serial-port card, can adopt the RS232 serial ports to communicate between Test Host and the multi-serial-port card.
The communication reliability test macro of the intelligent electric energy meter that the embodiment of the invention provided; Realize the test of rapid Continuous frame, erroneous frame test and the concrete mode of disturbing frame to test; But reach the concrete implementation reference method embodiment part of communication frame transmitting-receiving, repeat no more here.
Another structural representation of the communication reliability test macro of the intelligent electric energy meter that Fig. 6 provides for the embodiment of the invention, in conjunction with Fig. 5 and shown in Figure 6, system shown in Figure 6 also comprises:
The display screen 400 that links to each other with Test Host 100; Display screen 400 has first display interface of the table number that shows said at least two intelligent electric energy meters and shows second display interface of the communication reliability information of said at least two intelligent electric energy meters.
The input media 500 that links to each other with Test Host 100.
The table number of intelligent electric energy meter is in order to identify the position of each intelligent electric energy meter in said at least two intelligent electric energy meters; The table number of intelligent electric energy meter can represent that the epi-position address of intelligent electric energy meter is corresponding with the serial ports address of the multi-serial-port card that intelligent electric energy meter links to each other with the epi-position address of intelligent electric energy meter.
Record the epi-position address of each intelligent electric energy meter and the corresponding relation of mailing address in the Test Host; Corresponding relation according to the serial ports address of epi-position address, mailing address and multi-serial-port card; Can be in a plurality of intelligent electric energy meters; The acknowledge communication frame that receives is connected with corresponding intelligent electric energy meter, avoided the confusion of information.
Communication reliability information representation intelligent electric energy meter is under defined terms and in the official hour; Accomplish the ability information of regulation communication function; Can comprise: the communication frame information that Test Host sends; The acknowledge communication frame information that intelligent electric energy meter returns, both comparison information, and the communication reliability judgement information that draws according to comparison information etc.
Input media 600 is used for user's instruction is inputed to Test Host.
The another structural representation of the communication reliability test macro of the intelligent electric energy meter that Fig. 7 provides for the embodiment of the invention; In conjunction with Fig. 6 and shown in Figure 7, this system also comprises: the vertical pocket watch platform 10 of at least two intelligent electric energy meters 300 is installed, the mainframe box 20 of installation testing main frame 100, the install bin 30 of installation multi-serial-port card 200; Display screen installation portion 40, keyboard pumping board 50 with control worktable 60.
Wherein, vertical pocket watch platform 10 is provided with and the identical compartment of two intelligent electric energy meters, 300 quantity at least, the corresponding compartment of intelligent electric energy meter, and each compartment is provided with the perforate of walking order wire; The order wire of each intelligent electric energy meter links to each other with multi-serial-port card 200 through the perforate of corresponding compartment.
Optional, the compartment number is 10.
Mainframe box 20 is provided with the perforate of walking order wire; The order wire of Test Host 100 links to each other with multi-serial-port card 200 through the perforate of mainframe box 20.
Install bin 30 is provided with the perforate of walking order wire, and the order wire of Test Host 100 and the order wire of each intelligent electric energy meter link to each other with multi-serial-port card 200 through the perforate of install bin 30.
Display screen installation portion 40 is used to install display screen 400.
Keyboard pumping board 50 is used to install finger-impu system, and in embodiments of the present invention, input media 500 is a keyboard.
Control worktable 60 and carry out the zone that system controls for the tester, keyboard pumping board 50 is arranged to be controlled on the worktable 60, and optional, display screen installation portion 40 also can be arranged at and control on the worktable 60.
Optional, the vertical pocket watch platform 10 that increases in the system shown in Figure 7, mainframe box 20; Install bin 30; The first display screen installation portion 40, keyboard pumping board 50 and each parts of controlling worktable 60 can be separately and Fig. 5 or system shown in Figure 6 combined, or a plurality of parts are combined with Fig. 5 or system shown in Figure 6 again after making up each other; Concrete array mode can be set according to actual demand, does not do qualification here.
The Fast Installation combination that installing component in the system shown in Figure 7 can be realized the communication reliability test macro of intelligent electric energy meter realizes the batched communication reliability testing of convenient intelligent electric energy meter fast.
The communication reliability test macro of the intelligent electric energy meter that the embodiment of the invention provides; Realized that through multi-serial-port card Test Host sends and determined communication reliability test-types corresponding communication frame to said at least two intelligent electric energy meters with the passage that the said Test Host of the connection of two intelligent electric energy meters is set up through this connection at least; Make said at least two intelligent electric energy meters make a response to the communication frame that is received; And the reaction of making at intelligent electric energy meter is for making under the situation of replying the communication frame that receives; Through the passage set up to said Test Host echo reply communication frame; So that the communication reliability of each intelligent electric energy meter of reaction and judgement that Test Host can be made according to each intelligent electric energy meter, realized the reliable communications property testing of the batch of intelligent electric energy meter.
Each embodiment adopts the mode of going forward one by one to describe in this instructions, and what each embodiment stressed all is and the difference of other embodiment that identical similar part is mutually referring to getting final product between each embodiment.For the disclosed device of embodiment, because it is corresponding with the embodiment disclosed method, so description is fairly simple, relevant part is partly explained referring to method and is got final product.
The professional can also further recognize; The unit and the algorithm steps of each example of describing in conjunction with embodiment disclosed herein; Can realize with electronic hardware, computer software or the combination of the two; For the interchangeability of hardware and software clearly is described, the composition and the step of each example described prevailingly according to function in above-mentioned explanation.These functions still are that software mode is carried out with hardware actually, depend on the application-specific and the design constraint of technical scheme.The professional and technical personnel can use distinct methods to realize described function to each certain applications, but this realization should not thought and exceeds scope of the present invention.
The method of describing in conjunction with embodiment disclosed herein or the step of algorithm can be directly with the software modules of hardware, processor execution, and perhaps the combination of the two is implemented.Software module can place the storage medium of any other form known in random access memory (RAM), internal memory, ROM (read-only memory) (ROM), electrically programmable ROM, electrically erasable ROM, register, hard disk, moveable magnetic disc, CD-ROM or the technical field.
To the above-mentioned explanation of the disclosed embodiments, make this area professional and technical personnel can realize or use the present invention.Multiple modification to these embodiment will be conspicuous concerning those skilled in the art, and defined General Principle can realize under the situation that does not break away from the spirit or scope of the present invention in other embodiments among this paper.Therefore, the present invention will can not be restricted to these embodiment shown in this paper, but will meet and principle disclosed herein and features of novelty the wideest corresponding to scope.

Claims (10)

1. the communication reliability method of testing of an intelligent electric energy meter; It is characterized in that; Communication reliability test macro based on a kind of intelligent electric energy meter; Said system comprises: Test Host, and the multi-serial-port card that links to each other with said Test Host is with at least two intelligent electric energy meters that link to each other with said multi-serial-port card;
Said method comprises:
Said Test Host is confirmed the communication reliability test-types of intelligent electric energy meter, sends and the corresponding communication frame of said communication reliability test-types to said multi-serial-port card;
Said multi-serial-port card is to said at least two intelligent electric energy meters distribution and the corresponding communication frame of said communication reliability test-types;
Said at least two intelligent electric energy meters are made a response to the communication frame that receives; Said reaction comprises that said at least two intelligent electric energy meters are made the communication frame that receives and replys or do not make and replying; If said at least two intelligent electric energy meters are made the communication frame that receives and being replied, then pass through said multi-serial-port card to said Test Host echo reply communication frame;
The communication reliability of each intelligent electric energy meter of reaction and judgement that said Test Host is made according to each intelligent electric energy meter.
2. method according to claim 1; It is characterized in that; When the communication reliability test-types of the definite intelligent electric energy meter of said Test Host was tested for the rapid Continuous frame, the said transmission to said multi-serial-port card comprised with the corresponding communication frame of said communication reliability test-types:
Said Test Host sends the communication frame of continuous constant duration to said multi-serial-port card;
Said Test Host comprises according to the communication reliability of each intelligent electric energy meter of reaction and judgement that each intelligent electric energy meter is made:
Said Test Host calculates each intelligent electric energy meter and returns the success ratio of communication frame and the accuracy of the communication frame that returns;
Said success ratio and accuracy and preset standard are compared, judge the responsibility of each intelligent electric energy meter the communication frame of continuous constant duration according to comparison result.
3. method according to claim 1; It is characterized in that; When the communication reliability test-types of the definite intelligent electric energy meter of said Test Host was the erroneous frame test, the said transmission to said multi-serial-port card comprised with the corresponding communication frame of said communication reliability test-types:
Said Test Host sends the communication frame that includes misdata to said multi-serial-port card;
Said Test Host comprises according to the communication reliability of each intelligent electric energy meter of reaction and judgement that each intelligent electric energy meter is made:
According to the reply situation of intelligent electric energy meter, judge the judgement of intelligent electric energy meter to the communication frame that includes misdata to the communication frame that includes misdata that receives;
Or
At intelligent electric energy meter the communication frame that includes misdata that receives is made under the situation of replying; With the response content that comprises in the acknowledge communication frame that each intelligent electric energy meter returned, compare with the said desired response content of the pairing correct communication frame of communication frame that includes misdata;
Judge the judgement of each intelligent electric energy meter according to comparison result to the communication frame that includes misdata.
4. method according to claim 3 is characterized in that, the said communication frame that includes misdata is: the communication frame of frame head change; Or the communication frame of control code change; Or the communication frame of Data Identification change, or the communication frame of data field length change, or the communication frame of check code change; Or the communication frame of end mark change, or the communication frame of check bit change.
5. method according to claim 1; It is characterized in that; When the communication reliability test-types of the definite intelligent electric energy meter of said Test Host was tested for disturbing frame, the said transmission to said multi-serial-port card comprised with the corresponding communication frame of said communication reliability test-types:
Said Test Host sends the communication frame that includes interfering data to said multi-serial-port card;
Said Test Host comprises according to the communication reliability of each intelligent electric energy meter of reaction and judgement that each intelligent electric energy meter is made:
If intelligent electric energy meter is not made the communication frame that includes interfering data that receives and being replied, then judge the communication anti-interference capability of intelligent electric energy meter according to the working condition of intelligent electric energy meter;
If intelligent electric energy meter is made the communication frame that includes interfering data that receives and being replied, the response content that then the acknowledge communication frame that each intelligent electric energy meter returned is comprised is compared with the said desired response content of communication frame that includes interfering data;
Judge the communication anti-interference capability of each intelligent electric energy meter according to comparison result.
6. method according to claim 5; It is characterized in that; The said communication frame that includes interfering data is: have the communication frame that lead byte disturbs, or the communication frame with interference byte of end mark heel, or be provided with the communication frame of waiting for time-delay; Or be provided with the communication frame that byte is delayed time, or in continuously normal sequence of communication frames, insert and disturb frame.
7. according to each described method of claim 1 to 6, it is characterized in that said the transmission to said multi-serial-port card comprises with the corresponding communication frame of said communication reliability test-types:
Said Test Host equates with the quantity of said two intelligent electric energy meters to said multi-serial-port card transmission at least, with the corresponding communication frame of said communication reliability test-types;
Said multi-serial-port card comprises with said communication reliability test-types corresponding communication frame to said two intelligent electric energy meters distribution at least:
With equating with the quantity of said at least two intelligent electric energy meters of receiving, be distributed to each intelligent electric energy meter with the corresponding communication frame of said communication reliability test-types, communication frame of an intelligent electric energy meter reception.
8. according to each described method of claim 1 to 6, it is characterized in that said the transmission to said multi-serial-port card comprises with the corresponding communication frame of said communication reliability test-types:
Said Test Host to said multi-serial-port card send one with the corresponding communication frame of said communication reliability test-types;
Said multi-serial-port card comprises with said communication reliability test-types corresponding communication frame to said two intelligent electric energy meters distribution at least:
Said multi-serial-port card with one that is received with the corresponding communication frame of said communication reliability test-types; Be copied into the communication frame that equates with the quantity of said at least two intelligent electric energy meters; To each intelligent electric energy meter distribution and the corresponding communication frame of said communication reliability test-types, an intelligent electric energy meter receives a communication frame.
9. the communication reliability test macro of an intelligent electric energy meter is characterized in that, comprising:
Confirm the communication reliability test-types of intelligent electric energy meter, send and the corresponding communication frame of said communication reliability test-types, and, judge the Test Host of the communication reliability of each intelligent electric energy meter according to the reaction that each intelligent electric energy meter is made;
Link to each other with said Test Host; Receive that said Test Host sends with the corresponding communication frame of said communication reliability test-types; To each intelligent electric energy meter distribution and the corresponding communication frame of said communication reliability test-types; Reach at intelligent electric energy meter the communication frame that receives is made under the situation of replying, send the multi-serial-port card of the acknowledge communication frame that intelligent electric energy meter returned to said Test Host;
Link to each other with said multi-serial-port card, receive the distribution of said multi-serial-port card with the corresponding communication frame of said communication reliability test-types, at least two intelligent electric energy meters that the communication frame of reception is made a response;
Said reaction comprises that said at least two intelligent electric energy meters are made the communication frame that receives and replys or do not make and replying; If said at least two intelligent electric energy meters are made the communication frame that receives and being replied, then pass through said multi-serial-port card to said Test Host echo reply communication frame.
10. system according to claim 9 is characterized in that, also comprises:
The display screen that links to each other with said Test Host;
Said display screen comprises first display interface of the table number that shows said at least two intelligent electric energy meters and shows second display interface of the communication reliability information of said at least two intelligent electric energy meters.
CN201210251493.7A 2012-07-19 2012-07-19 Testing method and system for communication reliability of intelligent electric energy meters Active CN102759724B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210251493.7A CN102759724B (en) 2012-07-19 2012-07-19 Testing method and system for communication reliability of intelligent electric energy meters

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210251493.7A CN102759724B (en) 2012-07-19 2012-07-19 Testing method and system for communication reliability of intelligent electric energy meters

Publications (2)

Publication Number Publication Date
CN102759724A true CN102759724A (en) 2012-10-31
CN102759724B CN102759724B (en) 2015-06-10

Family

ID=47054235

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210251493.7A Active CN102759724B (en) 2012-07-19 2012-07-19 Testing method and system for communication reliability of intelligent electric energy meters

Country Status (1)

Country Link
CN (1) CN102759724B (en)

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103501256A (en) * 2013-09-27 2014-01-08 国家电网公司 Method for testing interchangeability of local communication unit of electric energy meter
CN103777172A (en) * 2013-12-27 2014-05-07 珠海中慧微电子有限公司 Reliability testing system of intelligent electric meter and method thereof
CN104618035A (en) * 2015-01-09 2015-05-13 北京奥普维尔科技有限公司 System and method for detecting test instrument
CN105763376A (en) * 2016-04-07 2016-07-13 威胜集团有限公司 Parameter setting and detection method for electric energy meter batch production
CN106788923A (en) * 2016-12-30 2017-05-31 杭州先途电子有限公司 The method of testing of communication anti-interference capability
CN107483283A (en) * 2017-06-28 2017-12-15 珠海格力电器股份有限公司 Communicate method for testing reliability and device
CN108303669A (en) * 2018-03-09 2018-07-20 宁波三星医疗电气股份有限公司 A method of promoting intelligent electric meter calibration efficiency
CN109406872A (en) * 2018-10-29 2019-03-01 华立科技股份有限公司 Detect the method and apparatus that Data Identification is expanded in electric energy meter private
CN110554940A (en) * 2019-08-02 2019-12-10 安徽南瑞中天电力电子有限公司 Serial port detection tool and method based on electric energy meter communication
CN110865912A (en) * 2019-10-31 2020-03-06 天津市英贝特航天科技有限公司 System and method for detecting serial port communication reliability of DSP (digital Signal processor)
CN111026579A (en) * 2019-11-29 2020-04-17 深圳云天励飞技术有限公司 Method, device, terminal equipment and medium for verifying data error detection capability
CN111239675A (en) * 2020-02-24 2020-06-05 云南电网有限责任公司电力科学研究院 Multi-meter parallel traversal test method and system for multi-core module electric energy meter minute freezing
CN115100843A (en) * 2022-05-24 2022-09-23 安徽南瑞中天电力电子有限公司 Method, system and equipment for testing communication reliability of intelligent electric energy meter

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040107025A1 (en) * 2000-11-28 2004-06-03 Ransom Douglas S. System and method for implementing XML on an energy management device
CN101876694A (en) * 2009-11-24 2010-11-03 湖北省电力试验研究院 Configuration software based function detection device of multifunctional electric energy meter and method thereof
CN101876693A (en) * 2010-06-09 2010-11-03 合肥工业大学 Electric energy metering chip-based terminal calibration system
CN202693783U (en) * 2012-07-19 2013-01-23 浙江省电力公司电力科学研究院 Communication reliability test system for intelligent electric energy meters

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040107025A1 (en) * 2000-11-28 2004-06-03 Ransom Douglas S. System and method for implementing XML on an energy management device
CN101876694A (en) * 2009-11-24 2010-11-03 湖北省电力试验研究院 Configuration software based function detection device of multifunctional electric energy meter and method thereof
CN101876693A (en) * 2010-06-09 2010-11-03 合肥工业大学 Electric energy metering chip-based terminal calibration system
CN202693783U (en) * 2012-07-19 2013-01-23 浙江省电力公司电力科学研究院 Communication reliability test system for intelligent electric energy meters

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
叶利 等: "智能电能表通信协议及功能一致性检测方法的设计", 《电测与仪表》 *
周孔均: "电能表与采集终端通信测试系统的设计", 《电测与仪表》 *
姜洪浪: "电能表通信测试系统的设计与实现", 《中国优秀硕士学位论文全文数据库》 *

Cited By (23)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103501256B (en) * 2013-09-27 2016-09-28 国家电网公司 A kind of method testing interchangeability of local communication unit of electric energy meter
CN103501256A (en) * 2013-09-27 2014-01-08 国家电网公司 Method for testing interchangeability of local communication unit of electric energy meter
CN103777172A (en) * 2013-12-27 2014-05-07 珠海中慧微电子有限公司 Reliability testing system of intelligent electric meter and method thereof
CN104618035A (en) * 2015-01-09 2015-05-13 北京奥普维尔科技有限公司 System and method for detecting test instrument
CN105763376B (en) * 2016-04-07 2018-09-14 威胜集团有限公司 Parameter setting and detection method for electric energy meter batch production
CN105763376A (en) * 2016-04-07 2016-07-13 威胜集团有限公司 Parameter setting and detection method for electric energy meter batch production
CN106788923B (en) * 2016-12-30 2020-06-23 杭州先途电子有限公司 Method for testing anti-interference capability of communication
CN106788923A (en) * 2016-12-30 2017-05-31 杭州先途电子有限公司 The method of testing of communication anti-interference capability
CN107483283A (en) * 2017-06-28 2017-12-15 珠海格力电器股份有限公司 Communicate method for testing reliability and device
CN107483283B (en) * 2017-06-28 2020-03-06 珠海格力电器股份有限公司 Communication reliability test method and device
CN108303669A (en) * 2018-03-09 2018-07-20 宁波三星医疗电气股份有限公司 A method of promoting intelligent electric meter calibration efficiency
CN108303669B (en) * 2018-03-09 2020-08-14 宁波三星医疗电气股份有限公司 Method for improving meter calibration efficiency of intelligent electric meter
CN109406872A (en) * 2018-10-29 2019-03-01 华立科技股份有限公司 Detect the method and apparatus that Data Identification is expanded in electric energy meter private
CN109406872B (en) * 2018-10-29 2020-09-25 华立科技股份有限公司 Method and device for detecting private data identification of electric energy meter
CN110554940A (en) * 2019-08-02 2019-12-10 安徽南瑞中天电力电子有限公司 Serial port detection tool and method based on electric energy meter communication
CN110865912A (en) * 2019-10-31 2020-03-06 天津市英贝特航天科技有限公司 System and method for detecting serial port communication reliability of DSP (digital Signal processor)
CN110865912B (en) * 2019-10-31 2024-01-16 天津市英贝特航天科技有限公司 System and method for detecting serial port communication reliability of DSP (digital Signal processor)
CN111026579A (en) * 2019-11-29 2020-04-17 深圳云天励飞技术有限公司 Method, device, terminal equipment and medium for verifying data error detection capability
CN111026579B (en) * 2019-11-29 2023-10-13 深圳云天励飞技术有限公司 Verification method and device for data error detection capability, terminal equipment and medium
CN111239675A (en) * 2020-02-24 2020-06-05 云南电网有限责任公司电力科学研究院 Multi-meter parallel traversal test method and system for multi-core module electric energy meter minute freezing
CN111239675B (en) * 2020-02-24 2022-04-12 云南电网有限责任公司电力科学研究院 Multi-meter parallel traversal test method and system for multi-core module electric energy meter minute freezing
CN115100843A (en) * 2022-05-24 2022-09-23 安徽南瑞中天电力电子有限公司 Method, system and equipment for testing communication reliability of intelligent electric energy meter
CN115100843B (en) * 2022-05-24 2024-01-02 安徽南瑞中天电力电子有限公司 Method, system and equipment for testing communication reliability of intelligent electric energy meter

Also Published As

Publication number Publication date
CN102759724B (en) 2015-06-10

Similar Documents

Publication Publication Date Title
CN102759724A (en) Testing method and system for communication reliability of intelligent electric energy meters
CN101789889B (en) Method and system for automatic testing communication equipment
CN103036742B (en) Control method and system that communication apparatus batch detects
CN101916087A (en) Diagnostic testing system based on CANoe
CN101097563A (en) System and method for realizing board centralized management and controlling
CN110417764A (en) The method and apparatus for sending the method and apparatus of data and receiving data
CN103514092A (en) Method for automatic testing of software system of ATM
CN112034410A (en) Detection tool module of multi-core modular electric energy meter
CN103995472B (en) A kind of field maintenance device assay device supporting multiple communication interface mode
CN2824146Y (en) Automatic integrated power testing system
CN116340073B (en) Test method, device and system
CN102736019B (en) Flexibility detection system and method of circuit board
CN112948194A (en) Communication protocol testing method and device
CN104734900A (en) Sending control method for communication protocol testing
CN109407039B (en) Intelligent electric meter and system thereof, self-diagnosis method and fault detection method
CN113986600B (en) Test method and device for chip serial interface and chip
CN106501705A (en) Traction integrated system protection CPU board automatic checkout system and its detection method
CN108614491A (en) A kind of programmable logic controller (PLC) communication system and method
CN202693783U (en) Communication reliability test system for intelligent electric energy meters
CN111211949B (en) System and method for carrying out protocol consistency test on intelligent electric energy meter metering core
CN110650384B (en) 485 module communication test method, 485 module, base meter and module terminal
CN109212346B (en) Debugging method of low-voltage intelligent power distribution cabinet
US20110252169A1 (en) Method for Data Exchange
CN110457056B (en) Instrument on-line upgrading method and receiving device based on HART bus
CN201335775Y (en) Airborne equipment comprehensive detection system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
ASS Succession or assignment of patent right

Owner name: STATE ELECTRIC NET CROP.

Effective date: 20130128

C41 Transfer of patent application or patent right or utility model
TA01 Transfer of patent application right

Effective date of registration: 20130128

Address after: Hangzhou City, Zhejiang province 310014 eight District No. 1, Huadian Zhaohui

Applicant after: Electric Power Research Institute of Zhejiang electric power company

Applicant after: State Grid Corporation of China

Address before: Hangzhou City, Zhejiang province 310014 eight District No. 1, Huadian Zhaohui

Applicant before: Electric Power Research Institute of Zhejiang electric power company

C14 Grant of patent or utility model
GR01 Patent grant
CP01 Change in the name or title of a patent holder
CP01 Change in the name or title of a patent holder

Address after: Hangzhou City, Zhejiang province 310014 eight District No. 1, Huadian Zhaohui

Patentee after: STATE GRID ZHEJIANG ELECTRIC POWER COMPANY LIMITED ELECTRIC POWER Research Institute

Patentee after: STATE GRID CORPORATION OF CHINA

Address before: Hangzhou City, Zhejiang province 310014 eight District No. 1, Huadian Zhaohui

Patentee before: Electric Power Research Institute of Zhejiang electric power company

Patentee before: State Grid Corporation of China

TR01 Transfer of patent right

Effective date of registration: 20220309

Address after: 311100 Building 5, 138 Yunlian Road, Yuhang District, Hangzhou City, Zhejiang Province

Patentee after: Marketing service center of State Grid Zhejiang Electric Power Co.,Ltd.

Patentee after: STATE GRID CORPORATION OF CHINA

Address before: Hangzhou City, Zhejiang province 310014 eight District No. 1, Huadian Zhaohui

Patentee before: STATE GRID ZHEJIANG ELECTRIC POWER COMPANY LIMITED ELECTRIC POWER Research Institute

Patentee before: STATE GRID CORPORATION OF CHINA

TR01 Transfer of patent right