CN112684404A - Analog detection system and method for metering core - Google Patents

Analog detection system and method for metering core Download PDF

Info

Publication number
CN112684404A
CN112684404A CN202011480800.XA CN202011480800A CN112684404A CN 112684404 A CN112684404 A CN 112684404A CN 202011480800 A CN202011480800 A CN 202011480800A CN 112684404 A CN112684404 A CN 112684404A
Authority
CN
China
Prior art keywords
metering
data
core
metering data
queue
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
CN202011480800.XA
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.)
State Grid Corp of China SGCC
China Electric Power Research Institute Co Ltd CEPRI
Original Assignee
State Grid Corp of China SGCC
China Electric Power Research Institute Co Ltd CEPRI
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, China Electric Power Research Institute Co Ltd CEPRI filed Critical State Grid Corp of China SGCC
Priority to CN202011480800.XA priority Critical patent/CN112684404A/en
Publication of CN112684404A publication Critical patent/CN112684404A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention discloses a simulation detection system and method of a metering core, and belongs to the technical field of electric energy metering. The system of the invention comprises: the detection system master station simulates and outputs a preset amount of metering data, divides the metering data into a plurality of parts, presets a first part of the metering data on the metering core analog board, inquires the number of metering data which are not read in a metering core analog board queue, and sends a part of the metering data to the metering core analog board after inquiring that the metering data in the queue are lower than a preset value each time until all the metering data of the plurality of parts are sent; the metering core simulation board is used for placing the metering data of the first part into a queue, and placing the metering data of the remaining part into the tail part of the queue after receiving the metering data of the remaining part; and the management core reads the metering data from the head of the queue and detects the metering data. The invention can complete the test by consuming little electric energy, and is more environment-friendly.

Description

