CN112885065B - Data transmission processing method - Google Patents
Data transmission processing method Download PDFInfo
- Publication number
- CN112885065B CN112885065B CN202110051458.XA CN202110051458A CN112885065B CN 112885065 B CN112885065 B CN 112885065B CN 202110051458 A CN202110051458 A CN 202110051458A CN 112885065 B CN112885065 B CN 112885065B
- Authority
- CN
- China
- Prior art keywords
- data
- current data
- executing
- current
- maximum value
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Classifications
-
- G—PHYSICS
- G08—SIGNALLING
- G08C—TRANSMISSION SYSTEMS FOR MEASURED VALUES, CONTROL OR SIMILAR SIGNALS
- G08C17/00—Arrangements for transmitting signals characterised by the use of a wireless electrical link
- G08C17/02—Arrangements for transmitting signals characterised by the use of a wireless electrical link using a radio link
-
- G—PHYSICS
- G08—SIGNALLING
- G08C—TRANSMISSION SYSTEMS FOR MEASURED VALUES, CONTROL OR SIMILAR SIGNALS
- G08C19/00—Electric signal transmission systems
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/12—Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
Abstract
The invention relates to a data transmission processing method, which comprises the following steps: s1, determining a normal threshold value, a current data maximum value and a current data minimum value of current data, uploading the current data maximum value and the current data minimum value at intervals of a set time, and executing a step S2; s2, collecting monitoring data, comparing the monitoring data with a normal threshold value of the data, detecting that the data is within the normal threshold value range of the data, executing step S3, detecting that the data is outside the normal threshold value range of the data, and executing step S4; s3, comparing the acquired monitoring data with the current data maximum value and the current data minimum value, adjusting the current data maximum value and the current data minimum value, and executing the step S1; s4, immediately transmitting the monitoring data, and executing the step S1. The invention reduces the occupation of communication resources and databases, is not only suitable for the transmission mode of GPRS or 4G, but also can be used for the communication mode of NB-IOT with good signal but low speed.
Description
Technical Field
The present invention relates to the field of data transmission technologies, and in particular, to a data transmission processing method.
Background
The current, voltage, temperature, pressure and flow are monitored in real time by the industrial control. The existing technical scheme is that sensors are combined with GPRS or 4G modules in many unattended places to upload collected data in real time, but the GPRS or 4G modules are high in speed but poor in signal in remote areas, and transmission interruption is easy to occur during transmission of a large amount of data; while the more recent modules of NB-IOT have good signal but slow transmission rate in remote areas, they are not well suited for large data transmission.
However, in practice, most of the monitoring aims at obtaining the trend of data change or avoiding the data exceeding the early warning value, so that most of the data obtained by high-frequency acquisition and transmission have no practical effect, and a large amount of data occupy communication resources, occupy databases and cause difficulties in querying, sorting and extracting useful data.
Disclosure of Invention
The invention aims at solving the problems of occupying a database and communication resources by data in the prior art, and provides a data transmission processing method applicable to various transmission modes.
The invention adopts the technical scheme that: a data transmission processing method, comprising the steps of:
s1, determining a normal threshold value, a current data maximum value and a current data minimum value of current data, uploading the current data maximum value and the current data minimum value at intervals of a set time, and executing a step S2;
s2, collecting monitoring data, comparing the monitoring data with a normal threshold value of the data, detecting that the data is within the normal threshold value range of the data, executing step S3, detecting that the data is outside the normal threshold value range of the data, and executing step S4;
s3, comparing the acquired monitoring data with the current data maximum value and the current data minimum value, adjusting the current data maximum value and the current data minimum value, and executing the step S1;
s4, immediately transmitting the monitoring data, and executing the step S1.
Further, step S3 includes the steps of:
s31, comparing the acquired monitoring data with the current data maximum value, and executing the step S32 if the acquired monitoring data is larger than the current data maximum value; if the result acquisition monitoring data is not greater than the current data maximum value, executing step S33;
s32, modifying the maximum value of the current data into the current acquisition monitoring data, and executing the step S1;
s33, maintaining the maximum value of the current data unchanged, comparing the acquired monitoring data with the minimum value of the current data, and executing the step S34 if the acquired monitoring data is smaller than the minimum value of the current data; if the result acquisition monitoring data is not smaller than the current data maximum value, executing step S35;
s34, modifying the minimum value of the current data into the current acquisition monitoring data, and executing the step S1;
and S35, maintaining the minimum value of the current data unchanged, and executing the step S1.
Further, the normal threshold of the data in step S1 is manually given according to the field working condition.
Further, when the data transmission processing method is executed for the first time, the maximum value of the previous data and the minimum value of the current data in step S1 are zero.
The invention provides a data transmission processing method, which can greatly reduce the transmission frequency, greatly reduce the data quantity transmitted in unit time and reduce the occupation of communication resources and databases on the premise of ensuring timely broadcasting when data is abnormal, and is not only suitable for a GPRS or 4G transmission mode, but also can be used for a communication mode with good signals but low speed, such as NB-IOT.
The foregoing description is only an overview of the present invention, and is intended to provide a better understanding of the present invention, as it is embodied in the following description, with reference to the preferred embodiments of the present invention and the accompanying drawings. Specific embodiments of the present invention are given in detail by the following examples and the accompanying drawings.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this application, illustrate embodiments of the invention and together with the description serve to explain the invention and do not constitute a limitation on the invention. In the drawings:
fig. 1 is a flowchart of a data transmission processing method provided by the present invention;
fig. 2 shows a data line diagram of an example employing the present invention.
Detailed Description
The principles and features of the present invention are described below with reference to the drawings, the examples are illustrated for the purpose of illustrating the invention and are not to be construed as limiting the scope of the invention. The invention is more particularly described by way of example in the following paragraphs with reference to the drawings. Advantages and features of the invention will become more apparent from the following description and from the claims. It should be noted that the drawings are in a very simplified form and are all to a non-precise scale, merely for convenience and clarity in aiding in the description of embodiments of the invention.
Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs. The terminology used herein in the description of the invention is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. The term "or/and" as used herein includes any and all combinations of one or more of the associated listed items.
The following describes a data transmission processing method provided by the invention with reference to the accompanying drawings:
referring to fig. 1, the data transmission processing method provided by the present invention includes the following steps:
s1, determining a normal threshold value, a current data maximum value and a current data minimum value of current data, uploading the current data maximum value and the current data minimum value at intervals of a set time, and executing a step S2;
s2, collecting monitoring data, comparing the monitoring data with a normal threshold value of the data, detecting that the data is within the normal threshold value range of the data, executing step S3, detecting that the data is outside the normal threshold value range of the data, and executing step S4;
s3, comparing the acquired monitoring data with the current data maximum value and the current data minimum value, adjusting the current data maximum value and the current data minimum value, and executing the step S1;
s4, immediately transmitting the monitoring data, and executing the step S1.
The normal threshold of the data in step S1 is given by a human being according to the field working condition. When the data transmission processing method is executed for the first time, the current data maximum value and the current data minimum value are zero.
The step S3 comprises the following steps:
s31, comparing the acquired monitoring data with the current data maximum value, and executing the step S32 if the acquired monitoring data is larger than the current data maximum value; if the result acquisition monitoring data is not greater than the current data maximum value, executing step S33;
s32, modifying the maximum value of the current data into the current acquisition monitoring data, and executing the step S1;
s33, maintaining the maximum value of the current data unchanged, comparing the acquired monitoring data with the minimum value of the current data, and executing the step S34 if the acquired monitoring data is smaller than the minimum value of the current data; if the result acquisition monitoring data is not smaller than the current data maximum value, executing step S35;
s34, modifying the minimum value of the current data into the current acquisition monitoring data, and executing the step S1;
and S35, maintaining the minimum value of the current data unchanged, and executing the step S1.
According to the steps, the maximum value and the minimum value of the current data are adjusted according to the currently acquired detection data, and the data uploaded by each period are ensured to be the maximum value and the minimum value of the data of the actual current period.
In the prior art, most data such as high-frequency (5 seconds) transmission collection moral current, voltage, temperature, pressure, flow and the like are waste data, so that the method is not useful, only the characteristic values of the data are needed to be grasped, as shown in fig. 2, only the characteristic values are transmitted, one sample (5 seconds) is taken in a set time, when the data change within a threshold value in unit time (1 minute), the actual maximum value and the actual minimum value are taken, the data are saved and not transmitted, the data of the maximum value and the minimum value are uploaded after a certain time (1 hour) is reached, and when the data change exceeds the threshold value, the data are uploaded in real time, so that 84% of useless data are removed, and the transmission frequency is reduced by 720 times.
As can be seen from the above examples, by adopting the data transmission processing method of the present invention, on the premise of ensuring timely broadcasting when data is abnormal, the transmission frequency is greatly reduced, the amount of data transmitted in unit time is also greatly reduced, and the occupation of communication resources and databases is reduced.
The above description is only of the preferred embodiments of the present invention, and is not intended to limit the present invention in any way; those skilled in the art will readily appreciate that the present invention may be implemented as shown in the drawings and described above; however, those skilled in the art will appreciate that many modifications, adaptations, and variations of the present invention are possible in light of the above teachings without departing from the scope of the invention; meanwhile, any equivalent changes, modifications and evolution of the above embodiments according to the essential technology of the present invention still fall within the scope of the present invention.
Claims (3)
1. A data transmission processing method, characterized by comprising the steps of:
s1, determining a normal threshold value, a current data maximum value and a current data minimum value of current data, uploading the current data maximum value and the current data minimum value at intervals of a set time, and executing a step S2;
s2, collecting monitoring data, comparing the monitoring data with a normal threshold value of the data, detecting that the data is within the normal threshold value range of the data, executing step S3, detecting that the data is outside the normal threshold value range of the data, and executing step S4;
s3, comparing the acquired monitoring data with the current data maximum value and the current data minimum value, adjusting the current data maximum value and the current data minimum value, and executing the step S1; step S3 comprises the steps of:
s31, comparing the acquired monitoring data with the current data maximum value, and executing the step S32 if the acquired monitoring data is larger than the current data maximum value; if the acquired monitoring data is not greater than the current data maximum value, executing step S33;
s32, modifying the maximum value of the current data into the current acquisition monitoring data, and executing the step S1;
s33, maintaining the maximum value of the current data unchanged, comparing the acquired monitoring data with the minimum value of the current data, and executing the step S34 if the acquired monitoring data is smaller than the minimum value of the current data; if the acquired monitoring data is not less than the current data maximum value, executing step S35;
s34, modifying the minimum value of the current data into the current acquisition monitoring data, and executing the step S1;
s35, maintaining the minimum value of the current data unchanged, and executing the step S1;
s4, immediately transmitting the monitoring data, and executing the step S1.
2. The data transmission processing method according to claim 1, wherein the normal threshold of the data in step S1 is given by a human being in accordance with the field operation condition.
3. The data transmission processing method according to claim 1, wherein the maximum value of the previous data and the minimum value of the current data in step S1 are zero when the data transmission processing method is executed for the first time.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110051458.XA CN112885065B (en) | 2021-01-14 | 2021-01-14 | Data transmission processing method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110051458.XA CN112885065B (en) | 2021-01-14 | 2021-01-14 | Data transmission processing method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN112885065A CN112885065A (en) | 2021-06-01 |
CN112885065B true CN112885065B (en) | 2023-05-23 |
Family
ID=76049478
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110051458.XA Active CN112885065B (en) | 2021-01-14 | 2021-01-14 | Data transmission processing method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112885065B (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2007134912A (en) * | 2005-11-09 | 2007-05-31 | Matsushita Electric Ind Co Ltd | Data slice circuit |
JP2010154620A (en) * | 2008-12-24 | 2010-07-08 | Toshiba Corp | Protective relay, control method and control program of the same |
CN102594727A (en) * | 2012-02-07 | 2012-07-18 | 苏州阔地网络科技有限公司 | Distributed instant communication system and communication method thereof |
CN104050246A (en) * | 2014-06-04 | 2014-09-17 | 广东电网公司茂名供电局 | Pre-processing method and system for state monitoring data of electric transmission and transformation equipment |
CN106535253A (en) * | 2016-11-23 | 2017-03-22 | 北京必创科技股份有限公司 | Method for dynamic acquisition and transmission of wireless data |
Family Cites Families (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
FI118291B (en) * | 2004-12-22 | 2007-09-14 | Timo D Haemaelaeinen | Energy efficient wireless sensor network, node devices for the same and method of arranging, the communications in a wireless sensor network |
CN101267644B (en) * | 2008-04-22 | 2010-11-17 | 广东高新兴通信股份有限公司 | A storage method for monitoring data |
CN103118097A (en) * | 2013-01-25 | 2013-05-22 | 电子科技大学 | Data transmission method in wireless sensor network |
CN204287876U (en) * | 2014-12-29 | 2015-04-22 | 六盘水市特种设备检验所 | Pressure vessel self-adjusting system |
CN106102120B (en) * | 2016-06-06 | 2019-08-09 | 武汉宏佳启元科技有限公司 | It is a kind of to organize WLAN and data receiving-transmitting method from oneself of master agreement and network-building method |
CN106652419A (en) * | 2017-01-17 | 2017-05-10 | 西南科技大学 | Wireless monitoring network dynamic synchronous acquisition method based on comprehensive sensitive event driving |
KR101779202B1 (en) * | 2017-04-12 | 2017-09-18 | 주식회사 레오테크 | LoRaWAN-based remote meter reading system |
CN107748652B (en) * | 2017-11-07 | 2021-04-20 | 深圳市智物联网络有限公司 | Data storage method and device |
CN109325692B (en) * | 2018-09-27 | 2021-01-22 | 清华大学合肥公共安全研究院 | Real-time data analysis method and device for water pipe network |
CN110113777B (en) * | 2019-04-29 | 2022-03-01 | 深圳广熵科技有限公司 | Data acquisition method |
CN111141261A (en) * | 2019-12-19 | 2020-05-12 | 紫光云技术有限公司 | Hydrologic monitoring data acquisition and transmission method |
CN111380788A (en) * | 2020-04-30 | 2020-07-07 | 辽宁工程技术大学 | Dust monitoring system in air |
-
2021
- 2021-01-14 CN CN202110051458.XA patent/CN112885065B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2007134912A (en) * | 2005-11-09 | 2007-05-31 | Matsushita Electric Ind Co Ltd | Data slice circuit |
JP2010154620A (en) * | 2008-12-24 | 2010-07-08 | Toshiba Corp | Protective relay, control method and control program of the same |
CN102594727A (en) * | 2012-02-07 | 2012-07-18 | 苏州阔地网络科技有限公司 | Distributed instant communication system and communication method thereof |
CN104050246A (en) * | 2014-06-04 | 2014-09-17 | 广东电网公司茂名供电局 | Pre-processing method and system for state monitoring data of electric transmission and transformation equipment |
CN106535253A (en) * | 2016-11-23 | 2017-03-22 | 北京必创科技股份有限公司 | Method for dynamic acquisition and transmission of wireless data |
Also Published As
Publication number | Publication date |
---|---|
CN112885065A (en) | 2021-06-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN116434372B (en) | Intelligent data acquisition system and working condition identification system for variable working condition equipment | |
CN104807650A (en) | System and method for intelligently analyzing comprehensive performance of high-power engine | |
CN112885065B (en) | Data transmission processing method | |
CN112600740B (en) | Automatic detection method for Internet of vehicles CAN data uploading frame leakage rate | |
CN108773315A (en) | Intelligent temperature control refrigerator car based on real-time weather information | |
CN103970124A (en) | On-line detection method for industrial control loop multi-period oscillation | |
CN108105969A (en) | A kind of operational efficiency method for detecting abnormality of air conditioner intelligent monitoring system and air-conditioning | |
CN115687447B (en) | Ocean environment monitoring system and method based on Internet of things | |
CN117176199B (en) | HPLC communication unit fault diagnosis method and device | |
CN116881673B (en) | Shield tunneling machine operation and maintenance method based on big data analysis | |
CN111661005A (en) | Windscreen wiper control method based on rainfall sensor | |
CN107166155B (en) | Fat injector with fuzzy discrimination function | |
CN112446645A (en) | Power management service system based on Internet of things | |
CN110702972B (en) | Adaptive sampling method and device for analog signals | |
CN113844861B (en) | Automatic speed regulating method of belt and coal mining machine based on coal quantity detection | |
CN110907544B (en) | Identification method for abnormal step data of content of dissolved gas in transformer oil | |
CN113960114A (en) | Cloud server-based welding process quality online analysis system and method | |
CN112491141A (en) | Real-time safety early warning method and device for smart power grid | |
CN115065892A (en) | Intelligent control method for self-adaptive monitoring data acquisition | |
CN117238468B (en) | Method, tag and storage medium for processing positioning-enabled data | |
CN110596526A (en) | Distribution line fault detection positioning system and method based on zero sequence current | |
CN117470380B (en) | Wisdom is raised pigs and is monitored and early warning system of multisensor | |
CN117375626B (en) | Intelligent heat supply abnormal data transmission method and system | |
CN117270412B (en) | Intelligent home control system based on wireless communication technology | |
CN114321104B (en) | Intelligent maintenance system in engineering machinery field |
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 |