CN102759724B - 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
CN102759724B
CN102759724B CN201210251493.7A CN201210251493A CN102759724B CN 102759724 B CN102759724 B CN 102759724B CN 201210251493 A CN201210251493 A CN 201210251493A CN 102759724 B CN102759724 B CN 102759724B
Authority
CN
China
Prior art keywords
electric energy
intelligent electric
energy meter
communication
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.)
Active
Application number
CN201210251493.7A
Other languages
Chinese (zh)
Other versions
CN102759724A (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
State Grid Corp of China SGCC
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 State Grid Corp of China SGCC, Electric Power Research Institute of State Grid Zhejiang Electric Power Co Ltd filed Critical State Grid Corp of China SGCC
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

Landscapes

  • Arrangements For Transmission Of Measured Signals (AREA)

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 of intelligent electric energy meter and system
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 the function such as electric flux calculating, data processing, Real-Time Monitoring, automatically control, information interaction.Along with the construction of intelligent grid, the appearance of intelligent electric energy meter Its Relevant Technology Standards, intelligent electric energy meter carries more using function, relevant DLT/645-2007 communication protocol is also constantly augmenting (DLT/645-2007 communication protocol is electric energy meter communication protocol), the Accelerating The Construction of power information acquisition system in addition, the communication of intelligent electric energy meter and acquisition terminal is made to become more important, can intelligent electric energy meter reply the communication frame that terminal sends correctly, in time and seem particularly important, and this performance for intelligent electric energy meter is had higher requirement.
Communication reliability is as one of important indicator evaluating intelligent electric energy meter performance, be the key ensureing that intelligent electric energy meter performance is not fully exerted in actual use, therefore carrying out communication reliability test to intelligent electric energy meter can provide valid data for the communication reliability analysis of intelligent electric energy meter.Wherein, the communication reliability of intelligent electric energy meter refers to that intelligent electric energy meter is under defined terms and in official hour, completes the ability of regulation communication function; The communication reliability test-types of intelligent electric energy meter is mainly divided into the test of quick successive frame, erroneous frame test and the test of interference frame.
Currently available technology is only the communication performance being judged this intelligent electric energy meter by the read-write communication capacity of intelligent electric energy meter to a certain data, for the communication reliability test how carrying out intelligent electric energy meter, prior art does not also have shaping solution, and detect the requirement of efficientibility at intelligent electric energy meter under, the solution that the communication reliability of provided intelligent electric energy meter also should be made to test can meet the demand of intelligent electric energy meter batch testing.
Can find out, a kind of method providing communication reliability that can carry out batch to multiple intelligent electric energy meter to test is the problem that those skilled in the art need to solve.
Summary of the invention
In view of this, the embodiment of the present invention provides a kind of communication reliability method of testing and system of intelligent electric energy meter, to realize the communication reliability test of the batch of intelligent electric energy meter.
For achieving the above object, the embodiment of the present invention provides following technical scheme:
A kind of communication reliability method of testing of intelligent electric energy meter, based on a kind of communication reliability test macro of intelligent electric energy meter, described system comprises: Test Host, the multi-serial-port card be connected with described Test Host, and at least two intelligent electric energy meters be connected with described multi-serial-port card;
Described method comprises:
The communication reliability test-types of described Test Host determination intelligent electric energy meter, sends the communication frame corresponding with described communication reliability test-types to described multi-serial-port card;
Described multi-serial-port card distributes the communication frame corresponding with described communication reliability test-types to described at least two intelligent electric energy meters;
Described at least two intelligent electric energy meters are made a response to the communication frame received, described in described reaction comprises, at least two intelligent electric energy meters are made response to the communication frame received or do not make response, if described at least two intelligent electric energy meters make response to the communication frame received, then return acknowledge communication frame by described multi-serial-port card to described Test Host;
The communication reliability of each intelligent electric energy meter of reaction and judgement that described Test Host is made according to each intelligent electric energy meter.
Optionally, when the communication reliability test-types of the intelligent electric energy meter that described Test Host is determined is the test of quick successive frame, describedly sends the communication frame corresponding with described communication reliability test-types to described multi-serial-port card and comprise:
Described Test Host sends the communication frame of continuous constant duration to described multi-serial-port card;
Described 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:
Described Test Host calculates the accuracy of each intelligent electric energy meter success ratio returning communication frame and the communication frame returned;
Described success ratio and accuracy and preset standard are compared, judges the responsibility of each intelligent electric energy meter to the communication frame of continuous constant duration according to comparison result.
Optionally, when the communication reliability test-types of the intelligent electric energy meter that described Test Host is determined is erroneous frame test, describedly sends the communication frame corresponding with described communication reliability test-types to described multi-serial-port card and comprise:
Described Test Host sends the communication frame including misdata to described multi-serial-port card;
Described 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 intelligent electric energy meter to the response situation including the communication frame of misdata received, judge that intelligent electric energy meter is to the judgement of communication frame including misdata;
Or
When intelligent electric energy meter makes response to the communication frame including misdata received, the response content comprised in the acknowledge communication frame returned by each intelligent electric energy meter, compares with the response content required by the correct communication frame corresponding to the described communication frame including misdata;
Judge that each intelligent electric energy meter is to the judgement of communication frame including misdata according to comparison result.
Optionally, the described communication frame including 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.
Optionally, when the communication reliability test-types of the intelligent electric energy meter that described Test Host is determined is for the test of interference frame, describedly sends the communication frame corresponding with described communication reliability test-types to described multi-serial-port card and comprise:
Described Test Host sends the communication frame including interfering data to described multi-serial-port card;
Described 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 does not make response to the communication frame including interfering data received, 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 makes response to the communication frame including interfering data received, then by the response content that the acknowledge communication frame that each intelligent electric energy meter returns comprises, compare with the response content required by the described communication frame including interfering data;
The communication anti-interference capability of each intelligent electric energy meter is judged according to comparison result.
Optionally, the described communication frame including interfering data is: the communication frame with lead byte interference, or there is the communication frame of interference byte of end mark heel, or be provided with the communication frame waiting for time delay, or be provided with the communication frame of byte time delay, or insert interference frame in continuous normal sequence of communication frames.
Optionally, describedly send the communication frame corresponding with described communication reliability test-types to described multi-serial-port card and comprise:
Described Test Host sends equal with the quantity of described at least two intelligent electric energy meters to described multi-serial-port card, the communication frame corresponding with described communication reliability test-types;
Described multi-serial-port card comprises to described at least two intelligent electric energy meters distribution communication frame corresponding with described communication reliability test-types:
Equal with the quantity of described at least two intelligent electric energy meters by what receive, the communication frame corresponding with described communication reliability test-types is distributed to each intelligent electric energy meter, and an intelligent electric energy meter receives a communication frame.
Optionally, describedly send the communication frame corresponding with described communication reliability test-types to described multi-serial-port card and comprise:
Described Test Host sends a communication frame corresponding with described communication reliability test-types to described multi-serial-port card;
Described multi-serial-port card comprises to described at least two intelligent electric energy meters distribution communication frame corresponding with described communication reliability test-types:
Described multi-serial-port card is by received communication frame corresponding with described communication reliability test-types, be copied into the communication frame equal with the quantity of described at least two intelligent electric energy meters, to the communication frame that each intelligent electric energy meter distribution is corresponding with described communication reliability test-types, an intelligent electric energy meter receives a communication frame.
The embodiment of the present invention also provides a kind of communication reliability test macro of intelligent electric energy meter, comprising:
Determine the communication reliability test-types of intelligent electric energy meter, send the communication frame corresponding with described communication reliability test-types, and according to the reaction that each intelligent electric energy meter is made, judge the Test Host of the communication reliability of each intelligent electric energy meter;
Be connected with described Test Host, receive the communication frame corresponding with described communication reliability test-types that described Test Host sends, to the communication frame that each intelligent electric energy meter distribution is corresponding with described communication reliability test-types, and when intelligent electric energy meter makes response to the communication frame received, send the multi-serial-port card of the acknowledge communication frame that intelligent electric energy meter returns to described Test Host;
Be connected with described multi-serial-port card, receive the communication frame corresponding with described communication reliability test-types of described multi-serial-port card distribution, at least two intelligent electric energy meters that the communication frame received is made a response;
Described in described reaction comprises, at least two intelligent electric energy meters are made response to the communication frame received or do not make response, if described at least two intelligent electric energy meters make response to the communication frame received, then return acknowledge communication frame by described multi-serial-port card to described Test Host.
Optionally, described system also comprises:
The display screen be connected with described Test Host;
Described display screen comprises the first display interface of the table number of at least two intelligent electric energy meters described in display, and the second display interface of the communication reliability information of at least two intelligent electric energy meters described in display.
Based on technique scheme, the method that the embodiment of the present invention provides achieves the connection of Test Host and at least two intelligent electric energy meters by multi-serial-port card, the passage that described Test Host is set up by this connection sends the communication frame corresponding with determined communication reliability test-types to described at least two intelligent electric energy meters, described in making, at least two intelligent electric energy meters are made a response to received communication frame, and be response is made to the communication frame received in the reaction that intelligent electric energy meter is made, acknowledge communication frame is returned to described Test Host by the passage set up, the communication reliability of each intelligent electric energy meter of reaction and judgement can made according to each intelligent electric energy meter to make Test Host, achieve the communication reliability test of the batch of intelligent electric energy meter.
Accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, be briefly described to the accompanying drawing used required in embodiment or description of the prior art below, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained 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 present invention;
The process flow diagram of the quick successive frame method of testing of the intelligent electric energy meter that Fig. 2 provides for the embodiment of the present 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 present 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 present 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 present 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 present 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 present invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, be clearly and completely described the technical scheme in the embodiment of the present invention, obviously, described embodiment is only the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
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 present invention, the 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 is connected with multi-serial-port card, and multi-serial-port card is connected with at least two intelligent electric energy meters; Method shown in Fig. 1 can comprise the steps:
The communication reliability test-types of step S100, described Test Host determination intelligent electric energy meter, sends the communication frame corresponding with described communication reliability test-types to described multi-serial-port card;
In the embodiment of the present invention, communication reliability test-types is mainly divided into the test of quick successive frame, erroneous frame test and interference frame to test these three kinds, wherein, quick successive frame test main test intelligent electric energy meter for the responsibility of quick successive frame, thus judges the communication answering of intelligent electric energy meter; Erroneous frame test main 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 response; The communication anti-interference capability of interference frame test main test intelligent electric energy meter, judges the communication responsibility of intelligent electric energy meter under interference scene.
The embodiment of the present invention, when the communication reliability test carrying out intelligent electric energy meter, first should determine one from above-mentioned three kinds of communication reliability test-types; Communication reliability test-types can be artificial selected, the type of each communication reliability test of artificial control; Also the execution sequence of predeterminable three kinds of communication reliability test-types, performs as preset the test of quick successive frame, erroneous frame test and disturbing frame to test circulation successively.
After determining communication reliability test-types, Test Host sends the communication frame corresponding with determined communication reliability test-types to multi-serial-port card.Test Host after determining communication reliability test-types, can carry out the combination of communication frame, and the communication frame corresponding with determined communication reliability test-types after combination is sent to multi-serial-port card; Test Host also after determining communication reliability test-types, can transfer the default communication frame corresponding with determined communication reliability test-types, sends the communication frame preset to multi-serial-port card.
The communication frame corresponding with described communication reliability test-types, refer to the communication frame can simulating abnormal communication conditions that intelligent electric energy meter and acquisition terminal may occur in actual moving process, it can realize determined communication reliability test-types, makes intelligent electric energy meter can make the reaction adapted with determined communication reliability test-types according to communication protocol.As tested for quick successive frame, the communication frame that corresponding communication frame is continuous print constant duration is tested with quick successive frame, and the time interval between communication frame is sufficiently short in the effect reaching high-speed traffic frame, optionally, unnecessary 1 of the communication frame sent for 1 second can be referred to fast, be chosen as 500 milliseconds and send a communication frame; For erroneous frame test, testing corresponding communication frame with erroneous frame is the communication frame including misdata; For the test of interference frame, testing corresponding communication frame with interference frame is the communication frame including interfering data.
Test Host can be computing machine, or other calculation process equipment that can be connected with multi-serial-port card arbitrarily.
Step S110, described multi-serial-port card distribute the communication frame corresponding with described communication reliability test-types to described at least two intelligent electric energy meters;
After multi-serial-port card receives the communication frame corresponding with described communication reliability test-types of Test Host transmission, send the communication frame corresponding with described communication reliability test-types respectively to each intelligent electric energy meter self be connected.
Step S120, described at least two intelligent electric energy meters are made a response to the communication frame received, described in described reaction comprises, at least two intelligent electric energy meters are made response to the communication frame received or do not make response, if described at least two intelligent electric energy meters make response to the communication frame received, then return acknowledge communication frame by described multi-serial-port card to described Test Host;
After each intelligent electric energy meter receives the communication frame corresponding with described communication reliability test-types, communication performance situation according to self is made a response, the reaction that intelligent electric energy meter is made is divided into two kinds: intelligent electric energy meter makes response to the communication frame received, and intelligent electric energy meter does not make response to the communication frame received.Judge that the reaction that intelligent electric energy meter is made is any by Test Host, if after Test Host have sent communication frame, in Preset Time, do not receive the acknowledge communication frame corresponding with this communication frame, then judge that intelligent electric energy meter does not make response; If after Test Host have sent communication frame, in Preset Time, receive the acknowledge communication frame corresponding with this communication frame, then judge that intelligent electric energy meter makes response.
When intelligent electric energy meter makes response, intelligent electric energy meter will send acknowledge communication frame, and the response the sent frame that passes through returns to described Test Host by described multi-serial-port card.The function that the communication frame sent due to Test Host generally all indicates intelligent electric energy meter to perform, therefore 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 perform corresponding work, the situation of execution work and data etc.Because the performance of each intelligent electric energy meter is different, the pass through time point of frame of the response therefore sent is different, and described multi-serial-port card receives an acknowledge communication frame and returns to described Test Host immediately, does not wait for.
The communication reliability of each intelligent electric energy meter of reaction and judgement that step S130, described Test Host are made according to each intelligent electric energy meter.
When intelligent electric energy meter does not make response to the communication frame received, the communication reliability of intelligent electric energy meter can be judged to the response situation of communication frame received according to intelligent electric energy meter, during as carried out the situation of erroneous frame test.
When intelligent electric energy meter makes response to the communication frame received, after described Test Host receives the acknowledge communication frame that each intelligent electric energy meter returns, which intelligent electric energy meter the mailing address of the intelligent electric energy meter carried by 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, thus determines the corresponding relation of each acknowledge communication frame and each intelligent electric energy meter tested.
Determining each acknowledge communication frame with on the basis of the corresponding relation of each intelligent electric energy meter tested, can according to intelligent electric energy meter communication protocol (as DLT/645-2007 communication protocol etc.), the acknowledge communication frame returned with each intelligent electric energy meter is foundation, judges the communication reliability of each intelligent electric energy meter; Optionally, the actual response communication frame that each intelligent electric energy meter returns can be judged, whether the acknowledge communication frame that should return under the basis of communication protocol with each intelligent electric energy meter adapts, and is judged by the communication reliability of this judged result to each intelligent electric energy meter.
The method that the embodiment of the present invention provides achieves the connection of Test Host and at least two intelligent electric energy meters by multi-serial-port card, the passage that described Test Host is set up by this connection sends the communication frame corresponding with determined communication reliability test-types to described at least two intelligent electric energy meters, described in making, at least two intelligent electric energy meters are made a response to received communication frame, and be response is made to the communication frame received in the reaction that intelligent electric energy meter is made, acknowledge communication frame is returned to described Test Host by the passage set up, the communication reliability of each intelligent electric energy meter of reaction and judgement can made according to each intelligent electric energy meter to make Test Host, achieve the communication reliability test of the batch of intelligent electric energy meter.。
Inventor is realizing finding in process of the present invention: in actual applications, between the intelligent electric energy meter that usually can run into and acquisition terminal, communication issue comprises:
Part intelligent electric energy meter producer understands differently to related protocol standard and causes, and causes the communication protocol disunity of intelligent electric energy meter and acquisition terminal, intelligent electric energy meter is existed and gives an irrelevant answer or clear-cut situation about not answering;
Transmitting-receiving sequential is not mated, and part intelligent electric energy meter does not carry out time delay after receiving the amr frame order of acquisition terminal, just send acknowledge communication frame immediately, now terminal may also be in transmission state, and when terminal gets back to receive status by the time, communication frame forward part may be lost;
During part intelligent electric energy meter frame data several to the continuous copy reading of acquisition terminal, there is section communication frame can correctly reply, the situation that section communication frame cannot correctly be replied;
The problem of speed of transmission, it is 1200bps or higher that part intelligent electric energy meter arranges transfer rate all the time, after changing different acquisition terminals, there will be the problem that transfer rate is inconsistent, causes communication failure;
Part intelligent electric energy meter may not design the process of communication fault-tolerant, and to the erroneous frame that acquisition terminal sends, interference frame etc. carries out incorrect response, as mistake asks answer, even causes the deadlock of electric energy meter.
On this basis, to quick successive frame test, the erroneous frame test of intelligent electric energy meter be introduced and disturb frame test below, communication conditions under quick successive frame, erroneous frame and interference frame condition is sent at acquisition terminal to simulate intelligent electric energy meter in actual moving process, by 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, judges the communication reliability of intelligent electric energy meter communication aspects.
The process flow diagram of the quick successive frame method of testing of the intelligent electric energy meter that Fig. 2 provides for the embodiment of the present invention, the method can comprise:
Step S200, described Test Host send the communication frame of continuous constant duration to described multi-serial-port card;
Step S210, described multi-serial-port card distribute the communication frame of continuous constant duration to described at least two intelligent electric energy meters;
Step S220, described at least two intelligent electric energy meters are made a response to the communication frame received;
Step S230, described Test Host calculate the accuracy of the success ratio that each intelligent electric energy meter returns communication frame and the communication frame returned, described success ratio and accuracy and preset standard are compared, judges the responsibility of each intelligent electric energy meter to the communication frame of continuous constant duration according to comparison result.
In method shown in Fig. 2, the specific implementation that the described Test Host of step S100 shown in Fig. 1 sends the communication frame corresponding with described communication reliability test-types to described multi-serial-port card can be: described Test Host sends the communication frame of continuous constant duration to described multi-serial-port card; The communication frame that the set time interval should be able to make Test Host send in 1 second is no less than 1.
The communication frame that Test Host will send can carry out reading and writing for requiring intelligent electric energy meter and feed back the communication frame of read-write result, also can for requiring that intelligent electric energy meter performs the communication frame of other functions, particular content for communication frame does not limit at this, attribute herein between limiting telecommunication frame and communication frame, namely fast continuously.
In method shown in Fig. 2, the acknowledge communication frame that the communication reliability Test Host of each intelligent electric energy meter of reaction and judgement that the described Test Host of step S130 shown in Fig. 1 is made according to each intelligent electric energy meter returns according to each intelligent electric energy meter, judges that the specific implementation of the communication reliability of each intelligent electric energy meter can be: described Test Host calculates the accuracy of the success ratio that each intelligent electric energy meter returns communication frame and the communication frame returned; Described success ratio and accuracy and preset standard are compared, judges the responsibility of each intelligent electric energy meter to the communication frame of continuous constant duration according to comparison result.
Success ratio refers to the communication frame sent for Test Host, and whether each intelligent electric energy meter all replys, and what react is the probability of response, refers to the proportion in the reaction that response that an intelligent electric energy meter makes makes at this intelligent electric energy meter; Accuracy refers to the function requiring intelligent electric energy meter to perform in the communication frame sent for Test Host, and whether intelligent electric energy meter performs and be embodied in acknowledge communication frame, and what react is the accuracy of replying.The communication reliability of success ratio and the higher expression intelligent electric energy meter of accuracy is better, and fiduciary level is higher.
Optionally, preset standard can be arranged 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 present invention, the method can comprise:
Step S300, described Test Host send the communication frame including misdata to described multi-serial-port card;
Step S310, described multi-serial-port card contain the communication frame of misdata to described at least two intelligent electric energy meter distributing packets;
Step S320, described at least two intelligent electric energy meters are made a response to the communication frame received;
Step S330, according to intelligent electric energy meter to the response situation including the communication frame of misdata received, judge that intelligent electric energy meter is to the judgement of communication frame including misdata;
Step S340, when intelligent electric energy meter to receive the communication frame including misdata make response, the response content comprised in the acknowledge communication frame returned by each intelligent electric energy meter, compares with the response content required by the correct communication frame corresponding to the described communication frame including misdata; Judge that each intelligent electric energy meter is to the judgement of communication frame including misdata according to comparison result.
Wherein, step S330 and step S340 is two steps arranged side by side, there is not sequencing between the two.
In method shown in Fig. 3, the specific implementation that the described Test Host of step S100 shown in Fig. 1 sends the communication frame corresponding with described communication reliability test-types to described multi-serial-port card can be: described Test Host sends the communication frame including misdata to described multi-serial-port card.
The communication frame including 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, the change of front in frame head or rear individual 68H initial code, can test the rationality of intelligent electric energy meter to the judgement of communication frame frame head.
The change of control code, can test the thorough property that intelligent electric energy meter is considered control code, and the response of different control codes should have corresponding control to respond, and response will meet DLT/614-2007 communication protocol.
The change of Data Identification, can test intelligent electric energy meter to response that is correct and misdata mark, the Data Identification of mistake should not cause responding correct or program crashing.
The change of data field length, can test the rationality of intelligent electric energy meter to the process of data length and data field content.
Check code is changed, and can test the response process of intelligent electric energy meter to the command frame of check code mistake, the command frame intelligent electric energy meter of check code mistake should not make correct response.
The change of end mark, main test intelligent electric energy meter is to the judgement process of whole frame or imperfect frame, during without end mark or end mark mistake, intelligent electric energy meter program should not make correct response, causes other auxiliary facilities to be sampled abnormal when the intelligent electric energy meter that end mark does not judge may use at the scene.
Check bit is changed, and whether main test intelligent electric energy meter adopts even parity check to transmit judges data, except even parity check, and the incorrect success that can not realize communication of check bit.
The communication frame including misdata that Test Host sends herein, can according to test demand, edit a frame traffic frame with, an error items or multiple error items.
In method shown in Fig. 3, the specific implementation of the communication reliability of each intelligent electric energy meter of reaction and judgement that the described Test Host of step S130 shown in Fig. 1 is made according to each intelligent electric energy meter can be divided into two kinds, wherein one is: according to intelligent electric energy meter to the response situation including the communication frame of misdata received, and judges that intelligent electric energy meter is to the judgement of communication frame including misdata.Another kind is: when intelligent electric energy meter makes response to the communication frame including misdata received, the response content comprised in the acknowledge communication frame returned by each intelligent electric energy meter, compares with the response content required by the correct communication frame corresponding to the described communication frame including misdata; Judge that each intelligent electric energy meter is to the judgement of communication frame including misdata according to comparison result.
Erroneous frame test can test the process of intelligent electric energy meter to stipulations framing, the communication frame of mistake should not obtain the correct response of intelligent electric energy meter, therefore by intelligent electric energy meter, the communication frame received is made to the situation of response, judge the recognition capability of intelligent electric energy meter for erroneous frame, the situation of the response of intelligent electric energy meter refers to intelligent electric energy meter and makes response and intelligent electric energy meter and do not make proportion shared by response, if intelligent electric energy meter does not make response for erroneous frame, then illustrate that intelligent electric energy meter identifies erroneous frame, intelligent electric energy meter reliability is higher.
When intelligent electric energy meter makes response to the communication frame including misdata received, the correct communication frame corresponding to communication frame including misdata is sources traffic frame, sources traffic frame is the correct communication frame of original form, the communication frame including misdata is on the basis of sources traffic frame, increase misdata or amendment form, makes sources traffic frame occur mistake and form the communication frame including misdata.Include the response content required by correct communication frame corresponding to communication frame of misdata, refer to the function that intelligent electric energy meter required by sources traffic frame performs.
If the response content comprised in the acknowledge communication frame that intelligent electric energy meter returns embodies intelligent electric energy meter and performs the required function performed of sources traffic frame, the response content comprised in the acknowledge communication frame that intelligent electric energy meter returns is corresponding to the response content required by sources traffic frame, illustrating that intelligent electric energy meter does not identify the communication frame including misdata is erroneous frame, the communication reliability existing defects of intelligent electric energy meter, fiduciary level is not high; If indicate the information of communication frame mistake in the acknowledge communication frame that intelligent electric energy meter returns, then illustrating that intelligent electric energy meter identifies the communication frame including misdata is erroneous frame, and 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 present invention, the method can comprise:
Step S400, described Test Host send the communication frame including interfering data to described multi-serial-port card;
Step S410, described multi-serial-port card contain the communication frame of interfering data to described at least two intelligent electric energy meter distributing packets;
Step S420, described at least two intelligent electric energy meters are made a response to the communication frame received;
If step S430 intelligent electric energy meter does not make response to the communication frame including interfering data received, then judge the communication anti-interference capability of intelligent electric energy meter according to the working condition of intelligent electric energy meter;
If step S440 intelligent electric energy meter makes response to the communication frame including interfering data received, then by the response content that the acknowledge communication frame that each intelligent electric energy meter returns comprises, compare with the response content required by the described communication frame including interfering data; The antijamming capability of each intelligent electric energy meter is judged according to comparison result.
Step S430 and step S440 is step arranged side by side, does not have sequencing between the two.
In method shown in Fig. 4, the specific implementation that the described Test Host of step S100 shown in Fig. 1 sends the communication frame corresponding with described communication reliability test-types to described multi-serial-port card can be: described Test Host sends the communication frame including interfering data to described multi-serial-port card.
The communication frame including interfering data is chosen as: the communication frame with lead byte interference, or there is the communication frame of interference byte of end mark heel, or be provided with the communication frame waiting for time delay, or be provided with the communication frame of byte time delay, or interference frame is inserted in continuous normal sequence of communication frames.
For the communication frame with lead byte interference, length, different data that definable lead byte is different, to examine different intelligent electric energy meters to the antijamming capability of leading interference content.
For the communication frame of interference byte with end mark heel, the length that the interference byte after definable end mark is different, different data, to examine the ability of the anti-afterbody interference of intelligent electric energy meter.
The communication frame of time delay is waited for for being provided with, can wait time delay between setting command frame, examination intelligent electric energy meter is to the response speed at different communication frame intervals; Optionally, intelligent electric energy meter program should support the response within 500 milliseconds.
For the communication frame being provided with byte time delay, can the different byte interval of setting command frame, examine different intelligent electric energy meters to the response of the communication frame of different byte time delays; Optionally, intelligent electric energy meter is responded the communication frame of byte transmission within 500ms.
The communication frame including interfering data that Test Host sends herein, according to the demand of test, can edit different interference.
In method shown in Fig. 4, the specific implementation of the communication reliability of each intelligent electric energy meter of reaction and judgement that the described Test Host of step S130 shown in Fig. 1 is made according to each intelligent electric energy meter can be: if intelligent electric energy meter does not make response to the communication frame including interfering data received, 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 makes response to the communication frame including interfering data received, then by response content that the acknowledge communication frame that each intelligent electric energy meter returns comprises, compare with the response content required by the described communication frame including interfering data, judge the communication anti-interference capability of each intelligent electric energy meter according to comparison result.
The object of interference frame test is to examine intelligent electric energy meter to the interference rejection ability of the disorderly data in scene.When intelligent electric energy meter does not make response, by the working condition of intelligent electric energy electric energy meter, thus judge the communication anti-interference capability of intelligent electric energy meter.If when intelligent electric energy meter is in normal operating conditions, then illustrate that interference frame is for intelligent electric energy meter not impact, intelligent electric energy meter communication anti-interference capability is stronger.The duty that if intelligent electric energy meter is in deadlock, program is flown away, then illustrate that interference frame creates impact to intelligent electric energy meter, intelligent electric energy meter communication anti-interference capability is more weak.
When intelligent electric energy meter makes response, for the intelligent electric energy meter that communication reliability is high, intelligent electric energy meter is when receiving the communication frame including interfering data, identifiable design goes out the function that intelligent electric energy meter indicated in communication frame will perform, intelligent electric energy meter is made to perform corresponding function, and return acknowledge communication frame to Test Host, answer in communication frame in the response returned and embody the executed function of intelligent electric energy meter.The response content required by communication frame including interfering data refer to include interfering data communication frame required by intelligent electric energy meter perform function.
If the response content that the acknowledge communication frame that intelligent electric energy meter returns comprises, embody intelligent electric energy meter and perform the required function performed of the communication frame including interfering data, then illustrate that intelligent electric energy meter have identified the communication frame including interfering data, the communication reliability of intelligent electric energy meter is better, and fiduciary level is higher; Otherwise the communication reliability existing defects of intelligent electric energy meter, fiduciary level is not high.
In the embodiment of the present invention, the communication frame that each intelligent electric energy meter receives should be identical, namely multi-serial-port card be distributed to described in the communication frame of at least two intelligent electric energy meters, for each intelligent electric energy meter, be all identical.In the embodiment of the present invention, Test Host sends the communication frame corresponding with described communication reliability test-types to described multi-serial-port card, two kinds, shown in specific as follows are had with the mode that multi-serial-port card distributes the communication frame corresponding with described communication reliability test-types to described at least two intelligent electric energy meters:
The specific implementation that Test Host sends the communication frame corresponding with described communication reliability test-types to described multi-serial-port card can be: described Test Host sends equal with the quantity of described at least two intelligent electric energy meters to described multi-serial-port card, the communication frame corresponding with described communication reliability test-types;
Corresponding, the specific implementation that described multi-serial-port card distributes the communication frame corresponding with described communication reliability test-types to described at least two intelligent electric energy meters can be: equal with the quantity of described at least two intelligent electric energy meters by what receive, the communication frame corresponding with described communication reliability test-types is distributed to each intelligent electric energy meter, and an intelligent electric energy meter receives a communication frame.
The specific implementation that Test Host sends the communication frame corresponding with described communication reliability test-types to described multi-serial-port card can be: described Test Host sends a communication frame corresponding with described communication reliability test-types to described multi-serial-port card;
Corresponding, described multi-serial-port card can be for the specific implementation of described at least two intelligent electric energy meters distribution communication frame corresponding with described communication reliability test-types: described multi-serial-port card is by received communication frame corresponding with described communication reliability test-types, be copied into the communication frame equal with the quantity of described at least two intelligent electric energy meters, to the communication frame that each intelligent electric energy meter distribution is corresponding with described communication reliability test-types, an intelligent electric energy meter receives a communication frame.
Below the communication reliability test macro of the intelligent electric energy meter that the embodiment of the present invention provides is introduced, it should be noted that, the communication reliability test macro of hereafter described intelligent electric energy meter is corresponding with the communication reliability method of testing of intelligent electric energy meter as described above, can be cross-referenced.
The structural representation of the communication reliability test macro of the intelligent electric energy meter that Fig. 5 provides for the embodiment of the present invention, with reference to Fig. 5, this system comprises:
Determine the communication reliability test-types of intelligent electric energy meter, send the communication frame corresponding with described communication reliability test-types, and according to the reaction that each intelligent electric energy meter is made, judge the communication reliability of each intelligent electric energy meter Test Host 100;
Receive the communication frame corresponding with described communication reliability test-types that Test Host 100 sends, to the communication frame that each intelligent electric energy meter distribution is corresponding with described communication reliability test-types, and when intelligent electric energy meter makes response to the communication frame received, send the multi-serial-port card 200 of the acknowledge communication frame that intelligent electric energy meter returns to Test Host 100;
Receive the communication frame corresponding with described communication reliability test-types that multi-serial-port card 200 is distributed, at least two intelligent electric energy meters 300 that the communication frame received is made a response.
The reaction that intelligent electric energy meter is made comprises intelligent electric energy meter and makes response to the communication frame received or do not make response, if intelligent electric energy meter makes response to the communication frame received, then returns acknowledge communication frame by multi-serial-port card 200 to Test Host 100.
As shown in Figure 5, Test Host 100 is connected with multi-serial-port card 200, and multi-serial-port card 200 is connected with at least two intelligent electric energy meters 300.
Optionally, RS485 bus can be adopted between intelligent electric energy meter with multi-serial-port card to communicate, RS232 serial ports between Test Host with multi-serial-port card, can be adopted to communicate.
The communication reliability test macro of the intelligent electric energy meter that the embodiment of the present invention provides, realize the concrete mode that the test of quick successive frame, erroneous frame test and interference frame are tested, and the specific implementation of communication frame transmitting-receiving can refer to embodiment of the method part, repeats no more herein.
Another structural representation of the communication reliability test macro of the intelligent electric energy meter that Fig. 6 provides for the embodiment of the present invention, shown in composition graphs 5 and Fig. 6, system shown in Figure 6 also comprises:
The display screen 400 be connected with Test Host 100; Display screen 400 has the first display interface of the table number of at least two intelligent electric energy meters described in display, and the second display interface of the communication reliability information of at least two intelligent electric energy meters described in display.
The input media 500 be connected with Test Host 100.
The table number of intelligent electric energy meter is in order to the position of each intelligent electric energy meter at least two intelligent electric energy meters described in identifying, the table number of intelligent electric energy meter can represent with the epi-position address of intelligent electric energy meter, and the serial ports address of the multi-serial-port card that the epi-position address of intelligent electric energy meter is connected with intelligent electric energy meter is corresponding.
The epi-position address of each intelligent electric energy meter and the corresponding relation of mailing address is recorded in Test Host, according to the corresponding relation of the serial ports address of epi-position address, mailing address and multi-serial-port card, can in multiple intelligent electric energy meter, the acknowledge communication frame of reception is connected with corresponding intelligent electric energy meter, avoids the confusion of information.
Communication reliability information represents that intelligent electric energy meter is under defined terms and in official hour, complete 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 according to the communication reliability judgement information etc. that comparison information draws.
Input media 600 is for inputing to Test Host by the instruction of user.
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 present invention; Shown in composition graphs 6 and Fig. 7, this system also comprises: the vertical pocket watch platform 10 installing at least two intelligent electric energy meters 300, the mainframe box 20 of installation testing main frame 100, installs the install bin 30 of multi-serial-port card 200; Display screen installation portion 40, keyboard pumping board 50 and manipulation worktable 60.
Wherein, vertical pocket watch platform 10 is provided with the compartment identical with at least two intelligent electric energy meters 300 quantity, a 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 is connected with multi-serial-port card 200 by the perforate of corresponding compartment.
Optionally, compartment number is 10.
Mainframe box 20 is provided with the perforate of walking order wire; The order wire of Test Host 100 is connected with multi-serial-port card 200 by 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, by the perforate of install bin 30, are connected with multi-serial-port card 200.
Display screen installation portion 40 is for installing display screen 400.
Keyboard pumping board 50 is for installing finger-impu system, and in embodiments of the present invention, input media 500 is keyboard.
Manipulation worktable 60 carries out the region of system manipulation for tester, and keyboard pumping board 50 is arranged on manipulation worktable 60, and optionally, display screen installation portion 40 also can be arranged at and manipulate on worktable 60.
Optionally, the vertical pocket watch platform 10 increased in system shown in Figure 7, mainframe box 20, install bin 30, first display screen installation portion 40, all parts of keyboard pumping board 50 and manipulation worktable 60 can separately and Fig. 5 or system shown in Figure 6 combined, multiple parts mutually combine after again with Fig. 5 or system shown in Figure 6 combined, concrete array mode can set according to actual demand, does not limit herein.
Installing component in system shown in Figure 7 can realize the Fast Installation combination of the communication reliability test macro of intelligent electric energy meter, realizes the batched communication reliability testing of fast and convenient intelligent electric energy meter.
The communication reliability test macro of the intelligent electric energy meter that the embodiment of the present invention provides, achieve Test Host by multi-serial-port card and send the communication frame corresponding with determined communication reliability test-types with the passage that the described Test Host of the connection of at least two intelligent electric energy meters is set up by this connection to described at least two intelligent electric energy meters, described in making, at least two intelligent electric energy meters are made a response to received communication frame, and be response is made to the communication frame received in the reaction that intelligent electric energy meter is made, acknowledge communication frame is returned to described Test Host by the passage set up, the communication reliability of each intelligent electric energy meter of reaction and judgement can made according to each intelligent electric energy meter to make Test Host, achieve the communication reliability test of the batch of intelligent electric energy meter.
In this instructions, each embodiment adopts the mode of going forward one by one to describe, and what each embodiment stressed is the difference with other embodiments, between each embodiment identical similar portion mutually see.For device disclosed in embodiment, because it corresponds to the method disclosed in Example, so description is fairly simple, relevant part illustrates see method part.
Professional can also recognize further, in conjunction with unit and the algorithm steps of each example of embodiment disclosed herein description, can realize with electronic hardware, computer software or the combination of the two, in order to the interchangeability of hardware and software is clearly described, generally describe composition and the step of each example in the above description according to function.These functions perform with hardware or software mode actually, depend on application-specific and the design constraint of technical scheme.Professional and technical personnel can use distinct methods to realize described function to each specifically should being used for, but this realization should not thought and exceeds scope of the present invention.
The software module that the method described in conjunction with embodiment disclosed herein or the step of algorithm can directly use hardware, processor to perform, or the combination of the two is implemented.Software module can be placed in the storage medium of other form any 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 technical field.
To the above-mentioned explanation of the disclosed embodiments, professional and technical personnel in the field are realized or uses the present invention.To be apparent for those skilled in the art to the multiple amendment of these embodiments, General Principle as defined herein can without departing from the spirit or scope of the present invention, realize in other embodiments.Therefore, the present invention can not be restricted to these embodiments shown in this article, but will meet the widest scope consistent with principle disclosed herein and features of novelty.

Claims (10)

1. the communication reliability method of testing of an intelligent electric energy meter, it is characterized in that, based on a kind of communication reliability test macro of intelligent electric energy meter, described system comprises: Test Host, the multi-serial-port card be connected with described Test Host, and at least two intelligent electric energy meters be connected with described multi-serial-port card;
Described method comprises:
The communication reliability test-types of described Test Host determination intelligent electric energy meter, the communication frame corresponding with described communication reliability test-types is sent to described multi-serial-port card, the communication frame corresponding with described communication reliability test-types, refer to the communication frame can simulating abnormal communication conditions that intelligent electric energy meter and acquisition terminal may occur in actual moving process, it can realize determined communication reliability test-types, makes intelligent electric energy meter can make the reaction adapted with determined communication reliability test-types according to communication protocol;
Described multi-serial-port card distributes the communication frame corresponding with described communication reliability test-types to described at least two intelligent electric energy meters;
Described at least two intelligent electric energy meters are made a response to the communication frame received, described in described reaction comprises, at least two intelligent electric energy meters are made response to the communication frame received or do not make response, if described at least two intelligent electric energy meters make response to the communication frame received, then return acknowledge communication frame by described multi-serial-port card to described Test Host;
The communication reliability of each intelligent electric energy meter of reaction and judgement that described Test Host is made according to each intelligent electric energy meter, comprise: when intelligent electric energy meter does not make response to the communication frame received, the communication reliability of intelligent electric energy meter can be judged according to the response situation of intelligent electric energy meter to the communication frame received, when intelligent electric energy meter makes response to the communication frame received, after described Test Host receives the acknowledge communication frame that each intelligent electric energy meter returns, the mailing address of the intelligent electric energy meter carried by acknowledge communication frame determines the corresponding relation of each acknowledge communication frame and each intelligent electric energy meter tested, and according to intelligent electric energy meter communication protocol, the acknowledge communication frame returned with each intelligent electric energy meter is foundation, judge the communication reliability of each intelligent electric energy meter, the actual response communication frame that each intelligent electric energy meter returns can be judged, whether the acknowledge communication frame that should return under the basis of communication protocol with each intelligent electric energy meter adapts, judged by the communication reliability of this judged result 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 intelligent electric energy meter that described Test Host is determined is the test of quick successive frame, describedly sends the communication frame corresponding with described communication reliability test-types to described multi-serial-port card and comprise:
Described Test Host sends the communication frame of continuous constant duration to described multi-serial-port card;
Described 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:
Described Test Host calculates the accuracy of each intelligent electric energy meter success ratio returning communication frame and the communication frame returned;
Described success ratio and accuracy and preset standard are compared, judges the responsibility of each intelligent electric energy meter to 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 intelligent electric energy meter that described Test Host is determined is erroneous frame test, describedly sends the communication frame corresponding with described communication reliability test-types to described multi-serial-port card and comprise:
Described Test Host sends the communication frame including misdata to described multi-serial-port card;
Described 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 intelligent electric energy meter to the response situation including the communication frame of misdata received, judge that intelligent electric energy meter is to the judgement of communication frame including misdata;
Or
When intelligent electric energy meter makes response to the communication frame including misdata received, the response content comprised in the acknowledge communication frame returned by each intelligent electric energy meter, compares with the response content required by the correct communication frame corresponding to the described communication frame including misdata;
Judge that each intelligent electric energy meter is to the judgement of communication frame including misdata according to comparison result.
4. method according to claim 3, it is characterized in that, the described communication frame including 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 intelligent electric energy meter that described Test Host is determined is for the test of interference frame, describedly sends the communication frame corresponding with described communication reliability test-types to described multi-serial-port card and comprise:
Described Test Host sends the communication frame including interfering data to described multi-serial-port card;
Described 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 does not make response to the communication frame including interfering data received, 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 makes response to the communication frame including interfering data received, then by the response content that the acknowledge communication frame that each intelligent electric energy meter returns comprises, compare with the response content required by the described communication frame including interfering data;
The communication anti-interference capability of each intelligent electric energy meter is judged according to comparison result.
6. method according to claim 5, it is characterized in that, the described communication frame including interfering data is: the communication frame with lead byte interference, or there is the communication frame of interference byte of end mark heel, or be provided with the communication frame waiting for time delay, or be provided with the communication frame of byte time delay, or insert interference frame in continuous normal sequence of communication frames.
7. the method according to any one of claim 1 to 6, is characterized in that, describedly sends the communication frame corresponding with described communication reliability test-types to described multi-serial-port card and comprises:
Described Test Host sends equal with the quantity of described at least two intelligent electric energy meters to described multi-serial-port card, the communication frame corresponding with described communication reliability test-types;
Described multi-serial-port card comprises to described at least two intelligent electric energy meters distribution communication frame corresponding with described communication reliability test-types:
Equal with the quantity of described at least two intelligent electric energy meters by what receive, the communication frame corresponding with described communication reliability test-types is distributed to each intelligent electric energy meter, and an intelligent electric energy meter receives a communication frame.
8. the method according to any one of claim 1 to 6, is characterized in that, describedly sends the communication frame corresponding with described communication reliability test-types to described multi-serial-port card and comprises:
Described Test Host sends a communication frame corresponding with described communication reliability test-types to described multi-serial-port card;
Described multi-serial-port card comprises to described at least two intelligent electric energy meters distribution communication frame corresponding with described communication reliability test-types:
Described multi-serial-port card is by received communication frame corresponding with described communication reliability test-types, be copied into the communication frame equal with the quantity of described at least two intelligent electric energy meters, to the communication frame that each intelligent electric energy meter distribution is corresponding with described communication reliability test-types, an intelligent electric energy meter receives a communication frame.
9. a communication reliability test macro for intelligent electric energy meter, is characterized in that, comprising:
Determine the communication reliability test-types of intelligent electric energy meter, send the communication frame corresponding with described communication reliability test-types, and according to the reaction that each intelligent electric energy meter is made, judge the Test Host of the communication reliability of each intelligent electric energy meter, the communication frame corresponding with described communication reliability test-types, refer to the communication frame can simulating abnormal communication conditions that intelligent electric energy meter and acquisition terminal may occur in actual moving process, it can realize determined communication reliability test-types, make intelligent electric energy meter can make the reaction adapted with determined communication reliability test-types according to communication protocol,
Be connected with described Test Host, receive the communication frame corresponding with described communication reliability test-types that described Test Host sends, to the communication frame that each intelligent electric energy meter distribution is corresponding with described communication reliability test-types, and when intelligent electric energy meter makes response to the communication frame received, send the multi-serial-port card of the acknowledge communication frame that intelligent electric energy meter returns to described Test Host;
Be connected with described multi-serial-port card, receive the communication frame corresponding with described communication reliability test-types of described multi-serial-port card distribution, at least two intelligent electric energy meters that the communication frame received is made a response;
Described in described reaction comprises, at least two intelligent electric energy meters are made response to the communication frame received or do not make response, if described at least two intelligent electric energy meters make response to the communication frame received, then return acknowledge communication frame by described multi-serial-port card to described Test Host, when intelligent electric energy meter does not make response to the communication frame received, the communication reliability of intelligent electric energy meter can be judged according to the response situation of intelligent electric energy meter to the communication frame received, when intelligent electric energy meter makes response to the communication frame received, after described Test Host receives the acknowledge communication frame that each intelligent electric energy meter returns, the mailing address of the intelligent electric energy meter carried by acknowledge communication frame determines the corresponding relation of each acknowledge communication frame and each intelligent electric energy meter tested, and according to intelligent electric energy meter communication protocol, the acknowledge communication frame returned with each intelligent electric energy meter is foundation, judge the communication reliability of each intelligent electric energy meter, the actual response communication frame that each intelligent electric energy meter returns can be judged, whether the acknowledge communication frame that should return under the basis of communication protocol with each intelligent electric energy meter adapts, judged by the communication reliability of this judged result to each intelligent electric energy meter.
10. system according to claim 9, is characterized in that, also comprises:
The display screen be connected with described Test Host;
Described display screen comprises the first display interface of the table number of at least two intelligent electric energy meters described in display, and the second display interface of the communication reliability information of at least two intelligent electric energy meters described in display.
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 CN102759724A (en) 2012-10-31
CN102759724B true 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)

