CN106324555A - General virtual electric energy meter for electric energy meter data acquisition terminal test system - Google Patents

General virtual electric energy meter for electric energy meter data acquisition terminal test system Download PDF

Info

Publication number
CN106324555A
CN106324555A CN201610937878.7A CN201610937878A CN106324555A CN 106324555 A CN106324555 A CN 106324555A CN 201610937878 A CN201610937878 A CN 201610937878A CN 106324555 A CN106324555 A CN 106324555A
Authority
CN
China
Prior art keywords
electric energy
energy meter
acquisition terminal
virtual
test system
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.)
Pending
Application number
CN201610937878.7A
Other languages
Chinese (zh)
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.)
Hunan Wasion Information Technology Co Ltd
Original Assignee
Hunan Wasion Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hunan Wasion Information Technology Co Ltd filed Critical Hunan Wasion Information Technology Co Ltd
Priority to CN201610937878.7A priority Critical patent/CN106324555A/en
Publication of CN106324555A publication Critical patent/CN106324555A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R35/00Testing or calibrating of apparatus covered by the other groups of this subclass
    • G01R35/04Testing or calibrating of apparatus covered by the other groups of this subclass of instruments for measuring time integral of power or current

Abstract

The invention disclose a general virtual electric energy meter for electric energy meter data acquisition terminal test system, comprising a virtual table server and a common interface module, wherein the virtual table server receives control order to create and delete serial communication channel, controls the number of electric energy meters under the serial channel, reads and copies the data on electric energy meter, changes the address of virtual electric energy meter and data on electric energy meter in real time or changes communication baud rate of serial channel; Common interface module is for the purpose of providing interface to communicate with virtual table server to the electric energy meter acquisition terminal test system. After the general virtual electric energy meter function is added to a electric energy meter data acquisition terminal test system, the number of electric energy meters are controllable,profile address of electric energy meter, data on electric energy meter and baud rate of serial communication can be modified, serial address can be set and data during test process can be automatically recorded during testing at electric energy meter data acquisition terminal.

Description

