CN109785606A - A kind of power information acquisition system acquisition quality analysis method and device - Google Patents

A kind of power information acquisition system acquisition quality analysis method and device Download PDF

Info

Publication number
CN109785606A
CN109785606A CN201910108034.5A CN201910108034A CN109785606A CN 109785606 A CN109785606 A CN 109785606A CN 201910108034 A CN201910108034 A CN 201910108034A CN 109785606 A CN109785606 A CN 109785606A
Authority
CN
China
Prior art keywords
acquisition
communication
data
acquisition system
terminal
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
CN201910108034.5A
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.)
Can Stc (beijing) Technology Co Ltd
Original Assignee
Can Stc (beijing) 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 Can Stc (beijing) Technology Co Ltd filed Critical Can Stc (beijing) Technology Co Ltd
Priority to CN201910108034.5A priority Critical patent/CN109785606A/en
Publication of CN109785606A publication Critical patent/CN109785606A/en
Pending legal-status Critical Current

Links

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention discloses a kind of power information acquisition system acquisition quality analysis method and devices, belong to power information acquisition system technical field, comprising: obtain source data;Source data is parsed, parsing result is obtained;Analysis indexes are established according to parsing result;Analytic hierarchy process (AHP), which is based on, according to analysis indexes calculates power information acquisition system acquisition quality result.Realization in real time analyzes power information acquisition system acquisition quality.Pass through the analysis to each achievement data of acquisition quality is influenced, entire data acquisition can be recalled, discovery data acquisition abnormity, rapidly locating acquisition abnormity root in time, data supporting is provided for the early warning of data acquisition abnormity, acquisition applications program optimization, to guarantee that data acquisition is more efficient, more timely, more stable, make acquisition system basis continuous data it is more complete, in real time, it is reliable, solve the problems, such as that acquisition quality evaluation index is single, collection process is difficult to recall, acquisition abnormity problem is difficult to be accurately positioned.

Description

A kind of power information acquisition system acquisition quality analysis method and device
Technical field
The present embodiments relate to power information acquisition system technical fields, and in particular to a kind of power information acquisition system Acquisition quality analysis method and device.
Background technique
Power information acquisition system (referred to as: acquisition system) be the power information of power consumer is acquired, handle and The system of real time monitoring realizes power information automatic collection, metering on-line monitoring and intelligent diagnostics, expense keyholed back plate reason, orderly uses The functions such as fulgurite reason, electric energy quality monitoring, electrical energy consumption analysis.Acquisition system is by acquisition main website, communication channel, acquisition terminal, metering Equipment composition.Measuring equipment is responsible for the metering of user power utilization information;Acquisition terminal realizes the acquisition of electric energy meter data, data pipe Reason, data double-way transmission and forwarding or the equipment for executing control command;Communication channel is led as acquisition terminal data and acquisition The channel of data double-way of standing interaction;Acquisition main website is responsible for the timing acquiring of data, protocol analysis, data loading, acquisition tasks pipe Reason.
The inventors discovered that in the prior art, acquiring success rate to improve, promoting acquisition quality, generally use adjustment and adopt Collect timed task strategy, i.e. the execution time of modification acquisition tasks, acquisition data item, acquisition target, benefit calls number together, mends and call interval together Etc. parameters, reach the task execution time that is staggered, reduce invalid acquisition data item, reject offline acquisition terminal, survey is called in increase together Number.Although adjustment acquisition strategies, which can be improved, mentions acquisition quality, it can however not enough real-time perfoming adjustment acquisition timed tasks Strategy causes acquisition quality not high.
Summary of the invention
For this purpose, the embodiment of the present invention provides a kind of power information acquisition system acquisition quality analysis method and device, with solution Certainly the problems of the prior art.
To achieve the goals above, embodiments of the present invention provide the following technical solutions:
In the first aspect of embodiments of the present invention, a kind of power information acquisition system acquisition quality analysis is provided Method, comprising:
Obtain source data;
The source data is parsed, parsing result is obtained;
Analysis indexes are established according to the parsing result;
Analytic hierarchy process (AHP), which is based on, according to the analysis indexes calculates power information acquisition system acquisition quality result.
In another embodiment of the invention, the acquisition source data includes obtaining TCP/IP data using bypass mode Packet and acquisition system main website and terminal ammeter communication protocol message data, the TCP/IP data packet that will acquire and acquisition system master It stands with terminal ammeter communication protocol message data as source data.
In another embodiment of the invention, described that the source data is parsed, obtain parsing result, comprising: root According to the communication protocol of standard between ICP/IP protocol and electricity information acquisition system master station and acquisition terminal, by described in byte parsing TCP/IP data packet and acquisition system main website and terminal ammeter communication protocol message data, obtained parsing result.
In another embodiment of the invention, described that analysis indexes are established according to the parsing result, comprising: according to described Parsing result calculates communication delay, communication success rate, acquisition flow, message communication number, the online rate of terminal, when by the communication Prolong, the communication success rate, the acquisition flow, the message communication number and the online rate of the terminal, as power information The analysis indexes of acquisition system acquisition quality.
In another embodiment of the invention, described to include according to parsing result calculating communication delay, according to described Parsing result calculates communication response time, communication time of origin and normal communication number in the period, according to the communication response Time, the communication time of origin and normal communication number calculating communication delay in the period.
In another embodiment of the invention, calculating communication success rate according to the parsing result includes: according to the solution Analysis result calculating communicates successfully total degree, communication total degree, communicates successfully total degree and the communication total degree meter according to described Calculate communication success rate.
In another embodiment of the invention, according to the online rate of parsing result computing terminal, comprising: according to the solution It analyses result and calculates online total number of terminals amount and total number of terminals amount, according to the online total number of terminals amount and the total number of terminals meter Calculate the online rate of terminal.
In another embodiment of the invention, described to be based on analytic hierarchy process (AHP) calculating power information according to the analysis indexes Acquisition system acquisition quality result, comprising:
Data analysis is carried out to each element in the analysis indexes respectively, obtains the weight that each element accounts for whole elements Than and each component scores, according to each element in the analysis indexes account for whole elements weight ratio and each component scores calculate Acquisition quality result.
In the second aspect of embodiments of the present invention, a kind of power information acquisition system acquisition quality analysis is provided Device, comprising:
Module is obtained, for obtaining source data;
Parsing module obtains parsing result for parsing to the source data;
Index Establishment module, for establishing analysis indexes according to the parsing result;
Quality results generation module calculates power information acquisition system for being based on analytic hierarchy process (AHP) according to the analysis indexes System acquisition quality result.
In the third aspect of embodiments of the present invention, a kind of computer readable storage medium, the calculating are provided Program is stored in machine readable storage medium storing program for executing, described program is for realizing power information acquisition system acquisition quality as described above Analysis method.
Embodiment according to the present invention has the advantages that by obtaining source data, the parsing result based on source data The analysis indexes of statistics, analyzing influence acquisition quality, and it is based on analytic hierarchy process (AHP) according to analysis indexes, become with concluding each index Law and influence degree to acquisition quality are used to construct power information acquisition system acquisition quality analysis method Power utilization information collection system acquisition quality in real time analyzes power information acquisition system acquisition quality as a result, realizing.Further Ground can recall entire data acquisition by the analysis to each achievement data of acquisition quality is influenced, and find data acquisition in time Abnormal, rapidly locating acquisition abnormity root, provides data branch for the early warning of data acquisition abnormity, acquisition applications program optimization Support, to guarantee that data acquisition is more efficient, more timely, more stable, make acquisition system basis continuous data it is more complete, in real time, Reliably, efficiently solve the problems, such as that acquisition quality evaluation index is single, collection process is difficult to recall, acquisition abnormity is difficult to be accurately positioned Problem.
Detailed description of the invention
It, below will be to embodiment party in order to illustrate more clearly of embodiments of the present invention or technical solution in the prior art Formula or attached drawing needed to be used in the description of the prior art are briefly described.It should be evident that the accompanying drawings in the following description is only It is merely exemplary, it for those of ordinary skill in the art, without creative efforts, can also basis The attached drawing of offer, which is extended, obtains other implementation attached drawings.
Fig. 1 is a kind of power information acquisition system acquisition quality analysis method process that one embodiment of the invention provides Figure;
Fig. 2 is a kind of power information acquisition system acquisition quality analysis method process that another embodiment of the present invention provides Figure;
Fig. 3 is a kind of power information acquisition system acquisition quality analytical equipment structure that another embodiment of the present invention provides Schematic diagram;
In figure: 401 be obtain module, 402 be parsing module, 403 be Index Establishment module, 404 be quality results generate Module.
Specific embodiment
Embodiments of the present invention are illustrated by particular specific embodiment below, those skilled in the art can be by this explanation Content disclosed by book is understood other advantages and efficacy of the present invention easily, it is clear that described embodiment is the present invention one Section Example, instead of all the embodiments.Based on the embodiments of the present invention, those of ordinary skill in the art are not doing Every other embodiment obtained under the premise of creative work out, shall fall within the protection scope of the present invention.
In first aspect present invention, a kind of power information acquisition system acquisition quality analysis method is provided, as shown in Figure 1, Include:
Step 201: obtaining source data;
In embodiments of the present invention, electricity information acquisition system master station passes through network TCP connection acquisition terminal, the meter of ammeter Data are measured, the communication message in collection process needs to realize data interaction by interchanger, and this method is obtained by bypass mode Communication message data, that is, source data, wherein bypass mode refer to by " Port Mirroring " function of the network equipments such as interchanger come Realize monitoring, the advantage of all service traffics is carried by network system, using traffic mirroring acquisition technique to network flow into Row fining monitoring and analysis.
Communication message data, that is, source data is obtained by bypass mode, carries the excellent of all service traffics by network system Gesture carries out fining monitoring and analysis to network flow using traffic mirroring acquisition technique.The source number obtained by bypass mode According to including TCP data packet, IP data packet and acquisition system main website and terminal ammeter communication protocol message data.
Step 202: source data being parsed, parsing result is obtained;
In embodiments of the present invention, according to the communication of standard between ICP/IP protocol and acquisition system main website and acquisition terminal Agreement " Q/GDW1376.1 main website and acquisition terminal communication protocol ", parses TCP/IP data packet and acquisition system main website by byte With terminal ammeter communication protocol message data, wherein acquisition system main website includes: control with terminal ammeter communication protocol message data Code, address code, function code, frame sequence domain, frame additional field, data cell combination and check code processed etc..TCP/IP resolve packet Content includes: connection setup time, connection turn-off time, data transmission time, the time of data receiver, transmission byte number, connects Receive byte number, source IP address, target ip address, source port, target port, total bytes, TCP SYN flag position, TCP RST mark Will position.The acquisition system main website and terminal ammeter communication protocol message data of parsing identify (IP+ by terminal address, communication link Port), function code storage, the basic data as analysis indexes data.
Step 203: analysis indexes are established according to parsing result;
In embodiments of the present invention, communication delay, communication success rate, acquisition flow, message is counted according to parsing result to lead to Believe number, the online rate of terminal, by communication delay, communication success rate, acquires flow, message communication number, the online rate of terminal, as The analysis indexes of power information acquisition system acquisition quality.Influence journey by concluding each index changing rule and to acquisition quality Degree, to construct power information acquisition system acquisition quality analysis method.
Communication delay refers to that the response between acquisition system main website and acquisition terminal of one group of message communicates the required time, i.e., Message receives to acquisition terminal and returns response message since transmitting acquisition system main website, until acquisition main website receives acquisition The time that the message that terminal returns needs.Communication delay includes: client's terminal delay time, service terminal delay time, network delay, that is, when communicating Prolong equal to client's terminal delay time, service the sum of terminal delay time and network delay.When the message communication time is by the transmission of TCP data packet Between or receiving time obtain, the difference between two time points is communication delay.
According to communication mode and device type, test data communication delay, including downlink time delay, channel delay etc. are to data The influence of acquisition performance.Communication delay calculation formula is as follows:
P τ: the period communicates average delay, t1i: i communication response time, t0i: i communication time of origin, N: in the period just Normal open believes total degree.
In the present invention, when prolonging smaller when in communication, the quality of communication channel is preferable;When prolonging larger when in communication, channel is not Stable or application program fluctuation of service.Communication delay can reflect out the operating status and acquisition terminal communication letter of acquisition system The operating status in road, to reflect acquisition system acquisition quality.By period statistics gatherer system main website call together survey terminal data and The duration that transparent data need, and duration maximum value, minimum value, average value are calculated, to monitor communication channel and communication service Operating condition.By communication maximum time reference can be provided for the capture program setting waiting-timeout time.According to the time In transparent duration situation of change and transparent success rate, reference is provided to formulate transparent task time, to improve acquisition success rate.
Acquisition system main website and acquisition terminal use asynchronous response communication mode, and acquisition system main website sends request of data report Text, acquisition terminal carry out data processing after receiving message, are then returned to acquisition system main website response message, so far complete primary Complete message interaction this time communicates successfully.Communication channel is unstable, primary application program is abnormal, acquisition terminal is abnormal In the case of, after acquisition system main website sends request of data message, acquisition terminal is unresponsive, and main website waits after a certain period of time, does No response is handled, in this case communication failure.Record message amount (communication total time that simultaneously statistics gatherer system main website issues Number), acquisition terminal have the message amount (communication number of success) of response, communication success rate is calculated with this.
It is as follows to communicate success rate calculation formula:
Communicate success rate by the hour, day record, forming curves data, by the fluctuation of curve data, curve ring frequently compared with, Judge whether acquisition success rate is abnormal.Communication success rate directly reflect collect data number, when communication success rate reduce When, the data that terminal returns are greatly decreased, and the collected terminal of energy, the data of ammeter are also accordingly reduced, and cause to acquire success rate It reduces, acquisition quality decline.
Acquisition flow refers to the byte number of message when acquisition system main website and acquisition terminal throttle interactive with binary word.It adopts Collection flow counts the total bytes of the uplink and downlink of interaction in a hour by the hour, forms hour flow curve;Daily count 24 The total bytes of the uplink and downlink of interaction in hour, formation moon flow curve, fluctuation and curve ring ratio by comparing curve data, Determine whether acquisition flow is abnormal.
Communication message flow when piecewise analysis acquisition system data acquire on time identifies traffic peak period, reasonable disposition Acquisition tasks, to improve acquisition success rate.Monitoring data acquire flow curve, timely early warning acquisition abnormity situation.Check acquisition Terminal different communication port, server link information, compare the previous day data may determine that the same day acquisition terminal communication It is whether normal.
One message is transmitted to acquisition terminal from acquisition system main website or is transmitted to acquisition system main website from acquisition terminal It is primary to be calculated as communication.The message amount for counting the uplink and downlink of interaction in a hour by the hour, forms hour message communication Number curve;The message amount for daily counting the uplink and downlink of interaction in 24 hours, forms moon message number of communications curve.
The period distribution situation of each data item message communication number is counted, is realized to data collection service message interaction quantity Monitoring carries out ring than analysis, and the configuration strategy for monitoring data acquisition abnormity and unconventional acquisition tasks provides reference frame.Report Literary number of communications can intuitively find out the executive condition of acquisition system acquisition tasks, corresponding in the case where acquisition tasks exception The acquisition message number of period can significantly reduce.Pass through the data in comparison the previous day or one week, it can be determined that the acquisition on the same day is appointed Business execution state, acquisition tasks execute state and intuitively embody acquisition quality situation of change.
Acquisition terminal is connected to acquisition system main website by TCP mode, and connection keeps long connection by heartbeat message.Generally In the case of, after acquisition terminal is connected to acquisition system main website, it can be always maintained at connection, do not will disconnect.In communication channel shakiness It is fixed, acquisition primary application program is abnormal, in the case where acquisition terminal exception, connection will disconnect, and acquisition terminal can be according to matching at this time The strategy set reconnects to main website.The terminal that long connection is kept with acquisition system main website is online terminal.Timing statistics is adopted The online situation of all terminals of collecting system, calculates separately out online terminal quantity and total number of terminals amount.
The online rate calculation formula of terminal is as follows:
According to acquisition terminal message or acquisition terminal IP record log in, information off-line and terminal frequently log on information.Acquisition System main website is when executing timing acquiring task, if acquisition terminal is offline, can not carry out calling survey together, can not acquire back data, lead It causes acquisition success rate to reduce, reduces acquisition quality.
Step 204: being based on analytic hierarchy process (AHP) according to analysis indexes and calculate power information acquisition system acquisition quality result.
In embodiments of the present invention, data analysis is carried out to each element in analysis indexes respectively, each element is obtained and accounts for entirely The weight ratio of portion's element and each component scores account for the weight ratio and each element of whole elements according to each element in analysis indexes Score calculates acquisition quality result and establishes power information acquisition system acquisition quality appraisement system based on analytic hierarchy process (AHP).Level point Various factors in complicated acquisition system data collection problems is allowed to item by dividing the orderly level connected each other by analysis method Physics and chemistry, according to communication delay, communication success rate, acquisition flow, message communication number, the online rate of terminal, the number of evaluation index Relative importance quantitative according to analysis with regard to each index indicates, expresses whole element relative importances using mathematical method The weight of order obtains power information acquisition system acquisition quality result.
Acquisition quality calculation formula is as follows:
Y=ω1x12x2+…+ωmxm
Y: acquisition quality total score, that is, acquisition quality is as a result, ω: index weights ratio, χ: each index score.
Communication delay, communication success rate, acquisition flow, message communication number, the online rate of terminal are obtained according to operation data The weight ratio that index influences acquisition quality, the cumulative total value of weight ratio are 1.To each index by the way that different threshold value, same is arranged The scoring values of one-way metrics are obtained than data comparison than data comparison, ring.When index operates normally, value is full marks 100 Point;When Indexes Abnormality, according to the different grades of threshold value of setting, the corresponding score numerical value of threshold values rank is subtracted.For weight Than small index, when Indexes Abnormality, influence of the one-way metrics score to acquisition quality is weaker;The index big for weight ratio, When Indexes Abnormality, one-way metrics score is affected to acquisition quality.The score of acquisition quality, for full marks, is divided with 100 points Value is higher, then acquisition quality is better.
In the second aspect of the present invention, a kind of power information acquisition system acquisition quality analytical equipment is provided, such as Fig. 3 institute Show, comprising:
Module 401 is obtained, for obtaining source data;
In embodiments of the present invention, electricity information acquisition system master station passes through network TCP connection acquisition terminal, the meter of ammeter Data are measured, the communication message in collection process needs to realize data interaction by interchanger, module 401 is obtained, for passing through side Road mode obtains communication message data i.e. source data, wherein bypass mode refers to the " port mirror by network equipments such as interchangers Picture " function monitors to realize, the advantage of all service traffics is carried by network system, using traffic mirroring acquisition technique to net Network flow carries out fining monitoring and analysis.
Communication message data, that is, source data is obtained by bypass mode, carries the excellent of all service traffics by network system Gesture carries out fining monitoring and analysis to network flow using traffic mirroring acquisition technique.The source number obtained by bypass mode According to including TCP/IP data packet and acquisition system main website and terminal ammeter communication protocol message data.
Parsing module 402 obtains parsing result for parsing to source data;
In embodiments of the present invention, parsing module 402, for according to standard between acquisition system main website and acquisition terminal Communication protocol " Q/GDW1376.1 main website and acquisition terminal communication protocol ", parses TCP/IP data packet and acquisition system by byte Main website and terminal ammeter communication protocol message data, wherein acquisition system main website and terminal ammeter communication protocol message data packet It includes: control code, address code, function code, frame sequence domain, frame additional field, data cell combination and check code etc..TCP/IP data packet Parsing content includes: connection setup time, connection turn-off time, data transmission time, the time of data receiver, transmission byte Number receives byte number, source IP address, target ip address, source port, target port, total bytes, TCP SYN flag position, TCP RST flag bit.The acquisition system main website and terminal ammeter communication protocol message data of parsing are identified by terminal address, communication link The storage of (port IP+), function code, the basic data as analysis indexes data.
Index Establishment module 403, for establishing analysis indexes according to parsing result;
In embodiments of the present invention, Index Establishment module 403, for according to parsing result count communication delay, communication at Power, acquisition flow, message communication number, the online rate of terminal, by communication delay, communication success rate, acquisition flow, message communication The online rate of number, terminal, the analysis indexes as power information acquisition system acquisition quality.By concluding each index changing rule And the influence degree to acquisition quality, to construct power information acquisition system acquisition quality analysis method.
Communication delay refers to that the response between acquisition system main website and acquisition terminal of one group of message communicates the required time, i.e., Message receives to acquisition terminal and returns response message since transmitting acquisition system main website, until acquisition main website receives acquisition The time that the message that terminal returns needs.Communication delay includes: client's terminal delay time, service terminal delay time, network delay, that is, when communicating Prolong equal to client's terminal delay time, service the sum of terminal delay time and network delay.When the message communication time is by the transmission of TCP data packet Between or receiving time obtain, the difference between two time points is communication delay.
According to communication mode and device type, test data communication delay, including downlink time delay, channel delay etc. are to data The influence of acquisition performance.Communication delay calculation formula is as follows:
P τ: the period communicates average delay, t1i: i communication response time, t0i: i communication time of origin, N: in the period just Normal open believes total degree.
In the present invention, when prolonging smaller when in communication, the quality of communication channel is preferable;When prolonging larger when in communication, channel is not Stable or application program fluctuation of service.Communication delay can reflect out the operating status and acquisition terminal communication letter of acquisition system The operating status in road, to reflect acquisition system acquisition quality.By period statistics gatherer system main website call together survey terminal data and The duration that transparent data need, and duration maximum value, minimum value, average value are calculated, to monitor communication channel and communication service Operating condition.By communication maximum time reference can be provided for the capture program setting waiting-timeout time.According to the time In transparent duration situation of change and transparent success rate, reference is provided to formulate transparent task time, to improve acquisition success rate.
Acquisition system main website and acquisition terminal use asynchronous response communication mode, and acquisition system main website sends request of data report Text, acquisition terminal carry out data processing after receiving message, are then returned to acquisition system main website response message, so far complete primary Complete message interaction this time communicates successfully.Communication channel is unstable, primary application program is abnormal, acquisition terminal is abnormal In the case of, after acquisition system main website sends request of data message, acquisition terminal is unresponsive, and main website waits after a certain period of time, does No response is handled, in this case communication failure.Record message amount (communication total time that simultaneously statistics gatherer system main website issues Number), acquisition terminal have the message amount (communication number of success) of response, communication success rate is calculated with this.
It is as follows to communicate success rate calculation formula:
Communicate success rate by the hour, day record, forming curves data, by the fluctuation of curve data, curve ring frequently compared with, Judge whether acquisition success rate is abnormal.Communication success rate directly reflect collect data number, when communication success rate reduce When, the data that terminal returns are greatly decreased, and the collected terminal of energy, the data of ammeter are also accordingly reduced, and cause to acquire success rate It reduces, acquisition quality decline.
Acquisition flow refers to the byte number of message when acquisition system main website and acquisition terminal throttle interactive with binary word.It adopts Collection flow counts the total bytes of the uplink and downlink of interaction in a hour by the hour, forms hour flow curve;Daily count 24 The total bytes of the uplink and downlink of interaction in hour, formation moon flow curve, fluctuation and curve ring ratio by comparing curve data, Determine whether acquisition flow is abnormal.
Communication message flow when piecewise analysis acquisition system data acquire on time identifies traffic peak period, reasonable disposition Acquisition tasks, to improve acquisition success rate.Monitoring data acquire flow curve, timely early warning acquisition abnormity situation.Check acquisition Terminal different communication port, server link information, compare the previous day data may determine that the same day acquisition terminal communication It is whether normal.
One message is transmitted to acquisition terminal from acquisition system main website or is transmitted to acquisition system main website from acquisition terminal It is primary to be calculated as communication.The message amount for counting the uplink and downlink of interaction in a hour by the hour, obtains hour message communication Number;The message amount for daily counting the uplink and downlink of interaction in 24 hours, obtains a moon message number of communications.
The period distribution situation of each data item message communication number is counted, is realized to data collection service message interaction quantity Monitoring carries out ring than analysis, and the configuration strategy for monitoring data acquisition abnormity and unconventional acquisition tasks provides reference frame.Report Literary number of communications can intuitively find out the executive condition of acquisition system acquisition tasks, corresponding in the case where acquisition tasks exception The acquisition message number of period can significantly reduce.Pass through the data in comparison the previous day or one week, it can be determined that the acquisition on the same day is appointed Business execution state, acquisition tasks execute state and intuitively embody acquisition quality situation of change.
Acquisition terminal is connected to acquisition system main website by TCP mode, and connection keeps long connection by heartbeat message.Generally In the case of, after acquisition terminal is connected to acquisition system main website, it can be always maintained at connection, do not will disconnect.In communication channel shakiness It is fixed, acquisition primary application program is abnormal, in the case where acquisition terminal exception, connection will disconnect, and acquisition terminal can be according to matching at this time The strategy set reconnects to main website.The terminal that long connection is kept with acquisition system main website is online terminal.Timing statistics is adopted The online situation of all terminals of collecting system, calculates separately out online terminal quantity and total number of terminals amount.
The online rate calculation formula of terminal is as follows:
According to acquisition terminal message or acquisition terminal IP record log in, information off-line and terminal frequently log on information.Acquisition System main website is when executing timing acquiring task, if acquisition terminal is offline, can not carry out calling survey together, can not acquire back data, lead It causes acquisition success rate to reduce, reduces acquisition quality.
Quality results generation module 404 calculates power information acquisition system for being based on analytic hierarchy process (AHP) according to analysis indexes System acquisition quality result.
In embodiments of the present invention, quality results generation module 404, for being carried out respectively to each element in analysis indexes Data analysis, obtain each element account for whole elements weight ratio and each component scores, accounted for entirely according to each element in analysis indexes The weight ratio of portion's element and each component scores calculate acquisition quality result and establish power information acquisition system based on analytic hierarchy process (AHP) Acquisition quality appraisement system.Analytic hierarchy process (AHP) is the various factors in complicated acquisition system data collection problems by dividing phase The orderly level mutually contacted is allowed to methodization, according to communication delay, communication success rate, acquisition flow, message communication number, end Online rate is held, the data analysis of evaluation index is indicated with regard to the relative importance quantitative of each index, utilizes mathematical method The weight for expressing whole element relative importance order, obtains power information acquisition system acquisition quality result.
Acquisition quality calculation formula is as follows:
Y=ω1x12x2+…+ωmxm
Y: acquisition quality total score, that is, acquisition quality is as a result, ω: index weights ratio, χ: each index score.
Communication delay, communication success rate, acquisition flow, message communication number, the online rate of terminal are obtained according to operation data The weight ratio that index influences acquisition quality, the cumulative total value of weight ratio are 1.To each index by the way that different threshold value, same is arranged The scoring values of one-way metrics are obtained than data comparison than data comparison, ring.When index operates normally, value is full marks 100 Point;When Indexes Abnormality, according to the different grades of threshold value of setting, the corresponding score numerical value of threshold values rank is subtracted.For weight Than small index, when Indexes Abnormality, influence of the one-way metrics score to acquisition quality is weaker;The index big for weight ratio, When Indexes Abnormality, one-way metrics score is affected to acquisition quality.The score of acquisition quality, for full marks, is divided with 100 points Value is higher, then acquisition quality is better.
In embodiments of the present invention, acquisition system main website is obtained by network bypass mode to interact with acquisition terminal, ammeter Communication message when data, based on communication message statistics, the communication delay of analyzing influence acquisition quality, communication success rate, acquisition The online rate index of flow, message communication number, terminal, concludes each index changing rule and the influence degree to acquisition quality, from And construct power information acquisition system acquisition quality analysis method.Pass through the analysis to each achievement data of acquisition quality is influenced, energy Recall entire data acquisition, find data acquisition abnormity, rapidly locating acquisition abnormity root in time, is acquired for data Abnormity early warning, acquisition applications program optimization provide data supporting, to guarantee that data acquisition is more efficient, more timely, more stable, make Acquisition system basis continuous data is more complete, in real time, it is reliable, efficiently solve that acquisition quality evaluation index is single, acquired Journey is difficult to recall, acquisition abnormity problem is difficult to the problem being accurately positioned.
Although above having used general explanation and specific embodiment, the present invention is described in detail, at this On the basis of invention, it can be made some modifications or improvements, this will be apparent to those skilled in the art.Therefore, These modifications or improvements without departing from theon the basis of the spirit of the present invention are fallen within the scope of the claimed invention.

Claims (10)

1. a kind of power information acquisition system acquisition quality analysis method characterized by comprising
Obtain source data;
The source data is parsed, parsing result is obtained;
Analysis indexes are established according to the parsing result;
Analytic hierarchy process (AHP), which is based on, according to the analysis indexes calculates power information acquisition system acquisition quality result.
2. the method as described in claim 1, which is characterized in that
The acquisition source data includes obtaining TCP/IP data packet and acquisition system main website using bypass mode and terminal ammeter being logical Believe specification message data, the TCP/IP data packet and acquisition system main website that will acquire and terminal ammeter communication protocol message data As source data.
3. method according to claim 2, which is characterized in that
It is described that the source data is parsed, obtain parsing result, comprising: according to ICP/IP protocol and power information acquisition system The communication protocol for the standard between main website and acquisition terminal of uniting, by byte parse the TCP/IP data packet and acquisition system main website and Terminal ammeter communication protocol message data, obtained parsing result.
4. the method as described in claim 1, which is characterized in that
It is described that analysis indexes are established according to the parsing result, comprising: according to the parsing result calculate communication delay, communication at Power, acquisition flow, message communication number, the online rate of terminal, by the communication delay, the communication success rate, the acquisition Flow, the message communication number and the online rate of the terminal, the analysis indexes as power information acquisition system acquisition quality.
5. method as claimed in claim 4, which is characterized in that it is described to include according to parsing result calculating communication delay, Communication response time, communication time of origin and normal communication number in the period are calculated according to the parsing result, according to described It communicates response time, the communication time of origin and normal communication number calculates communication delay in the period.
6. method as claimed in claim 4, which is characterized in that
According to the parsing result calculate communication success rate include: according to the parsing result calculating communicate successfully total degree, lead to Believe total degree, communicates successfully total degree and communication total degree calculating communication success rate according to described.
7. method as claimed in claim 4, which is characterized in that
According to the online rate of parsing result computing terminal, comprising: according to the parsing result calculate online total number of terminals amount and Total number of terminals amount, according to the online total number of terminals amount and the online rate of total number of terminals amount computing terminal.
8. the method as described in claim 1, which is characterized in that
It is described to be based on analytic hierarchy process (AHP) calculating power information acquisition system acquisition quality result according to the analysis indexes, comprising:
Data analysis is carried out to each element in the analysis indexes respectively, obtains the weight ratio that each element accounts for whole elements, and Each component scores account for the weight ratio of whole elements according to each element in the analysis indexes and each component scores calculate acquisition Quality results.
9. a kind of power information acquisition system acquisition quality analytical equipment characterized by comprising
Module is obtained, for obtaining source data;
Parsing module obtains parsing result for parsing to the source data;
Index Establishment module, for establishing analysis indexes according to the parsing result;
Quality results generation module is adopted for being based on analytic hierarchy process (AHP) calculating power information acquisition system according to the analysis indexes Collect quality results.
10. a kind of computer readable storage medium, which is characterized in that it is stored with program in the computer readable storage medium, Described program is for realizing the power information acquisition system acquisition quality analysis method as described in claim 1 to 8.
CN201910108034.5A 2019-02-02 2019-02-02 A kind of power information acquisition system acquisition quality analysis method and device Pending CN109785606A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910108034.5A CN109785606A (en) 2019-02-02 2019-02-02 A kind of power information acquisition system acquisition quality analysis method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910108034.5A CN109785606A (en) 2019-02-02 2019-02-02 A kind of power information acquisition system acquisition quality analysis method and device

Publications (1)

Publication Number Publication Date
CN109785606A true CN109785606A (en) 2019-05-21

Family

ID=66504275

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910108034.5A Pending CN109785606A (en) 2019-02-02 2019-02-02 A kind of power information acquisition system acquisition quality analysis method and device

Country Status (1)

Country Link
CN (1) CN109785606A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110324207A (en) * 2019-07-10 2019-10-11 深圳市智物联网络有限公司 A kind of detection method and device of data collection station
CN111224846A (en) * 2020-01-13 2020-06-02 北京智芯微电子科技有限公司 Flow monitoring method and device applied to power acquisition system
CN111696528A (en) * 2020-06-20 2020-09-22 龙马智芯(珠海横琴)科技有限公司 Voice quality inspection method and device, quality inspection equipment and readable storage medium
CN112330197A (en) * 2020-11-24 2021-02-05 西南技术物理研究所 Meteorological hydrological data quality control and evaluation method
CN115134768A (en) * 2022-06-09 2022-09-30 国网信息通信产业集团有限公司 Wireless communication optimization method and system based on application layer signaling

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20010010061A1 (en) * 2000-01-26 2001-07-26 Hidehiro Matsumoto Communication system, communication method, gateway apparatus, and client
CN104360208A (en) * 2014-12-05 2015-02-18 国家电网公司 Acquisition failure analyzing and processing method of electricity utilization information acquisition operating and maintaining system
CN104579839A (en) * 2015-01-05 2015-04-29 广州至德电力科技有限公司 Transformer substation communication network state online monitoring system and method
CN104639654A (en) * 2015-03-05 2015-05-20 国家电网公司 Integrated access system and integrated access method for mass electricity information acquisition terminals
CN105591964A (en) * 2015-10-14 2016-05-18 ***股份有限公司 Device and method for overload protection for Internet system
CN106447212A (en) * 2016-10-11 2017-02-22 广西电网有限责任公司电力科学研究院 AHP (Analytic Hierarchy Process) based intelligent electricity meter software quality evaluation method
CN106502885A (en) * 2016-10-11 2017-03-15 广西电网有限责任公司电力科学研究院 A kind of intelligent electric meter Software Quality Evaluation System based on AHP
CN106789412A (en) * 2016-12-08 2017-05-31 国网北京市电力公司 Method, the apparatus and system of monitoring information collection main website performance
CN107104855A (en) * 2017-04-24 2017-08-29 国网福建省电力有限公司 A kind of power information acquisition terminal online hours, the statistical method of online rate
CN107241283A (en) * 2017-05-23 2017-10-10 国家计算机网络与信息安全管理中心 A kind of East and West direction network traffics mirror image acquisition method across main frame tenant
CN109239487A (en) * 2018-08-28 2019-01-18 中能瑞通(北京)科技有限公司 A kind of user's use energy quality evaluating method and system based on electricity consumption data

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20010010061A1 (en) * 2000-01-26 2001-07-26 Hidehiro Matsumoto Communication system, communication method, gateway apparatus, and client
CN104360208A (en) * 2014-12-05 2015-02-18 国家电网公司 Acquisition failure analyzing and processing method of electricity utilization information acquisition operating and maintaining system
CN104579839A (en) * 2015-01-05 2015-04-29 广州至德电力科技有限公司 Transformer substation communication network state online monitoring system and method
CN104639654A (en) * 2015-03-05 2015-05-20 国家电网公司 Integrated access system and integrated access method for mass electricity information acquisition terminals
CN105591964A (en) * 2015-10-14 2016-05-18 ***股份有限公司 Device and method for overload protection for Internet system
CN106447212A (en) * 2016-10-11 2017-02-22 广西电网有限责任公司电力科学研究院 AHP (Analytic Hierarchy Process) based intelligent electricity meter software quality evaluation method
CN106502885A (en) * 2016-10-11 2017-03-15 广西电网有限责任公司电力科学研究院 A kind of intelligent electric meter Software Quality Evaluation System based on AHP
CN106789412A (en) * 2016-12-08 2017-05-31 国网北京市电力公司 Method, the apparatus and system of monitoring information collection main website performance
CN107104855A (en) * 2017-04-24 2017-08-29 国网福建省电力有限公司 A kind of power information acquisition terminal online hours, the statistical method of online rate
CN107241283A (en) * 2017-05-23 2017-10-10 国家计算机网络与信息安全管理中心 A kind of East and West direction network traffics mirror image acquisition method across main frame tenant
CN109239487A (en) * 2018-08-28 2019-01-18 中能瑞通(北京)科技有限公司 A kind of user's use energy quality evaluating method and system based on electricity consumption data

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
周艾辉: "用电信息采集***运行评估体系研究", 《中国优秀硕士学位论文全文数据库》 *
张迎: "智能用电信息采集管理***优化研究", 《中国优秀硕士学位论文全文数据库》 *

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110324207A (en) * 2019-07-10 2019-10-11 深圳市智物联网络有限公司 A kind of detection method and device of data collection station
CN111224846A (en) * 2020-01-13 2020-06-02 北京智芯微电子科技有限公司 Flow monitoring method and device applied to power acquisition system
CN111696528A (en) * 2020-06-20 2020-09-22 龙马智芯(珠海横琴)科技有限公司 Voice quality inspection method and device, quality inspection equipment and readable storage medium
CN112330197A (en) * 2020-11-24 2021-02-05 西南技术物理研究所 Meteorological hydrological data quality control and evaluation method
CN112330197B (en) * 2020-11-24 2023-06-23 西南技术物理研究所 Meteorological hydrologic data quality control and evaluation method
CN115134768A (en) * 2022-06-09 2022-09-30 国网信息通信产业集团有限公司 Wireless communication optimization method and system based on application layer signaling

Similar Documents

Publication Publication Date Title
CN109785606A (en) A kind of power information acquisition system acquisition quality analysis method and device
CN101719306B (en) Parallel electric quantity data acquisition method
CN102045222B (en) Real-time overall test method of network system
CN106340176A (en) Intelligent electricity meter information sharing method, intelligent electricity meter and acquisition router
CN104468200B (en) The Adaptive critic method of data center network apparatus health degree
CN103369601A (en) Method for providing large concurrent processing and flow control for mobile phone client sides
CN104270779A (en) Wireless network fault reason preprocessing method and wireless network fault work order distribution system
CN101741885A (en) Distributed system and method for processing task flow thereof
CN106597901B (en) Distributed Integration managing power consumption and analysis method and system based on cloud service
CN106470123A (en) Log collecting method, client, server and electronic equipment
CN108900374A (en) A kind of data processing method and device applied to DPI equipment
CN105306246A (en) Method, device and server for automatic answering of network complaints
CN104835311B (en) A kind of power information collecting device data transmission performance analysis system
CN109738696A (en) Remote bill control ammeter and working method based on independent duplex
CN101692303A (en) Method for acquiring power utilization data of large customer power utilization management terminals
CN106020986A (en) Data processing method and device
CN111726410B (en) Programmable real-time computing and network load sensing method for decentralized computing network
CN113821421A (en) Server performance data acquisition method, system, device and storage medium
CN104809070A (en) Method for analyzing properties based on transaction type middleware of database
CN109510724B (en) Data acquisition and application method based on TAS device
CN208094601U (en) Electricity Investment data processing system
CN111800311B (en) Real-time sensing method for decentralized computing state
CN112202614B (en) Method and device for communication between systems
CN107864097A (en) A kind of electricity consumption data distribution method and system
CN107147542A (en) A kind of information generating method and device

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

Application publication date: 20190521

RJ01 Rejection of invention patent application after publication