CN112418505A - Self-adaptive data acquisition method and monitoring system - Google Patents
Self-adaptive data acquisition method and monitoring system Download PDFInfo
- Publication number
- CN112418505A CN112418505A CN202011292809.8A CN202011292809A CN112418505A CN 112418505 A CN112418505 A CN 112418505A CN 202011292809 A CN202011292809 A CN 202011292809A CN 112418505 A CN112418505 A CN 112418505A
- Authority
- CN
- China
- Prior art keywords
- acquisition
- sample information
- acquiring
- rule
- acquisition rule
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q10/00—Administration; Management
- G06Q10/04—Forecasting or optimisation specially adapted for administrative or management purposes, e.g. linear programming or "cutting stock problem"
- G06Q10/043—Optimisation of two dimensional placement, e.g. cutting of clothes or wood
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01B—MEASURING LENGTH, THICKNESS OR SIMILAR LINEAR DIMENSIONS; MEASURING ANGLES; MEASURING AREAS; MEASURING IRREGULARITIES OF SURFACES OR CONTOURS
- G01B21/00—Measuring arrangements or details thereof, where the measuring technique is not covered by the other groups of this subclass, unspecified or not relevant
- G01B21/32—Measuring arrangements or details thereof, where the measuring technique is not covered by the other groups of this subclass, unspecified or not relevant for measuring the deformation in a solid
Landscapes
- Business, Economics & Management (AREA)
- Human Resources & Organizations (AREA)
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- Economics (AREA)
- General Physics & Mathematics (AREA)
- Strategic Management (AREA)
- Quality & Reliability (AREA)
- Marketing (AREA)
- Operations Research (AREA)
- Entrepreneurship & Innovation (AREA)
- Tourism & Hospitality (AREA)
- Development Economics (AREA)
- General Business, Economics & Management (AREA)
- Game Theory and Decision Science (AREA)
- Theoretical Computer Science (AREA)
- Testing Or Calibration Of Command Recording Devices (AREA)
Abstract
The application relates to a self-adaptive data acquisition method and a monitoring system, wherein the method comprises the steps of acquiring two adjacent first sample information from the same sensor on a time sequence; calculating the absolute value of the difference value of the deformation data in the two first sample information, and recording the absolute value as a first difference value; when the first difference is larger than a first trigger threshold, issuing control instruction information for acquiring first sample information according to a second acquisition rule; calculating a first acquisition time length for acquiring the first sample information according to a second acquisition rule; and when the first acquisition time length reaches the set monitoring time length, issuing control instruction information for acquiring the first sample information according to the first acquisition rule, wherein the acquisition frequency in the first acquisition rule is less than the acquisition frequency in the second acquisition rule. The method provided by the application can adjust the acquisition frequency according to the actual situation, and can prolong the working time of the monitoring equipment under the condition of meeting the data acquisition requirement.
Description
Technical Field
The application relates to the technical field of geological disaster monitoring, in particular to a self-adaptive data acquisition method and a monitoring system.
Background
In geological disaster monitoring engineering, sensors are usually arranged at key positions of hidden danger points in order to find abnormality in time, but most of practical application environments are in high mountain canyon regions, solar lighting and mains supply are difficult to guarantee, and long-term operation power consumption of monitoring equipment is a great challenge.
Disclosure of Invention
The application provides a self-adaptive data acquisition method and a monitoring system, which can adjust the acquisition frequency according to the actual situation and can prolong the working time of monitoring equipment under the condition of meeting the data acquisition requirement.
In a first aspect, the present application provides an adaptive data acquisition method, including:
acquiring two adjacent first sample information from the same sensor in a time sequence, wherein the first sample information comprises deformation data and is generated according to a first acquisition rule;
calculating the absolute value of the difference value of the deformation data in the two first sample information, and recording the absolute value as a first difference value;
when the first difference is larger than a first trigger threshold, issuing control instruction information for acquiring first sample information according to a second acquisition rule;
calculating a first acquisition time length for acquiring the first sample information according to a second acquisition rule; and
when the first acquisition time length reaches the set monitoring time length, issuing control instruction information for acquiring first sample information according to a first acquisition rule;
wherein the acquisition frequency in the first acquisition rule is less than the acquisition frequency in the second acquisition rule.
By adopting the technical scheme, the first acquisition rule can be converted into the second acquisition rule to carry out data acquisition when the triggering condition is met, the acquisition frequencies of the two acquisition rules are different, the consumption of the electric quantity is also different, the high-frequency second acquisition rule and the low-frequency first acquisition rule are alternately used, the requirement on the electric quantity can be reduced on the premise of meeting the data acquisition, and the working time of the monitoring equipment is prolonged.
In a possible implementation manner of the first aspect, after the set monitoring time length is reached, the method further includes:
when the first acquisition time length reaches the set monitoring time length, control instruction information entering the monitoring time period is issued;
calculating the time length of entering the monitoring time period; and
when the time length of entering the monitoring time period is equal to the set monitoring time length, issuing control instruction information for acquiring first sample information according to a first acquisition rule;
and acquiring first sample information according to a second acquisition rule in the monitoring time period.
By adopting the technical scheme, the time for acquiring data according to the high-frequency second acquisition rule is prolonged, and the integrity of the acquired data is improved.
In a possible implementation manner of the first aspect, the method further includes:
performing difference calculation on deformation data in the first sample information obtained in the monitoring time period and the monitoring threshold value to obtain a second difference value;
comparing the second difference value with a second trigger threshold value; and
resetting the monitoring time period when the second difference is greater than a second trigger threshold.
By adopting the technical scheme, the length of the monitoring time period is adjusted by monitoring the deformation data in the first sample information, so that the integrity of the acquired data is further improved.
In a second aspect, the present application provides an adaptive data acquisition method, including:
acquiring two adjacent first sample information from the same sensor in a time sequence, wherein the first sample information comprises deformation data and is generated according to a first acquisition rule;
calculating the difference value of the deformation data in the two first sample information, and recording as a third difference value;
when the third difference is larger than a third trigger threshold, issuing control instruction information for acquiring the first sample information according to a second acquisition rule;
acquiring first sample information acquired according to a second acquisition rule, wherein the first sample information comprises deformation data;
calculating a deformation trend based on the deformation data in the first sample information obtained according to the second acquisition rule, an
When the deformation trend is zero or within an allowable range, issuing control instruction information for acquiring first sample information according to a first acquisition rule;
wherein the acquisition frequency in the first acquisition rule is less than the acquisition frequency in the second acquisition rule.
By adopting the technical scheme, the first acquisition rule can be converted into the second acquisition rule to carry out data acquisition when the triggering condition is met, the acquisition frequencies of the two acquisition rules are different, the consumption of the electric quantity is also different, the high-frequency second acquisition rule and the low-frequency first acquisition rule are alternately used, the requirement on the electric quantity can be reduced on the premise of meeting the data acquisition, and the working time of the monitoring equipment is prolonged.
In a possible implementation manner of the second aspect, the method further includes:
when the deformation trend is zero or within an allowable range, issuing control instruction information entering a monitoring time period; and
after the monitoring time period is over, issuing control instruction information for acquiring first sample information according to a first acquisition rule;
and acquiring first sample information according to a second acquisition rule in the monitoring time period.
By adopting the technical scheme, the time for acquiring data according to the high-frequency second acquisition rule is prolonged, and the integrity of the acquired data is improved.
In a possible implementation manner of the second aspect, for any one of the first sample information acquired in the monitoring time period, the method further includes:
calculating the difference value between the deformation data contained in the data and the reset threshold value;
and resetting the monitoring time period when the difference value with the reset threshold value is beyond a second allowable range.
By adopting the technical scheme, the length of the monitoring time period is adjusted by monitoring the deformation data in the first sample information, so that the integrity of the acquired data is further improved.
In a third aspect, the present application provides a data acquisition device comprising:
the device comprises a first acquisition unit, a second acquisition unit and a processing unit, wherein the first acquisition unit is used for acquiring two adjacent first sample information from the same sensor on a time sequence, the first sample information comprises deformation data, and the first sample information is generated according to a first acquisition rule;
the first calculating unit is used for calculating the absolute value of the difference value of the deformation data in the two pieces of first sample information and recording the absolute value as a first difference value;
the first processing unit is used for issuing control instruction information for acquiring the first sample information according to a second acquisition rule when the first difference value is greater than a first trigger threshold value;
the second calculation unit is used for calculating the first acquisition time length of the first sample information acquired according to the second acquisition rule; and
the second processing unit is used for issuing control instruction information for acquiring the first sample information according to the first acquisition rule after the first acquisition time length reaches the set monitoring time length;
wherein the acquisition frequency in the first acquisition rule is less than the acquisition frequency in the second acquisition rule.
In a fourth aspect, the present application provides a data acquisition device comprising:
the third acquisition unit is used for acquiring two adjacent first sample information from the same sensor in a time sequence, wherein the first sample information comprises deformation data and is generated according to a first acquisition rule;
the third calculating unit is used for calculating the difference value of the deformation data in the two first sample information and recording the difference value as a third difference value;
the third processing unit is used for issuing control instruction information for acquiring the first sample information according to a second acquisition rule when the third difference value is greater than a third trigger threshold value;
the fourth acquisition unit is used for acquiring first sample information acquired according to the second acquisition rule, wherein the first sample information comprises deformation data;
a fourth calculating unit for calculating a deformation trend according to the deformation data in the first sample information obtained according to the second acquisition rule, and
the fourth processing unit is used for issuing control instruction information for acquiring the first sample information according to the first acquisition rule when the deformation trend is zero or within an allowable range;
wherein the acquisition frequency in the first acquisition rule is less than the acquisition frequency in the second acquisition rule.
In a fifth aspect, the present application provides a monitoring system, the system comprising:
one or more memories for storing instructions; and
one or more processors configured to call and execute the instructions from the memory, and execute the adaptive data acquisition method according to the first aspect and any possible implementation manner of the first aspect.
In a sixth aspect, the present application provides a monitoring system, the system comprising:
one or more memories for storing instructions; and
one or more processors configured to call and execute the instructions from the memory to perform the adaptive data acquisition method according to the second aspect and any possible implementation manner of the second aspect.
In a seventh aspect, the present application provides a computer-readable storage medium, comprising:
a program for performing, when executed by a processor, the adaptive data acquisition method as described in the first aspect and any possible implementation manner of the first aspect.
In an eighth aspect, the present application provides a computer-readable storage medium comprising:
a program for performing, when executed by a processor, the adaptive data acquisition method as described in the second aspect and any possible implementation manner of the second aspect.
In a ninth aspect, the present application provides a computer program product comprising program instructions that, when executed by a computing device, perform the adaptive data acquisition method as described in the first aspect and any possible implementation manner of the first aspect.
In a tenth aspect, the present application provides a computer program product comprising program instructions for executing the adaptive data acquisition method according to the second aspect and any possible implementation manner of the second aspect when the program instructions are executed by a computing device.
In an eleventh aspect, the present application provides a system on a chip comprising a processor configured to perform the functions recited in the above aspects, such as generating, receiving, transmitting, or processing data and/or information recited in the above methods.
The chip system may be formed by a chip, or may include a chip and other discrete devices.
In one possible design, the system-on-chip further includes a memory for storing necessary program instructions and data. The processor and the memory may be decoupled, disposed on different devices, connected in a wired or wireless manner, or coupled on the same device.
Drawings
Fig. 1(a) is a schematic diagram of an operation process of a first sensor provided in an embodiment of the present application.
Fig. 1(B) is a schematic diagram of an operation process of a second sensor provided in the embodiment of the present application.
Fig. 2 is a schematic diagram of an operation process of a third sensor provided in the embodiment of the present application.
Fig. 3 is a schematic diagram of an operation process of a fourth sensor provided in the embodiment of the present application.
Fig. 4 is a schematic diagram of a change trend of deformation data in time according to an embodiment of the present application.
Fig. 5 is a schematic diagram of a time variation trend of another deformation data provided in an embodiment of the present application.
Fig. 6 is a schematic diagram of an operation process provided in an embodiment of the present application.
Fig. 7 is a schematic diagram of another operation process provided in the embodiment of the present application.
Detailed Description
The technical solution of the present application will be described in further detail below with reference to the accompanying drawings.
For a clearer understanding of the technical solutions in the present application, a brief description will be given first of all of a sensor for geological disaster monitoring and its operation.
The purpose of geological disaster monitoring is to predict possible damage through data feedback of various sensors, and deformation of a geological structure is characterized by "a short time and a large amplitude" before a disaster, that is, for a sensor, a monitored posture needs to be maintained to cope with the sudden situation.
It should be understood that sensors for monitoring geological disasters are mostly installed in the field, and in most cases, the sensors do not have a continuous power supply condition, and then the sensors face the problem that the sensors cannot feed back data due to the fact that the sensors are exhausted. In order to achieve the purpose of saving power consumption, a working mode of timing acquisition is usually adopted, but the mode of timing acquisition is difficult to capture deformation process data, and the specific reasons are as follows:
first, a fixed frequency acquisition is used, so-called a timing acquisition, but the timing acquisition mode is difficult to capture deformation process data, for example, deformation happens between two acquisition times, so that the deformation data is lost, or the time span for generating deformation is large, and data discontinuity is easily caused.
Secondly, the high frequency and the low frequency are alternately acquired according to a set rule, the mode is also used for acquiring data by using the fixed frequency, if the deformation happens in the time period of the low frequency acquisition, the problems of data loss and incapability of truly feeding back the deformation process still occur, it is understood that the occurrence of geological disasters is sudden and irregular, the consumption degree of the mode on electric quantity is large, and the acquired data and the data in an actual scene have certain deviation.
The self-adaptive data acquisition method disclosed by the embodiment of the application uses two rules of a high-frequency acquisition rule and a low-frequency acquisition rule, under a normal condition, the low-frequency acquisition rule is used for acquiring data and analyzing the acquired data, after a trigger condition is reached, the high-frequency acquisition rule is converted into the high-frequency acquisition rule for acquiring data, the high-frequency acquisition rule and the low-frequency acquisition rule can be automatically switched according to actual conditions, and the mode reduces the consumption of electric energy under the condition of meeting the requirement of data acquisition and is beneficial to prolonging the working time of monitoring equipment.
Referring to fig. 1(a) and fig. 1(B), an adaptive data acquisition method disclosed in an embodiment of the present application includes the following steps:
s101, acquiring two adjacent first sample information from the same sensor in a time sequence, wherein the first sample information comprises deformation data and is generated according to a first acquisition rule;
s102, calculating the absolute value of the difference value of the deformation data in the two first sample information, and recording the absolute value as a first difference value;
s103, when the first difference is larger than a first trigger threshold, issuing control instruction information for acquiring first sample information according to a second acquisition rule;
s104, calculating a first acquisition time length for acquiring the first sample information according to a second acquisition rule; and
s105, when the first acquisition time length reaches the set monitoring time length, issuing control instruction information for acquiring first sample information according to a first acquisition rule;
wherein the acquisition frequency in the first acquisition rule is less than the acquisition frequency in the second acquisition rule.
Specifically, in step S101, two adjacent first sample information from the same sensor are obtained, and then the first sample information is analyzed to determine whether to switch from the first collection rule to the second collection rule.
For convenience of understanding, the working state of the sensor for geological disaster monitoring is divided into a conventional working state and an unconventional working state, in the conventional working state, the sensor works according to a first acquisition rule, in the unconventional working state, the sensor works according to a second acquisition rule, the first acquisition rule and the second acquisition rule are different in acquisition frequency, and specifically, the acquisition frequency of the second acquisition rule is higher than that of the first acquisition rule.
It should be understood that, for a sensor for monitoring geological disasters, which operates according to the first acquisition rule under normal operating conditions, the acquisition frequency of the first acquisition rule is low, and therefore the consumption of electric power is low. The sample information obtained by the sensor in the working process contains deformation data, and the deformation data represents the change of the position of the sensor.
For example, when a crack sensor is operated according to the first acquisition rule, the interval between two acquisitions is 15 minutes, there are several cases,
first, the deformation data fed back for the first time is 0, and the deformation data fed back for the first time is 0;
secondly, the deformation data fed back for the first time is 0, and the deformation data fed back for the first time is 0.003;
thirdly, the deformation data fed back for the first time is 0, and the deformation data fed back for the first time is 0.1;
the first situation shows that the position of the sensor is not changed, and the second situation and the third situation show that the position of the sensor is not changed, the difference is the variation, the judgment of the variation is the basis for switching to the second acquisition rule, if the switching standard is 0.02, the working state of the sensor is converted from the first acquisition rule to the second acquisition rule when the third situation occurs.
For the two pieces of first sample information, they should be adjacent in time series, for example, the sensor performs two data acquisitions, and then for the two pieces of generated first sample information, a judgment needs to be made; if the sensor performs the third data acquisition, the first sample information generated for the second time and the third time needs to be judged; if the sensor performs the fourth data acquisition, the first sample information generated for the third time and the fourth time needs to be judged, and so on.
Next, step S102 and step S103 are executed, in which the deformation data in the first sample information obtained in step S101 is calculated, and it should be understood that the calculated result may be a positive number or a negative number, and for convenience of comparison, the absolute value of the calculated result is taken for comparison, and for convenience of description, the absolute value of the difference is referred to as a first difference.
In step S103, the first difference is compared with a first trigger threshold, where the first trigger threshold is preset, and when the first difference is greater than the first trigger threshold, a switching condition is satisfied, at this time, control instruction information for acquiring the first sample information according to the second acquisition rule is issued, and the sensor that receives the control instruction information starts to acquire the first sample information according to the second acquisition rule, otherwise, the sensor continues to acquire the first sample information according to the first acquisition rule.
In step S104, a first collection time length for obtaining the first sample information according to the second collection rule is calculated, and after the set monitoring time length is reached, the control instruction information for obtaining the first sample information according to the first collection rule is issued, that is, the non-conventional operating state is switched to the conventional operating state.
For example, in a specific scenario, the data acquired by the sensor in the normal operating state satisfies the trigger condition, and the sensor is switched to the abnormal operating state, that is, operates according to the second acquisition rule, where the time of the abnormal operating state is five minutes, and then after five minutes, the sensor is automatically switched to the normal operating state, that is, the content in step S105.
On the whole, the self-adaptive data acquisition method shown in the embodiment of the present application can analyze data obtained according to the first acquisition rule, and is used for determining whether to switch to the second acquisition rule with higher acquisition frequency for data acquisition, that is, the first acquisition rule and the second acquisition rule are automatically switched according to actual conditions, the acquisition frequency of the first acquisition rule is low, the power consumption is low, the acquisition frequency of the second acquisition rule is high, the power consumption is also high, the two acquisition rules are alternately used, on the premise of meeting the data acquisition requirement, the consumption of the power is reduced, and the working time of the monitoring device is prolonged.
It should be understood that the adaptive data acquisition method shown in the embodiments of the present application may be applied to both the control part of the sensor and a working platform, where multiple sensors may be connected or integrated, and the working states of the sensors may be controlled and adjusted by using the above method.
As a specific embodiment of the adaptive data acquisition method, please refer to fig. 2, which further adds the following steps:
s201, when the first acquisition time length reaches the set monitoring time length, issuing control instruction information entering the monitoring time period;
s202, calculating the time length of entering a monitoring time period; and
s203, when the time length of the monitoring time period is equal to the set monitoring time length, issuing control instruction information for acquiring first sample information according to a first acquisition rule;
and acquiring first sample information according to a second acquisition rule in the monitoring time period.
The main content in steps S201 to S203 is that a monitoring time period is added before the second acquisition rule is switched to the first acquisition rule, and the purpose of the monitoring time period is to prolong the time for working according to the second acquisition rule, so that more complete data can be acquired to a certain extent.
Taking a specific scenario as an example, the sensor is switched from the normal operating state to the abnormal operating state, the time duration of the abnormal operating state is five minutes, and then after five minutes, the sensor should be switched back to the normal operating state, but if the deformation occurs again after five minutes, a situation that data of the part of the deformation cannot be acquired or only partial data of the part of the deformation can be acquired occurs. From the analysis of the deformation, the deformation is divided into two processes, and the purpose of increasing the monitoring time period is to obtain more complete data.
Specifically, after the set monitoring time period is reached, step S201 is executed, in which a control instruction message entering the monitoring time period is issued, and at this time, the sensor still works according to the second acquisition rule.
In step S202, the time length of the monitoring time period is calculated, and when the time length of the monitoring time period is equal to the set monitoring time length, the control instruction information for acquiring the first sample information according to the first acquisition rule, that is, the content in step S203, is issued.
Taking a specific scene as an example, the controller controls the working state of the sensor, the data returned by the sensor meets the switching condition after being analyzed, the sensor is switched to work according to the second acquisition rule according to the first acquisition rule, the monitoring time period starts to enter after the set monitoring time period is reached, the sensor still works according to the second acquisition rule in the monitoring time period, and finally the sensor is switched to work according to the first acquisition rule, so that the working mode is more suitable for the actual use scene.
Further, referring to fig. 3, for the length of the monitoring period, the following steps are used for adjustment,
s301, calculating a difference value between deformation data in the first sample information obtained in the monitoring time period and a monitoring threshold value to obtain a second difference value;
s302, comparing the second difference value with a second trigger threshold value; and
and S303, resetting the monitoring time period when the second difference value is larger than the second trigger threshold value.
It should be understood that, in the monitoring period, there may be a case where the deformation is intermittent, for example, two times of deformation occur in the monitoring period, and at this time, there is a high possibility that the deformation occurs for a third time or more, so in step S301, the deformation data in the first sample information obtained in the monitoring period is subjected to difference calculation with the monitoring threshold to obtain a second difference, and then the length of the monitoring period is adjusted according to the second difference, specifically, the deformation occurring in the monitoring period is reset as long as its deformation value (i.e., the deformation data in the corresponding first sample information) exceeds the monitoring threshold, which is the content in step S302 and step S303.
The resetting of the monitoring time period is to recalculate the time length of the monitoring time period at the time point when the second difference value and the second trigger threshold value occur, and if the second difference value is larger than the second trigger threshold value for a plurality of times, the monitoring time period needs to be reset for a plurality of times.
On the whole, through the monitoring of the second difference, the length of the monitoring time period can be adaptively adjusted according to the actual situation, and the monitoring time period can be more suitable for the actual use scene requirements.
The embodiment of the application also discloses a self-adaptive data acquisition method, which comprises the following steps:
s401, acquiring two adjacent first sample information from the same sensor in a time sequence, wherein the first sample information comprises deformation data and is generated according to a first acquisition rule;
s402, calculating the difference value of the deformation data in the two first sample information, and recording as a third difference value;
s403, when the third difference is larger than the third trigger threshold, issuing control instruction information for acquiring the first sample information according to the second acquisition rule;
s404, acquiring first sample information acquired according to a second acquisition rule, wherein the first sample information comprises deformation data;
s405, calculating a deformation trend according to the deformation data in the first sample information acquired according to the second acquisition rule, and
s406, when the deformation trend is zero or within an allowable range, issuing control instruction information for acquiring first sample information according to a first acquisition rule;
wherein the acquisition frequency in the first acquisition rule is less than the acquisition frequency in the second acquisition rule.
The contents in step S401 and step S403 are the same as those in step S101 and step S103, and are not described again here.
In steps S404 and S405, the first sample information obtained according to the second collection rule is analyzed to determine whether the second collection rule needs to be exited, and the first sample information is obtained according to the first collection rule.
Specifically, referring to fig. 4 and fig. 5, for the first sample information obtained according to the second acquisition rule, the variation trend is determined according to the deformation data to which the first sample information belongs, and the width of the crack is taken as an example,
the resulting crack widths were 1, 1.02, 1.03, 1.035, 1.04, 1.04, 1.04, … … over a certain period of time, so it is clear that when the crack width reached 1.04, no change occurred;
as another example, if the width of the crack obtained is 1, 1.02, 1.03, 1.035, 1.04, 1.04001, 1.04002, 1.04003, … … in a certain period of time, then it is clear that the trend toward the future is very small when the width of the crack reaches 1.04.
For the change trend, there are two situations that the change does not occur and the change does not occur within the allowable range, and if the change trend is calculated according to the deformation data in the first sample information acquired by the second acquisition rule, the change does not occur or the change does not occur within the allowable range, at this moment, the control instruction information for acquiring the first sample information according to the first acquisition rule is issued, that is, the data acquisition is switched to the data acquisition according to the first acquisition rule.
As a specific embodiment of the adaptive data acquisition method provided by the application, please refer to fig. 2 and 2, a monitoring time period is added as a supplement, and specifically, the method includes the following steps:
s501, when the deformation trend is zero or within an allowable range, issuing control instruction information entering a monitoring time period; and
s502, after the monitoring time period is over, issuing control instruction information for acquiring first sample information according to a first acquisition rule;
and acquiring first sample information according to a second acquisition rule in the monitoring time period.
Specifically, before switching to obtaining the first sample information according to the first collection rule, a monitoring time period is added, and the content of the part is the same as the main content in step S201 to step S203, which is not described herein again.
It should be understood that, in the monitoring time period, the deformation may also be intermittent, for example, two deformations occur in the monitoring time period, and at this time, a third deformation or even more may occur very much, so as to refer to fig. 3 as a specific embodiment of the adaptive data acquisition method provided by the application, the following steps are added to adjust the length of the monitoring time period:
s601, calculating a difference value between deformation data and a reset threshold value contained in any first sample information acquired in a monitoring time period;
and S602, resetting the monitoring time period when the difference value with the reset threshold value is beyond a second allowable range.
Specifically, in step S601, a difference between the deformation data in the first sample information obtained in the monitoring time period and the reset threshold is calculated to obtain a second difference, and then the length of the monitoring time period is adjusted according to the second difference.
That is, the deformation occurring in the monitoring period is reset as long as the deformation value (i.e., the deformation data in the first sample information corresponding thereto) thereof exceeds the monitoring threshold, which is the contents of step S302 and step S303.
Referring to fig. 6 and 7, in the two graphs, the curve in the graph shows the variation trend of the deformation amount with time, and the solid dots on the curve show that data acquisition is required at the time point, it can be seen that the variation trend of the acquisition frequency and the deformation amount is in positive correlation, the more obvious the deformation trend is, the higher the data acquisition frequency is, and conversely, the higher the data acquisition frequency is, that is, the frequency of data acquisition can be automatically adjusted according to the variation of the deformation trend.
An embodiment of the present application further provides a data acquisition apparatus, including:
the device comprises a first acquisition unit, a second acquisition unit and a processing unit, wherein the first acquisition unit is used for acquiring two adjacent first sample information from the same sensor on a time sequence, the first sample information comprises deformation data, and the first sample information is generated according to a first acquisition rule;
the first calculating unit is used for calculating the absolute value of the difference value of the deformation data in the two pieces of first sample information and recording the absolute value as a first difference value;
the first processing unit is used for issuing control instruction information for acquiring the first sample information according to a second acquisition rule when the first difference value is greater than a first trigger threshold value;
the second calculation unit is used for calculating the first acquisition time length of the first sample information acquired according to the second acquisition rule; and
the second processing unit is used for issuing control instruction information for acquiring the first sample information according to the first acquisition rule after the first acquisition time length reaches the set monitoring time length;
wherein the acquisition frequency in the first acquisition rule is less than the acquisition frequency in the second acquisition rule.
An embodiment of the present application further provides a data acquisition apparatus, including:
the third acquisition unit is used for acquiring two adjacent first sample information from the same sensor in a time sequence, wherein the first sample information comprises deformation data and is generated according to a first acquisition rule;
the third calculating unit is used for calculating the difference value of the deformation data in the two first sample information and recording the difference value as a third difference value;
the third processing unit is used for issuing control instruction information for acquiring the first sample information according to a second acquisition rule when the third difference value is greater than a third trigger threshold value;
the fourth acquisition unit is used for acquiring first sample information acquired according to the second acquisition rule, wherein the first sample information comprises deformation data;
a fourth calculating unit for calculating a deformation trend according to the deformation data in the first sample information obtained according to the second acquisition rule, and
the fourth processing unit is used for issuing control instruction information for acquiring the first sample information according to the first acquisition rule when the deformation trend is zero or within an allowable range;
wherein the acquisition frequency in the first acquisition rule is less than the acquisition frequency in the second acquisition rule.
In one example, the units in any of the above apparatuses may be one or more integrated circuits configured to implement the above methods, such as: one or more Application Specific Integrated Circuits (ASICs), or one or more Digital Signal Processors (DSPs), or one or more Field Programmable Gate Arrays (FPGAs), or a combination of at least two of these integrated circuit forms.
As another example, when a unit in a device may be implemented in the form of a processing element scheduler, the processing element may be a general-purpose processor, such as a Central Processing Unit (CPU) or other processor capable of invoking programs. As another example, these units may be integrated together and implemented in the form of a system-on-a-chip (SOC).
Various objects such as various messages/information/devices/network elements/systems/devices/actions/operations/procedures/concepts may be named in the present application, it is to be understood that these specific names do not constitute limitations on related objects, and the named names may vary according to circumstances, contexts, or usage habits, and the understanding of the technical meaning of the technical terms in the present application should be mainly determined by the functions and technical effects embodied/performed in the technical solutions.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the several embodiments provided in the present application, it should be understood that the disclosed system, apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one logical division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
It should also be understood that, in various embodiments of the present application, first, second, etc. are used merely to indicate that a plurality of objects are different. For example, the first time window and the second time window are merely to show different time windows. And should not have any influence on the time window itself, and the above-mentioned first, second, etc. should not impose any limitation on the embodiments of the present application.
It is also to be understood that the terminology and/or the description of the various embodiments herein is consistent and mutually inconsistent if no specific statement or logic conflicts exists, and that the technical features of the various embodiments may be combined to form new embodiments based on their inherent logical relationships.
The functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application or portions thereof that substantially contribute to the prior art may be embodied in the form of a software product stored in a computer-readable storage medium, which includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to perform all or part of the steps of the method according to the embodiments of the present application. And the aforementioned computer-readable storage media comprise: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
An embodiment of the present application further provides a monitoring system, where the system includes:
one or more memories for storing instructions; and
one or more processors configured to retrieve and execute the instructions from the memory to perform the adaptive data collection method as described above.
Embodiments of the present application also provide a computer program product, which includes instructions that, when executed, cause the monitoring system to perform operations of the monitoring system corresponding to the above-described method.
Embodiments of the present application further provide a chip system, which includes a processor, and is configured to implement the functions referred to in the foregoing, for example, to generate, receive, transmit, or process data and/or information referred to in the foregoing methods.
The chip system may be formed by a chip, or may include a chip and other discrete devices.
The processor mentioned in any of the above may be a CPU, a microprocessor, an ASIC, or one or more integrated circuits for controlling the execution of the program of the method for transmitting feedback information.
In one possible design, the system-on-chip further includes a memory for storing necessary program instructions and data. The processor and the memory may be decoupled, respectively disposed on different devices, and connected in a wired or wireless manner to support the chip system to implement various functions in the above embodiments. Alternatively, the processor and the memory may be coupled to the same device.
Optionally, the computer instructions are stored in a memory.
Alternatively, the memory is a storage unit in the chip, such as a register, a cache, and the like, and the memory may also be a storage unit outside the chip in the terminal, such as a ROM or other types of static storage devices that can store static information and instructions, a RAM, and the like.
It will be appreciated that the memory in the embodiments of the subject application can be either volatile memory or nonvolatile memory, or can include both volatile and nonvolatile memory.
The non-volatile memory may be ROM, Programmable Read Only Memory (PROM), Erasable PROM (EPROM), Electrically Erasable PROM (EEPROM), or flash memory.
Volatile memory can be RAM, which acts as external cache memory. There are many different types of RAM, such as Static Random Access Memory (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), double data rate SDRAM (DDR SDRAM), Enhanced SDRAM (ESDRAM), synclink DRAM (SLDRAM), and direct memory bus RAM.
The embodiments of the present invention are preferred embodiments of the present application, and the scope of protection of the present application is not limited by the embodiments, so: all equivalent changes made according to the structure, shape and principle of the present application shall be covered by the protection scope of the present application.
Claims (10)
1. An adaptive data acquisition method, comprising:
acquiring two adjacent first sample information from the same sensor in a time sequence, wherein the first sample information comprises deformation data and is generated according to a first acquisition rule;
calculating the absolute value of the difference value of the deformation data in the two first sample information, and recording the absolute value as a first difference value;
when the first difference is larger than a first trigger threshold, issuing control instruction information for acquiring first sample information according to a second acquisition rule;
calculating a first acquisition time length for acquiring the first sample information according to a second acquisition rule; and
when the first acquisition time length reaches the set monitoring time length, issuing control instruction information for acquiring first sample information according to a first acquisition rule;
wherein the acquisition frequency in the first acquisition rule is less than the acquisition frequency in the second acquisition rule.
2. The adaptive data acquisition method according to claim 1, further comprising, after the set monitoring time period is reached:
when the first acquisition time length reaches the set monitoring time length, control instruction information entering the monitoring time period is issued;
calculating the time length of entering the monitoring time period; and
when the time length of entering the monitoring time period is equal to the set monitoring time length, issuing control instruction information for acquiring first sample information according to a first acquisition rule;
and acquiring first sample information according to a second acquisition rule in the monitoring time period.
3. The adaptive data acquisition method according to claim 2, further comprising:
performing difference calculation on deformation data in the first sample information obtained in the monitoring time period and the monitoring threshold value to obtain a second difference value;
comparing the second difference value with a second trigger threshold value; and
resetting the monitoring time period when the second difference is greater than a second trigger threshold.
4. An adaptive data acquisition method, comprising:
acquiring two adjacent first sample information from the same sensor in a time sequence, wherein the first sample information comprises deformation data and is generated according to a first acquisition rule;
calculating the difference value of the deformation data in the two first sample information, and recording as a third difference value;
when the third difference is larger than a third trigger threshold, issuing control instruction information for acquiring the first sample information according to a second acquisition rule;
acquiring first sample information acquired according to a second acquisition rule, wherein the first sample information comprises deformation data;
calculating a deformation trend based on the deformation data in the first sample information obtained according to the second acquisition rule, an
When the deformation trend is zero or within an allowable range, issuing control instruction information for acquiring first sample information according to a first acquisition rule;
wherein the acquisition frequency in the first acquisition rule is less than the acquisition frequency in the second acquisition rule.
5. The adaptive data acquisition method according to claim 4, further comprising:
when the deformation trend is zero or within an allowable range, issuing control instruction information entering a monitoring time period; and
after the monitoring time period is over, issuing control instruction information for acquiring first sample information according to a first acquisition rule;
and acquiring first sample information according to a second acquisition rule in the monitoring time period.
6. The adaptive data acquisition method according to claim 5, wherein for any one of the first sample information acquired during the monitoring period,
calculating the difference value between the deformation data contained in the data and the reset threshold value; and
and resetting the monitoring time period when the difference value with the reset threshold value is beyond a second allowable range.
7. A data acquisition device, comprising:
the device comprises a first acquisition unit, a second acquisition unit and a processing unit, wherein the first acquisition unit is used for acquiring two adjacent first sample information from the same sensor on a time sequence, the first sample information comprises deformation data, and the first sample information is generated according to a first acquisition rule;
the first calculating unit is used for calculating the absolute value of the difference value of the deformation data in the two pieces of first sample information and recording the absolute value as a first difference value;
the first processing unit is used for issuing control instruction information for acquiring the first sample information according to a second acquisition rule when the first difference value is greater than a first trigger threshold value;
the second calculation unit is used for calculating the first acquisition time length of the first sample information acquired according to the second acquisition rule; and
the second processing unit is used for issuing control instruction information for acquiring the first sample information according to the first acquisition rule after the first acquisition time length reaches the set monitoring time length;
wherein the acquisition frequency in the first acquisition rule is less than the acquisition frequency in the second acquisition rule.
8. A data acquisition device, comprising:
the third acquisition unit is used for acquiring two adjacent first sample information from the same sensor in a time sequence, wherein the first sample information comprises deformation data and is generated according to a first acquisition rule;
the third calculating unit is used for calculating the difference value of the deformation data in the two first sample information and recording the difference value as a third difference value;
the third processing unit is used for issuing control instruction information for acquiring the first sample information according to a second acquisition rule when the third difference value is greater than a third trigger threshold value;
the fourth acquisition unit is used for acquiring first sample information acquired according to the second acquisition rule, wherein the first sample information comprises deformation data;
a fourth calculating unit, configured to calculate a deformation trend according to the deformation data in the first sample information obtained according to the second acquisition rule,
the fourth processing unit is used for issuing control instruction information for acquiring the first sample information according to the first acquisition rule when the deformation trend is zero or within an allowable range;
wherein the acquisition frequency in the first acquisition rule is less than the acquisition frequency in the second acquisition rule.
9. A monitoring system, the system comprising:
one or more memories for storing instructions; and
one or more processors configured to retrieve and execute the instructions from the memory to perform the adaptive data collection method of any one of claims 1 to 3 or 4 to 6.
10. A computer-readable storage medium, the computer-readable storage medium comprising:
program which, when executed by a processor, performs the adaptive data acquisition method of any one of claims 1 to 3 or 4 to 6.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011292809.8A CN112418505A (en) | 2020-11-18 | 2020-11-18 | Self-adaptive data acquisition method and monitoring system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011292809.8A CN112418505A (en) | 2020-11-18 | 2020-11-18 | Self-adaptive data acquisition method and monitoring system |
Publications (1)
Publication Number | Publication Date |
---|---|
CN112418505A true CN112418505A (en) | 2021-02-26 |
Family
ID=74832257
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202011292809.8A Pending CN112418505A (en) | 2020-11-18 | 2020-11-18 | Self-adaptive data acquisition method and monitoring system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112418505A (en) |
Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102175269A (en) * | 2011-01-24 | 2011-09-07 | 华东师范大学 | Sensor device capable of changing sampling frequency and control method thereof |
US20130282228A1 (en) * | 2012-04-23 | 2013-10-24 | Geotab Inc. | Even driven data acquisition switch |
WO2014087296A1 (en) * | 2012-12-03 | 2014-06-12 | Koninklijke Philips N.V. | A system and method for optimizing the frequency of data collection and thresholds for deterioration detection algorithm |
CN105910713A (en) * | 2016-04-11 | 2016-08-31 | 成都瑞途电子有限公司 | PLC-based temperature signal collection system |
CN108663093A (en) * | 2017-03-28 | 2018-10-16 | 北京华电滢欣科技有限公司 | A kind of method and apparatus of dynamic adjustment gauge table measurement frequency |
CN108981069A (en) * | 2018-06-29 | 2018-12-11 | 珠海格力电器股份有限公司 | Control method and device for data acquisition frequency and air conditioning system |
CN109066974A (en) * | 2018-08-02 | 2018-12-21 | 国家电网有限公司 | Substation's status information capture method and device |
CN110766928A (en) * | 2019-10-22 | 2020-02-07 | 山东思科赛德矿业安全工程有限公司 | Mine intelligent sensor data acquisition method based on Internet of things |
CN110987067A (en) * | 2019-11-26 | 2020-04-10 | 福州大学 | Multi-source self-adaptive acquisition and monitoring system and method for slope disaster characteristic data |
-
2020
- 2020-11-18 CN CN202011292809.8A patent/CN112418505A/en active Pending
Patent Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102175269A (en) * | 2011-01-24 | 2011-09-07 | 华东师范大学 | Sensor device capable of changing sampling frequency and control method thereof |
US20130282228A1 (en) * | 2012-04-23 | 2013-10-24 | Geotab Inc. | Even driven data acquisition switch |
WO2014087296A1 (en) * | 2012-12-03 | 2014-06-12 | Koninklijke Philips N.V. | A system and method for optimizing the frequency of data collection and thresholds for deterioration detection algorithm |
CN105910713A (en) * | 2016-04-11 | 2016-08-31 | 成都瑞途电子有限公司 | PLC-based temperature signal collection system |
CN108663093A (en) * | 2017-03-28 | 2018-10-16 | 北京华电滢欣科技有限公司 | A kind of method and apparatus of dynamic adjustment gauge table measurement frequency |
CN108981069A (en) * | 2018-06-29 | 2018-12-11 | 珠海格力电器股份有限公司 | Control method and device for data acquisition frequency and air conditioning system |
CN109066974A (en) * | 2018-08-02 | 2018-12-21 | 国家电网有限公司 | Substation's status information capture method and device |
CN110766928A (en) * | 2019-10-22 | 2020-02-07 | 山东思科赛德矿业安全工程有限公司 | Mine intelligent sensor data acquisition method based on Internet of things |
CN110987067A (en) * | 2019-11-26 | 2020-04-10 | 福州大学 | Multi-source self-adaptive acquisition and monitoring system and method for slope disaster characteristic data |
Non-Patent Citations (1)
Title |
---|
方德坚: "机房环境监控***的研究与实现", 《中国优秀硕士学位论文全文数据库 信息科技辑(月刊 )》 * |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104778111B (en) | A kind of method and apparatus alarmed | |
US9654846B2 (en) | Sensor based signal transmission methods and apparatuses | |
CN109992473B (en) | Application system monitoring method, device, equipment and storage medium | |
US11620539B2 (en) | Method and device for monitoring a process of generating metric data for predicting anomalies | |
CN110990645B (en) | Power consumption monitoring method and device, computer equipment and storage medium | |
CN104426696A (en) | Fault processing method and device | |
CN112816623A (en) | Information collection method and environment-friendly informatization management system | |
CN112564951A (en) | Method, device, computer equipment and storage medium for avoiding alarm storm | |
CN109257196A (en) | A kind of abnormality eliminating method and equipment | |
Lewis et al. | Chaotic attractor prediction for server run-time energy consumption | |
CN111143777A (en) | Data processing method and device, intelligent terminal and storage medium | |
US10114449B2 (en) | Predicting voltage guardband and operating at a safe limit | |
CN112462132B (en) | Harmonic current tracing method and remote transmission power operation and maintenance monitoring platform | |
CN112418505A (en) | Self-adaptive data acquisition method and monitoring system | |
CN113221119A (en) | Embedded processor branch prediction vulnerability detection method, computer device and medium | |
CN110855484B (en) | Method, system, electronic device and storage medium for automatically detecting traffic change | |
CN116108394A (en) | Industrial control system flow abnormality detection method, device and medium | |
CN116187510A (en) | Ammeter box fault prediction method, device, computer equipment and storage medium | |
CN115754603A (en) | Data correction method, device, equipment, storage medium and computer program product | |
CN115756309A (en) | Battery management equipment parameter storage method, battery management equipment and energy storage system | |
EP3166027B1 (en) | Method and apparatus for determining hot page in database | |
EP2819017B1 (en) | Apparatus and method to track device usage | |
CN110448876B (en) | Shooting detection method, device, equipment, system and storage medium | |
KR20100089345A (en) | Performance monitoring unit and method of estimating power consumption of a system using the performance monitoring unit | |
CN117367335B (en) | Tail gate fault judging method, device, computer equipment and 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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20210226 |
|
RJ01 | Rejection of invention patent application after publication |