CN107576926B - A method of generating simulation ammeter returned data - Google Patents

A method of generating simulation ammeter returned data Download PDF

Info

Publication number
CN107576926B
CN107576926B CN201710674206.6A CN201710674206A CN107576926B CN 107576926 B CN107576926 B CN 107576926B CN 201710674206 A CN201710674206 A CN 201710674206A CN 107576926 B CN107576926 B CN 107576926B
Authority
CN
China
Prior art keywords
ammeter
data
software
returned
returned data
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
CN201710674206.6A
Other languages
Chinese (zh)
Other versions
CN107576926A (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.)
Ningbo Sanxing Medical and Electric Co Ltd
Original Assignee
Ningbo Sanxing Medical and Electric 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 Ningbo Sanxing Medical and Electric Co Ltd filed Critical Ningbo Sanxing Medical and Electric Co Ltd
Priority to CN201710674206.6A priority Critical patent/CN107576926B/en
Publication of CN107576926A publication Critical patent/CN107576926A/en
Application granted granted Critical
Publication of CN107576926B publication Critical patent/CN107576926B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Power Sources (AREA)
  • Test And Diagnosis Of Digital Computers (AREA)

Abstract

Present invention utilization automatically generates simulation ammeter returned data software and multifunctional electric energy meter automatically generates the returned data allocation list of simulation ammeter software, data item in returned data allocation list is from multifunctional electric energy meter in kind, to ensure that the logic between every returned data is reasonable, therefore the complete returned data allocation list automatically generated, returned data is accurate, without human configuration mass data, the high-efficient of electricity consumption acquisition equipment is tested.

Description

A method of generating simulation ammeter returned data
Technical field
The present invention relates to the detection technique fields of electricity consumption acquisition equipment more particularly to a kind of generation to simulate ammeter returned data Method.
Background technique
Power information acquires in equipment test process, needs the data of more multifunction electric meters of copy reading, a multi-functional electricity The specific data of table are multinomial up to 6000, and have logicality between each data item return value, existing soft using simulation ammeter During part replaces more multifunction electric meters to test power information acquisition equipment, the return using simulation ammeter software is needed Data configuration table, returned data allocation list generally comprise Data Identification and the practical returned data of ammeter, but existing returned data In allocation list the generating mode of the practical returned data of various ammeters of ammeter be generated using the manually method that configures item by item, and It is only configured with the return value that ammeter returned data commonly uses item, while without logicality between those data, therefore human configuration returns The heavy workload of the practical returned data of ammeter, easy error, low efficiency and data are imperfect in data configuration table.
Summary of the invention
The present invention provides a kind of method for generating simulation ammeter returned data, this method can automatically generate complete return Data configuration table.
The technical solution adopted by the present invention is that a method of generate simulation ammeter returned data, which is characterized in that including Following steps,
S1 imports all first Data Identifications for including in multifunctional electric energy meter communication protocol standard file on computer Simulation ammeter software copy reading data configuration list file in;
Computer and multifunction electric meter are attached by S2,
S3 runs and automatically generates simulation ammeter returned data software on computer, and described automatically generates simulation ammeter Returned data software is successively read the first Data Identification in the copy reading data configuration table, one the first data mark of every reading After knowledge, described automatically generates simulation ammeter returned data software according to the requirement of multifunctional electric energy meter communication protocol, and tissue is copied Statistical tables and reports text, and meter reading message is handed down to the multifunction electric meter by computer serial port, multifunction electric meter receives meter reading report Analysis judgment is carried out after text order and extracts corresponding ammeter returned data, then by this ammeter returned data according to multi-functional The requirement of electric energy meter communication protocol organizes message response and is sent to automatically generate simulation ammeter returned data software, described It automatically generates simulation ammeter returned data software to handle the message response, extracts the electricity in ammeter returned data Table real data, and the ammeter real data is written in the returned data allocation list for simulating ammeter software;First Data Identification Complete returned data allocation list is generated after being all read;
Computer and power information acquisition equipment are attached by S4;
Meter reading order when power information acquires equipment meter reading, is sent to simulation ammeter software, simulation ammeter software connects by S5 After receiving meter reading order, the second Data Identification in meter reading order, second Data Identification and described first are parsed Data Identification corresponds, and electricity corresponding with the second Data Identification is then searched in returned data allocation list by dichotomy Table real data, and according to the data link requirements of multifunctional electric energy meter communication protocol, it organizes message response to be sent to and uses telecommunications Breath acquisition equipment.
After the above technical solution is adopted, compared with the prior art, the present invention has the following advantages:
The invention firstly uses automatically generate simulation ammeter returned data software and multifunctional electric energy meter automatically generate simulation The returned data allocation list of ammeter software, data item in returned data allocation list from multifunctional electric energy meter in kind, from And ensure that the logic between every returned data rationally, it is accurate and without human configuration mass data, improve electricity consumption acquisition The testing efficiency of equipment.
As an improvement, first Data Identification is arranged according to ascending order mode, the retrieval of simulation ammeter and response are improved Efficiency.
As an improvement, including ammeter time, the simulation ammeter software organization message in the ammeter real data The ammeter time is returned into preset set time or computer current time when response, convenient for the inspection of power information acquisition equipment It surveys.
As an improvement, the ammeter real data includes the positive active total electric flux of ammeter, the simulation electricity is set The positive active total electric flux of ammeter is returned into preset fixed value when the message response of table software organization, is set convenient for power information acquisition Standby detection.
As an improvement, the ammeter real data includes the positive active total electric flux of ammeter, the ammeter is being set just Linearly increase and decrease to active total electric flux according to active power, convenient for the detection of power information acquisition equipment.
As an improvement, the power information acquisition equipment has searches table function, the simulation ammeter software branch automatically It holds by the power information acquisition equipment search, acquires equipment convenient for power information and simulate the connection between ammeter software.
As an improvement, being modified in the returned data allocation list in the simulation ammeter software running process Data Identification and corresponding ammeter real data, for detecting the electric meter fault function of power information acquisition equipment.
Detailed description of the invention
Fig. 1 is the schematic diagram that computer is connect with multifunctional electric energy meter
Fig. 2 is the schematic diagram that computer acquires that equipment is connect with power information
Specific embodiment
The step of automatically generating complete returned data allocation list in the present invention combined with Figure 1 and Figure 2, are as follows:
A method of simulation ammeter returned data is generated, is included the following steps,
S1 imports all first Data Identifications for including in multifunctional electric energy meter communication protocol standard file on computer Simulation ammeter software copy reading data configuration list file in;
Computer and multifunction electric meter are attached by S2,
S3 runs and automatically generates simulation ammeter returned data software on computer, and described automatically generates simulation ammeter Returned data software is successively read the first Data Identification in the copy reading data configuration table, one the first data mark of every reading After knowledge, described automatically generates simulation ammeter returned data software according to the requirement of multifunctional electric energy meter communication protocol, and tissue is copied Statistical tables and reports text, and meter reading message is handed down to the multifunction electric meter by computer serial port, multifunction electric meter receives meter reading report Analysis judgment is carried out after text order and extracts corresponding ammeter returned data, then by this ammeter returned data according to multi-functional The requirement of electric energy meter communication protocol organizes message response and is sent to automatically generate simulation ammeter returned data software, described It automatically generates simulation ammeter returned data software to handle the message response, extracts the electricity in ammeter returned data Table real data, and the ammeter real data is written in the returned data allocation list for simulating ammeter software;First Data Identification Complete returned data allocation list is generated after being all read;
Computer and power information acquisition equipment are attached by S4;
Meter reading order when power information acquires equipment meter reading, is sent to simulation ammeter software, simulation ammeter software connects by S5 After receiving meter reading order, the second Data Identification in meter reading order, second Data Identification and described first are parsed Data Identification corresponds, and in the present invention, then the corresponding ammeter real data of each first Data Identification simulates ammeter Software searches the first Data Identification and corresponding ammeter real data by dichotomy in returned data allocation list, i.e., in fact Show and corresponding ammeter real data is searched according to the second Data Identification, has finally simulated ammeter software according to multifunctional electric energy meter The data link requirements of communication protocol, tissue message response are sent to power information acquisition equipment.
The content for simulating the returned data allocation list of ammeter software is as follows,
In the present invention, the first Data Identification of setting is identical with the second Data Identification, in ammeter real data Including ammeter temporal information, the ammeter time is returned into preset set time or electricity when simulating the message response of ammeter software organization Brain current time acquires equipment convenient for detection electricity consumption.It further include positive active total electric energy information, simulation in ammeter real data When the message response of ammeter software organization, it may be selected the positive active total electric flux of ammeter returning to a preset fixed value, it can also Linearly increase and decrease increase and decrease according to active power with the positive active total electric flux of setting, convenient for the detection of power information acquisition equipment.With Power information acquisition equipment has searches table function automatically, and simulation ammeter software support is by power information acquisition equipment search, simulation electricity Table software is condensed by judgement searches table command address and automatically connection processing, for unique table address tail number of support, has returned Whole table address order, for not unique table address tail number of support, not return command.Simulation ammeter software, which can be set, supports certain The table address of a little multifunctional electric energy meters, or support the table address of whole multifunctional electric energy meters, simulation ammeter software can be with Identical data is returned according to the table address of all multifunctional electric energy meters or table address participates in operation and returns to different data, is being simulated In ammeter software running process, the corresponding electricity of a certain first Data Identification in modification returned data allocation list by hand is supported at any time Table real data, the electric meter fault Function detection for power information acquisition equipment.

