CN103914540A - Processing method for flexibly configuring ammeter specifications for ammeter reading - Google Patents
Processing method for flexibly configuring ammeter specifications for ammeter reading Download PDFInfo
- Publication number
- CN103914540A CN103914540A CN201410133263.XA CN201410133263A CN103914540A CN 103914540 A CN103914540 A CN 103914540A CN 201410133263 A CN201410133263 A CN 201410133263A CN 103914540 A CN103914540 A CN 103914540A
- Authority
- CN
- China
- Prior art keywords
- ammeter
- stipulations
- data
- specifications
- reading
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/25—Integrating or interfacing systems involving database management systems
Abstract
A processing method for flexibly configuring ammeter specifications for ammeter reading is characterized by including steps of (1) analyzing characteristic items of various ammeter specifications and acquiring and analysis templates of ammeter data and establishing a specification database for processing the ammeter data in a software database; (2) establishing an ammeter file in the software database, assigning specifications applied in ammeters in the specification databases, and meanwhile, establishing mapping of the ammeter file and the specification database according to matching items, etc. By establishing the configurable ammeter specification database, specifications of the ammeters can be configured during massive reading, and flexibility and adaptability degree of configuration are increased, and by the aid of the processing method, the purposes of simply arranging massive reading devices and easily popularizing are achieved.
Description
Technical field
The present invention relates to low-voltage collecting meter reading technical field.
Background technology
At present, in the time building low-voltage collecting meter reading system, due to the problem of the ammeter manufacturer of user's side, ammeter production time, ammeter Type-Inconsistencies, cause centralized meter-reading system need to gather the stipulations of ammeter various, although there is the device that can gather multiple producer ammeter at present, but the disposal route of this device is little in flexibility ratio aspect the changeable stipulations of reply, be not easy to configuration management, ammeter stipulations region are relied on large, is unfavorable for deployment, the propagation and employment of device.
Summary of the invention
Configurable ammeter stipulations storehouse is set up in utilization of the present invention, realizes collection and copies the stipulations that can configure each ammeter in process, will strengthen the flexibility ratio configuring and adapt to intensity, adopts the collection copy device of the realization of the method to dispose simple, to be easy to popularization object by reaching.
To achieve these goals, the invention provides following technical scheme.
Disposal route that flexibly can power distributing meter stipulations for electricity meter-reading, the inventive method is as follows,
(1) analyze the characteristic item of all kinds of ammeter stipulations and the template of ammeter data collection and parsing, in software database, set up the stipulations storehouse of ammeter data processing;
(2) in software database, set up ammeter archives, and specify in the stipulations that in stipulations storehouse, ammeter adopts, the mapping of setting up ammeter archives and stipulations storehouse according to occurrence simultaneously;
(3) in the time will gathering ammeter A data, process the acquisition that generates this ammeter according to the acquisition module in indication stipulations storehouse in ammeter A archives, when after ammeter return data, first by the template processing of normally returning of ammeter A, if process unsuccessfully again according to A extremely return to template processing, if or failure mate parsing according to stipulations storehouse.
Effect of the present invention is: configurable ammeter stipulations storehouse is set up in utilization of the present invention, realize collection and copy the stipulations that can configure each ammeter in process, to strengthen flexibility ratio and the adaptation intensity of configuration, and adopt the collection copy device that the method realizes to dispose simple, to be easy to popularization object by reaching.
Accompanying drawing explanation
Fig. 1 utilizes this disposal route to realize the schematic diagram of checking meter.
Embodiment
Below in conjunction with drawings and Examples, the present invention is described in more detail.
Disposal route that flexibly can power distributing meter stipulations for electricity meter-reading, the inventive method is as follows,
(1) analyze the characteristic item of all kinds of ammeter stipulations and the template of ammeter data collection and parsing, in software database, set up the stipulations storehouse of ammeter data processing;
(2) in software database, set up ammeter archives, and specify in the stipulations that in stipulations storehouse, ammeter adopts, the mapping of setting up ammeter archives and stipulations storehouse according to occurrence simultaneously;
(3) in the time will gathering ammeter A data, process the acquisition that generates this ammeter according to the acquisition module in indication stipulations storehouse in ammeter A archives, when after ammeter return data, first by the template processing of normally returning of ammeter A, if process unsuccessfully again according to A extremely return to template processing, if or failure mate parsing according to stipulations storehouse
As shown in Figure 1, method of the present invention is as follows:
(1) set up ammeter stipulations storehouse;
Set up stipulations storehouse, first analyze the characteristic item of ammeter stipulations:
In coding, every value format analysis processing is " start bit, length, value ", i.e. " sp, len, val ".If multinomial value is expressed as " (sp, len, val), (sp, len, val) ... (sp, len, val) ".Wherein sp (start bit) represents the relative start bit of this processing domain, and len (length) represents the length of this processing domain, and val (value) represents the value in this territory.
As: condition code is with 0x68 beginning, with 0x16 ending, is specifically expressed as (0,1,68) (1,1,16).
Check code is that position is the 2nd reciprocal, and length 1 byte, adopts cumulative mode, concrete represent (2,1,0), and its intermediate value is the verification mode that 0 expression adopts.
Address code is that reference position is the 2nd, and length is 6 bytes, is specifically expressed as (1,6,000000000000).
Note: relatively start bit refers to that start bit can calculate (start several since 0) from the outset, also can calculate from end (reciprocal is negative, from-1), and the computing formula of actual initial place value is:
Actual reference position=message total length+start bit relatively.
Secondly analyze the processing of each data item of ammeter:
Sequence number | Definition | Code name |
? | So-called Regularia | RuleDll |
? | Type | Type |
? | Data acquisition board | GetCmd |
? | Normal response template | SuccessReturnCmd |
? | Exception response template | FailReturnCode |
? | Normal response data field | SuccessDataArea |
? | Exception response data item | FailDataArea |
? | Normal response data field is described | SuccessDataDetail |
? | Exception response data field is described | FailDataDetail |
The processing format of data field is " start bit, length, value ", i.e. " sp, len, val ".If multinomial value is expressed as " (sp, len, val), (sp, len, val) ... (sp, len, val) ".Wherein sp (start bit) represents the relative start bit of this processing domain, and len (length) represents the length of this processing domain, and val (value) represents the value in this territory.
Data field describe processing format be " valDetail, valDetail ..., valDetail ", this processing is corresponding with the value of data field.
(2) set up the mapping in ammeter and stipulations storehouse, realize the corresponding a set of stipulations of an ammeter.
(3) in the time will gathering ammeter data, according to the stipulations storehouse of indication in ammeter archives, find the acquisition module of the data item that will gather, by replacing after the electric meter address in acquisition module, revise again the check bit of acquisition, so just realized the acquisition that changes these data of ammeter.After order is returned, first resolve by the parsing template of normal return data, if resolve unsuccessfully, resolve by the parsing template of extremely returning.
Example:
In certain centralized meter-reading system, ammeter archives and stipulations are as follows:
(1) ammeter archives:
Sequence number | Electric meter address | The stipulations that adopt |
1 | 592700102000 | Rule1 |
2 | 592700102000 | Rule1 |
3 | 592700102000 | Rule2 |
(2) stipulations characteristic item
Stipulations storehouse numbering | Condition code | Address code | Control code length code | Check code |
Rule1 | (0,1,68),(-1,1,16) | (1,6,00000000000) | (8,1,00)(9,1,00) | (-1,1,00) |
Rule2 | (0,1,68),(-1,1,16) | (1,6,00000000000) | (8,1,00)(9,1,00) | (-1,1,00) |
(3) stipulations subitem
A. gather electric weight
Sequence number | Definition | Code name |
? | Subitem gathers | Electric weight |
? | So-called Regularia | Rule1 |
? | Type | 33333333 |
? | Data acquisition board | 68522700102000681104333333335A16 |
? | Normal response template | 685227001020006891083333333357363433D216 |
? | Exception response template | 6859270010200068D101378916 |
? | Normal response data field | 14,4,2 |
? | Exception response data item | 14,1,0 |
? | Normal response data field is described | Forward total electric weight of gaining merit |
? | Exception response data field is described | ? |
B. gather power
Above-mentioned is the collection stipulations method of set up/configuration ammeter, below to gather electric weight and power analysis as example:
A. gather electric weight (ammeter 1:582700102000)
Show that according to ammeter configuration adopting stipulations is Rule1, what be associated to stipulations subitem draws its acquisition module and response template simultaneously.Draw by replacing electric meter address and correcting check bit the acquisition (68592700102000681104333334336216) that gathers electric weight, send and gather electric weight order.
1) monitoring the data returned is: 6859270010200068910833333433B66433336616, first adopts the template of correct response to resolve, data field: 14,4,2, and data field start bit 14, length 4, precision 2(is accurate to after radix point 2).Analyze to obtain value, be described as electric weight 31.83kWh.
B. gather power (ammeter 1:592700102000)
1) show that according to ammeter configuration adopting stipulations is Rule1, what be associated to stipulations subitem draws its acquisition module and response template simultaneously.Draw by replacing electric meter address and correcting check bit the acquisition (68592700102000681104354336387B16) that gathers ammeter, send acquisition.
2) monitoring the data of returning is: 6859270010200068911C354336383333333333333333333333333333 33333333333333333333DB16, first adopt the template of correct response to resolve, data field: (14, 3, 4), (17, 3, 4), (20, 3, 4), (23, 3, 4), (26, 3, 4), (29, 3, 4), (32, 3, 4), (35, 3, 4), illustrate that this data field has multinomial data, being described as of correspondence respectively: total active power, A phase active power, B phase active power, C phase active power, total reactive power, A phase reactive power, B phase reactive power, C phase reactive power.According to the start bit of every item number certificate, length, precision, resolve respectively to obtain value: total active power: 0.0000W; A phase active power: 0.0000W; B phase active power: 0.0000W; C phase active power: 0.0000W; Total reactive power: 0.0000W; A phase reactive power: 0.0000W; B phase reactive power: 0.0000W; C phase reactive power: 0.0000W.
Claims (1)
1. a disposal route that flexibly can power distributing meter stipulations for electricity meter-reading, its feature, method comprise the following steps:
(1) analyze the characteristic item of all kinds of ammeter stipulations and the template of ammeter data collection and parsing, in software database, set up the stipulations storehouse of ammeter data processing;
(2) in software database, set up ammeter archives, and specify in the stipulations that in stipulations storehouse, ammeter adopts, the mapping of setting up ammeter archives and stipulations storehouse according to occurrence simultaneously;
(3) in the time will gathering ammeter A data, process the acquisition that generates this ammeter according to the acquisition module in indication stipulations storehouse in ammeter A archives, when after ammeter return data, first by the template processing of normally returning of ammeter A, if process unsuccessfully again according to A extremely return to template processing, if or failure mate parsing according to stipulations storehouse.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410133263.XA CN103914540A (en) | 2014-04-03 | 2014-04-03 | Processing method for flexibly configuring ammeter specifications for ammeter reading |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410133263.XA CN103914540A (en) | 2014-04-03 | 2014-04-03 | Processing method for flexibly configuring ammeter specifications for ammeter reading |
Publications (1)
Publication Number | Publication Date |
---|---|
CN103914540A true CN103914540A (en) | 2014-07-09 |
Family
ID=51040220
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410133263.XA Pending CN103914540A (en) | 2014-04-03 | 2014-04-03 | Processing method for flexibly configuring ammeter specifications for ammeter reading |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103914540A (en) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104778547A (en) * | 2015-04-14 | 2015-07-15 | 积成电子股份有限公司 | Self-learning meter reading method for power-expenditure information of power consumer |
CN106373355A (en) * | 2016-08-30 | 2017-02-01 | 宁波三星医疗电气股份有限公司 | Method for collecting multiple different types of meter data by using single device |
CN106600936A (en) * | 2016-12-30 | 2017-04-26 | 武汉盛帆智能科技有限公司 | Centralized multi-meter reading method and device |
CN106652415A (en) * | 2016-12-30 | 2017-05-10 | 武汉盛帆智能科技有限公司 | Processing method and device of protocol for concentrated reading of multiple meters |
CN109698813A (en) * | 2017-10-23 | 2019-04-30 | 中兴通讯股份有限公司 | A kind of intelligent meter data recording system and method |
CN111833578A (en) * | 2019-04-22 | 2020-10-27 | 河南许继仪表有限公司 | Electricity consumption information acquisition system, NB-IoT communication module and communication method thereof |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101562600A (en) * | 2008-04-18 | 2009-10-21 | 东莞市腾华电子技术有限公司 | Electric power automation communication protocol self-adaptive method based on condition code |
CN101710739A (en) * | 2009-12-21 | 2010-05-19 | 中国电力科学研究院 | Data processing system and method for protecting control equipment of digital substation |
CN102014118A (en) * | 2010-08-13 | 2011-04-13 | 深圳市科陆电子科技股份有限公司 | Method for reading multiple electric energy meters generally |
CN102624685A (en) * | 2011-11-24 | 2012-08-01 | 广东高新兴通信股份有限公司 | Encodable protocol processing method for intelligent equipment |
-
2014
- 2014-04-03 CN CN201410133263.XA patent/CN103914540A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101562600A (en) * | 2008-04-18 | 2009-10-21 | 东莞市腾华电子技术有限公司 | Electric power automation communication protocol self-adaptive method based on condition code |
CN101710739A (en) * | 2009-12-21 | 2010-05-19 | 中国电力科学研究院 | Data processing system and method for protecting control equipment of digital substation |
CN102014118A (en) * | 2010-08-13 | 2011-04-13 | 深圳市科陆电子科技股份有限公司 | Method for reading multiple electric energy meters generally |
CN102624685A (en) * | 2011-11-24 | 2012-08-01 | 广东高新兴通信股份有限公司 | Encodable protocol processing method for intelligent equipment |
Non-Patent Citations (1)
Title |
---|
庄克玉等: "基于低压电力无线集中抄表系统的数据采集终端", 《WWW.DZSC.COM/DATA/HTML/2011-8-24/93841.HTML》 * |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104778547A (en) * | 2015-04-14 | 2015-07-15 | 积成电子股份有限公司 | Self-learning meter reading method for power-expenditure information of power consumer |
CN104778547B (en) * | 2015-04-14 | 2018-07-06 | 积成电子股份有限公司 | A kind of power consumer electricity consumption information self-learning type meter register method |
CN106373355A (en) * | 2016-08-30 | 2017-02-01 | 宁波三星医疗电气股份有限公司 | Method for collecting multiple different types of meter data by using single device |
CN106373355B (en) * | 2016-08-30 | 2019-09-20 | 宁波三星医疗电气股份有限公司 | A kind of method that single device acquires a variety of different type meter datas |
CN106600936A (en) * | 2016-12-30 | 2017-04-26 | 武汉盛帆智能科技有限公司 | Centralized multi-meter reading method and device |
CN106652415A (en) * | 2016-12-30 | 2017-05-10 | 武汉盛帆智能科技有限公司 | Processing method and device of protocol for concentrated reading of multiple meters |
CN109698813A (en) * | 2017-10-23 | 2019-04-30 | 中兴通讯股份有限公司 | A kind of intelligent meter data recording system and method |
CN111833578A (en) * | 2019-04-22 | 2020-10-27 | 河南许继仪表有限公司 | Electricity consumption information acquisition system, NB-IoT communication module and communication method thereof |
CN111833578B (en) * | 2019-04-22 | 2021-06-04 | 河南许继仪表有限公司 | Electricity consumption information acquisition system, NB-IoT communication module and communication method thereof |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103914540A (en) | Processing method for flexibly configuring ammeter specifications for ammeter reading | |
CN103714177A (en) | Method for processing flexible configurable electricity meter stipulations in electric power meter reading and method for meter reading | |
CN103279542B (en) | Data import processing method and data processing equipment | |
CN102750406B (en) | Multi-version management method for model set and difference model-based power grid model | |
CN104462604A (en) | Data processing method and system | |
CN102207946B (en) | Knowledge network semi-automatic generation method | |
CN104624509A (en) | Automatic sorting system and automatic sorting method for express delivery | |
CN105099729A (en) | User ID (Identification) recognition method and device | |
CN103268362A (en) | Auxiliary design method of virtual terminals on basis of general template and key character matching | |
CN104063519A (en) | BPA power grid data analyzing and managing method and system based on EXCEL | |
CN106126528A (en) | A kind of moonlet based on platform model test Back ground Information generates method | |
CN105930170A (en) | SCD file semantic version management method based on comparison analysis results | |
CN106933691A (en) | A kind of recognition methods and system for abnormity point in seasonal time series data sequence | |
CN105119282A (en) | On-line calculation system and method for theoretical line loss of power grid | |
WO2016036386A1 (en) | Dynamically generating an aggregation routine | |
EP2897401A1 (en) | Method and device for guaranteeing consistency of planning data | |
CN104408020A (en) | Formula parsing calculation system and method | |
CN104796300A (en) | Method and device for data packet feature extraction | |
CN105117860A (en) | Internet work attendance system and method on the basis of a facial recognition device | |
CN111966707A (en) | Query statement generation method and device, electronic equipment and computer readable medium | |
CN103914501A (en) | Power industry real-time reporting method based on massive real-time database | |
CN107562964A (en) | A kind of crops pedigree construction method, database, retroactive method and system | |
CN107908731B (en) | PSD-BPA-based Guangxi power grid area load data batch modification method | |
CN103268329B (en) | Plasma panel manufacturing process data digging system | |
CN105404608A (en) | Formula analysis based complicated index set calculation method and system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20140709 |
|
WD01 | Invention patent application deemed withdrawn after publication |