Families Citing this family (13)

* 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
CN103777172B (en) * 2013-12-27 2017-02-15 珠海中慧微电子有限公司 Reliability testing system of intelligent electric meter and method thereof
CN104618035B (en) * 2015-01-09 2017-05-31 北京奥普维尔科技有限公司 A kind of system and method for detecting test instrumentation
CN105763376B (en) * 2016-04-07 2018-09-14 威胜集团有限公司 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
CN107483283B (en) * 2017-06-28 2020-03-06 珠海格力电器股份有限公司 Communication reliability test method and device
CN108303669B (en) * 2018-03-09 2020-08-14 宁波三星医疗电气股份有限公司 Method for improving meter calibration efficiency of intelligent electric meter
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
CN110865912B (en) * 2019-10-31 2024-01-16 天津市英贝特航天科技有限公司 System and method for detecting serial port communication reliability of DSP (digital Signal processor)
CN111026579B (en) * 2019-11-29 2023-10-13 深圳云天励飞技术有限公司 Verification method and device for data error detection capability, terminal equipment and medium
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
CN115100843B (en) * 2022-05-24 2024-01-02 安徽南瑞中天电力电子有限公司 Method, system and equipment for testing communication reliability of intelligent electric energy meter

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6988025B2 (en) * 2000-11-28 2006-01-17 Power Measurement Ltd. System and method for implementing XML on an energy management device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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
智能电能表通信协议及功能一致性检测方法的设计;叶利 等;《电测与仪表》;20100831;第47卷(第536A期);第19-21页,第25页 *
电能表与采集终端通信测试系统的设计;周孔均;《电测与仪表》;20061231;第43卷(第492期);24-28 *
电能表通信测试系统的设计与实现;姜洪浪;《中国优秀硕士学位论文全文数据库》;20110315(第3期);第14页,第27-40页 *

