CN104881990A - Multi-protocol parallel acquisition technology based energy consumption data acquisition unit and acquisition method thereof - Google Patents

Multi-protocol parallel acquisition technology based energy consumption data acquisition unit and acquisition method thereof Download PDF

Info

Publication number
CN104881990A
CN104881990A CN201510320684.8A CN201510320684A CN104881990A CN 104881990 A CN104881990 A CN 104881990A CN 201510320684 A CN201510320684 A CN 201510320684A CN 104881990 A CN104881990 A CN 104881990A
Authority
CN
China
Prior art keywords
data
acquisition
interface
energy consumption
data acquisition
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.)
Withdrawn
Application number
CN201510320684.8A
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.)
Hefei City Emblem Rises Network Technology Co Ltd
Original Assignee
Hefei City Emblem Rises Network 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 Hefei City Emblem Rises Network Technology Co Ltd filed Critical Hefei City Emblem Rises Network Technology Co Ltd
Priority to CN201510320684.8A priority Critical patent/CN104881990A/en
Publication of CN104881990A publication Critical patent/CN104881990A/en
Withdrawn legal-status Critical Current

Links

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention provides a multi-protocol parallel acquisition technology based energy consumption data acquisition unit and an acquisition method thereof. An acquisition module of the data acquisition unit comprises a data acquisition unit, a data processing unit, a data real-time value buffering unit, a data storage unit and a data uploading unit. The data acquisition unit comprises a plurality of acquisition interfaces different in protocol, corresponding protocol libraries are loaded according to configuration files, initialization is performed according to initialization functions in the protocol libraries, and data acquisition is performed by combining a universal method and a special method. The data processing unit is connected with the data acquisition unit and receives and processes data acquired by the data acquisition unit. The data uploading unit is connected with the data real-time value buffering unit and the data storage unit and is provided with an IP address of an energy consumption management center and a port, initialization is performed according to preset initialization functions, and connection with the energy consumption management center is established to resume historical data or upload real-time data.

Description

Based on energy consumption data acquisition device and the acquisition method thereof of multi-protocols parallel acquisition technique
Technical field
The present invention relates to data collecting field, particularly a kind of energy consumption data acquisition device based on multi-protocols parallel acquisition technique and acquisition method thereof.
Background technology
Heat up at global energy-saving and emission-reduction operation duration, under energy-saving and emission-reduction importance continues the background promoted, energy-conserving and environment-protective industry has emerged all kinds of power-saving technology.Realize energy-saving and emission-reduction, the statistics of energy resource consumption present situation, analysis, carry out energy information work, carrying out with monitoring to current big power consumer is important element task.
Current, energy consumption measurement instrument mainly comprises the instrument such as electric energy meter, calorimeter, water meter, gas meter.The task of energy consumption monitoring is by the data of these energy consumption measurement instrument by means of communication, and concentrated collection also gathers to managing power consumption center, then is undertaken analyzing and optimizing by the software at managing power consumption center.Usually, the communication interface of electric energy meter adopts based on the MODBUS rtu protocol of RS485 or DL/T645-1997, DL/T645-2007 agreement; Calorimeter, water meter, gas meter adopt CJ/T188-2004 agreement.In addition, because managing power consumption center is often divided into enterprise-level, City-level, the many levels such as provincial, national from aspect, energy consumption data needs the administrative center uploading to different aspects.
In industry, the data acquisition unit provided by manufacturers often only supports a kind of standard agreement or himself self-defining communication protocol, cannot gather the instrument of the third Protocol.This cannot use the collector of each manufacturers to gather energy consumption data with regard to causing.From connection and the reliability at collector and managing power consumption center, existing collector often only supports a managing power consumption center, often can only accomplish that the energy consumption data of enterprise-level is concentrated.Meanwhile, in collector and managing power consumption in the heart communication disruption, during there will be communication disruption energy consumption data lose situation.
Summary of the invention
The present invention is directed to prior art above shortcomings, provide a kind of energy consumption data acquisition device based on multi-protocols parallel acquisition technique, the energy-consumption meter meeting standard agreement can be gathered, and provide the process such as unit conversion, warning of gathered energy consumption data, and by the data upload after process to multiple energy consumption data center.This collector can store history energy consumption data, guarantees that the energy consumption data during collector and energy consumption data center communicating interrupt is not lost.This collector is built-in Web page configuration interface also, can is conveniently configured acquisition parameter by Web and adjust.
The present invention is achieved through the following technical solutions:
Based on an energy consumption data acquisition device for multi-protocols parallel acquisition technique, it is characterized in that, comprising:
Acquisition module, in order to data acquisition and processing (DAP);
Configuration module, in order to configuration based on the configuration interface of the access network of the energy consumption data acquisition device of multi-protocols parallel acquisition technique and generating configuration file; And,
Diagnostic module, periodically sends heartbeat notification to acquisition module and configuration module, and receives response, in order to monitor whether acquisition module and configuration module normally run;
Wherein, acquisition module comprises: data acquisition unit, data processing unit, data instantaneous value buffer cell, data storage cell and data upload unit;
Data acquisition unit comprises the acquisition interface of some different agreements, loads corresponding protocol library, and carries out initialization according to the initialization function in protocol library, carry out data acquisition in conjunction with general with special method according to configuration file;
Data processing unit connection data collecting unit, receive the data that data acquisition unit acquires arrives, row relax of going forward side by side, in order to reduce the processing pressure at managing power consumption center;
Data instantaneous value buffer cell connection data processing unit, in order to cushion the data after process;
Data storage cell connection data instantaneous value buffer cell, in order to store data;
Data upload unit connection data instantaneous value buffer cell and data storage cell, IP address and the port at managing power consumption center are set, and carry out initialization according to the initialization function preset, set up the connection with managing power consumption center, resume historical data or upload real time data.
Preferably, configuration interface comprises configuration software configuration interface and Web page configuration interface;
Web page configuration interface is in order to configure based on the network interface IP address of the energy consumption data acquisition device of multi-protocols parallel acquisition technique, the IP address at managing power consumption center and port, to encode based on the building of the energy consumption data acquisition device of multi-protocols parallel acquisition technique;
Configuration software configuration interface in order to configure attribute, the agreement of acquisition interface, and adds instrument node in acquisition interface, and the attribute of configuration instrument, then adds acquisition node on instrument node, and the attribute of configuration acquisition node, with generating configuration file.
Preferably, acquisition module also comprises some RS485 interfaces, some RJ45 interfaces, wave point, transmits in order to data.
Preferably, data acquisition unit adopts multithreading, and the acquisition interface of some different agreements creates an independently collecting thread respectively.
Preferably, data storage cell adopt multifile dispersion history data store, with hour for interval generation history data file, be stored in corresponding folder by date structure.
The present invention separately provides a kind of energy consumption data acquisition method based on multi-protocols parallel acquisition technique, the energy-consumption meter meeting standard agreement can be gathered, and the process such as unit conversion, warning to gathered energy consumption data, and by the data upload after process to multiple energy consumption data center.
Based on an energy consumption data acquisition method for multi-protocols parallel acquisition technique, provide the above-mentioned energy consumption data acquisition device based on multi-protocols parallel acquisition technique, and execution comprises the following steps:
S1, initialization is carried out to each acquisition interface;
S2, the protocol library corresponding to each acquisition interface loading according to configuration file;
S3, according to the initialization function in protocol library, initialization is carried out to the instrument in acquisition interface and collection point;
S4, carry out data acquisition in conjunction with general with special method;
S5, the data collected to be processed, to reduce the processing pressure at managing power consumption center;
S6, by process after data be stored into data storage cell;
S7, initialization is carried out to managing power consumption center, its IP address and port is set;
S8, according to the initialization function in protocol library, initialization is carried out to the key at managing power consumption center, building coding;
S9, to connect and certification with managing power consumption center;
S10, basis broken string situation before, resume historical data and upload real time data;
Wherein, described S1 and S7 starts simultaneously, asynchronous execution.
Preferably, each acquisition interface comprises the RS485 interface being configured with MODUBS RTU or DL/T645-2007 acquisition protocols.
Preferably, the data acquisition flow of RS485 interface comprises:
S11, serial ports attribute is set according to the baud rate in configuration file, parity information, then from protocol library, selects corresponding protocol library to load according to the acquisition protocols name of this RS485 interface in configuration file;
S12, utilize the initialization function of this protocol library that the device address of lower extension instrument, the register address, collection period etc. of each collection point are set, form one and gather queue, just start formal collection circulation afterwards.
Preferably, step S12 comprises:
Take out the next target needing to gather from gathering queue at every turn, the good data query frame of group bag group of functions of protocol library is used to send from RS485 interface, then the Frame awaited a response in time-out time also uses the verification function of protocol library to verify it, utilize the analytical function of protocol library to carry out resolving the numerical value obtaining each collection point when verification succeeds, then judge whether further to exceed number of retries when taking defeat or verify failure, if when will not exceed expired times, retry sends data query frame, if exceeded number of retries, the Quality Codes then utilizing the analytical function of protocol library to carry out collection point upgrades, after being parsed, this collection target is turned back to again the correct position of queue, then the next collection gathering target is started.
Accompanying drawing explanation
Shown in Fig. 1 is structural representation of the present invention;
Shown in Fig. 2 is the structural representation of acquisition module of the present invention;
Shown in Fig. 3 is the structural representation of data acquisition unit of the present invention;
Shown in Fig. 4 is the workflow diagram of the present invention one acquisition interface;
Shown in Fig. 5 is the workflow diagram of data upload unit of the present invention;
Shown in Fig. 6 is the workflow diagram of building energy consumption directive/guide of the present invention.
Embodiment
Below with reference to accompanying drawing of the present invention; clear, complete description and discussion are carried out to the technical scheme in the embodiment of the present invention; obviously; as described herein is only a part of example of the present invention; it is not whole examples; based on the embodiment in the present invention, the every other embodiment that those of ordinary skill in the art obtain under the prerequisite not making creative work, all belongs to protection scope of the present invention.
For the ease of the understanding to the embodiment of the present invention, be further explained for specific embodiment below in conjunction with accompanying drawing, and each embodiment does not form the restriction to the embodiment of the present invention.
As shown in Figure 1, the whole energy consumption data acquisition device based on multi-protocols parallel acquisition technique by: acquisition module 1, configuration module 2, diagnostic module 3 are formed.
As shown in Figure 2, acquisition module 1 is subdivided into data acquisition unit 11, data processing unit 12, data instantaneous value buffer cell 13, data storage cell 14 and data upload unit 15, and it is the core cell of whole collector.
Data instantaneous value buffer cell 13 is the panel region being used for preserving all collection points real time data (comprising Real-time Collection value, acquisition time stamp, Quality Codes etc.) of opening up in internal memory; the interface of providing convenience is for other unit amendment (being generally data processing unit 12) and read (being generally data storage cell 14 and data upload unit 15); use protection lock mechanism in the interface, ensure that data security during multithreading operation.
Data acquisition unit 11 utilizes multithreading, each acquisition interface create respectively one independently collecting thread be responsible for the collecting work of this interface, conveniently realize the concurrent collection of each interface with this, improve collecting efficiency; In addition data acquisition unit 11 also utilizes the technology of dynamic link library, according to the feature of each acquisition interface, general flow process, method are extract and be integrated among master routine, flow process special for different acquisition agreement, method is independent, be packaged in different protocol code storehouses respectively, facilitate with this and improve the extensibility of data acquisition unit 11.
The workflow of data acquisition unit 11 as shown in Figure 3, each interface is when gatherer process starts, first general initialization is carried out to this interface, as the baud rate of RS485 interface, the frequency ranges of wave point etc. (are some general methods: the method namely do not changed with protocol changes here, except initialized example here, also comprise, interface is to the transmission of data and reception etc.), then from protocol code storehouse (being later called for short protocol library), corresponding protocol library is selected to load according to the acquisition protocols name of interface configuration each in configuration file, then the initialization function in protocol library is used to carry out initialization to the instrument on this interface and collection point, the address of following extension instrument, the collection period of collection point etc. (are some special methods: the disposal route that namely different agreement is different here, except initialized example here, also comprise, the verification of each agreement different pieces of information frame, resolve), finally in conjunction with general with special flow process, method realizes gatherer process, in the present invention, general in special flow process, method is all adopt existing method, therefore, the present invention does not repeat at this.
Below to be configured with the RS485 interface of MODUBS RTU acquisition protocols, illustrate the workflow of data acquisition unit 11:
As shown in Figure 4, the main capture program of this RS485 interface is first according to the baud rate in configuration file, the information such as parity checking arrange serial ports attribute, from protocol library, corresponding protocol library is selected to load according to the acquisition protocols name (MODBUSRTU) of this interface in configuration file again, then utilize the initialization function of this protocol library that the device address of lower extension instrument is set, the register address of each collection point, collection period etc., form one and gather queue, just start formal collection circulation afterwards: take out the next target (set of collection point) needing to gather from gathering queue at every turn, the good data query frame of group bag group of functions of protocol library is used to send from RS485 interface, then the Frame awaited a response in time-out time also uses the verification function of protocol library to verify it, utilize the analytical function of protocol library to carry out resolving the numerical value obtaining each collection point when verification succeeds, then judge whether further to exceed number of retries when taking defeat or verify failure, if when will not exceed expired times, retry sends data query frame, if exceeded number of retries, the Quality Codes then utilizing the analytical function of protocol library to carry out collection point upgrades, after being parsed, this collection target can be turned back to again the correct position of queue, then the next collection gathering target is started.
The data that data processing unit 12 can obtain data acquisition unit 11 are processed further and process, and comprise data reduction, data variation warning etc., the expression formula of process is supported parenthesizedly to add, subtract, multiplication and division, with or etc. computing.By data processing unit, the pressure of server data process can be reduced significantly, obtain desired data etc. more timely, thus expand the range of application of collector.As, at collector layer, electricity can be multiplied by unit price and be scaled expense, server can directly be added up; Also at collector layer, all submeter data (electricity, flow etc.) can be carried out System, reduce calculating pressure when server gathers data; Also can identify abnormal data announcement server in time at once when data acquisition, realize failure notification etc. faster.
Data storage cell 13 is responsible to be stored in storage medium (can be CF card, SD card, TF card, nandflash etc.) in the specific format by the data after process.1G memory capacity, can ensure that more than 1 month historical data is preserved with the memory gap of 60 seconds in 2000 collection points.Energy consumption data acquisition device adopts multifile dispersion history data store, with 1 hour for interval generates history data file, exist in corresponding file by date structure, facilitate index and compression, in addition, when breaking down in storage medium local, only the history file at place, trouble spot is destroyed, fault incidence is limited in local, ensures that other historical datas still can use.If not high to storage capacity requirement, also can adopt redundancy preservation mechanism (or hardware group raid1 or software preserve many parts etc.), improve the security of data further.In addition data storage cell is also responsible for the broken string information recording each managing power consumption center, for resuming of historical data provides record.
Data upload unit 14 is responsible for energy consumption data to report to managing power consumption center.Identical with data acquisition unit 11, energy consumption data acquisition device utilizes multithreading to realize multicenter and concurrently to upload (user can also this set up multipotency consumption administrative center to realize redundancy), the convenient expansion utilizing dynamic link library technology to realize uploading protocol (can be supported " government offices' office building and large public building energy-consumption monitoring system subitem energy consumption data transmission technology directive/guide " (hereinafter referred to as building energy consumption directive/guide), " regenerative resource Application in Building demonstrative project data monitoring system fire protection technology ", ModbusTcp, EnergyWise etc.), as shown in Figure 5, first the data upload unit 14 at each center carries out general initialization to this center, as the phase IP of server, port etc., and then select to load protocol code storehouse according to protocol name, to this service, it carries out protocol initializing in recycling protocol code storehouse, as key, upload the cycle etc., finally start to carry out data upload with this managing power consumption center.
The simple communication flow illustrating collector and managing power consumption center for the managing power consumption center being configured with building energy consumption directive/guide below:
As Fig. 5, shown in Fig. 6, first the data upload unit 14 at each center carries out general initialization to this center, IP is set, port etc., then protocol code storehouse corresponding to building energy consumption directive/guide is loaded according to protocol name, next the key at this center of initialization function initialization of protocol library is utilized, building coding waits other information, then start to connect and certification with server, when connection establishment and after authentication success, according to broken string situation before, resume historical data and upload real time data and prepare other instructions at reception server center, when needs exit time, end data uploading operation.Here can start with the data acquisition unit shown in Fig. 3, asynchronous execution simultaneously.
Configuration module 2 is interactive interfaces of collector and user, is divided into configuration software configuration interface and Web page configuration interface.WEB configure the page can arrange the network interface IP address of collector, the IP address at managing power consumption center and port, amendment collector building coding etc. provide configuration interface for collector access network; In configuration software client, collector represents with tree derivation form, each acquisition interface is configurable, user first can revise the attribute (baud rate etc.), acquisition protocols etc. of acquisition interface, then on each interface, instrument node is added, the attribute (meter address etc.) of configuration instrument, then on instrument node, collection point is added, the attribute (register address, data item, collection period, conversion expression formula etc.) of configuration collection point, last generating configuration file downloads to collector, and the configuration file that such collector just can be new carries out collecting work.
Whether diagnostic module 3 charge of overseeing acquisition module 1, configuration module 2 normally run, when it breaks down, and record trouble information, and restart trouble unit, thus improve the availability of whole collector.Its principle of work is periodically send heartbeat notification to other unit, and await a response, other unit must add that heartbeat is responded in working cycle in link (the 6th step as in Fig. 4, in Fig. 6), other unit are once break down like this, diagnosis unit just cannot receive heartbeat at the appointed time and respond, thus judge whether other unit normally run, when breaking down, record trouble time of origin, generating unit, and restart trouble unit, improve the recovery capability gathered, ensure normally to run.
On the basis of above-described embodiment, the present invention separately provides a kind of energy consumption data acquisition method based on multi-protocols parallel acquisition technique, comprises the following steps:
S1, initialization is carried out to each acquisition interface;
S2, the protocol library corresponding to each acquisition interface loading according to configuration file;
S3, according to the initialization function in protocol library, initialization is carried out to the instrument in acquisition interface and collection point;
S4, carry out data acquisition in conjunction with general with special method;
S5, the data collected to be processed, to reduce the processing pressure at managing power consumption center;
S6, by process after data be stored into data storage cell;
S7, initialization is carried out to managing power consumption center, its IP address and port is set;
S8, according to the initialization function in protocol library, initialization is carried out to the key at managing power consumption center, building coding;
S9, to connect and certification with managing power consumption center;
S10, basis broken string situation before, resume historical data and upload real time data;
Wherein, described S1 and S7 starts simultaneously, asynchronous execution.
Energy consumption data acquisition device hardware based on multi-protocols parallel acquisition technique adopts ARM9 processor, 1GB CF card memory, 64MB SDRAM, and provides 4 RS485 interfaces, 1 road Ethernet RJ45 mouth, 1 road GPRS wave point.This hardware foundation as required, can expand other interfaces, as increased more RS485 interfaces, adding RS232 interface, adding wireless acquisition interface etc., to increase the ability of data acquisition, improve the usable range of energy consumption collector; Also can increase multichannel RJ45 mouth, by arranging concrete routing table, realizing redundancy backup or improving transfer rate; Except GPRS wave point, the CDMA2000 wave point of telecommunications, the WCDMA interface of UNICOM, the TD-SCDMA interface etc. of movement also can be provided, facilitate the data of energy consumption data acquisition device from far-off regions to transmit; Except providing CF card storage medium, the multi storages such as TF card, SD card, USB flash disk, nandflash also can be used.
The present invention, compared to prior art, it is advantageous that:
1, the instrument of different communications protocol can be mounted under different configuration with a serial ports;
2, gather and in uploading unit universal method and specific method independent, can conveniently expand;
3, image data has rough handling ability, can reduce server calculating pressure;
4, the multiple standards communication protocols such as DL/T645-1997, DL/T645-2007, MODBUS-RTU, CJ/T188 are supported;
5, multipotency consumption administrative center (at least 5) is supported, the data upload of many uploading protocols;
6, during supporting historgraphic data recording and communication disruption, history energy consumption data is uploaded.
The above; be only the present invention's preferably embodiment, but protection scope of the present invention is not limited thereto, is anyly familiar with those skilled in the art in the technical scope that the present invention discloses; the change that can expect easily or replacement, all should be encompassed within protection scope of the present invention.Therefore, protection scope of the present invention should be as the criterion with the protection domain of claim.