General virtual electric energy meter for electric energy meter data acquisition terminal test system
Technical field
Present invention relates particularly to a kind of general virtual electric energy meter for electric energy meter data acquisition terminal test system.
Background technology
Along with development and the raising of people's living standard of national economy technology, electric energy has had become as people and has produced and raw One of energy indispensable in work.Electric energy meter is the visual plant of electric energy metrical in power system, and electric energy meter data acquisition Terminal is then responsible for gathering electric energy meter data and uploading.
At present, electric energy meter data acquisition terminal kinds is the most, and it is to data acquisition and processes requirement the most increasingly Many.When the acquisition function for electric energy meter data acquisition terminal is tested, typically there is following requirement: 1) require to be adopted The quantity of the electric energy meter of collection is the most variable;2) state requiring collected electric energy meter can appointed at net state and off-line state Meaning switching;3) address requiring collected electric energy meter can arbitrarily be arranged;4) require that the data of collected electric energy meter are permissible Arbitrarily control;5) traffic rate requiring collected electric energy meter can be changed at any time.And these substantial amounts of requirements, if used Electric energy meter data acquisition terminal is tested by real electric energy meter, is very difficult to accomplish;Particularly during automatic test, survey During examination, fitness requires the highest, it is more difficult to rely on operation actual power table to complete.
So, when current electric energy meter data acquisition terminal is tested, it is common practice to by accessing actual power table, By the dedicated operations software tool of electric energy meter, test request is answered to change address, the data of electric energy meter.Delete part electric energy During table, need the physical circuit that hand off connects.It will be evident that current method of testing shortcoming is obvious: if using simple A small amount of electric energy meter participates in test, then the test of electric energy meter data acquisition terminal can also be realized reluctantly by artificial, if but batch During amount detection, test process is complicated, needs multiple electric energy meter to simultaneously participate in, and when data, baud rate etc. want time update, at present Manual testing's method obviously can not complete.Additionally, current manual testing's method cannot be to all of process of the test and reality Testing data and carry out detailed record, causing process of the test cannot review.
Summary of the invention
It is an object of the invention to provide a kind of virtual electric energy meter general, that specific instruction can be performed, connect by encapsulation The mode of mouth is directly needed the test system using electric energy meter to participate in use, to realize electric energy meter controllable quantity, test by other Data are prone to amendment, and communication baud rate, electric energy meter address can freely be arranged, and test process data can be self registering General virtual table for electric energy meter data acquisition terminal test system.
This general virtual electric energy meter that the present invention provides, supports all data item of electric energy meter, for electric energy meter data Acquisition terminal test system, including virtual list server and common interface library module;Virtual list server is used for receiving correct control System instruction, checks meter serial communication passage to create or to delete, the electric energy meter quantity under corresponding serial ports passage is controlled and Data in amendment or copy reading correspondence electric energy meter address and electric energy meter, it is possible to change the communication baud rate specifying serial ports passage;Public The channel interface with virtual electric energy meter server communication, electricity is provided for electric energy meter data acquisition terminal test system by interface module Table data collection station test system, by common interface module, described virtual electric energy meter server can be sent control command, from And make virtual list server perform control instruction.
Virtual list server all operates on same PC with common interface module or in the TCP network that can communicate On different PCs, and electric energy meter data acquisition terminal check meter line channel serial ports with virtual list server on same PC.
For data item newly-increased in electric energy meter, can be directly to electric energy meter data item by the way of amendment configuration file It is extended.
Described virtual list server and common interface module all operate on same Windows PC or assist with TCP On the different PCs of view network, the test system that will use this general virtual list server must be to quote .dll library file .Net framework under exploitation systems soft ware.
Described common interface directly is needed to use virtual electric energy meter to participate in test by other with the form of dynamic library file Detecting system quote, thus realize increase virtual electric energy meter function.
Described virtual list server is the socket server end of variable IP.
Communication is carried out by Transmission Control Protocol between described virtual list server and common interface module.
After described virtual list server runs, after serial ports passage of checking meter is opened, the Virtual table shelves of correspondence can be automatically generated Case storage folder;Described archives storage file is corresponding with serial ports number, and the electric energy meter archives of its internal storage can be with it In the file that its serial ports circuit is corresponding, the electric energy meter archives of storage are of the same name;One piece that described Virtual table archives are the most independent virtual Electric energy meter, the filename of virtual electric energy meter archives is its address.
Described virtual list server operationally, understands the log record file of automatic creation system and each serial ports passage The serial communication log log file of module;The log record file of described system have recorded institute when virtual list server runs There are process data and the control instruction sending or receiving;Described serial communication log log file have recorded institute in serial communication Some process datas and communication data.
This Virtual table for electric energy meter data acquisition terminal test system that the present invention provides, uses computer software Technology, by calling packaged interface, with virtual list server communication, virtual list server is by specifying execution corresponding operating; Serial ports passage on the PC that electric energy meter data acquisition terminal is opened with virtual list server is connected by physical circuit, it is achieved electricity The automatic of electric energy meter data can be gathered table data collection station, therefore the versatility virtual electric energy meter of the present invention, receives other The acquisition terminal test instruction that sent by common interface of system, carry out automatic or manual survey in electric energy meter data acquisition terminal During examination, it is achieved electric energy meter controllable quantity, the test amendment of data, the amendment of communication baud rate and the setting of electric energy meter address, and And test process data can record automatically.
Accompanying drawing explanation
Fig. 1 is the functional block diagram of the present invention.
Detailed description of the invention
It is illustrated in figure 1 the functional block diagram of the present invention: it is this for electric energy meter data acquisition terminal that the present invention provides The general virtual table of test system, including virtual list server and common interface module;Virtual list server and common interface mould Block all operates on the different PCs on a PC or in same Transmission Control Protocol network;The serial ports of serial ports passage is Virtual table Serial ports on the PC at server place, for checking meter of virtual electric energy meter server and detected electric energy meter data acquisition terminal Connection;Virtual list server is local socket server, is used for receiving control command, to create or to delete serial communication Passage, is controlled the electric energy meter quantity under corresponding serial ports passage and revise or copy reading correspondence electric energy meter data and real-time Change the address of electric energy meter, it is possible to change the communication baud rate specifying serial ports passage;Virtual list server (server end) is with public Being communicated by Transmission Control Protocol between interface (client) module, common interface module is for gathering eventually described electric energy meter End test system provides the communication interface with virtual list server, and electric energy meter acquisition terminal test system is by calling its interface pair Virtual list server sends control command, so that virtual list server performs control instruction;Common interface is with dynamic library file Form directly by electric energy meter acquisition terminal test system call, thus realize electric energy meter acquisition terminal test system to virtual The control of list server.
Electric energy meter acquisition terminal test system is after calling initialization interface function, and common interface first can be with client Mode is set up with virtual list server and is connected, and sends initialization directive to virtual list server simultaneously.
Virtual list server is receiving and is performing initialization directive, after the serial ports passage included in instruction is opened, all It is used for depositing all void under this serial ports circuit in automatically generating the file that the serial ports of correspondence is corresponding, described serial ports file Intend table archives (each archives are comparable to an independent electric energy meter), and the data stream daily record of this serial ports.
Virtual list server operationally, can the log record file of automatic creation system, if perform open check meter logical After road instruction, synchronization can produce the file that this serial ports is corresponding, and serial communication log log file;The daily record of described system Log file have recorded all process datas when virtual list server runs and the control instruction sending or receiving;Described string Port communications log record file have recorded the transceiving data of all of process in serial communication.
When detecting detected electric energy meter data acquisition terminal, detected electric energy meter data acquisition terminal is led to Cross the PC end serial ports that physical circuit and described virtual electric energy meter server open to be attached, if having virtual in this serial ports file Electric energy meter server create with the electric energy meter archives of corresponding address in acquisition terminal, virtual electric energy meter server just can respond The message of checking meter of acquisition terminal.Virtual electric energy meter server can be opened multiple way electric table simultaneously and check meter circuit, and can basis Control instruction carries out electric energy meter ground at any time to the change of line traffic baud rate of respectively checking meter, the electric energy meter of respectively checking meter on circuit automatically The change of data in the change of location, the change of electric energy meter number and electric energy meter, and can be to all data in test process Record and preserve.Detected electric energy meter data acquisition terminal, after automatically having gathered appointment electric energy meter data, electric energy meter Data collection station test system calls its corresponding data of survey together, then with Data Comparison in virtual electric energy meter map file, thus judge Self correctness to electric energy meter data acquisition.