Analog detection system and method for metering core
Technical Field
The present invention relates to the field of electric energy metering technologies, and more particularly, to a system and a method for analog detection of a metering core.
Background
The intelligent electric energy meter is an important data acquisition tool of an energy and power internet of things and a strong intelligent power grid perception layer, and is a vital device for providing high-quality service for customers by a power company.
A multicore modularized electric energy meter pre-popularized by a national power grid company adopts a design that a metering core and a management core are separated, the metering core provides legal data such as electric quantity and clock, and the management core undertakes management tasks of the whole meter, and the management tasks mainly comprise tasks such as cost control, display external communication, event recording, data freezing, load control and the like.
The legal metering function and the meter management function of the original electric energy meter are not separated, so the conventional test of the original electric energy meter is the whole meter test, and during the whole meter test, in order to obtain various metering data, an external test device must provide a real metering working condition environment, namely real electric energy consumption, and the method has lower energy efficiency.
Disclosure of Invention
In order to solve the above problems, the present invention provides an analog detection system for a measurement core, including:
the detection system master station simulates and outputs a preset amount of metering data, divides the metering data into a plurality of parts, presets a first part of the metering data on the metering core analog board, inquires the number of metering data which are not read in a metering core analog board queue, and sends a part of the metering data to the metering core analog board after inquiring that the metering data in the queue are lower than a preset value each time until all the metering data of the plurality of parts are sent;
the metering core simulation board is used for placing the metering data of the first part into a queue, and placing the metering data of the remaining part into the tail part of the queue after receiving the metering data of the remaining part;
and the management core reads the metering data from the head of the queue and detects the metering data.
Optionally, the metering data is analog metering data or collected metering data.
Optionally, after the management core sends a data reading request to the measurement core analog board, the measurement core analog board feeds back the data at the head of the queue to the management core.
Optionally, the number of metering data not copied and read in the queue is recorded by the metering core analog board, and after the query request of the detection system master station is passed, the metering core analog board feeds the record back to the detection system master station.
Optionally, the preset value is 25-35% of the total number of data in the queue.
The invention also provides a simulation detection method of the metering core, which comprises the following steps:
using a detection system master station to simulate and output a preset amount of metering data, dividing the metering data into a plurality of parts, and presetting the metering data of a first part in a metering core simulation board;
putting the metering data of the first part in the metering core analog board into a queue;
reading the metering data from the head of the queue by using a management core, and detecting the metering data;
inquiring the number of metering data which are not copied in the metering core analog board queue, and after the metering data in the queue are lower than a preset value after each inquiry, sending a part of metering data to the tail of the queue of the metering core analog board until all the metering data of a plurality of parts are sent;
reading the metering data from the head of the queue, and detecting the metering data until the metering data is detected.
Optionally, the metering data is analog metering data or collected metering data.
Optionally, after the management core sends a data reading request to the measurement core analog board, the measurement core analog board feeds back the data at the head of the queue to the management core.
Optionally, the number of metering data not copied and read in the queue is recorded by the metering core analog board, and after the query request of the detection system master station is passed, the metering core analog board feeds the record back to the detection system master station.
Optionally, the preset value is 25-35% of the total number of data in the queue.
The metering core simulation board can normally communicate with the management core, the data preset by the master station can simulate various working conditions, when the simulation system and the management core carry out data interaction, the simulation system can quickly respond to the request of the management core without data leakage, the management core can normally work, and the data response under various severe working conditions is simulated by controlling the data content responded by the metering core simulation board, so that potential safety hazards possibly existing in the management core software can be quickly and efficiently detected.
The invention can complete the test by consuming little electric energy, and is more environment-friendly.
Drawings
FIG. 1 is a block diagram of an analog testing system for a metrology core of the present invention;
FIG. 2 is a flow chart of a method of analog testing of a metrology core of the present invention;
FIG. 3 is a flowchart illustrating an exemplary method for analog testing of a metrology core.
Detailed Description
The exemplary embodiments of the present invention will now be described with reference to the accompanying drawings, however, the present invention may be embodied in many different forms and is not limited to the embodiments described herein, which are provided for complete and complete disclosure of the present invention and to fully convey the scope of the present invention to those skilled in the art. The terminology used in the exemplary embodiments illustrated in the accompanying drawings is not intended to be limiting of the invention. In the drawings, the same units/elements are denoted by the same reference numerals.
Unless otherwise defined, terms (including technical and scientific terms) used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs. Further, it will be understood that terms, such as those defined in commonly used dictionaries, should be interpreted as having a meaning that is consistent with their meaning in the context of the relevant art and will not be interpreted in an idealized or overly formal sense.
The invention provides a simulation detection system of a metering core, as shown in figure 1, comprising:
the detection system master station simulates and outputs a preset amount of metering data, divides the metering data into a plurality of parts, presets a first part of the metering data on the metering core analog board, inquires the number of metering data which are not read in a metering core analog board queue, and sends a part of the metering data to the metering core analog board after inquiring that the metering data in the queue are lower than a preset value each time until all the metering data of the plurality of parts are sent;
the metering core simulation board is used for placing the metering data of the first part into a queue, and placing the metering data of the remaining part into the tail part of the queue after receiving the metering data of the remaining part;
and the management core reads the metering data from the head of the queue and detects the metering data.
The metering data is analog metering data or collected metering data.
After the management core sends a data reading request to the metering core simulation board, the metering core simulation board feeds back data at the head of the queue to the management core.
And after the query request of the detection system master station is passed, the metering core simulation board feeds back the record to the detection system master station.
Wherein the preset value is 25-35% of the total number of data in the queue.
The invention also provides a simulation detection method of the metering core, as shown in fig. 2, comprising the following steps:
using a detection system master station to simulate and output a preset amount of metering data, dividing the metering data into a plurality of parts, and presetting the metering data of a first part in a metering core simulation board;
putting the metering data of the first part in the metering core analog board into a queue;
reading the metering data from the head of the queue by using a management core, and detecting the metering data;
inquiring the number of metering data which are not copied in the metering core analog board queue, and after the metering data in the queue are lower than a preset value after each inquiry, sending a part of metering data to the tail of the queue of the metering core analog board until all the metering data of a plurality of parts are sent;
reading the metering data from the head of the queue, and detecting the metering data until the metering data is detected.
The metering data is analog metering data or collected metering data.
After the management core sends a data reading request to the metering core simulation board, the metering core simulation board feeds back data at the head of the queue to the management core.
And after the query request of the detection system master station is passed, the metering core simulation board feeds back the record to the detection system master station.
Wherein the preset value is 25-35% of the total number of data in the queue.
The process of the invention is further illustrated below with reference to examples:
as shown in fig. 3, the method comprises the following steps:
and constructing test data under the overvoltage and overcurrent working conditions, wherein the test data can be customized according to requirements and can also be real metering data.
And importing the test data into a test system.
After the detection process is started, a certain amount of test data is led to the metering core simulation board.
The metering core analog board stores the received data in a data queue of the storage area in sequence.
When the management core requests data from the metering core through the SPI communication interface, the metering core takes out the data from the head of the queue and returns the data to the management core.
The master station circularly inquires the data surplus of the metering core, and the metering core returns the data surplus.
When the main station inquires that the data residual quantity is lower than a certain proportion, such as 30%, a certain quantity of data is issued to the metering core simulation board again.
And repeating the steps 4-7 until the detection is finished.
The metering core simulation board can normally communicate with the management core, the data preset by the master station can simulate various working conditions, when the simulation system and the management core carry out data interaction, the simulation system can quickly respond to the request of the management core without data leakage, the management core can normally work, and the data response under various severe working conditions is simulated by controlling the data content responded by the metering core simulation board, so that potential safety hazards possibly existing in the management core software can be quickly and efficiently detected.
The invention can complete the test by consuming little electric energy, and is more environment-friendly.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein. The scheme in the embodiment of the application can be implemented by adopting various computer languages, such as object-oriented programming language Java and transliterated scripting language JavaScript.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While the preferred embodiments of the present application have been described, additional variations and modifications in those embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including preferred embodiments and all alterations and modifications as fall within the scope of the application.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present application without departing from the spirit and scope of the application. Thus, if such modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is intended to include such modifications and variations as well.

Claims (10)

1. An analog detection system for a metrology core, the system comprising:
the detection system master station simulates and outputs a preset amount of metering data, divides the metering data into a plurality of parts, presets a first part of the metering data on the metering core analog board, inquires the number of metering data which are not read in a metering core analog board queue, and sends a part of the metering data to the metering core analog board after inquiring that the metering data in the queue are lower than a preset value each time until all the metering data of the plurality of parts are sent;
the metering core simulation board is used for placing the metering data of the first part into a queue, and placing the metering data of the remaining part into the tail part of the queue after receiving the metering data of the remaining part;
and the management core reads the metering data from the head of the queue and detects the metering data.
2. The system of claim 1, the metering data being analog metering data or collected metering data.
3. The system of claim 1, wherein the management core sends a data reading request to the measurement core simulation board, and the measurement core simulation board feeds back data at the head of the queue to the management core.
4. The system of claim 1, wherein the number of metering data not copied in the queue is recorded by a metering core analog board, and the metering core analog board feeds back the record to the detection system master station after the query is requested by the detection system master station.
5. The system of claim 1, wherein the preset value is 25-35% of a total number of data in a queue.
6. A method of analog detection of a metrology core, the method comprising:
using a detection system master station to simulate and output a preset amount of metering data, dividing the metering data into a plurality of parts, and presetting the metering data of a first part in a metering core simulation board;
putting the metering data of the first part in the metering core analog board into a queue;
reading the metering data from the head of the queue by using a management core, and detecting the metering data;
inquiring the number of metering data which are not copied in the metering core analog board queue, and after the metering data in the queue are lower than a preset value after each inquiry, sending a part of metering data to the tail of the queue of the metering core analog board until all the metering data of a plurality of parts are sent;
reading the metering data from the head of the queue, and detecting the metering data until the metering data is detected.
7. The method of claim 6, the metrology data being analog metrology data or collected metrology data.
8. The method of claim 6, wherein the management core sends a data reading request to the measurement core simulation board, and the measurement core simulation board feeds back data at the head of the queue to the management core.
9. The method of claim 6, wherein the number of unread pieces of metering data in the queue is recorded by a metering core analog board, and the metering core analog board feeds back the record to the detection system master station after the query is requested by the detection system master station.
10. The method of claim 6, wherein the preset value is 25-35% of a total number of data in a queue.
CN202011480800.XA 2020-12-15 2020-12-15 Analog detection system and method for metering core Pending CN112684404A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011480800.XA CN112684404A (en) 2020-12-15 2020-12-15 Analog detection system and method for metering core

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011480800.XA CN112684404A (en) 2020-12-15 2020-12-15 Analog detection system and method for metering core

Publications (1)

Publication Number Publication Date
CN112684404A true CN112684404A (en) 2021-04-20

Family

ID=75448004

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011480800.XA Pending CN112684404A (en) 2020-12-15 2020-12-15 Analog detection system and method for metering core

Country Status (1)

Country Link
CN (1) CN112684404A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113447884A (en) * 2021-07-06 2021-09-28 国网江苏省电力有限公司营销服务中心 Automatic detection system and method for management core of intelligent Internet of things electric energy meter

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105425201A (en) * 2015-12-11 2016-03-23 中国电力科学研究院 Metering chip simulation test method used for intelligent electric energy meter software reliability detection
CN108445436A (en) * 2018-03-01 2018-08-24 宁波迦南智能电气股份有限公司 A kind of electric energy meter that twin-core operating status is mutually examined
US20180337867A1 (en) * 2017-05-18 2018-11-22 International Business Machines Corporation Throttling backbone computing regarding completion operations
CN111224849A (en) * 2020-03-11 2020-06-02 中国电力科学研究院有限公司 System and method for carrying out protocol consistency test on intelligent electric energy meter management core
CN112034413A (en) * 2020-07-22 2020-12-04 中国电力科学研究院有限公司 Multi-core modular electric energy meter detection system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105425201A (en) * 2015-12-11 2016-03-23 中国电力科学研究院 Metering chip simulation test method used for intelligent electric energy meter software reliability detection
US20180337867A1 (en) * 2017-05-18 2018-11-22 International Business Machines Corporation Throttling backbone computing regarding completion operations
CN108445436A (en) * 2018-03-01 2018-08-24 宁波迦南智能电气股份有限公司 A kind of electric energy meter that twin-core operating status is mutually examined
CN111224849A (en) * 2020-03-11 2020-06-02 中国电力科学研究院有限公司 System and method for carrying out protocol consistency test on intelligent electric energy meter management core
CN112034413A (en) * 2020-07-22 2020-12-04 中国电力科学研究院有限公司 Multi-core modular electric energy meter detection system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113447884A (en) * 2021-07-06 2021-09-28 国网江苏省电力有限公司营销服务中心 Automatic detection system and method for management core of intelligent Internet of things electric energy meter

Similar Documents

Publication Publication Date Title
CN106846176B (en) Electricity charge accounting system
CN102740247A (en) Method and device for generating warning message
CN103955789A (en) Power supply path analyzing method based on integrated model for allocation
CN102033798A (en) Method for simulating intelligent electronic device IEC61850/MMS (Microsoft media server) server
CN102929600A (en) ELF (executable and linkable format)-based monitoring system version recognition method
CN109582550B (en) Method, device and server for acquiring full-service scene fault set
CN111833018A (en) Patent analysis method and system for science and technology project
CN114511235A (en) Process evaluation method and system
CN112684404A (en) Analog detection system and method for metering core
CN111861186A (en) Method for detecting power grid risk event and acquiring power failure equipment
CN109375146B (en) Supplementary collection method and system for electricity consumption data and terminal equipment
CN108388753A (en) A kind of design method, device, system and the storage medium of the wiring of SIS cabinets
CN114201346A (en) HIL (hardware-in-the-loop) testing method and device of CAN (controller area network) communication interface and electronic equipment
CN102855297B (en) A kind of method of control data transmission and connector
CN103825273A (en) Power distribution network accident process retrieval method by using feeder line contact group as unit
CN111191299A (en) Automatic generation method for computer interlocking system cabinet production drawing
CN115827179A (en) Computing power scheduling method, device, equipment and storage medium for physical machine equipment
CN112446619B (en) Power distribution network rush-repair processing method and device
CN115268734A (en) Quotation generation method, device, equipment and storage medium based on quotation tool
CN112055086B (en) IIS site, release and management method of Windows service, operation and maintenance system and platform
CN112541841A (en) Method and device for simulating past and future data and terminal equipment
CN114418237A (en) Distribution network power supply safety capability evaluation standard quantification method, system, equipment and medium
CN112686703A (en) Automatic generation and query method for national household industry price and electronic equipment
CN112596806A (en) Data lake data loading script generation method and system
CN103678636A (en) System and method for improving reliability of component software system

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20210420