Claims (9)

1. based on an energy consumption data acquisition device for multi-protocols parallel acquisition technique, it is characterized in that, comprising:
Acquisition module, in order to data acquisition and processing (DAP);
Configuration module, in order to configure the described configuration interface based on the access network of the energy consumption data acquisition device of multi-protocols parallel acquisition technique and generating configuration file; And,
Diagnostic module, periodically sends heartbeat notification to described acquisition module and described configuration module, and receives response, in order to monitor whether described acquisition module and described configuration module normally run;
Wherein, described acquisition module comprises: data acquisition unit, data processing unit, data instantaneous value buffer cell, data storage cell and data upload unit;
Described data acquisition unit comprises the acquisition interface of some different agreements, loads corresponding protocol library, and carries out initialization according to the initialization function in protocol library, carry out data acquisition in conjunction with general with special flow process and method according to described configuration file;
Described data processing unit connects described data acquisition unit, receives the data that described data acquisition unit acquires arrives, row relax of going forward side by side, in order to reduce the processing pressure at managing power consumption center;
Described data instantaneous value buffer cell connects described data processing unit, in order to cushion the data after process;
Described data storage cell connects described data instantaneous value buffer cell, in order to store data;
Described data upload unit connects described data instantaneous value buffer cell and described data storage cell, IP address and the port at described managing power consumption center are set, and carry out initialization according to the initialization function preset, set up the connection with managing power consumption center, resume historical data or upload real time data.
2. the energy consumption data acquisition device based on multi-protocols parallel acquisition technique according to claim 1, is characterized in that, described configuration interface comprises configuration software configuration interface and Web page configuration interface;
Described Web page configuration interface is described based on the network interface IP address of the energy consumption data acquisition device of multi-protocols parallel acquisition technique, the IP address at managing power consumption center and port, encode based on the building of the energy consumption data acquisition device of multi-protocols parallel acquisition technique in order to configure;
Described configuration software configuration interface is in order to configure attribute, the agreement of described acquisition interface, and in acquisition interface, adding instrument node, the attribute of configuration instrument, then adds acquisition node on instrument node, the attribute of configuration acquisition node, to generate described configuration file.
3. the energy consumption data acquisition device based on multi-protocols parallel acquisition technique according to claim 1, is characterized in that, described acquisition module also comprises some RS485 interfaces, some RJ45 interfaces, wave point, transmits in order to data.
4. the energy consumption data acquisition device based on multi-protocols parallel acquisition technique according to claim 1, is characterized in that, described data acquisition unit adopts multithreading, and the acquisition interface of described some different agreements creates an independently collecting thread respectively.
5. the energy consumption data acquisition device based on multi-protocols parallel acquisition technique according to claim 1, it is characterized in that, described data storage cell adopts multifile dispersion history data store, with hour for interval generation history data file, is stored in corresponding folder by date structure.
6. based on an energy consumption data acquisition method for multi-protocols parallel acquisition technique, it is characterized in that, provide as claimed in claim 1 based on the energy consumption data acquisition device of multi-protocols parallel acquisition technique, and execution comprises the following steps:
S1, initialization is carried out to each acquisition interface;
S2, the protocol library corresponding to each acquisition interface loading according to configuration file;
S3, according to the initialization function in protocol library, initialization is carried out to the instrument in acquisition interface and collection point;
S4, carry out data acquisition in conjunction with general with special flow process and method;
S5, the data collected to be processed, to reduce the processing pressure at managing power consumption center;
S6, by process after data be stored into data storage cell;
S7, initialization is carried out to managing power consumption center, its IP address and port is set;
S8, according to the initialization function in protocol library, initialization is carried out to the key at managing power consumption center, building coding;
S9, to connect and certification with managing power consumption center;
S10, basis broken string situation before, resume historical data and upload real time data;
Wherein, described S1 and S7 starts simultaneously, asynchronous execution.
7. the energy consumption data acquisition method based on multi-protocols parallel acquisition technique according to claim 6, is characterized in that, described each acquisition interface comprises the RS485 interface being configured with MODUBS RTU or DL/T645-2007 acquisition protocols.
8. the energy consumption data acquisition method based on multi-protocols parallel acquisition technique according to claim 7, is characterized in that, the data acquisition flow of described RS485 interface comprises:
S11, serial ports attribute is set according to the baud rate in configuration file, parity information, then from protocol library, selects corresponding protocol library to load according to the acquisition protocols name of this RS485 interface in configuration file;
S12, utilize the initialization function of this protocol library that the device address of lower extension instrument, the register address, collection period etc. of each collection point are set, form one and gather queue, just start formal collection circulation afterwards.
9. the energy consumption data acquisition method based on multi-protocols parallel acquisition technique according to claim 8, it is characterized in that, step S12 comprises:
Take out the next target needing to gather from gathering queue at every turn, the good data query frame of group bag group of functions of protocol library is used to send from RS485 interface, then the Frame awaited a response in time-out time also uses the verification function of protocol library to verify it, utilize the analytical function of protocol library to carry out resolving the numerical value obtaining each collection point when verification succeeds, then judge whether further to exceed number of retries when taking defeat or verify failure, if when will not exceed expired times, retry sends data query frame, if exceeded number of retries, the Quality Codes then utilizing the analytical function of protocol library to carry out collection point upgrades, after being parsed, this collection target is turned back to again the correct position of queue, then the next collection gathering target is started.
CN201510320684.8A 2015-06-12 2015-06-12 Multi-protocol parallel acquisition technology based energy consumption data acquisition unit and acquisition method thereof Withdrawn CN104881990A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510320684.8A CN104881990A (en) 2015-06-12 2015-06-12 Multi-protocol parallel acquisition technology based energy consumption data acquisition unit and acquisition method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510320684.8A CN104881990A (en) 2015-06-12 2015-06-12 Multi-protocol parallel acquisition technology based energy consumption data acquisition unit and acquisition method thereof

Publications (1)

Publication Number Publication Date
CN104881990A true CN104881990A (en) 2015-09-02

Family

ID=53949467

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510320684.8A Withdrawn CN104881990A (en) 2015-06-12 2015-06-12 Multi-protocol parallel acquisition technology based energy consumption data acquisition unit and acquisition method thereof

Country Status (1)

Country Link
CN (1) CN104881990A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105607621A (en) * 2016-01-18 2016-05-25 深圳华强智能技术有限公司 Data acquisition system
CN105610704A (en) * 2015-12-30 2016-05-25 青岛高校信息产业股份有限公司 Building energy use acquisition gateway with multiple servers for reporting
CN106647666A (en) * 2016-12-28 2017-05-10 合肥城市云数据中心股份有限公司 Data collection method based on online identification assembling device object protocol library
CN108933770A (en) * 2017-08-11 2018-12-04 杭州义益钛迪信息技术有限公司 A kind of communications office site's device protocol analytic method of any configuration mode
CN109768970A (en) * 2018-12-24 2019-05-17 通号通信信息集团有限公司 It is a kind of based on configurable puppy parc generation method
CN111030907A (en) * 2019-12-11 2020-04-17 西安安森智能仪器股份有限公司 Multi-device data analysis and management method for serial port bus of robot
CN111220229A (en) * 2020-01-20 2020-06-02 沈畅 AMR/AMI combined meter reading system, device and method

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105610704A (en) * 2015-12-30 2016-05-25 青岛高校信息产业股份有限公司 Building energy use acquisition gateway with multiple servers for reporting
CN105607621A (en) * 2016-01-18 2016-05-25 深圳华强智能技术有限公司 Data acquisition system
CN105607621B (en) * 2016-01-18 2019-05-17 深圳华强智能技术有限公司 A kind of data collection system
CN106647666A (en) * 2016-12-28 2017-05-10 合肥城市云数据中心股份有限公司 Data collection method based on online identification assembling device object protocol library
CN106647666B (en) * 2016-12-28 2019-04-19 合肥城市云数据中心股份有限公司 Collecting method based on online recognition assembling device object protocol library
CN108933770A (en) * 2017-08-11 2018-12-04 杭州义益钛迪信息技术有限公司 A kind of communications office site's device protocol analytic method of any configuration mode
CN109768970A (en) * 2018-12-24 2019-05-17 通号通信信息集团有限公司 It is a kind of based on configurable puppy parc generation method
CN109768970B (en) * 2018-12-24 2021-05-04 通号通信信息集团有限公司 Configurable universal protocol generation method
CN111030907A (en) * 2019-12-11 2020-04-17 西安安森智能仪器股份有限公司 Multi-device data analysis and management method for serial port bus of robot
CN111030907B (en) * 2019-12-11 2022-02-18 西安安森智能仪器股份有限公司 Multi-device data analysis and management method for serial port bus of robot
CN111220229A (en) * 2020-01-20 2020-06-02 沈畅 AMR/AMI combined meter reading system, device and method

Similar Documents

Publication Publication Date Title
CN103763396A (en) Energy consumption data acquisition unit and method based on multi-protocol parallel acquisition technology
CN104881990A (en) Multi-protocol parallel acquisition technology based energy consumption data acquisition unit and acquisition method thereof
CN103870297B (en) The performance data collection system and method for virtual machine in cloud computing environment
CN103024060B (en) Open type cloud computing monitoring system for large scale cluster and method thereof
CN109086155A (en) Server failure localization method, device, equipment and computer readable storage medium
CN104967697A (en) Energy consumption data collection device based on multi-protocol parallel collecting technology and collecting method thereof
CN104917768A (en) Energy consumption data acquisition unit based on multi-protocol parallel acquisition technology and acquisition method thereof
CN112118174B (en) Software defined data gateway
CN102124450A (en) Method and systems for synchronization of process control servers
CN109547240B (en) Intelligent device based on edge calculation and access and device analysis method
CN102147268A (en) Integral panoramic data recording and analyzing system
CN107025222A (en) A kind of distributed information log acquisition method and device
CN103279386A (en) Method for achieving high availability of computer operation scheduling system
CN104751280A (en) Petrochemical enterprise electric energy consumption monitoring system and data management method thereof
CN105096560A (en) Energy consumption data acquisition unit and acquisition method based on multi-protocol parallel acquisition technology
CN106685685A (en) Method and system for monitoring performance of exchange boards across safety subareas
CN102769533A (en) Data processing method and data processing device
CN103354562A (en) Energy consumption collector, energy consumption collecting system and energy consumption collecting method
CN102957568A (en) Monitoring management method of multi-node server
CN102064605B (en) Method for realizing mutual hot backup of electric energy acquisition systems
CN103117878A (en) Design method of Nagios-based distribution monitoring system
CN102904744B (en) The acquisition method of performance data and system
CN102496260B (en) Multiple communication technology type of method for electric power information acquisition control
CN105785837A (en) Embedded system-based energy monitoring and control device and method
CN101227324A (en) Fault information gathering method of communication equipment as well as communication equipment and system thereof

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
EXSB Decision made by sipo to initiate substantive examination
SE01 Entry into force of request for substantive examination
WW01 Invention patent application withdrawn after publication
WW01 Invention patent application withdrawn after publication

Application publication date: 20150902