Also Published As

Publication number Publication date
CN102759724A (en) 2012-10-31

Similar Documents

Publication Publication Date Title
CN102759724B (en) Testing method and system for communication reliability of intelligent electric energy meters
CN107861871B (en) Gray scale publishing method, device, server and storage medium
CN110532168B (en) Full-link interface pressure measurement method and device, computer equipment and storage medium
CN102967815B (en) Chip testing method, automated testing equipment and system
CN112530513B (en) High-precision flash erasing and writing time acquisition device based on FPGA
CN115357629A (en) Processing method, system, electronic device and storage medium for financial data stream
CN116107703A (en) Interface control document generation method and device
CN110209605A (en) The register reading/writing method and calculating equipment of PCIE Cardbus NIC Cardbus
CN110334018A (en) A kind of big data introduction method and relevant device
CN105046638B (en) Processor system and its image processing method
CN111913861A (en) Performance test method, device, equipment and medium of Internet of things system
CN116663490A (en) Verification method, platform, device and medium of asynchronous memory chip
CN116842883A (en) Power consumption analysis method and device, electronic equipment and storage medium
CN113515354B (en) Unified processing system and method based on environment context consistency
CN109522212A (en) A kind of acquisition terminal software reliability safety half detection system in kind
CN109738694A (en) A kind of chip power-consumption prediction technique, device, electronic equipment and storage medium
CN113590495A (en) Method, device, equipment and storage medium for determining test coverage rate
CN202693783U (en) Communication reliability test system for intelligent electric energy meters
CN101419280A (en) Radar data fan number accounting and monitoring method
CN111371799A (en) Method, device and equipment for controlling data transmission and reception of MCTP (Multi-channel media processing protocol) controller
CN112612663A (en) Method for reversely solving 1553B bus ICD
CN101419281B (en) Radar data true north fan moveout monitoring method
CN117112543B (en) Big data information management system and method
CN116301992A (en) Upgrading method, device, equipment and storage medium
CN118501378A (en) Automatic standard sample checking method and system for online monitoring of water pollution sources

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