Claims (9)

1. the general virtual electric energy meter for electric energy meter data acquisition terminal test system, it is characterised in that include Virtual table Server and common interface module;Virtual list server is used for receiving control command, to create or to delete serial communication passage, right Electric energy meter quantity under corresponding serial ports passage is controlled, copy reading correspondence energy data, change in table address and electric energy meter in real time Data, it is possible to change specify serial ports passage communication baud rate;Common interface module, presented in dynamic library file, is used In providing, to described electric energy meter acquisition terminal test system, the interface communicated with virtual list server, electric energy meter acquisition terminal is tested System sends control command by calling its interface to virtual list server, makes virtual list server perform control instruction, thus Realize the test system control to virtual list server of electric energy meter acquisition terminal.
General virtual electric energy meter for electric energy meter data acquisition terminal test system the most according to claim 1, it is special Levy and be that described virtual list server and common interface module all operate on same PC or same Transmission Control Protocol network In different PCs on, and electric energy meter data acquisition terminal checks meter line channel serial ports and virtual list server at same PC On.
General virtual electric energy meter for electric energy meter data acquisition terminal test system the most according to claim 1, it is special Levy and be that described electric energy meter data acquisition terminal test system is exploitation under .Net framework, it is possible to quote .dll library file Acquisition terminal.
General virtual electric energy meter for electric energy meter data acquisition terminal test system the most according to claim 2, it is special Levy and be described to check meter line channel serial ports passage on the PC at virtual list server place.
5. according to the general virtual electric energy for electric energy meter data acquisition terminal test system one of claim 1 ~ 4 Suo Shu Table, it is characterised in that described common interface with the form of dynamic library file directly by electric energy meter data acquisition terminal test system Called, thus realized the control to virtual electric energy meter of the electric energy meter data acquisition terminal test system, so that this system possesses electricity Can table test function.
6. according to the general virtual electric energy for electric energy meter data acquisition terminal test system one of claim 1 ~ 3 Suo Shu Table, it is characterised in that described virtual list server is the socket server end of variable IP.
7. according to the general virtual electric energy for electric energy meter data acquisition terminal test system one of claim 1 ~ 3 Suo Shu Table, it is characterised in that described serial ports number of channels is determined by the PC hardware at virtual list server place;Each serial ports leads to After road is opened, all can automatically generate the serial ports file of correspondence, in described serial ports file, comprise all void under this serial ports Intend electric energy meter files.
8. according to the general virtual electric energy for electric energy meter data acquisition terminal test system one of claim 1 ~ 3 Suo Shu Table, it is characterised in that described virtual list server and electric energy meter data acquisition terminal test system by call common interface with Transmission Control Protocol carries out data transmission.
9. according to the general virtual electric energy for electric energy meter data acquisition terminal test system one of claim 1 ~ 3 Suo Shu Table, it is characterised in that described virtual list server operationally, understands the log record file of automatic creation system and each string The serial communication log log file of mouth channel module;The log record file of described system have recorded virtual list server and runs Time all process datas and the control instruction that sends or receive;Described serial communication log log file have recorded serial ports and leads to All of communication data in letter.
CN201610937878.7A 2016-10-25 2016-10-25 General virtual electric energy meter for electric energy meter data acquisition terminal test system Pending CN106324555A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610937878.7A CN106324555A (en) 2016-10-25 2016-10-25 General virtual electric energy meter for electric energy meter data acquisition terminal test system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610937878.7A CN106324555A (en) 2016-10-25 2016-10-25 General virtual electric energy meter for electric energy meter data acquisition terminal test system

Publications (1)

Publication Number Publication Date
CN106324555A true CN106324555A (en) 2017-01-11

Family

ID=57818857

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610937878.7A Pending CN106324555A (en) 2016-10-25 2016-10-25 General virtual electric energy meter for electric energy meter data acquisition terminal test system

Country Status (1)

Country Link
CN (1) CN106324555A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110907882A (en) * 2019-10-10 2020-03-24 中国电力科学研究院有限公司 Electric energy meter-oriented virtualization test method and system
CN110992671A (en) * 2019-12-16 2020-04-10 宁波三星医疗电气股份有限公司 Ammeter address forwarding method, device and system and electronic equipment
CN115100843A (en) * 2022-05-24 2022-09-23 安徽南瑞中天电力电子有限公司 Method, system and equipment for testing communication reliability of intelligent electric energy meter

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20010045821A1 (en) * 1999-12-22 2001-11-29 Jakob Widmer Electricity meter with an additional computing module
US20020120723A1 (en) * 2001-02-23 2002-08-29 Forth J. Bradford Systems for in the field configuration of intelligent electronic devices
CN101231320A (en) * 2008-01-31 2008-07-30 湖北省电力试验研究院 Undervoltage collection copy system detecting device based on virtual electric energy meter module
CN101907694A (en) * 2010-07-09 2010-12-08 深圳市科陆电子科技股份有限公司 Device and method for testing low-voltage collecting meter reading system
CN101943734A (en) * 2010-06-17 2011-01-12 深圳市科陆电子科技股份有限公司 Method for automatically detecting terminals in batch based on IEC62056 protocol
CN201804100U (en) * 2010-09-15 2011-04-20 浙江涵普电力科技有限公司 Acquisition terminal testing device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20010045821A1 (en) * 1999-12-22 2001-11-29 Jakob Widmer Electricity meter with an additional computing module
US20020120723A1 (en) * 2001-02-23 2002-08-29 Forth J. Bradford Systems for in the field configuration of intelligent electronic devices
CN101231320A (en) * 2008-01-31 2008-07-30 湖北省电力试验研究院 Undervoltage collection copy system detecting device based on virtual electric energy meter module
CN101943734A (en) * 2010-06-17 2011-01-12 深圳市科陆电子科技股份有限公司 Method for automatically detecting terminals in batch based on IEC62056 protocol
CN101907694A (en) * 2010-07-09 2010-12-08 深圳市科陆电子科技股份有限公司 Device and method for testing low-voltage collecting meter reading system
CN201804100U (en) * 2010-09-15 2011-04-20 浙江涵普电力科技有限公司 Acquisition terminal testing device

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110907882A (en) * 2019-10-10 2020-03-24 中国电力科学研究院有限公司 Electric energy meter-oriented virtualization test method and system
CN110907882B (en) * 2019-10-10 2023-01-31 中国电力科学研究院有限公司 Electric energy meter-oriented virtualization test method and system
CN110992671A (en) * 2019-12-16 2020-04-10 宁波三星医疗电气股份有限公司 Ammeter address forwarding method, device and system and electronic equipment
CN110992671B (en) * 2019-12-16 2020-11-20 宁波三星医疗电气股份有限公司 Ammeter address forwarding method, device and system and electronic equipment
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

Similar Documents

Publication Publication Date Title
CN101907694B (en) Device and method for testing low-voltage collecting meter reading system
CN102035673B (en) Fiber channel-based general automatic test system
CN104237699B (en) A kind of USB interface communication test system and method
CN108023952A (en) A kind of modularization Internet of Things application rapid build platform combined based on cloud and mist
CN106330618A (en) Gateway routing automatic test system and test method based on CAN/LIN/MOST hybrid buses
CN108667661B (en) Automatic numbering system and numbering method for in-situ distributed protection management host
CN101882108A (en) Embedded software automatic test system and method thereof
CN106324555A (en) General virtual electric energy meter for electric energy meter data acquisition terminal test system
CN106787199A (en) A kind of portable substation simulated testing system and method
CN107357278A (en) A kind of nuclear power plant's control system signal flow diagram generates online and service platform
CN103634163B (en) Method for testing interchangeability of remote communication unit of acquisition terminal
CN109683882A (en) NB-IOT terminal software development approach under visible environment based on mobile terminal
CN103248527A (en) Testing tool device, testing system and testing method for Ethernet consistency
CN108847869A (en) Portable multifunctional electric power analog channel test device and its test method
CN111224835A (en) Automatic switching method, device and system for serial port communication modes
CN106933712A (en) Networking remote test system and method based on B/S frameworks
CN109901830A (en) A kind of symbol arranging method and system for scada system development
CN106569970A (en) SMI interface device debugging apparatus and method
CN108111578A (en) The method of distribution terminal data acquisition platform access terminal equipment based on NIO
CN209017042U (en) A kind of light sends the system that power and optical receiver sensitivity are tested automatically
CN104793083B (en) A kind of communication unit interchangeability test system and its exchange method
CN207636755U (en) A kind of performance detection analytical equipment of user power utilization information acquisition system
CN102857375A (en) Method for managing and explaining communication protocols
CN110136416A (en) Wireless collection device, control system and control method including the wireless collection device
CN104156295A (en) Multi-channel serial port testing system and establishing method

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20170111

RJ01 Rejection of invention patent application after publication