CN116389938A - Temperature and humidity monitoring device based on GPRS communication and data transmission method - Google Patents
Temperature and humidity monitoring device based on GPRS communication and data transmission method Download PDFInfo
- Publication number
- CN116389938A CN116389938A CN202310222677.9A CN202310222677A CN116389938A CN 116389938 A CN116389938 A CN 116389938A CN 202310222677 A CN202310222677 A CN 202310222677A CN 116389938 A CN116389938 A CN 116389938A
- Authority
- CN
- China
- Prior art keywords
- temperature
- humidity
- data
- humidity data
- denoising
- 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
- 238000012806 monitoring device Methods 0.000 title claims abstract description 28
- 238000004891 communication Methods 0.000 title claims abstract description 20
- 238000000034 method Methods 0.000 title claims abstract description 16
- 230000005540 biological transmission Effects 0.000 title claims abstract description 10
- 238000012544 monitoring process Methods 0.000 claims abstract description 67
- 238000004806 packaging method and process Methods 0.000 claims description 97
- 238000012856 packing Methods 0.000 claims description 43
- 238000013480 data collection Methods 0.000 claims description 23
- 238000012545 processing Methods 0.000 claims description 15
- 230000002159 abnormal effect Effects 0.000 claims description 12
- 239000004973 liquid crystal related substance Substances 0.000 claims description 12
- 230000001174 ascending effect Effects 0.000 claims description 7
- 238000002360 preparation method Methods 0.000 claims description 3
- 238000012216 screening Methods 0.000 claims description 3
- 230000009286 beneficial effect Effects 0.000 description 8
- 230000000630 rising effect Effects 0.000 description 4
- 238000001125 extrusion Methods 0.000 description 3
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 230000007547 defect Effects 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 210000001503 joint Anatomy 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01D—MEASURING NOT SPECIALLY ADAPTED FOR A SPECIFIC VARIABLE; ARRANGEMENTS FOR MEASURING TWO OR MORE VARIABLES NOT COVERED IN A SINGLE OTHER SUBCLASS; TARIFF METERING APPARATUS; MEASURING OR TESTING NOT OTHERWISE PROVIDED FOR
- G01D21/00—Measuring or testing not otherwise provided for
- G01D21/02—Measuring two or more variables by means not covered by a single other subclass
-
- 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
Abstract
The invention provides a temperature and humidity monitoring device and a data transmission method based on GPRS communication, when a plurality of temperature and humidity collectors exist, a monitoring range is partitioned, so that temperature and humidity data in the same area range are packaged and sent to a monitoring terminal, and the problem that the monitoring terminal can squeeze data when the data quantity is large in the conventional wireless temperature and humidity monitoring device is solved.
Description
Technical Field
The invention relates to the technical field of communication, in particular to a temperature and humidity monitoring device based on GPRS communication and a data transmission method.
Background
The temperature and humidity monitoring device is used for measuring the temperature and humidity in the environment, the existing temperature and humidity monitoring device sends data to the terminal in a wired mode or a wireless mode, one terminal needs to be in butt joint with each temperature and humidity monitoring device, and to the wired mode, the monitoring terminal needs to be provided with a plurality of interfaces to be connected with each temperature and humidity monitoring device, so that the wired mode is more suitable for the application environment with small monitoring area and few temperature and humidity monitoring devices. Compared with a wired mode, the wireless mode has the advantages of receiving multiple data at the same time, but when the data volume is large, the monitoring terminal continuously and simultaneously receives the data sent by the temperature and humidity monitoring devices, data extrusion can occur, and the data receiving is inconvenient.
Disclosure of Invention
Aiming at the defects in the prior art, the temperature and humidity monitoring device based on GPRS communication and the data transmission method provided by the invention solve the problem that when the data volume is large, the monitoring terminal can squeeze data.
In order to achieve the aim of the invention, the invention adopts the following technical scheme: a temperature and humidity monitoring device based on GPRS communication, comprising: a plurality of temperature and humidity collectors and a monitoring terminal;
each temperature and humidity collector includes: the temperature and humidity sensing module, the temperature and humidity data processing module and the GPRS module; the temperature and humidity sensing module and the GPRS module are respectively and electrically connected with the temperature and humidity data processing module; the temperature and humidity data processing module is connected with the monitoring terminal through the GPRS module; the temperature and humidity sensing module is used for collecting temperature and humidity data; the temperature and humidity data processing module is used for calibrating and denoising temperature and humidity data to obtain standard temperature and humidity data; the monitoring terminal is used for receiving the standard temperature and humidity data packaged by the temperature and humidity data processing module.
A temperature and humidity monitoring data transmission method of a temperature and humidity monitoring device based on GPRS communication comprises the following steps:
the temperature and humidity are acquired through a temperature and humidity sensing module, and temperature and humidity data are obtained;
calibrating the temperature and humidity data to obtain calibrated temperature and humidity data;
denoising the calibrated temperature and humidity data to obtain standard temperature and humidity data;
according to the number of the temperature and humidity collectors in the monitoring range, selecting a plurality of temperature and humidity collectors as data packaging points;
in the data collection range of one data packaging point, standard temperature and humidity data of other temperature and humidity collectors are collected to the data packaging point, and data packaging is carried out to obtain packaged data;
and sending the packed data to the monitoring terminal through the GPRS module by the data packing point.
The method has the beneficial effects that: after the temperature and humidity data are acquired, the accuracy of the acquired temperature and humidity is improved through a calibration and denoising mode, the monitoring range is divided into a plurality of monitoring sub-ranges, one data packaging point is responsible for one monitoring sub-range, one data packaging point is responsible for the received temperature and humidity data in the monitoring sub-range, and the data are packaged and sent to the monitoring terminal at the data packaging point, so that terminal resource extrusion is avoided.
Further, the calibrating the temperature and humidity data to obtain calibrated temperature and humidity data includes:
taking the latest temperature and humidity data set to construct a calibration temperature and humidity data set;
in the calibration temperature and humidity data set, calculating the difference value of temperature and humidity data acquired at adjacent moments, and screening out temperature and humidity data with the difference value larger than a temperature difference threshold value to form an abnormal temperature and humidity data set;
removing temperature and humidity data in the abnormal temperature and humidity data set from the calibration temperature and humidity data set, and calculating the average value of the rest temperature and humidity data;
adding or subtracting the fluctuation amplitude on the average value to obtain an upper limit value and a lower limit value;
and eliminating the temperature and humidity data higher than the upper limit value or lower than the lower limit value in the calibration temperature and humidity data set to obtain the calibration temperature and humidity data.
The beneficial effects of the above-mentioned further scheme are: when the difference value of the temperature and humidity data acquired at the adjacent moment exceeds the threshold value, the temperature and humidity data acquired at the adjacent moment is considered to be abnormal, the abnormal data are put into an abnormal temperature and humidity data set, the average value of the residual data is calculated, the accuracy of the average value is ensured, the upper limit value and the lower limit value are obtained according to the average value, and the temperature and humidity data higher than the upper limit value or lower than the lower limit value are removed from the calibrated temperature and humidity data set, so that the calibrated temperature and humidity data are obtained.
Further, denoising the calibration temperature and humidity data to obtain standard temperature and humidity data includes:
taking the latest set of calibration temperature and humidity data to obtain a denoising temperature and humidity data set;
calculating the average value of the calibration temperature and humidity data in the denoising temperature and humidity data set;
judging whether the average value of the calibration temperature and humidity data is larger than the latest standard temperature and humidity data, if so, denoising the temperature and humidity data set in a data ascending section, and if not, denoising the temperature and humidity data set in a data descending section;
denoising the denoising temperature and humidity data set in the data ascending section to obtain standard temperature and humidity data;
and denoising the denoising temperature and humidity data set in the data descent section to obtain standard temperature and humidity data.
Further, in the data rising section, a formula for denoising the denoising temperature and humidity data set is as follows:
wherein, the liquid crystal display device comprises a liquid crystal display device,is the standard temperature and humidity data of the t moment +.>The standard temperature and humidity data at the t-1 time is obtained, N is the number of calibrated temperature and humidity data in the denoising temperature and humidity data set, and x is the number of calibrated temperature and humidity data in the denoising temperature and humidity data set i For the ith calibration temperature and humidity data in the denoising temperature and humidity data set, Y is a fixed number, x new And the temperature and humidity data are calibrated for the latest time in the denoising temperature and humidity data set.
The beneficial effects of the above-mentioned further scheme are: in the data rising section, the average value of the temperature and humidity data is calibratedAnd the latest standard temperature and humidity data->The difference of (2) represents the amplitude of the data rise, and the average value is +.>And the latest calibration temperature and humidity data x new The larger the duty ratio is, the faster the data change has.
Further, in the data descent section, a formula for denoising the denoising temperature and humidity data set is as follows:
wherein, the liquid crystal display device comprises a liquid crystal display device,is the standard temperature and humidity data of the t moment +.>The standard temperature and humidity data at the t-1 time is obtained, N is the number of calibrated temperature and humidity data in the denoising temperature and humidity data set, and x is the number of calibrated temperature and humidity data in the denoising temperature and humidity data set i For the ith calibration temperature and humidity data in the denoising temperature and humidity data set, Y is a fixed number, x new And the temperature and humidity data are calibrated for the latest time in the denoising temperature and humidity data set.
The beneficial effects of the above-mentioned further scheme are: in the data descending section, the latest standard temperature and humidity dataMean value of the temperature and humidity data to be calibrated->The difference of (2) represents the data falling amplitude, and the average value is +.>And the latest calibration temperature and humidity data x new The larger the duty ratio is, the faster the data change has.
Further, according to the number of temperature and humidity collectors in the monitoring range, selecting a plurality of temperature and humidity collectors as data packaging points includes:
obtaining the number of the prepared packaging points according to the number of the temperature and humidity collectors in the monitoring range;
according to the number of the preliminary packaging points, randomly selecting a plurality of temperature and humidity collectors as the preliminary packaging points;
in the monitoring range, the total energy of other temperature and humidity collectors for sending data to the latest prepared packaging point is calculated;
judging whether the total energy is smaller than or equal to the target energy, if yes, preparing a packaging point into a data packaging point, ending, and if not, continuing the following steps;
calculating a bearing value of each preliminary packing point, discarding the preliminary packing points lower than the average bearing value, and selecting other temperature and humidity collectors as the preliminary packing points;
recalculating the total energy until the total energy is smaller than or equal to the target energy, and stopping selecting the preparation packaging point;
and taking the temperature and humidity collector corresponding to the final prepared packaging point as a data packaging point.
The beneficial effects of the above-mentioned further scheme are: and randomly selecting a plurality of temperature and humidity collectors as preliminary packaging points, wherein each preliminary packaging point is in charge of monitoring the data of other temperature and humidity collectors in a data receiving range, namely monitoring the data of other temperature and humidity collectors in a sub-range, calculating the current total energy, wherein the temperature and humidity collectors corresponding to the preliminary packaging points are data packaging points when the total energy is lower than the target energy, selecting other temperature and humidity collectors as the preliminary packaging points when the total energy is higher than the target energy, discarding the preliminary packaging points lower than the average bearing value by calculating the bearing value of each preliminary packaging point, searching for new preliminary packaging points, and keeping the number of the discarded preliminary packaging points equal to the number of the searched preliminary packaging points.
Further, in the calculation monitoring range, the formula of the total energy of the data sent by other temperature and humidity collectors to the nearest preliminary packaging point is as follows:
wherein E is Total (S) In order to monitor the total energy of the data sent by other temperature and humidity collectors to the latest prepared packaging point, E j,i Data transmission energy, x of the ith temperature and humidity collector in the data collection range of the jth preliminary packaging point j,i The abscissa, y of the ith temperature and humidity collector in the data collection range of the jth prepared packaging point j,i Ordinate, x of ith temperature and humidity collector in data collection range for jth preliminary packaging point o,j For the abscissa of the j-th preliminary packing point, y o,j And M is the number of temperature and humidity collectors in the data collection range of one prepared packaging point, and K is the number of the prepared packaging points in the monitoring range.
Further, the formula for calculating the bearing value of each prepared packing point is as follows:
wherein V is the bearing value of a preliminary packing point, and X is a preliminary packing pointThe number of temperature and humidity collectors in the data collection range of the standby packaging point, { d } k The distance between one prepared packing point and other prepared packing points is set, and min { d } is set k Is the slave set { d } k The nearest distance is selected from the steps, and D is a set fixed distance.
The beneficial effects of the above-mentioned further scheme are: the larger the number X of temperature and humidity collectors in the data collection range of the preliminary packing point is, the better the preliminary packing point is, but the farther the preliminary packing point is from other preliminary packing points, if the preliminary packing point is very close to other preliminary packing points, the fewer the number X of temperature and humidity collectors in the data collection range of other preliminary packing points is, and the phenomenon of uneven distribution exists, therefore, the adoption ofThe number X of the temperature and humidity collectors is corrected, and the temperature and humidity collectors are in the range of +.>And X are both large, the better the preliminary packing point is, which will not be discarded during the next cycle.
The technical scheme of the embodiment of the invention has at least the following advantages and beneficial effects: when a plurality of temperature and humidity collectors exist, the monitoring range is partitioned, so that temperature and humidity data in the same area range are packaged and sent to the monitoring terminal, and the problem that the monitoring terminal can squeeze data when the data quantity is large by the conventional wireless temperature and humidity monitoring device is solved.
Drawings
Fig. 1 is a system block diagram of a temperature and humidity monitoring device based on GPRS communication.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the embodiments of the present invention more apparent, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention, and it is apparent that the described embodiments are some embodiments of the present invention, but not all embodiments of the present invention. The components of the embodiments of the present invention generally described and illustrated in the figures herein may be arranged and designed in a wide variety of different configurations.
As shown in fig. 1, a temperature and humidity monitoring device based on GPRS communication includes: a plurality of temperature and humidity collectors and a monitoring terminal;
each temperature and humidity collector includes: the temperature and humidity sensing module, the temperature and humidity data processing module and the GPRS module; the temperature and humidity sensing module and the GPRS module are respectively and electrically connected with the temperature and humidity data processing module; the temperature and humidity data processing module is connected with the monitoring terminal through the GPRS module; the temperature and humidity sensing module is used for collecting temperature and humidity data; the temperature and humidity data processing module is used for calibrating and denoising temperature and humidity data to obtain standard temperature and humidity data; the monitoring terminal is used for receiving the standard temperature and humidity data packaged by the temperature and humidity data processing module.
A temperature and humidity monitoring data transmission method of a temperature and humidity monitoring device based on GPRS communication comprises the following steps:
the temperature and humidity are acquired through a temperature and humidity sensing module, and temperature and humidity data are obtained;
calibrating the temperature and humidity data to obtain calibrated temperature and humidity data;
denoising the calibrated temperature and humidity data to obtain standard temperature and humidity data;
according to the number of the temperature and humidity collectors in the monitoring range, selecting a plurality of temperature and humidity collectors as data packaging points;
in the data collection range of one data packaging point, standard temperature and humidity data of other temperature and humidity collectors are collected to the data packaging point, and data packaging is carried out to obtain packaged data;
and sending the packed data to the monitoring terminal through the GPRS module by the data packing point.
After the temperature and humidity data are acquired, the accuracy of the acquired temperature and humidity is improved through a calibration and denoising mode, the monitoring range is divided into a plurality of monitoring sub-ranges, one data packaging point is responsible for one monitoring sub-range, one data packaging point is responsible for the received temperature and humidity data in the monitoring sub-range, and the data are packaged and sent to the monitoring terminal at the data packaging point, so that terminal resource extrusion is avoided.
Calibrating the temperature and humidity data to obtain calibrated temperature and humidity data comprises the following steps:
taking the latest temperature and humidity data set to construct a calibration temperature and humidity data set;
in the calibration temperature and humidity data set, calculating the difference value of temperature and humidity data acquired at adjacent moments, and screening out temperature and humidity data with the difference value larger than a temperature difference threshold value to form an abnormal temperature and humidity data set;
removing temperature and humidity data in the abnormal temperature and humidity data set from the calibration temperature and humidity data set, and calculating the average value of the rest temperature and humidity data;
adding or subtracting the fluctuation amplitude on the average value to obtain an upper limit value and a lower limit value;
and eliminating the temperature and humidity data higher than the upper limit value or lower than the lower limit value in the calibration temperature and humidity data set to obtain the calibration temperature and humidity data.
When the difference value of the temperature and humidity data acquired at the adjacent moment exceeds the threshold value, the temperature and humidity data acquired at the adjacent moment is considered to be abnormal, the abnormal data are put into an abnormal temperature and humidity data set, the average value of the residual data is calculated, the accuracy of the average value is ensured, the upper limit value and the lower limit value are obtained according to the average value, and the temperature and humidity data higher than the upper limit value or lower than the lower limit value are removed from the calibrated temperature and humidity data set, so that the calibrated temperature and humidity data are obtained.
Denoising the calibration temperature and humidity data to obtain standard temperature and humidity data, wherein the denoising the calibration temperature and humidity data comprises the following steps:
taking the latest set of calibration temperature and humidity data to obtain a denoising temperature and humidity data set;
calculating the average value of the calibration temperature and humidity data in the denoising temperature and humidity data set;
judging whether the average value of the calibration temperature and humidity data is larger than the latest standard temperature and humidity data, if so, denoising the temperature and humidity data set in a data ascending section, and if not, denoising the temperature and humidity data set in a data descending section;
denoising the denoising temperature and humidity data set in the data ascending section to obtain standard temperature and humidity data;
and denoising the denoising temperature and humidity data set in the data descent section to obtain standard temperature and humidity data.
In the data rising section, the formula for denoising the denoising temperature and humidity data set is as follows:
wherein, the liquid crystal display device comprises a liquid crystal display device,is the standard temperature and humidity data of the t moment +.>The standard temperature and humidity data at the t-1 time is obtained, N is the number of calibrated temperature and humidity data in the denoising temperature and humidity data set, and x is the number of calibrated temperature and humidity data in the denoising temperature and humidity data set i For the ith calibration temperature and humidity data in the denoising temperature and humidity data set, Y is a fixed number, x new And the temperature and humidity data are calibrated for the latest time in the denoising temperature and humidity data set.
In the data rising section, the average value of the temperature and humidity data is calibratedAnd the latest standard temperature and humidity data->The difference of (2) represents the amplitude of the data rise, and the average value is +.>And the latest calibration temperature and humidity data x new The larger the duty ratio is, the faster the data change has.
In the data descent section, a formula for denoising the denoising temperature and humidity data set is as follows:
wherein, the liquid crystal display device comprises a liquid crystal display device,is the standard temperature and humidity data of the t moment +.>The standard temperature and humidity data at the t-1 time is obtained, N is the number of calibrated temperature and humidity data in the denoising temperature and humidity data set, and x is the number of calibrated temperature and humidity data in the denoising temperature and humidity data set i For the ith calibration temperature and humidity data in the denoising temperature and humidity data set, Y is a fixed number, x new And the temperature and humidity data are calibrated for the latest time in the denoising temperature and humidity data set.
In the data descending section, the latest standard temperature and humidity dataMean value of the temperature and humidity data to be calibrated->The difference of (2) represents the data falling amplitude, and the average value is +.>And the latest calibration temperature and humidity data x new The larger the duty ratio is, the faster the data change has.
According to the humiture collector quantity in the monitoring range, select a plurality of humiture collectors as data packing point includes:
obtaining the number of the prepared packaging points according to the number of the temperature and humidity collectors in the monitoring range;
the number of the prepared packaging points is set according to the number of the temperature and humidity collectors.
According to the number of the preliminary packaging points, randomly selecting a plurality of temperature and humidity collectors as the preliminary packaging points, wherein one temperature and humidity collector is used as one preliminary packaging point;
in the monitoring range, the total energy of other temperature and humidity collectors for sending data to the latest prepared packaging point is calculated;
judging whether the total energy is smaller than or equal to the target energy, if yes, preparing a packaging point into a data packaging point, ending, and if not, continuing the following steps;
calculating a bearing value of each preliminary packing point, discarding the preliminary packing points lower than the average bearing value, and selecting other temperature and humidity collectors as the preliminary packing points;
recalculating the total energy until the total energy is smaller than or equal to the target energy, and stopping selecting the preparation packaging point;
and taking the temperature and humidity collector corresponding to the final prepared packaging point as a data packaging point.
And randomly selecting a plurality of temperature and humidity collectors as preliminary packaging points, wherein each preliminary packaging point is in charge of monitoring the data of other temperature and humidity collectors in a data receiving range, namely monitoring the data of other temperature and humidity collectors in a sub-range, calculating the current total energy, wherein the temperature and humidity collectors corresponding to the preliminary packaging points are data packaging points when the total energy is lower than the target energy, selecting other temperature and humidity collectors as the preliminary packaging points when the total energy is higher than the target energy, discarding the preliminary packaging points lower than the average bearing value by calculating the bearing value of each preliminary packaging point, searching for new preliminary packaging points, and keeping the number of the discarded preliminary packaging points equal to the number of the searched preliminary packaging points.
In the calculation monitoring range, the formula of the total energy of other temperature and humidity collectors for sending data to the latest prepared packaging point is as follows:
wherein E is Total (S) In order to monitor the total energy of the data sent by other temperature and humidity collectors to the latest prepared packaging point, E j,i Data transmission energy, x of the ith temperature and humidity collector in the data collection range of the jth preliminary packaging point j,i Transverse of the ith temperature and humidity collector in data collection range for jth preliminary packaging pointCoordinates, y j,i Ordinate, x of ith temperature and humidity collector in data collection range for jth preliminary packaging point o,j For the abscissa of the j-th preliminary packing point, y o,j And M is the number of temperature and humidity collectors in the data collection range of one prepared packaging point, and K is the number of the prepared packaging points in the monitoring range.
The more energy is consumed by the temperature and humidity collector in the data collection range of one preliminary packaging point, the more the temperature and humidity collector is far from the preliminary packaging point, and the more the contribution to the total energy is.
The formula for calculating the bearing value of each preliminary packing point is:
wherein V is the bearing value of a preliminary packaging point, X is the number of temperature and humidity collectors in the data collection range of the preliminary packaging point, { d k The distance between one prepared packing point and other prepared packing points is set, and min { d } is set k Is the slave set { d } k The nearest distance is selected from the steps, and D is a set fixed distance.
The larger the number X of temperature and humidity collectors in the data collection range of the preliminary packing point is, the better the preliminary packing point is, but the farther the preliminary packing point is from other preliminary packing points, if the preliminary packing point is very close to other preliminary packing points, the fewer the number X of temperature and humidity collectors in the data collection range of other preliminary packing points is, and the phenomenon of uneven distribution exists, therefore, the adoption ofThe number X of the temperature and humidity collectors is corrected, and the temperature and humidity collectors are in the range of +.>And X are both large, the better the preliminary packing point is, which will not be discarded during the next cycle.
The technical scheme of the embodiment of the invention has at least the following advantages and beneficial effects: when a plurality of temperature and humidity collectors exist, the monitoring range is partitioned, so that temperature and humidity data in the same area range are packaged and sent to the monitoring terminal, and the problem that the monitoring terminal can squeeze data when the data quantity is large by the conventional wireless temperature and humidity monitoring device is solved.
The above is only a preferred embodiment of the present invention, and is not intended to limit the present invention, but various modifications and variations can be made to the present invention by those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention should be included in the protection scope of the present invention.
Claims (9)
1. Humiture monitoring device based on GPRS communication, its characterized in that includes: a plurality of temperature and humidity collectors and a monitoring terminal;
each temperature and humidity collector includes: the temperature and humidity sensing module, the temperature and humidity data processing module and the GPRS module; the temperature and humidity sensing module and the GPRS module are respectively and electrically connected with the temperature and humidity data processing module; the temperature and humidity data processing module is connected with the monitoring terminal through the GPRS module; the temperature and humidity sensing module is used for collecting temperature and humidity data; the temperature and humidity data processing module is used for calibrating and denoising temperature and humidity data to obtain standard temperature and humidity data; the monitoring terminal is used for receiving the standard temperature and humidity data packaged by the temperature and humidity data processing module.
2. A method for transmitting temperature and humidity monitoring data of a temperature and humidity monitoring device based on GPRS communication according to claim 1, comprising:
the temperature and humidity are acquired through a temperature and humidity sensing module, and temperature and humidity data are obtained;
calibrating the temperature and humidity data to obtain calibrated temperature and humidity data;
denoising the calibrated temperature and humidity data to obtain standard temperature and humidity data;
according to the number of the temperature and humidity collectors in the monitoring range, selecting a plurality of temperature and humidity collectors as data packaging points;
in the data collection range of one data packaging point, standard temperature and humidity data of other temperature and humidity collectors are collected to the data packaging point, and data packaging is carried out to obtain packaged data;
and sending the packed data to the monitoring terminal through the GPRS module by the data packing point.
3. The method for transmitting temperature and humidity monitoring data of the temperature and humidity monitoring device based on GPRS communication according to claim 2, wherein the calibrating the temperature and humidity data to obtain the calibrated temperature and humidity data includes:
taking the latest temperature and humidity data set to construct a calibration temperature and humidity data set;
in the calibration temperature and humidity data set, calculating the difference value of temperature and humidity data acquired at adjacent moments, and screening out temperature and humidity data with the difference value larger than a temperature difference threshold value to form an abnormal temperature and humidity data set;
removing temperature and humidity data in the abnormal temperature and humidity data set from the calibration temperature and humidity data set, and calculating the average value of the rest temperature and humidity data;
adding or subtracting the fluctuation amplitude on the average value to obtain an upper limit value and a lower limit value;
and eliminating the temperature and humidity data higher than the upper limit value or lower than the lower limit value in the calibration temperature and humidity data set to obtain the calibration temperature and humidity data.
4. The method for transmitting temperature and humidity monitoring data of the temperature and humidity monitoring device based on GPRS communication according to claim 2, wherein denoising the calibration temperature and humidity data to obtain standard temperature and humidity data comprises:
taking the latest set of calibration temperature and humidity data to obtain a denoising temperature and humidity data set;
calculating the average value of the calibration temperature and humidity data in the denoising temperature and humidity data set;
judging whether the average value of the calibration temperature and humidity data is larger than the latest standard temperature and humidity data, if so, denoising the temperature and humidity data set in a data ascending section, and if not, denoising the temperature and humidity data set in a data descending section;
denoising the denoising temperature and humidity data set in the data ascending section to obtain standard temperature and humidity data;
and denoising the denoising temperature and humidity data set in the data descent section to obtain standard temperature and humidity data.
5. The method for transmitting temperature and humidity monitoring data of the temperature and humidity monitoring device based on GPRS communication according to claim 4, wherein the formula for denoising the denoised temperature and humidity data set in the data ascending section is as follows:
wherein, the liquid crystal display device comprises a liquid crystal display device,is the standard temperature and humidity data of the t moment +.>The standard temperature and humidity data at the t-1 time is obtained, N is the number of calibrated temperature and humidity data in the denoising temperature and humidity data set, and x is the number of calibrated temperature and humidity data in the denoising temperature and humidity data set i For the ith calibration temperature and humidity data in the denoising temperature and humidity data set, Y is a fixed number, x new And the temperature and humidity data are calibrated for the latest time in the denoising temperature and humidity data set.
6. The method for transmitting temperature and humidity monitoring data of the temperature and humidity monitoring device based on GPRS communication according to claim 4, wherein the formula for denoising the denoised temperature and humidity data set in the data descent section is as follows:
wherein, the liquid crystal display device comprises a liquid crystal display device,is the standard temperature and humidity data of the t moment +.>The standard temperature and humidity data at the t-1 time is obtained, N is the number of calibrated temperature and humidity data in the denoising temperature and humidity data set, and x is the number of calibrated temperature and humidity data in the denoising temperature and humidity data set i For the ith calibration temperature and humidity data in the denoising temperature and humidity data set, Y is a fixed number, x new And the temperature and humidity data are calibrated for the latest time in the denoising temperature and humidity data set.
7. The method for transmitting temperature and humidity monitoring data of the temperature and humidity monitoring device based on GPRS communication according to claim 2, wherein selecting a plurality of temperature and humidity collectors as data packing points according to the number of temperature and humidity collectors in the monitoring range comprises:
obtaining the number of the prepared packaging points according to the number of the temperature and humidity collectors in the monitoring range;
according to the number of the preliminary packaging points, randomly selecting a plurality of temperature and humidity collectors as the preliminary packaging points;
in the monitoring range, the total energy of other temperature and humidity collectors for sending data to the latest prepared packaging point is calculated;
judging whether the total energy is smaller than or equal to the target energy, if yes, preparing a packaging point into a data packaging point, ending, and if not, continuing the following steps;
calculating a bearing value of each preliminary packing point, discarding the preliminary packing points lower than the average bearing value, and selecting other temperature and humidity collectors as the preliminary packing points;
recalculating the total energy until the total energy is smaller than or equal to the target energy, and stopping selecting the preparation packaging point;
and taking the temperature and humidity collector corresponding to the final prepared packaging point as a data packaging point.
8. The method for transmitting temperature and humidity monitoring data of the temperature and humidity monitoring device based on GPRS communication according to claim 7, wherein the formula of total energy of other temperature and humidity collectors transmitting data to the nearest preliminary packaging point in the calculated monitoring range is:
wherein E is Total (S) In order to monitor the total energy of the data sent by other temperature and humidity collectors to the latest prepared packaging point, E j,i Data transmission energy, x of the ith temperature and humidity collector in the data collection range of the jth preliminary packaging point j,i The abscissa, y of the ith temperature and humidity collector in the data collection range of the jth prepared packaging point j,i Ordinate, x of ith temperature and humidity collector in data collection range for jth preliminary packaging point o,j For the abscissa of the j-th preliminary packing point, y o,j And M is the number of temperature and humidity collectors in the data collection range of one prepared packaging point, and K is the number of the prepared packaging points in the monitoring range.
9. The method for transmitting temperature and humidity monitoring data of a temperature and humidity monitoring device based on GPRS communication according to claim 7, wherein the formula for calculating the bearing value of each prepared packaging point is as follows:
wherein V is the bearing value of a preliminary packaging point, X is the number of temperature and humidity collectors in the data collection range of the preliminary packaging point, { d k The distance between one prepared packing point and other prepared packing points is set, and min { d } is set k Is the slave set { d } k The nearest distance is selected from the steps, and D is a set fixed distance.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310222677.9A CN116389938A (en) | 2023-03-07 | 2023-03-07 | Temperature and humidity monitoring device based on GPRS communication and data transmission method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310222677.9A CN116389938A (en) | 2023-03-07 | 2023-03-07 | Temperature and humidity monitoring device based on GPRS communication and data transmission method |
Publications (1)
Publication Number | Publication Date |
---|---|
CN116389938A true CN116389938A (en) | 2023-07-04 |
Family
ID=86962489
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202310222677.9A Pending CN116389938A (en) | 2023-03-07 | 2023-03-07 | Temperature and humidity monitoring device based on GPRS communication and data transmission method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN116389938A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN117130415A (en) * | 2023-10-27 | 2023-11-28 | 四川信特农牧科技有限公司 | Warehouse management method and system |
CN117369570A (en) * | 2023-11-23 | 2024-01-09 | 乐普(北京)生物科技有限公司 | Intelligent temperature and humidity adjusting system and method and application thereof in biological pharmaceutical factory |
-
2023
- 2023-03-07 CN CN202310222677.9A patent/CN116389938A/en active Pending
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN117130415A (en) * | 2023-10-27 | 2023-11-28 | 四川信特农牧科技有限公司 | Warehouse management method and system |
CN117130415B (en) * | 2023-10-27 | 2024-01-02 | 四川信特农牧科技有限公司 | Warehouse management method and system |
CN117369570A (en) * | 2023-11-23 | 2024-01-09 | 乐普(北京)生物科技有限公司 | Intelligent temperature and humidity adjusting system and method and application thereof in biological pharmaceutical factory |
CN117369570B (en) * | 2023-11-23 | 2024-04-16 | 乐普(北京)生物科技有限公司 | Intelligent temperature and humidity adjusting system and method and application thereof in biological pharmaceutical factory |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN116389938A (en) | Temperature and humidity monitoring device based on GPRS communication and data transmission method | |
CN101738585B (en) | Method and system for judging storage battery capacity and health | |
CN113033957B (en) | Multi-mode rainfall forecast and real-time dynamic inspection and evaluation system | |
CN112650580B (en) | Industrial big data monitoring system based on edge calculation | |
CN110146008B (en) | Method for monitoring icing parameters and states based on interdigital capacitive sensor | |
CN103310203A (en) | Pointer type instrument indicating value automatic identification device and method on basis of internet of things and machine vision | |
CN106452931A (en) | Monitoring index, domain value discovery method, domain value adjusting method and automatic monitoring system | |
CN109578224A (en) | A kind of safety monitoring system of wind-power generating unit tower | |
CN108732972A (en) | Intelligent data acqusition system for multirobot | |
CN103698606A (en) | System and method for monitoring surface-pollution electrical conductivity of insulator | |
CN113155196A (en) | Bridge operation real-time monitoring system based on AIoT and monitoring method thereof | |
CN114244751B (en) | Wireless sensor network anomaly detection method and system | |
CN108401235A (en) | A kind of agriculture site environment parameter intelligent acquisition processing system based on big data | |
CN116365066B (en) | BMS module-based power management system | |
CN113447837A (en) | Temperature measurement and control system for high-temperature formation process of soft package lithium battery | |
CN110381462A (en) | A kind of power cable partial discharge monitoring system | |
CN111311895A (en) | Microwave attenuation signal joint variable frequency acquisition system for road-level environment perception | |
CN104569840A (en) | Aging detection method and device for individual battery | |
CN111595745A (en) | Dust detection alarm system based on cloud database | |
CN209857943U (en) | NB-IoT (network B-IoT) slope monitoring system | |
CN103428011A (en) | Node state detection method, system and device used in distributed system | |
CN103324154A (en) | Device and method for monitoring boilers | |
CN112102575A (en) | Forest fire prevention monitoring terminal early warning method, base station early warning method, early warning system and storage medium | |
CN111047203A (en) | Storage battery electrical fire monitoring method based on big data | |
CN116760437B (en) | Broadband microwave receiving and transmitting control method and system applied to phased array system |
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 |