Claims (7)

1. a kind of method for generating simulation ammeter returned data, which is characterized in that include the following steps,
All first Data Identifications for including in multifunction electric meter communication protocol standard file are imported the simulation on computer by S1 In the copy reading data configuration list file of ammeter software;
Computer and multifunction electric meter are attached by S2,
S3 runs and automatically generates simulation ammeter returned data software on computer, and the simulation ammeter that automatically generates returns Data software is successively read the first Data Identification in the copy reading data configuration table, one the first Data Identification of every reading Afterwards, the simulation ammeter returned data software that automatically generates is required according to the data link layer of multifunction electric meter communication protocol, Meter reading message is organized, and meter reading message is handed down to the multifunction electric meter by computer serial port, multifunction electric meter receives Analysis judgment is carried out after meter reading message commands and extracts corresponding ammeter returned data, then by ammeter returned data according to more The data link layer requirement of function meter communication protocol organizes message response and is sent to automatically generate simulation ammeter returned data Software, the simulation ammeter returned data software that automatically generates handle the message response, extract ammeter and return The ammeter real data in data is returned, and the ammeter real data is written in the returned data allocation list for simulating ammeter software; First Data Identification generates complete returned data allocation list after being all read;
Computer and power information acquisition equipment are attached by S4;
Meter reading order when power information acquires equipment meter reading, is sent to simulation ammeter software, simulation ammeter software receives by S5 After meter reading order, the second Data Identification in meter reading order is parsed, is then looked into returned data allocation list by dichotomy The first Data Identification corresponding with the second Data Identification and ammeter real data are looked for, and according to multifunction electric meter communication protocol Data link requirements, tissue message response are sent to power information acquisition equipment, and the power information acquisition equipment reads electricity Table real data.
2. a kind of method for generating simulation ammeter returned data according to claim 1, which is characterized in that described first Data Identification is arranged according to ascending order mode.
3. a kind of method for generating simulation ammeter returned data according to claim 1, which is characterized in that the ammeter It include the meter reading time in real data, when the meter reading time is returned to fixed by when described simulation ammeter software organization message response Between.
4. a kind of method for generating simulation ammeter returned data according to claim 1, which is characterized in that the ammeter It include the meter reading time in real data, described returns to computer for the meter reading time when simulating the message response of ammeter software organization Current time.
5. a kind of method for generating simulation ammeter returned data according to claim 1, which is characterized in that described in being arranged The positive active power for simulating ammeter software increases and decreases according to the characteristic of linear function.
6. a kind of method for generating simulation ammeter returned data according to claim 1, which is characterized in that the electricity consumption Information collecting device has searches table function automatically.
7. a kind of method for generating simulation ammeter returned data according to claim 1, which is characterized in that the mould of Yu Suoshu In quasi- ammeter software running process, the Data Identification and corresponding ammeter actual number in the returned data allocation list are modified According to for detecting the electric meter fault function of power information acquisition equipment.
CN201710674206.6A 2017-08-09 2017-08-09 A method of generating simulation ammeter returned data Active CN107576926B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710674206.6A CN107576926B (en) 2017-08-09 2017-08-09 A method of generating simulation ammeter returned data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710674206.6A CN107576926B (en) 2017-08-09 2017-08-09 A method of generating simulation ammeter returned data

Publications (2)

Publication Number Publication Date
CN107576926A CN107576926A (en) 2018-01-12
CN107576926B true CN107576926B (en) 2019-08-16

Family

ID=61034782

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710674206.6A Active CN107576926B (en) 2017-08-09 2017-08-09 A method of generating simulation ammeter returned data

Country Status (1)

Country Link
CN (1) CN107576926B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113656300A (en) * 2021-08-13 2021-11-16 成都长城开发科技有限公司 High-performance analog metering equipment based on DLMS protocol

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101277299A (en) * 2008-05-13 2008-10-01 珠海中慧微电子有限公司 Protocol conversion system and protocol conversion process
CN101629993A (en) * 2009-08-06 2010-01-20 深圳市科陆电子科技股份有限公司 Electric meter simulation test method
CN101901539A (en) * 2010-07-01 2010-12-01 深圳市科陆电子科技股份有限公司 Electric energy meter reading method for customizing meter reading contents based on configuration file
CN102175983A (en) * 2011-03-04 2011-09-07 河北省电力研究院 Method for testing multifunctional watt-hour meter reading time of electric quantity collector for watt-hour meter
US8103390B2 (en) * 2003-09-08 2012-01-24 Smartsynch, Inc. Methods for reading data in a utility meter in connection with a load reduction initiative
CN102404202A (en) * 2011-10-24 2012-04-04 深圳市共进电子股份有限公司 Power grid data processing method and device
CN203192219U (en) * 2013-03-26 2013-09-11 沈阳时尚实业有限公司 Electric energy meter collector with rapid reading function
CN106453670A (en) * 2015-08-04 2017-02-22 华为技术有限公司 Communication method, apparatus and system for smart meter
CN106875662A (en) * 2017-04-07 2017-06-20 广东电网有限责任公司电力科学研究院 A kind of data acquisition for electric energy method and device

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8103390B2 (en) * 2003-09-08 2012-01-24 Smartsynch, Inc. Methods for reading data in a utility meter in connection with a load reduction initiative
CN101277299A (en) * 2008-05-13 2008-10-01 珠海中慧微电子有限公司 Protocol conversion system and protocol conversion process
CN101629993A (en) * 2009-08-06 2010-01-20 深圳市科陆电子科技股份有限公司 Electric meter simulation test method
CN101901539A (en) * 2010-07-01 2010-12-01 深圳市科陆电子科技股份有限公司 Electric energy meter reading method for customizing meter reading contents based on configuration file
CN102175983A (en) * 2011-03-04 2011-09-07 河北省电力研究院 Method for testing multifunctional watt-hour meter reading time of electric quantity collector for watt-hour meter
CN102404202A (en) * 2011-10-24 2012-04-04 深圳市共进电子股份有限公司 Power grid data processing method and device
CN203192219U (en) * 2013-03-26 2013-09-11 沈阳时尚实业有限公司 Electric energy meter collector with rapid reading function
CN106453670A (en) * 2015-08-04 2017-02-22 华为技术有限公司 Communication method, apparatus and system for smart meter
CN106875662A (en) * 2017-04-07 2017-06-20 广东电网有限责任公司电力科学研究院 A kind of data acquisition for electric energy method and device

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
基于面向对象互操作技术的用电信息采集系统通信协议设计;巫钟兴 等;《电测与仪表》;20161225;第53卷(第24期);第69-72页

Also Published As

Publication number Publication date
CN107576926A (en) 2018-01-12

Similar Documents

Publication Publication Date Title
CN110492906A (en) A kind of HPLC carrier module performance fast automatic detecting method
CN107515370A (en) A kind of PCBA detection means and detection method
CN105738854A (en) Simulation memory test board system for intelligent ammeter embedded application and test method
CN103885438B (en) The Auto-Test System of a kind of transformer station measuring and controlling equipment and method
CN103344883B (en) Simulation testing device and the method for cable fault simulation is realized by wireless network
CN104793171A (en) Fault simulation based smart meter fault detection method
CN105548948A (en) Device and method for testing digitalization electric energy metering system
CN109298317A (en) A kind of Intelligent test device and its test method of middle low-frequency channel
CN109462495A (en) A kind of ship hardware and communication system detection system and method
CN112014788A (en) Load identification module detection method based on wave recording file playback
CN105467355A (en) Automatic testing method of electric energy meter and automatic testing device of same
CN106443562A (en) Networked online inspection system for electric energy metering devices
CN101902368A (en) WEB performance test method based on simulation of bulk thin client operation and test system thereof
CN202661620U (en) Verification system for electronic-type mutual inductor and for merging unit
CN102478624A (en) Circuit board test analysis report automatic generating system and method
CN106301976A (en) A kind of intelligent substation schedule information automated testing method
CN108594015A (en) Cable static impedance auto testing instrument and test method
CN105866726A (en) Portable assessment device based on reliable data of electric energy meter
CN107576926B (en) A method of generating simulation ammeter returned data
CN110456192A (en) Distribution terminal automatization test system and method based on LabView
CN104392398B (en) Power distribution automation CIM imports and exports function test system and its method
CN109752641A (en) A kind of method, apparatus, equipment and the storage medium of batch testing Devices to test
CN102967839A (en) Detection method and device for online monitoring communication system of transformer substation
CN106526460A (en) Circuit fault locating method and device
CN106896710A (en) Scene configurable time synchronization test system and implementation method

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant