CN114125590A - Sampling method and device for landslide disaster - Google Patents
Sampling method and device for landslide disaster Download PDFInfo
- Publication number
- CN114125590A CN114125590A CN202210076288.5A CN202210076288A CN114125590A CN 114125590 A CN114125590 A CN 114125590A CN 202210076288 A CN202210076288 A CN 202210076288A CN 114125590 A CN114125590 A CN 114125590A
- Authority
- CN
- China
- Prior art keywords
- sampling
- parameter
- data
- data acquisition
- round
- 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.)
- Granted
Links
- 238000005070 sampling Methods 0.000 title claims abstract description 273
- 238000000034 method Methods 0.000 title claims abstract description 102
- 230000008569 process Effects 0.000 claims abstract description 68
- 230000005540 biological transmission Effects 0.000 claims abstract description 52
- 238000012544 monitoring process Methods 0.000 claims description 77
- 238000004590 computer program Methods 0.000 claims description 6
- 238000005265 energy consumption Methods 0.000 abstract description 6
- 238000010586 diagram Methods 0.000 description 9
- 230000004044 response Effects 0.000 description 7
- 238000012545 processing Methods 0.000 description 4
- 238000013480 data collection Methods 0.000 description 3
- 238000005516 engineering process Methods 0.000 description 3
- 230000006870 function Effects 0.000 description 3
- 230000003287 optical effect Effects 0.000 description 3
- 238000012952 Resampling Methods 0.000 description 2
- 238000004422 calculation algorithm Methods 0.000 description 2
- 230000002159 abnormal effect Effects 0.000 description 1
- 238000004458 analytical method Methods 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 238000007405 data analysis Methods 0.000 description 1
- 238000013500 data storage Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 230000005611 electricity Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04Q—SELECTING
- H04Q9/00—Arrangements in telecontrol or telemetry systems for selectively calling a substation from a main station, in which substation desired apparatus is selected for applying a control signal thereto or for obtaining measured values therefrom
-
- 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
- G06Q50/00—Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
- G06Q50/10—Services
- G06Q50/26—Government or public services
Landscapes
- Business, Economics & Management (AREA)
- Tourism & Hospitality (AREA)
- Engineering & Computer Science (AREA)
- Marketing (AREA)
- Strategic Management (AREA)
- Economics (AREA)
- General Health & Medical Sciences (AREA)
- Human Resources & Organizations (AREA)
- Educational Administration (AREA)
- Primary Health Care (AREA)
- Health & Medical Sciences (AREA)
- Physics & Mathematics (AREA)
- General Business, Economics & Management (AREA)
- General Physics & Mathematics (AREA)
- Development Economics (AREA)
- Theoretical Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Testing Or Calibration Of Command Recording Devices (AREA)
Abstract
The invention provides a sampling method and a sampling device for landslide disasters, wherein the method comprises the following steps: determining a first sampling period of a sampling device in the data acquisition process of the current round, and determining a corresponding first adjusting parameter and a corresponding transmission time interval in the data acquisition process of the previous round; determining a second adjustment parameter according to the transmission time interval and the first adjustment parameter; and adjusting the first sampling period based on the second adjusting parameter to obtain a second sampling period in the next round of data acquisition process. The embodiment of the invention can improve the sampling precision of the sampling device. In addition, the embodiment of the invention does not need the sampling module to be in a working state continuously, and the sampling frequency can be adjusted at any time as long as the sampling record in the previous data acquisition process is reserved, thereby reducing the energy consumption of the sampling device.
Description
Technical Field
The invention relates to the technical field of geological disaster monitoring, in particular to a sampling method and a sampling device for landslide disasters.
Background
Landslide disasters are common geological disasters, and the landslide disasters often cause serious casualties and property loss. In recent years, with the rapid development of the internet of things technology, landslide hazard monitoring technology has also been developed greatly.
In the existing landslide disaster internet of things monitoring technology, a common landslide disaster monitoring system comprises a base station and a plurality of monitoring stations (a plurality of monitoring sensors are arranged on a landslide body). If each monitoring station cannot accurately transmit data to the base station in time-sharing and time-division modes, the analysis process of the base station on the sampling data of the monitoring station is abnormal. In order to ensure the working stability, a general monitoring station enters a low-power-consumption sleep working state after transmitting data once. In a sleep working state, if the monitoring station cannot perform stable calibration on an internal clock of the monitoring station due to system errors of the monitoring station, and the precision of the sampling frequency of the monitoring station is affected, the monitoring station may collide with data transmission of other monitoring stations in next data transmission, so that data transmission fails. If the monitoring station continuously works in a normal working state, the monitoring station continuously consumes electricity, so that the energy consumption of the monitoring station is increased, and the monitoring cost is increased.
Disclosure of Invention
The invention provides a sampling method and a sampling device for landslide disasters, and aims to solve the problems that in the monitoring scheme for landslide disasters in the prior art, a monitoring station is low in sampling frequency precision and high in energy consumption of the monitoring station in the sampling process.
According to a first aspect of the present invention, there is provided a sampling method for landslide disaster, applied to a sampling device, the method comprising:
determining a first sampling period of the sampling device in the data acquisition process of the current round, and determining a corresponding first adjusting parameter and a corresponding transmission time interval in the data acquisition process of the previous round;
determining a second adjustment parameter according to the transmission time interval and the first adjustment parameter;
and adjusting the first sampling period based on the second adjusting parameter to obtain a second sampling period in the next round of data acquisition process.
Optionally, if the current round of data acquisition is the first round of data acquisition, the first adjustment parameter is a preset initial adjustment parameter, and the transmission time interval is empty.
Optionally, the determining a second adjustment parameter according to the transmission time interval and the first adjustment parameter includes:
if the data acquisition of the current round is the first round, presetting the first adjusting parameter, and taking the first adjusting parameter as a second adjusting parameter;
and if the data acquisition of the current round is not the first round, adding the transmission time interval and the first adjusting parameter to obtain a second adjusting parameter.
Optionally, the method further comprises:
judging whether the sampling device meets the data re-sampling condition or not;
and if the sampling device meets the data re-sampling condition, acquiring landslide monitoring data according to the second sampling period.
Optionally, the first adjusting parameter includes a first sampling parameter and a second sampling parameter, and the determining whether the sampling device satisfies the data re-sampling condition includes:
judging whether a high-low frequency sampling clock in a sampling device meets the starting of the timing interruption corresponding to the first sampling parameter and/or the second sampling parameter;
and if the high-low frequency sampling clock in the sampling device meets the timing interruption starting corresponding to the first sampling parameter and/or the second sampling parameter, determining that the sampling device meets the data re-sampling condition.
Optionally, the first sampling parameter is smaller than an initial sampling period of the sampling device, and the second sampling parameter is larger than the initial sampling period of the sampling device.
Optionally, in each round of data acquisition, after the sampling device sends the acquired monitoring data packet to the server, the current first sampling parameter is reset to zero.
Optionally, the determining a first adjustment parameter and a transmission time interval corresponding to a previous data acquisition process includes:
determining data uploading time and data receiving time corresponding to a monitoring data packet obtained in the previous data acquisition process, wherein the data uploading time is the time when the sampling device uploads the monitoring data packet to a server, and the data receiving time is the time when the server receives the monitoring data packet;
and calculating the difference between the data uploading time and the data receiving time to obtain the transmission time interval corresponding to the monitoring data packet.
Optionally, the server returns a response instruction to the sampling device when receiving the monitoring data packet, where the response instruction carries a data receiving time for the server to receive the monitoring data packet.
According to a second aspect of the present invention, there is provided a sampling apparatus for landslide hazard, the apparatus comprising:
the sampling data determining module is used for determining a first sampling period of the sampling device in the data acquisition process of the current round, and determining a corresponding first adjusting parameter and a corresponding transmission time interval in the data acquisition process of the previous round;
an adjustment parameter determining module, configured to determine a second adjustment parameter according to the transmission time interval and the first adjustment parameter;
and the sampling period adjusting module is used for adjusting the first sampling period based on the second adjusting parameter to obtain a second sampling period in the next round of data acquisition process.
According to a third aspect of the present invention, there is provided a processor readable storage medium having stored thereon a computer program for causing a processor to execute the aforementioned sampling method for landslide hazard.
According to the embodiment of the invention, the second adjusting parameter in the data acquisition process of the current round is determined according to the first adjusting parameter and the transmission time interval in the data acquisition process of the previous round, and the current sampling period is continuously calibrated based on the second adjusting parameter determined in the data acquisition process of the current round, so that the sampling period in the data acquisition process of the next round is obtained, and the sampling precision of the sampling device is improved. In addition, the embodiment of the invention does not need the sampling module to be in a working state continuously, and the sampling frequency can be adjusted at any time as long as the sampling record in the previous data acquisition process is reserved, thereby reducing the energy consumption of the sampling device.
The foregoing description is only an overview of the technical solutions of the present invention, and the embodiments of the present invention are described below in order to make the technical means of the present invention more clearly understood and to make the above and other objects, features, and advantages of the present invention more clearly understandable.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the description of the embodiments of the present invention will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art that other drawings can be obtained according to these drawings without inventive labor.
Fig. 1 is a flowchart illustrating specific steps of a sampling method for landslide disasters according to an embodiment of the present invention;
fig. 2 is a structural diagram of a sampling device for landslide disasters according to an embodiment of the present invention.
Detailed Description
The term "and/or" in the embodiments of the present invention describes an association relationship of associated objects, and indicates that three relationships may exist, for example, a and/or B may indicate: a exists alone, A and B exist simultaneously, and B exists alone. The character "/" generally indicates that the former and latter associated objects are in an "or" relationship.
The term "plurality" in the embodiments of the present invention means two or more, and other terms are similar thereto.
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Example one
The embodiment of the invention provides a sampling method for landslide disasters, which is applied to a sampling device, and referring to fig. 1, a flow chart of specific steps of the sampling method for landslide disasters provided by the embodiment of the invention is shown, and the specific steps are as follows:
and 103, adjusting the first sampling period based on the second adjusting parameter to obtain a second sampling period in the next data acquisition process.
It should be noted that the sampling method provided by the embodiment of the present invention can be applied to a sampling device arranged in a landslide disaster monitoring field to collect landslide disaster monitoring data. As an example, the sampling device may be composed of a microcontroller, an AD module, a high-low frequency clock, a power supply module, a transmission module, and the like. And the sampling device can transmit the collected monitoring data to the server by establishing communication connection with the server, and the server performs data analysis on the monitoring data to obtain a monitoring result.
If the data acquisition process of the current round is first-round data acquisition, the first sampling period is the initial sampling period of the sampling device, the first adjusting parameter is the initial adjusting parameter of the sampling device, the initial sampling period and the initial adjusting parameter can be set remotely by the server, the transmission time interval corresponding to the monitoring data packet obtained in the previous round of data acquisition process is empty, and in practical application, the transmission time interval can be set to be 0. If the data acquisition process of the current round is not the first round of data acquisition, the first sampling period is a second sampling period determined in the data sampling process of the previous round, namely the current latest sampling period; the transmission time interval corresponding to the monitoring data packet obtained in the previous data acquisition process can be determined according to the data uploading time of the monitoring data packet uploaded to the server by the sampling device and the data receiving time of the monitoring data packet received by the server; the first adjustment parameter in the previous data acquisition process can be determined based on a fuzzy control algorithm.
In the embodiment of the present invention, the second adjustment parameter in the data acquisition process of the current round may be determined according to the transmission time interval and the first adjustment parameter in the data acquisition process of the previous round. And finally, adjusting the first sampling period according to the second adjusting parameter to obtain a second sampling period in the next round of data acquisition process. For example, the second adjustment parameter is subtracted from the first sampling period to obtain a second sampling period in the next round of data acquisition.
As an example, it is assumed that in the 1 st round of data acquisition, the first sampling period, i.e., the initial sampling period, of the sampling device is T1; the first adjustment parameter, i.e., the initial adjustment parameter, is a 1; and because the previous round of data acquisition does not exist, the transmission time interval corresponding to the monitoring data packet obtained in the previous round of data acquisition process is 0. Then, the second adjustment parameter P1 may be denoted as P1= a 1. Adjusting the initial sampling period T1 according to the second adjustment parameter P1 to obtain a second sampling period T2 in the 2 nd round of data acquisition, which can be represented as: t2= T1-P1.
In the 2 nd round of data acquisition, the transmission time interval corresponding to the monitoring data packet obtained in the previous round of data acquisition, that is, the transmission time interval corresponding to the monitoring data packet obtained in the 1 st round of data acquisition, is denoted as t 1; the first sampling period of the sampling device is updated to be T2, and the first adjusting parameter is recorded as A2. Then, the corresponding second adjustment parameter during the 2 nd round data acquisition may be updated to P2, P2= a1+ t 1. The sampling period T3 in the 3 rd round data acquisition process can be expressed as: t3= T2-P2.
It should be noted that the first adjustment parameter a2 in the data acquisition process of the 2 nd round can be determined according to the transmission time interval t1 and the first adjustment parameter a1 in the data acquisition process of the 1 st round based on a fuzzy control algorithm.
By analogy, the current sampling period is continuously calibrated through the second adjusting parameter determined in the data acquisition process of the current round, the sampling period in the data acquisition process of the next round is obtained, and the sampling precision of the sampling device is improved. In addition, the embodiment of the invention does not need the sampling module to be in a working state continuously, and the sampling frequency can be adjusted at any time as long as the sampling record in the previous data acquisition process is reserved, thereby reducing the energy consumption of the sampling device.
In an optional embodiment of the present invention, the determining, in step 101, a first adjustment parameter and a transmission time interval corresponding to a previous data acquisition process includes:
step S11, determining data uploading time and data receiving time corresponding to a monitoring data packet obtained in the previous data acquisition process, wherein the data uploading time is the time when the sampling device uploads the monitoring data packet to a server, and the data receiving time is the time when the server receives the monitoring data packet;
step S12, calculating a difference between the data uploading time and the data receiving time to obtain a transmission time interval corresponding to the monitoring data packet.
In each round of data acquisition process, the transmission time interval corresponding to the monitoring data packet obtained by the sampling device can be determined according to the data uploading time and the data receiving time of the monitoring data packet. The data uploading time is the time when the sampling module sends the collected monitoring data packet to the server, and the data receiving time is the time when the server receives the monitoring data packet.
It should be noted that, in each round of data acquisition process, the data uploading time of the monitoring data packet may be set in advance by the server. And the sampling device packages and sends the collected monitoring data to the server under the condition that the current time is determined to meet the data uploading time set by the server.
And monitoring the data receiving time corresponding to the data packet, wherein the data receiving time can be determined according to a response instruction returned by the server. Optionally, the server returns a response instruction to the sampling device when receiving the monitoring data packet, where the response instruction carries a data receiving time for the server to receive the monitoring data packet.
In an optional embodiment of the present invention, the determining 102 a second adjustment parameter according to the transmission time interval and the first adjustment parameter includes:
step S21, if the data acquisition of the current round is the first round, presetting the first adjusting parameter, and taking the first adjusting parameter as a second adjusting parameter;
and step S22, if the data acquisition of the current round is not the first round, adding the transmission time interval and the first adjusting parameter to obtain a second adjusting parameter.
In the embodiment of the present invention, for the first round of data acquisition, a first adjustment parameter may be preset, and the first adjustment parameter is directly used as a second adjustment parameter. For the subsequent data acquisition process, in order to further improve the sampling precision, a first adjusting parameter and a transmission time interval in the previous data sampling process can be introduced, and a second adjusting parameter is determined based on the transmission time interval and the first adjusting parameter in the previous data sampling process.
As an example, it is assumed that in the 1 st round of data acquisition, the first sampling period, i.e., the initial sampling period, of the sampling device is T1; the first adjustment parameter, i.e., the initial adjustment parameter, is a 1; and because the previous round of data acquisition does not exist, the transmission time interval corresponding to the monitoring data packet obtained in the previous round of data acquisition process is 0. Then, the second adjustment parameter P1 may be denoted as P1= a 1.
In the 2 nd round of data acquisition, the transmission time interval corresponding to the monitoring data packet obtained in the previous round of data acquisition, that is, the transmission time interval corresponding to the monitoring data packet obtained in the 1 st round of data acquisition, is denoted as t 1; the first sampling period of the sampling device is updated to be T2, and the first adjusting parameter is recorded as A2. Then, the corresponding second adjustment parameter during the 2 nd round data acquisition may be updated to P2, P2= a1+ t 1.
By analogy, the second adjusting parameter of the current round is continuously calibrated based on the transmission time interval and the first adjusting parameter in the previous round of data acquisition process, and then the sampling period of the sampling module is adjusted according to the calibrated second adjusting parameter, so that the sampling precision of the sampling module is improved.
In an optional embodiment of the invention, the method further comprises:
step S31, judging whether the sampling device meets the data re-sampling condition;
and step S32, if the sampling device meets the data re-sampling condition, acquiring landslide monitoring data according to the second sampling period.
In the embodiment of the invention, the landslide monitoring data can be collected again according to the determined second sampling period in the next round of data collection process as long as the data resampling condition is met. Wherein, this data is adopted the condition again and can be preset according to actual demand. For example, the data re-collection condition may be time, and the landslide monitoring data is re-collected as long as the preset time is met; alternatively, the data collection condition may be the reception of a data collection instruction sent by the server, and the like.
In an optional embodiment of the present invention, the first adjustment parameter includes a first sampling parameter and a second sampling parameter, and the determining whether the sampling device satisfies the data resampling condition in step S31 includes:
substep S311, determining whether a high-low frequency sampling clock in the sampling device meets a timer interrupt start corresponding to the first sampling parameter and/or the second sampling parameter;
and a substep S312, determining that the sampling apparatus satisfies a data re-sampling condition if the high-low frequency sampling clock in the sampling apparatus satisfies the start of the timing interrupt corresponding to the first sampling parameter and/or the second sampling parameter.
In the embodiment of the present invention, the data re-sampling condition may be set according to a first sampling parameter and a second sampling parameter preset in advance. Specifically, when the high-low frequency sampling clock of the sampling device meets the requirement of the start of the corresponding timed interrupt in at least one of the first sampling parameter and the second sampling parameter, the monitoring data is acquired again.
The first sampling parameter is a low-time sampling parameter, and the second sampling parameter is a high-time sampling parameter. The first sampling parameter and the second sampling parameter may be set according to a preset initial adjustment parameter. For example, assuming that the initial adjustment parameter a1 is a 2-hour sampling frequency, the first sampling parameter L1 and the second sampling parameter H1 may be expressed as: l1 is more than or equal to 1 hour and less than or equal to 2 hours, H1 is more than or equal to 1 millisecond and less than or equal to 1 hour, and the like.
Optionally, the first sampling parameter is smaller than an initial sampling period of the sampling device, and the second sampling parameter is larger than the initial sampling period of the sampling device. It should be noted that the initial sampling period may be a sampling period set by the server remotely for the sampling device.
Optionally, in each round of data acquisition, after the sampling device sends the acquired monitoring data packet to the server, the current first sampling parameter is reset to zero.
In summary, in the embodiments of the present invention, the second adjustment parameter in the current data acquisition process is determined according to the first adjustment parameter and the transmission time interval in the previous data acquisition process, and the current sampling period is continuously calibrated based on the second adjustment parameter determined in the current data acquisition process, so as to obtain the sampling period in the next data acquisition process, thereby improving the sampling accuracy of the sampling device. In addition, the embodiment of the invention does not need the sampling module to be in a working state continuously, and the sampling frequency can be adjusted at any time as long as the sampling record in the previous data acquisition process is reserved, thereby reducing the energy consumption of the sampling device.
Example two
Referring to fig. 2, which shows a structural diagram of a sampling apparatus for landslide disasters according to an embodiment of the present invention, specifically, the sampling apparatus includes:
a sampling data determining module 201, configured to determine a first sampling period of the sampling device in a current data acquisition process, and determine a corresponding first adjustment parameter and a corresponding transmission time interval in a previous data acquisition process;
an adjustment parameter determining module 202, configured to determine a second adjustment parameter according to the transmission time interval and the first adjustment parameter;
and the sampling period adjusting module 203 is configured to adjust the first sampling period based on the second adjusting parameter to obtain a second sampling period in the next data acquisition process.
Optionally, if the current round of data acquisition is the first round of data acquisition, the first adjustment parameter is a preset initial adjustment parameter, and the transmission time interval is empty.
Optionally, the adjustment parameter determining module includes:
the first parameter determination submodule is used for presetting the first adjusting parameter if the current round of data acquisition is the first round of data acquisition and taking the first adjusting parameter as a second adjusting parameter;
and the second parameter determining submodule is used for adding the transmission time interval and the first adjusting parameter to obtain a second adjusting parameter if the data acquisition of the current round is not the first round.
Optionally, the apparatus further comprises:
the condition judging module is used for judging whether the sampling device meets the data re-sampling condition;
and the data acquisition module is used for acquiring landslide monitoring data according to the second sampling period if the sampling device meets the data re-sampling condition.
Optionally, the first adjustment parameter includes a first sampling parameter and a second sampling parameter, and the condition determining module includes:
the first judgment submodule is used for judging whether a high-low frequency sampling clock in the sampling device meets the starting of the timing interruption corresponding to the first sampling parameter and/or the second sampling parameter;
and the second judgment submodule is used for determining that the sampling device meets the data re-sampling condition if the high-low frequency sampling clock in the sampling device meets the timing interruption starting corresponding to the first sampling parameter and/or the second sampling parameter.
Optionally, the first sampling parameter is smaller than an initial sampling period of the sampling device, and the second sampling parameter is larger than the initial sampling period of the sampling device.
Optionally, in each round of data acquisition, after the sampling device sends the acquired monitoring data packet to the server, the current first sampling parameter is reset to zero.
Optionally, the sampling data determining module includes:
the time determining submodule is used for determining data uploading time and data receiving time corresponding to a monitoring data packet obtained in the previous data acquisition process, wherein the data uploading time is the time when the sampling device uploads the monitoring data packet to a server, and the data receiving time is the time when the server receives the monitoring data packet;
and the time calculation submodule is used for calculating the difference value between the data uploading time and the data receiving time to obtain the transmission time interval corresponding to the monitoring data packet.
Optionally, the server returns a response instruction to the sampling device when receiving the monitoring data packet, where the response instruction carries a data receiving time for the server to receive the monitoring data packet.
It should be noted that, the division of the modules and units in the embodiment of the present invention is schematic, and is only a logic function division, and there may be another division manner in actual implementation. In addition, each functional module and each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented as a software functional unit and sold or used as a stand-alone product, may be stored in a processor readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for causing a computer device (which may be a personal computer, a server, a network device, or the like) or a processor (processor) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: 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.
It should be noted that, the apparatus provided in the embodiment of the present invention can implement all the method steps implemented by the method embodiment and achieve the same technical effect, and detailed descriptions of the same parts and beneficial effects as the method embodiment in this embodiment are omitted here.
An embodiment of the present invention further provides a processor-readable storage medium, which stores a computer program for causing a processor to execute the foregoing sampling method for landslide hazard.
The processor-readable storage medium can be any available medium or data storage device that can be accessed by a processor, including, but not limited to, magnetic memory (e.g., floppy disks, hard disks, magnetic tape, magneto-optical disks (MOs), etc.), optical memory (e.g., CDs, DVDs, BDs, HVDs, etc.), and semiconductor memory (e.g., ROMs, EPROMs, EEPROMs, non-volatile memory (NAND FLASH), Solid State Disks (SSDs)), etc.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer-executable instructions. These computer-executable instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These processor-executable instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
While the present invention has been described with reference to the embodiments shown in the drawings, the present invention is not limited to the embodiments, which are illustrative and not restrictive, and it will be apparent to those skilled in the art that various changes and modifications can be made therein without departing from the spirit and scope of the invention as defined in the appended claims.
Claims (10)
1. A sampling method for landslide disasters is applied to a sampling device, and comprises the following steps:
determining a first sampling period of the sampling device in the data acquisition process of the current round, and determining a corresponding first adjusting parameter and a corresponding transmission time interval in the data acquisition process of the previous round;
determining a second adjustment parameter according to the transmission time interval and the first adjustment parameter;
and adjusting the first sampling period based on the second adjusting parameter to obtain a second sampling period in the next round of data acquisition process.
2. The sampling method according to claim 1, wherein if the current data acquisition is the first data acquisition, the first adjustment parameter is an initial adjustment parameter set in advance, and the transmission time interval is empty.
3. The sampling method of claim 2, wherein determining a second adjustment parameter based on the transmission time interval and the first adjustment parameter comprises:
if the data acquisition of the current round is the first round, taking the first adjusting parameter as a second adjusting parameter;
and if the data acquisition of the current round is not the first round, adding the transmission time interval and the first adjusting parameter to obtain a second adjusting parameter.
4. The sampling method of claim 1, further comprising:
judging whether the sampling device meets the data re-sampling condition or not;
and if the sampling device meets the data re-sampling condition, acquiring landslide monitoring data according to the second sampling period.
5. The sampling method of claim 4, wherein the first adjustment parameter comprises a first sampling parameter and a second sampling parameter, and the determining whether the sampling device satisfies a data re-sampling condition comprises:
judging whether a high-low frequency sampling clock in a sampling device meets the starting of the timing interruption corresponding to the first sampling parameter and/or the second sampling parameter;
and if the high-low frequency sampling clock in the sampling device meets the timing interruption starting corresponding to the first sampling parameter and/or the second sampling parameter, determining that the sampling device meets the data re-sampling condition.
6. The sampling method of claim 5, wherein the first sampling parameter is less than an initial sampling period of the sampling device and the second sampling parameter is greater than the initial sampling period of the sampling device.
7. The sampling method according to claim 5, wherein in each round of data acquisition, after the sampling device sends the acquired monitoring data packet to the server, the current first sampling parameter is reset to zero.
8. The sampling method according to claim 1, wherein the determining the corresponding first adjustment parameter and transmission time interval in the previous data acquisition cycle comprises:
determining data uploading time and data receiving time corresponding to the monitoring data packet obtained in the previous data acquisition process, wherein the data uploading time is the time when the sampling device uploads the monitoring data packet to a server, and the data receiving time is the time when the server receives the monitoring data packet;
and calculating the difference between the data uploading time and the data receiving time to obtain the transmission time interval corresponding to the monitoring data packet.
9. A sampling device for landslide hazard, the device comprising:
the sampling data determining module is used for determining a first sampling period of the sampling device in the data acquisition process of the current round, and determining a corresponding first adjusting parameter and a corresponding transmission time interval in the data acquisition process of the previous round;
an adjustment parameter determining module, configured to determine a second adjustment parameter according to the transmission time interval and the first adjustment parameter;
and the sampling period adjusting module is used for adjusting the first sampling period based on the second adjusting parameter to obtain a second sampling period in the next round of data acquisition process.
10. A processor-readable storage medium, characterized in that the processor-readable storage medium stores a computer program for causing a processor to execute the sampling method for landslide disaster according to any one of claims 1 to 8.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210076288.5A CN114125590B (en) | 2022-01-24 | 2022-01-24 | Sampling method and device for landslide disaster |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210076288.5A CN114125590B (en) | 2022-01-24 | 2022-01-24 | Sampling method and device for landslide disaster |
Publications (2)
Publication Number | Publication Date |
---|---|
CN114125590A true CN114125590A (en) | 2022-03-01 |
CN114125590B CN114125590B (en) | 2022-04-12 |
Family
ID=80361132
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202210076288.5A Active CN114125590B (en) | 2022-01-24 | 2022-01-24 | Sampling method and device for landslide disaster |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114125590B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115128591A (en) * | 2022-06-08 | 2022-09-30 | 中国地质环境监测院(自然资源部地质灾害技术指导中心) | Debris flow monitoring radar parameter verification method |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104065719A (en) * | 2014-06-19 | 2014-09-24 | 安徽工程大学 | Variable sampling period scheduler and control method thereof |
CN104486166A (en) * | 2014-12-31 | 2015-04-01 | 北京理工大学 | QoS-based sampling period adjusting method for networked control system |
US20160282820A1 (en) * | 2013-03-11 | 2016-09-29 | Johnson Controls Technology Company | Control system with response time estimation and automatic operating parameter adjustment |
CN109032031A (en) * | 2018-08-21 | 2018-12-18 | 中车株洲电力机车有限公司 | A kind of method, apparatus, equipment and readable storage medium storing program for executing adjusting the sampling period |
CN109428598A (en) * | 2017-08-30 | 2019-03-05 | 北京智云芯科技有限公司 | The calibration method and system of data sampling |
CN112565346A (en) * | 2020-11-16 | 2021-03-26 | 智邮开源通信研究院(北京)有限公司 | Internet of vehicles data acquisition method and device, electronic equipment and readable storage medium |
CN113748348A (en) * | 2019-03-21 | 2021-12-03 | 地下系统有限公司 | Remote monitoring system |
-
2022
- 2022-01-24 CN CN202210076288.5A patent/CN114125590B/en active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20160282820A1 (en) * | 2013-03-11 | 2016-09-29 | Johnson Controls Technology Company | Control system with response time estimation and automatic operating parameter adjustment |
CN104065719A (en) * | 2014-06-19 | 2014-09-24 | 安徽工程大学 | Variable sampling period scheduler and control method thereof |
CN104486166A (en) * | 2014-12-31 | 2015-04-01 | 北京理工大学 | QoS-based sampling period adjusting method for networked control system |
CN109428598A (en) * | 2017-08-30 | 2019-03-05 | 北京智云芯科技有限公司 | The calibration method and system of data sampling |
CN109032031A (en) * | 2018-08-21 | 2018-12-18 | 中车株洲电力机车有限公司 | A kind of method, apparatus, equipment and readable storage medium storing program for executing adjusting the sampling period |
CN113748348A (en) * | 2019-03-21 | 2021-12-03 | 地下系统有限公司 | Remote monitoring system |
CN112565346A (en) * | 2020-11-16 | 2021-03-26 | 智邮开源通信研究院(北京)有限公司 | Internet of vehicles data acquisition method and device, electronic equipment and readable storage medium |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115128591A (en) * | 2022-06-08 | 2022-09-30 | 中国地质环境监测院(自然资源部地质灾害技术指导中心) | Debris flow monitoring radar parameter verification method |
Also Published As
Publication number | Publication date |
---|---|
CN114125590B (en) | 2022-04-12 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110320791B (en) | Clock management method and device for electricity consumption information acquisition system | |
CN114125590B (en) | Sampling method and device for landslide disaster | |
CN106304325B (en) | Positioning method, positioning device and positioning terminal | |
CN110677211B (en) | Time synchronization method and device and power acquisition terminal | |
CN106937369B (en) | Low power consumption node synchronized wake-up method, node and system | |
CN103220120A (en) | Time synchronizing method of mobile terminal, mobile terminal and time synchronizing system | |
JP6898903B2 (en) | Transceiver with real-time clock | |
CN104570824A (en) | Event input module | |
CN102081400B (en) | Sequence of event (SOE) recording module and adjusting method thereof | |
CN113835336A (en) | Multi-dimensional self-adaptive metering device patrol and timing method for supporting electric power spot market | |
US9628562B2 (en) | Data and event gap reconciliation across networks using different communication technologies | |
CN111158999A (en) | Method and device for calculating formatting time | |
KR20210026528A (en) | In-vehicle communication device and time synchronization method thereof | |
CN103151835B (en) | Sampling synchronization method and device of distributed DTU (Distribution Terminal Unit) | |
CN107659510B (en) | Method and device for uploading data by underground barrel terminal, storage medium and underground barrel terminal | |
CA3004773C (en) | Detecting an error condition by monitoring a resource flow at a premises | |
CN114114134A (en) | Time synchronization method of intelligent electric energy meter | |
CN107995681B (en) | Time synchronization method and device for wireless sensor network | |
KR20160013964A (en) | Time synchronization system | |
CN103684649A (en) | 1553B bus system time synchronization method | |
CN113647054B (en) | Time determination method, device and equipment | |
JP7241093B2 (en) | Gap data collection for low power devices | |
CN107152936B (en) | Step counting method, step counting equipment and mobile phone | |
CN116489761B (en) | Wireless time setting method, device, time setting device and sensor | |
CN117728575B (en) | Accurate action method and system for power distribution automation terminal based on Beidou time synchronization |
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 |