CN114166277B - Data acquisition optimization method and system - Google Patents
Data acquisition optimization method and system Download PDFInfo
- Publication number
- CN114166277B CN114166277B CN202111458323.1A CN202111458323A CN114166277B CN 114166277 B CN114166277 B CN 114166277B CN 202111458323 A CN202111458323 A CN 202111458323A CN 114166277 B CN114166277 B CN 114166277B
- Authority
- CN
- China
- Prior art keywords
- data
- priority
- sensor
- ith
- sensors
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 21
- 238000005457 optimization Methods 0.000 title claims abstract description 21
- 238000012544 monitoring process Methods 0.000 claims description 8
- 238000012913 prioritisation Methods 0.000 claims 2
- 238000001514 detection method Methods 0.000 description 3
- 230000000694 effects Effects 0.000 description 3
- 238000010586 diagram Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 230000000750 progressive effect Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01D—MEASURING NOT SPECIALLY ADAPTED FOR A SPECIFIC VARIABLE; ARRANGEMENTS FOR MEASURING TWO OR MORE VARIABLES NOT COVERED IN A SINGLE OTHER SUBCLASS; TARIFF METERING APPARATUS; MEASURING OR TESTING NOT OTHERWISE PROVIDED FOR
- G01D21/00—Measuring or testing not otherwise provided for
- G01D21/02—Measuring two or more variables by means not covered by a single other subclass
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Arrangements For Transmission Of Measured Signals (AREA)
- Telephonic Communication Services (AREA)
Abstract
The invention relates to a data acquisition optimization method and a system, wherein the method comprises the following steps: setting the priority of collecting data by N sensors; judging whether the data collected by the sensor corresponding to the ith priority exceeds an ith set threshold value or not; if the data acquired by the sensor corresponding to the ith priority exceeds the ith set threshold, making i=i+1, and judging whether i is larger than N; if i is greater than N, reporting the data acquired by the N sensors to a server; if i is smaller than or equal to N, a control instruction is generated, a sensor corresponding to the ith priority is controlled to start collecting data according to the control instruction, and whether the ith set threshold is exceeded is judged again. According to the invention, the priority of each sensor is set, and when the data detected by the sensor corresponding to the previous priority is larger than the set threshold, the sensor corresponding to the next priority detects the data, so that the redundancy of sensor data acquisition is reduced.
Description
Technical Field
The present invention relates to the field of data processing technologies, and in particular, to a data acquisition optimization method and system.
Background
In the field of electric power detection, the existing sensors work independently and report data independently, and no signal interaction exists in the acquisition process, so that redundancy of sensor data acquisition exists.
Disclosure of Invention
The invention aims to provide a data acquisition optimization method and system so as to reduce redundancy of sensor data acquisition.
In order to achieve the above object, the present invention provides a data acquisition optimization method, which includes:
step S1: setting the priority of collecting data by N sensors; wherein N is a positive integer greater than 1;
Step S2: judging whether the data collected by the sensor corresponding to the ith priority exceeds an ith set threshold value or not; if the data collected by the sensor corresponding to the ith priority exceeds the ith set threshold, making i=i+1, and executing a step S3; if the data acquired by the sensor corresponding to the ith priority does not exceed the ith set threshold, returning to the step S2;
Step S3: judging whether i is larger than N; if i is greater than N, then execute "step S4"; if i is smaller than or equal to N, a control instruction is generated, a sensor corresponding to the ith priority is controlled to start to acquire data according to the control instruction, and the step S2 is returned;
Step S4: and reporting the data acquired by the N sensors to a server.
Optionally, the setting the priorities of the N kinds of sensor collected data includes:
setting the priority of collecting data by N sensors according to the experience value;
or the priority of the N sensors for collecting data is set according to the historical monitoring data.
Optionally, the sensor includes:
At least two of a temperature sensor, a current sensor, a voltage sensor, a wind sensor and a wind deflection sensor.
The invention also provides a data acquisition optimization system, which comprises:
The priority setting module is used for setting the priority of the data collected by the N sensors; wherein N is a positive integer greater than 1;
The first judging module is used for judging whether the data acquired by the sensor corresponding to the ith priority exceeds an ith set threshold value or not; if the data acquired by the sensor corresponding to the ith priority exceeds the ith set threshold, making i=i+1, and executing a second judging module; if the data collected by the sensor corresponding to the ith priority does not exceed the ith set threshold, returning to a first judging module;
The second judging module is used for judging whether i is larger than N; if i is greater than N, executing a data uploading module; if i is smaller than or equal to N, a control instruction is generated, a sensor corresponding to the ith priority is controlled to start to acquire data according to the control instruction, and a first judging module is returned;
and the data uploading module is used for reporting the data acquired by the N sensors to the server.
Optionally, the priority setting module includes:
and the first priority setting unit is used for setting the priority of the N types of sensor acquisition data according to the experience value.
Optionally, the priority setting module further includes:
And the second priority setting unit is used for setting the priorities of the N sensors for collecting data according to the historical monitoring data.
The invention also provides a data acquisition optimization system, which comprises:
The N sensors are used for collecting N data;
And the controller is respectively connected with the N sensors and the server and is used for reporting the data acquired by the N sensors to the server by adopting the method.
Optionally, the sensor includes:
At least two of a temperature sensor, a current sensor, a voltage sensor, a wind sensor and a wind deflection sensor.
According to the specific embodiment provided by the invention, the invention discloses the following technical effects:
According to the invention, by setting the priorities of the sensors, when the data detected by the sensor corresponding to the previous priority is larger than the set threshold, the sensor corresponding to the next priority performs data detection, so that the redundancy of sensor data acquisition is reduced, a large amount of invalid data is further reduced, the pressure of a server is reduced, the data quantity received by the server is greatly reduced, and when the data quantity is reduced, the fault processing efficiency of the system is improved, so that faults can be detected more timely, and the effect of benign operation of the whole line monitoring is facilitated.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions of the prior art, the drawings that are needed in the embodiments will be briefly described below, it being obvious that the drawings in the following description are only some embodiments of the present invention, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a flow chart of a data acquisition optimization method of the present invention;
FIG. 2 is a block diagram of a data acquisition optimization system of the present invention.
Detailed Description
The following description of the embodiments of the present invention will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present invention, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
The invention aims to provide a data acquisition optimization method and system so as to reduce redundancy of sensor data acquisition.
In order that the above-recited objects, features and advantages of the present invention will become more readily apparent, a more particular description of the invention will be rendered by reference to the appended drawings and appended detailed description.
Example 1
As shown in fig. 1, the invention discloses a data acquisition optimization method, which comprises the following steps:
step S1: setting the priority of collecting data by N sensors; wherein N is a positive integer greater than 1.
Step S2: judging whether the data U i collected by the sensor corresponding to the ith priority exceeds an ith set threshold; if the data U i collected by the sensor corresponding to the ith priority exceeds the ith set threshold, let i=i+1, and execute "step S3"; if the data U i collected by the sensor corresponding to the ith priority does not exceed the ith set threshold, returning to the step S2.
Step S3: judging whether i is larger than N; if i is greater than N, then execute "step S4"; if i is smaller than or equal to N, a control instruction is generated, a sensor corresponding to the ith priority is controlled to start to collect data according to the control instruction, and the step S2 is returned.
Step S4: and reporting the data acquired by the N sensors to a server.
As an optional implementation manner, the setting the priority of the N types of sensor collected data according to the present invention includes:
and setting the priority of the data collected by the N sensors according to the experience value.
Or the priority of the N sensors for collecting data is set according to the historical monitoring data.
As an alternative embodiment, the sensor of the present invention includes:
At least two of a temperature sensor, a current sensor, a voltage sensor, a wind sensor and a wind deflection sensor.
Example 2
As shown in fig. 2, the present invention discloses a data acquisition optimization system, which includes:
a priority setting module 201, configured to set priorities of the N types of sensor collected data; wherein N is a positive integer greater than 1.
A first judging module 202, configured to judge whether the data collected by the sensor corresponding to the ith priority exceeds the ith set threshold; if the data collected by the sensor corresponding to the ith priority exceeds the ith set threshold, let i=i+1, and execute the "second judging module 203"; and if the data acquired by the sensor corresponding to the ith priority does not exceed the ith set threshold value, returning to the first judging module 202.
A second judging module 203, configured to judge whether i is greater than N; if i is greater than N, then execute the "data upload module 204"; if i is smaller than or equal to N, a control instruction is generated, a sensor corresponding to the ith priority is controlled to start collecting data according to the control instruction, and the first judgment module 202 is returned.
And the data uploading module 204 is used for reporting the data acquired by the N sensors to the server.
As an alternative embodiment, the priority setting module 201 of the present invention includes:
and the first priority setting unit is used for setting the priority of the N types of sensor acquisition data according to the experience value.
Or a second priority setting unit for setting the priority of the N kinds of sensor acquisition data according to the historical monitoring data.
Example 3
The invention also provides a data acquisition optimization system, which comprises:
And N sensors are used for collecting N data.
And the controller is respectively connected with the N sensors and the server and is used for reporting the data acquired by the N sensors to the server by adopting the method in the embodiment 1.
As an alternative embodiment, the sensor of the present invention includes:
At least two of a temperature sensor, a current sensor, a voltage sensor, a wind sensor and a wind deflection sensor.
According to the invention, by setting the priorities of the sensors, when the data detected by the sensor corresponding to the previous priority is larger than the set threshold, the sensor corresponding to the next priority performs data detection, so that the redundancy of sensor data acquisition is reduced, a large amount of invalid data is further reduced, the pressure of a server is reduced, the data quantity received by the server is greatly reduced, and when the data quantity is reduced, the fault processing efficiency of the system is improved, so that faults can be detected more timely, and the effect of benign operation of the whole line monitoring is facilitated.
In the present specification, each embodiment is described in a progressive manner, and each embodiment is mainly described in a different point from other embodiments, and identical and similar parts between the embodiments are all enough to refer to each other. For the system disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and the relevant points refer to the description of the method section.
The principles and embodiments of the present invention have been described herein with reference to specific examples, the description of which is intended only to assist in understanding the methods of the present invention and the core ideas thereof; also, it is within the scope of the present invention to be modified by those of ordinary skill in the art in light of the present teachings. In view of the foregoing, this description should not be construed as limiting the invention.
Claims (8)
1. A method for optimizing data acquisition, the method comprising:
step S1: setting the priority of collecting data by N sensors; wherein N is a positive integer greater than 1;
step S2: judging whether the data U i collected by the sensor corresponding to the ith priority exceeds an ith set threshold; if the data U i collected by the sensor corresponding to the ith priority exceeds the ith set threshold, let i=i+1, and execute "step S3"; if the data U i collected by the sensor corresponding to the ith priority does not exceed the ith set threshold, returning to the step S2;
Step S3: judging whether i is larger than N; if i is greater than N, then execute "step S4"; if i is smaller than or equal to N, a control instruction is generated, a sensor corresponding to the ith priority is controlled to start to acquire data according to the control instruction, and the step S2 is returned;
Step S4: and reporting the data acquired by the N sensors to a server.
2. The data acquisition optimization method according to claim 1, wherein the setting of the priorities of the N kinds of sensor acquisition data includes:
setting the priority of collecting data by N sensors according to the experience value;
or the priority of the N sensors for collecting data is set according to the historical monitoring data.
3. The data acquisition optimization method of claim 1, wherein the sensor comprises:
At least two of a temperature sensor, a current sensor, a voltage sensor, a wind sensor and a wind deflection sensor.
4. A data acquisition optimization system, the system comprising:
The priority setting module is used for setting the priority of the data collected by the N sensors; wherein N is a positive integer greater than 1;
The first judging module is used for judging whether the data U i collected by the sensor corresponding to the ith priority exceeds an ith set threshold;
If the data U i collected by the sensor corresponding to the ith priority exceeds the ith set threshold, making i=i+1, and executing a second judging module; if the data U i collected by the sensor corresponding to the ith priority does not exceed the ith set threshold, returning to a first judging module;
The second judging module is used for judging whether i is larger than N; if i is greater than N, executing a data uploading module; if i is smaller than or equal to N, a control instruction is generated, a sensor corresponding to the ith priority is controlled to start to acquire data according to the control instruction, and a first judging module is returned;
and the data uploading module is used for reporting the data acquired by the N sensors to the server.
5. The data acquisition optimization system of claim 4, wherein the prioritization module comprises:
and the first priority setting unit is used for setting the priority of the N types of sensor acquisition data according to the experience value.
6. The data acquisition optimization system of claim 5, wherein the prioritization module further comprises:
And the second priority setting unit is used for setting the priorities of the N sensors for collecting data according to the historical monitoring data.
7. A data acquisition optimization system, the system comprising:
The N sensors are used for collecting N data;
And the controller is respectively connected with the N sensors and the server and is used for reporting the data acquired by the N sensors to the server by adopting the method of any one of claims 1-3.
8. The data acquisition optimization system of claim 7, wherein the sensor comprises:
At least two of a temperature sensor, a current sensor, a voltage sensor, a wind sensor and a wind deflection sensor.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111458323.1A CN114166277B (en) | 2021-12-02 | 2021-12-02 | Data acquisition optimization method and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111458323.1A CN114166277B (en) | 2021-12-02 | 2021-12-02 | Data acquisition optimization method and system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN114166277A CN114166277A (en) | 2022-03-11 |
CN114166277B true CN114166277B (en) | 2024-05-24 |
Family
ID=80482564
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202111458323.1A Active CN114166277B (en) | 2021-12-02 | 2021-12-02 | Data acquisition optimization method and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114166277B (en) |
Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103919538A (en) * | 2014-04-30 | 2014-07-16 | 中国科学院微电子研究所 | Information acquisition system and method of body area network system |
CN104796972A (en) * | 2015-04-15 | 2015-07-22 | 浙江大学 | Communication method for reducing power consumption of wireless sensors and application of communication method |
CN106199768A (en) * | 2016-06-27 | 2016-12-07 | 武汉大学 | A kind of distributed intelligence meteorological sensor monitoring system and control method thereof |
DE102017210975A1 (en) * | 2017-06-28 | 2019-01-17 | Audi Ag | Method for collecting data |
CN109803183A (en) * | 2017-11-16 | 2019-05-24 | 观为监测技术无锡股份有限公司 | A kind of vibration data screening technique, device and acquisition system |
CN110196078A (en) * | 2019-06-26 | 2019-09-03 | 海芯华夏(北京)科技股份有限公司 | Extremely low power dissipation control method and device based on acquisition sensing data |
CN111314801A (en) * | 2020-02-13 | 2020-06-19 | 中国铁道科学研究院集团有限公司铁道建筑研究所 | Data acquisition system and method supporting dynamic scheduling |
CN111780860A (en) * | 2020-08-13 | 2020-10-16 | 国网河南省电力公司电力科学研究院 | Transmission line galloping monitoring system |
CN112114952A (en) * | 2020-09-24 | 2020-12-22 | 杭州鲁尔物联科技有限公司 | Multi-level threshold triggering sensor and multi-level threshold triggering method |
CN113538860A (en) * | 2021-09-15 | 2021-10-22 | 国能大渡河流域水电开发有限公司 | Multi-source sensor combined trigger variable frequency acquisition method and system |
-
2021
- 2021-12-02 CN CN202111458323.1A patent/CN114166277B/en active Active
Patent Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103919538A (en) * | 2014-04-30 | 2014-07-16 | 中国科学院微电子研究所 | Information acquisition system and method of body area network system |
CN104796972A (en) * | 2015-04-15 | 2015-07-22 | 浙江大学 | Communication method for reducing power consumption of wireless sensors and application of communication method |
CN106199768A (en) * | 2016-06-27 | 2016-12-07 | 武汉大学 | A kind of distributed intelligence meteorological sensor monitoring system and control method thereof |
DE102017210975A1 (en) * | 2017-06-28 | 2019-01-17 | Audi Ag | Method for collecting data |
CN109803183A (en) * | 2017-11-16 | 2019-05-24 | 观为监测技术无锡股份有限公司 | A kind of vibration data screening technique, device and acquisition system |
CN110196078A (en) * | 2019-06-26 | 2019-09-03 | 海芯华夏(北京)科技股份有限公司 | Extremely low power dissipation control method and device based on acquisition sensing data |
CN111314801A (en) * | 2020-02-13 | 2020-06-19 | 中国铁道科学研究院集团有限公司铁道建筑研究所 | Data acquisition system and method supporting dynamic scheduling |
CN111780860A (en) * | 2020-08-13 | 2020-10-16 | 国网河南省电力公司电力科学研究院 | Transmission line galloping monitoring system |
CN112114952A (en) * | 2020-09-24 | 2020-12-22 | 杭州鲁尔物联科技有限公司 | Multi-level threshold triggering sensor and multi-level threshold triggering method |
CN113538860A (en) * | 2021-09-15 | 2021-10-22 | 国能大渡河流域水电开发有限公司 | Multi-source sensor combined trigger variable frequency acquisition method and system |
Also Published As
Publication number | Publication date |
---|---|
CN114166277A (en) | 2022-03-11 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109067353B (en) | Active bypass control device and method for photovoltaic module | |
CN110805551A (en) | Intelligent control method for multi-pump-set water supply system | |
CN102929272A (en) | Motor system fault processing method and processor | |
WO2022057555A1 (en) | Fault detection method and apparatus, and photovoltaic power generation system | |
CN108153273B (en) | Vehicle signal failure fault diagnosis method and vehicle control unit | |
CN113708490B (en) | Abnormality detection method and device for photovoltaic power generation tracking system and storage medium | |
CN110726936A (en) | Method for judging and processing voltage sampling fault and voltage extreme value fault | |
CN106226605A (en) | A kind of PWM self-sensing method | |
CN115248292A (en) | Transformer fault analysis and diagnosis method and system | |
CN115603362A (en) | State judgment method and device for photovoltaic power generation system, controller and storage medium | |
CN205404756U (en) | Low -cost longmen axle motor band -type brake fault detection and control circuit | |
CN114166277B (en) | Data acquisition optimization method and system | |
CN117559542B (en) | Distributed new energy group control group modulation system and method | |
CN103151760B (en) | Over-current protection method and protection circuit of motor of electric vehicle | |
CN117674389A (en) | Dual-power-supply-based power distribution control method | |
CN109213128B (en) | Closed-loop control failure detection method and system | |
CN110596519A (en) | Direct current system ground fault detection system based on Fourier transform and detection method thereof | |
CN111884487A (en) | Control method and system of converter and wind power system | |
CN117596758B (en) | Fault diagnosis method and system for intelligent BA (building block) automatic control system of new energy factory | |
CN112018731A (en) | Monitoring method, device and system for rectifying and filtering device | |
CN110673031B (en) | Wire feeding motor overload detection method and circuit | |
CN113586364B (en) | Device, method and system for detecting yaw speed fault of fan yaw system | |
CN117458486B (en) | Control method of intelligent power supply system for mining area and intelligent power supply system for mining area | |
CN203193255U (en) | Electric automobile motor over-current protection circuit | |
CN118065465A (en) | Excavator power compensation and fault discrimination method and device and readable storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |