CN103837197B - A kind of continual humiture observation system and method - Google Patents

A kind of continual humiture observation system and method Download PDF

Info

Publication number
CN103837197B
CN103837197B CN201410099622.4A CN201410099622A CN103837197B CN 103837197 B CN103837197 B CN 103837197B CN 201410099622 A CN201410099622 A CN 201410099622A CN 103837197 B CN103837197 B CN 103837197B
Authority
CN
China
Prior art keywords
humiture
data
master controller
record
application server
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
Application number
CN201410099622.4A
Other languages
Chinese (zh)
Other versions
CN103837197A (en
Inventor
刘明
方娇莉
郭平
尹业华
何广军
漆超
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Yunnan gold science and Technology Co., Ltd.
Original Assignee
Kunming University of Science and Technology
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Kunming University of Science and Technology filed Critical Kunming University of Science and Technology
Priority to CN201410099622.4A priority Critical patent/CN103837197B/en
Publication of CN103837197A publication Critical patent/CN103837197A/en
Application granted granted Critical
Publication of CN103837197B publication Critical patent/CN103837197B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Telephonic Communication Services (AREA)

Abstract

The invention discloses a kind of continual humiture observation system and method, belong to Computer Control Technology field.The present invention includes application server, communication network, master controller and the humiture transducer being sequentially connected with, master controller includes: transmitter communication unit, server communication unit and single-chip microcomputer, it is characterized in that: described master controller also includes Power Management Unit and data buffer storage unit, described Power Management Unit includes accumulator and power supply circuits, for to described master controller and connected humiture transducer centrally connected power supply, at civil power under normal circumstances by mains-supplied, after civil power power-off, use storage battery power supply;Described data buffer storage unit includes storage chip.The present invention, on the basis of realizing the centralized and unified management to monitoring power supply, also is able to continual preservation temperature-humidity monitoring data, the convenient management to Monitoring Data and application, improves Consumer's Experience in the case of being further implemented in civil power power-off, suspension.

Description

A kind of continual humiture observation system and method
Technical field
The present invention relates to a kind of continual humiture observation system and method, belong to Computer Control Technology field.
Background technology
Realize the Centralized Monitoring to humiture to solve relatively more in monitoring point and scattered occasion (such as pharmaceutical warehouse etc.) and adapt to large-scale monitoring, in utility model patent 201320022030.3 " a kind of humiture distributed monitoring system based on the Internet ", propose a kind of distributed temperature and humidity monitoring system based on master controller, 11 interim papers " realization of humiture distributed monitoring system based on the Internet " further describe the monitoring mode implementation of this distributed structure/architecture at " information technology ": " utilize master controller to share monitoring load for 2013, and connect monitoring device, solve tradition Concentrated Monitoring and Control System in the case of connection equipment is more, the bottleneck problem that wiring is complicated;Owing to using distributed multi-stage structure control so that system has good autgmentability, improves the reliabilty and availability of system ".In actual applications, supervision department often requires that and humiture is carried out the most continual monitoring, and record humiture data, and require that the complete continual humiture data (in such as 24 hours, preserving a record every 5 minutes) preserving monitoring point are with the needs of satisfied supervision.And combine prior art, this distributed monitoring system is often accomplished by using single ups power to ensure in the case of civil power (AC) power-off, remain able to monitor humiture data, but monitoring point more and also scattered in the case of, often use very inconvenient and be not easy to centralized and unified management.It addition, if it occur that in the case of suspension, this monitoring system is it is possible to data can be lost, to such an extent as to is difficult to meet the business demand of continual preservation temperature-humidity monitoring data.
Summary of the invention
The technical problem to be solved in the present invention is to provide a kind of continual humiture observation system in the case of civil power power-off or suspension, remains able to continual monitoring and preserves humiture data.
Additionally, it is necessary to provide a kind of continual temperature-humidity monitoring method in the case of civil power power-off or suspension, remain able to continual monitoring and preserve humiture data.
The technical scheme is that a kind of continual humiture observation system, including the application server being sequentially connected with, communication network, master controller and humiture transducer, master controller includes: transmitter communication unit, server communication unit and single-chip microcomputer, described master controller also includes Power Management Unit and data buffer storage unit, described Power Management Unit includes accumulator and power supply circuits, for to described master controller and connected humiture transducer centrally connected power supply, at civil power under normal circumstances by mains-supplied, storage battery power supply is used after civil power power-off;Described data buffer storage unit includes storage chip;And described single-chip microcomputer includes: data acquisition module, for gathering the humiture transducer communication being connected with master controller, and timing acquiring humiture data;Data transmission blocks, for packing the humiture data collected and be sent to application server by communication network;Data cache module, in the storage chip that the data transmission blocks failed packet of transmission stores data buffer storage unit, and the humiture record reading caching is supplied to data transmission blocks to resend to application server; Described application server includes: data reception module, for receiving and resolve the packet that master controller sends;Data memory module, the humiture record obtained after resolving is saved in data base.
Described data transmission blocks is additionally operable to after sending the new packet gathered whether send packet successfully judge, if sending unsuccessfully, then notifies that described data cache module caches humiture data;If sending successfully, then notify that described data cache module reads less than the humiture caching record of the unsuccessful transmission specifying threshold value and is sent to application server after the packing of described humiture caching record.Humiture record that described data cache module caches in storage chip and described data transmission blocks are sent to the packet of application server and at least include: monitoring point, acquisition time and warm and humid angle value;And the data memory module of described application server is when storage record, store humiture record with monitoring point and acquisition time for major key, to ensure the uniqueness of data.When described data cache module access record, circulation storage algorithm is used to access record in storage chip, after being successfully transmitted by data transmission blocks by the humiture record of transmission unsuccessful in storage chip, it is not deleted and is only labeled as sending successfully by data cache module immediately every time;When sending caching record to described application server, described data cache module only reads the successful caching record of unmarked transmission and sends data transmission blocks to, and data transmission blocks is wrapped into and is sent to application server.Described single-chip microcomputer also includes power management module, for periodic detection power supply state, and under storage battery power supply state, detect battery tension value, when battery tension sends alarm or/and warning message is sent to application server by data transmission blocks less than when specifying threshold value.
A kind of continual temperature-humidity monitoring method, it is provided that application server, communication network, master controller and the humiture transducer being sequentially connected with, comprises the steps:
The Power Management Unit of master controller, to master controller and the humiture transducer centrally connected power supply that connected thereof, at civil power under normal circumstances by mains-supplied, uses storage battery power supply after civil power power-off.
After powering on, master controller connected humiture transducer communication, and timing acquiring humiture data.
The humiture data collected are packed and are sent to application server by communication network by master controller;If sending unsuccessfully, master controller by humiture data buffer storage in storage chip to resend to application server.
Application server reception, the packet resolving master controller transmission humiture record parsing obtained are saved in data base.
Described master controller is after sending the new packet gathered failure, by humiture data buffer storage in storage chip;If after sending the humiture data success newly collected, described master controller further checks whether the humiture record of caching, and the successful humiture record that do not sends reading the caching being less than appointment threshold value is packed and is sent to application server.The humiture record cached in master controller and the packet being sent to application server at least include: monitoring point, acquisition time and warm and humid angle value;Application server stores humiture record with monitoring point and acquisition time for major key, to ensure the uniqueness of data.Described master controller uses circulation storage algorithm to access record in storage chip, deletes the most immediately every time and be only labeled as sending successfully after being successfully transmitted by the humiture record of transmission unsuccessful in storage chip;Successful for unmarked transmission caching record, when application server sends caching record, is only read and transmits application server by described master controller.Described master controller periodic detection power supply state, and under storage battery power supply state, detect battery tension value, when battery tension sends alarm or/and warning message is sent to application server less than when specifying threshold value.
The invention has the beneficial effects as follows: first, in the host controller by Power Management Unit to connected humiture transducer centrally connected power supply, realize the centralized and unified management to power supply, and furthermore achieved that on this basis and in the case of civil power power-off, suspension, also be able to continual monitoring and preserve the humiture data of each monitoring point, centralized management and the application of convenient Monitoring Data and reliable and stable, improve Consumer's Experience further.
Accompanying drawing explanation
Fig. 1 is the hardware structure figure of the embodiment of the present invention;
Fig. 2 is the master controller Power Management Unit hardware composition frame chart of the embodiment of the present invention;
Fig. 3 is the schematic block circuit diagram of the master controller Power Management Unit of the embodiment of the present invention;
Fig. 4 is the application server functional block diagram with single-chip microcomputer of the embodiment of the present invention;
Fig. 5 is the single-chip data memory module workflow diagram based on circulation storage algorithm of the embodiment of the present invention;
Fig. 6 is the workflow diagram of the method for the embodiment of the present invention.
Detailed description of the invention
Below in conjunction with the accompanying drawings and detailed description of the invention, the invention will be further described.
As it is shown in figure 1, be the hardware structure figure of the embodiment of a kind of continual temperature-humidity monitoring data transmission system of the present invention.In figure, system includes application server 1, communication network 2, master controller 3 and the humiture transducer 4 being sequentially connected with;Master controller 3 includes: Power Management Unit 31, transmitter communication unit 32, server communication unit 33, data buffer storage unit 34 and single-chip microcomputer 35.
Wherein, communication network 2 can use the Internet in the present embodiment, and the server communication unit 33 of master controller 3 consists of Ethernet chip, Ethernet transformator and RJ45 joint, and is linked in communication network 2 by RJ45 joint.Transmitter communication unit 32 can be made up of RS485 chip (such as SP491) and relevant control circuit in the present embodiment, is connected with multiple humiture transducers 4 by RS485 bus.Data buffer storage unit 34 is in the humiture data having a power failure or under offline condition, caching is gathered, data buffer storage unit 34 is mainly made up of storage chip, and storage chip generally has EEPROM and Flash, in the present embodiment, use Flash chip, for EEPROM relatively, Flash chip has the characteristic that memory capacity is big and access speed is fast.And single-chip microcomputer 5 can use ARM9 or STM32, it would however also be possible to employ STM8, in the present embodiment, select STM32, in order to preferably support jumbo storage chip, improve the scalability of system.
As in figure 2 it is shown, be the master controller Power Management Unit hardware composition frame chart of the embodiment of the present invention.Power Management Unit 31 includes accumulator 312 and power supply circuits 311, for to master controller 3 and connected humiture transducer 4 centrally connected power supply, at civil power (AC) under normal circumstances by mains-supplied, use accumulator 312 to power after civil power power-off, civil power power-off incoming telephone signal and accumulator electric-quantity are supplied to single-chip microcomputer 35 simultaneously.
Next the composition of power supply circuits 311 be will be further illustrated, as it is shown on figure 3, be the schematic block circuit diagram of master controller 3 Power Management Unit 31 of the embodiment of the present invention.Civil power by after decompression rectifier filter circuit 3111, becomes direct current output, and is connected respectively to civil power power-off and comes power detection circuit 3112, battery charging circuit 3113 and power switching circuit 3114;Wherein, civil power power-off carrys out power detection circuit 3112 and is output as switching value, and such as " 0 " represents civil power power-off, and " 1 " represents civil power incoming call, and a road is connected with single-chip microcomputer 35, and a road is connected with battery charging circuit 3113;Battery charging circuit 3113 is for charging to accumulator 312.And the switching value that power switching circuit 3114 carrys out power detection circuit 3112 output according to civil power power-off switches over, if civil power incoming call, it is switched to the powered by direct current that decompression rectifier filter circuit 3111 provides, if civil power power-off, is switched to accumulator 312 and powers.For the ease of the master controller 3 centralized management to power supply, power supply circuits 311 also include battery tension sample circuit 3115, arrive single-chip microcomputer 35 to after the magnitude of voltage sampling of accumulator 312 through A/D conversion output.
As shown in Figure 4, it is the functional block diagram of application server and single-chip microcomputer of the embodiment of the present invention.Described single-chip microcomputer 35 includes: data acquisition module 351, communicates for gathering the humiture transducer 4 being connected with master controller 3, and timing acquiring humiture data;Data transmission blocks 352, is sent to application server 1 for the humiture data collected being packed and pass through communication network 2;Data cache module 353, in the storage chip that the data transmission blocks failed packet of transmission stores data buffer storage unit 34, and the humiture record reading caching is supplied to data transmission blocks 352 to resend to application server 1.Described application server 1 includes: data reception module 11, for receiving and resolve the packet that master controller sends;Data memory module 12, the humiture record obtained after resolving is saved in data base.
In the present embodiment, by the humiture transducer 4 in poll 485 bus one by one to gather humiture data, data acquisition module 351 is communicated with the humiture transducer 4 being connected to it on by Modbus agreement, can use RTU pattern for raising communication efficiency simultaneously.Application server 1 is connected, if communication network 2 uses the Internet by communication network 2 with master controller 3, then application server 1 and master controller 3 can pass through ICP/IP protocol or UDP/IP protocol communication.UDP/IP protocol communication is quick and is prone in embedded device realize, and is relatively suitable for this embedded device of main controller 3.But UDP/IP agreement does not has acknowledgement mechanism, it is impossible to sentence whether primary data bag sends successfully, therefore the present embodiment uses the UDP/IP agreement of a kind of improvement, i.e. RUDP/IP agreement.This agreement sets up acknowledgement mechanism on the basis of UDP/IP agreement, and therefore, by this acknowledgement mechanism, data transmission blocks 352 just can sentence whether primary data bag sends successfully.
Described data transmission blocks 352 is additionally operable to after sending the new packet gathered whether send packet successfully judge, if sending unsuccessfully, then notifies that described data cache module 353 caches humiture data;If sending successfully, then notify that described data cache module 353 reads less than the humiture caching record of the unsuccessful transmission specifying threshold value and is sent to application server 1 after the packing of described humiture caching record
If packet sends unsuccessfully, then cached, thus be there is the problem that the humiture record for being buffered in storage chip sends as to when.In the case of You Xuan, often it is accomplished by the humiture record selecting system idle time to send these cachings.Generally after data transmission blocks 352 has sent packet, if be successfully transmitted, then show that network is unobstructed, simultaneously after having sent packet, generally requiring waits for a period of time just enters the data acquisition of next round, therefore the humiture record of caching after being successfully transmitted, can be detected, and select a number of humiture record to send.If the humiture record of the unsuccessful transmission of caching is all sent, it is possible to after there is long power-off or suspension, cause substantial amounts of caching record, such as 1000, if now selecting all to send, then this may result in network congestion, the time delay simultaneously reading storage chip, packing and network transmission is excessive, it is likely to the time that can cause delaying new round data acquisition, it is therefore desirable to select a number of record to transmit, such as 50.The requirement every time selecting the dominant record number of transmission to generally require the time interval according to humiture data acquisition determines.If the dominant record number of transmission is set as 50 every time, so data cache module 353 has only to read out the caching record of 50 unsuccessful transmissions every time, after these 50 record packing sending, wait timing to data acquisition module 351 by the humiture transducer 4 that continues in poll 485 bus to gather humiture data.The humiture record of how many unsuccessful transmissions should be read the most every time from storage chip, be often accomplished by the frequency acquisition according to humiture and determine.If frequency acquisition is high, then the record number specified should lack, and if frequency acquisition is low, then the record number specified can be the most more.If appointment threshold value is N, the value of N can be set based on experience value, such as 500, it is also possible to estimate this record number N that should read according to below equation:
Wherein, " sending packet time-out time " refers to that packet set in advance waits the maximum time of application server response after sending, and generally requires and sets based on experience value.Single-chip microcomputer dormancy time is also the time being previously set, and especially under storage battery power supply state, the dormancy time extending single-chip microcomputer advantageously reduces the consumption of electricity.
Humiture record that described data cache module 353 caches in storage chip and described data transmission blocks 352 are sent to the packet of application server 1 and at least include: monitoring point, acquisition time and warm and humid angle value;The data memory module 12 of application server 1 stores humiture record with monitoring point and acquisition time for major key, to ensure the uniqueness of data.
Situation about sending after may result in, due to this data buffer storage mechanism, the data first gathered, also results in Data duplication under some abnormal conditions and sends, therefore, it is necessary to further ensure the uniqueness of data.Tend to ensure the uniqueness of data by checkpoint and acquisition time.Checkpoint uses " master controller IP address "+" humiture transducer Modbus station address " uniquely to identify in the present embodiment, and the system time of the master controller 3 during acquisition time to be master controller 3 gather humiture data.
For ensureing that abrasion equilibrium is to improve the service life of storage chip, when described data cache module 353 access record, circulation storage algorithm is used to access record in storage chip, after being successfully transmitted by data transmission blocks 352 by the humiture record of transmission unsuccessful in storage chip, it is not deleted and is only labeled as sending successfully by data cache module 353 immediately every time;When sending caching record to described application server 1, described data cache module 353 only reads the successful caching record of unmarked transmission and sends data transmission blocks 352 to, and data transmission blocks 352 is wrapped into and is sent to application server 1.
In the environment of some network communication qualities are the highest, it is understood that there may be the often situation of suspension, so this may result in frequent access data, and be commonly stored chip and all there is life problems.If read caching record and just caching record deleted after being successfully transmitted every time, so this may result in humiture record and be always buffered in a certain region of storage chip and the most erasable to this region, also this may result in storage chip and occur as soon as bad block at short notice and the reliability decrease that makes whole system.Especially in this monitoring system, if in the case of the frequency gathering data is higher, use storage chip as the carrier of data buffer storage, this may result in erasable very frequent and storage chip is easily broken down and reduces the reliability of system, therefore use the access algorithm of the data buffer storage optimized and be easily achieved, be particularly significant and necessary for improving the reliability of whole system.Circulation about storage chip stores algorithm, and correlation technique document has detailed discussion.And in the present embodiment, use one simply and efficiently to circulate storage algorithm, if Fig. 5 is the single-chip data memory module workflow diagram based on circulation storage algorithm of the present embodiment, including:
S51, setting up a storage pointer to indicate new storage address, storage pointer is saved in the ad-hoc location of storage chip rather than is stored in RAM, to guarantee in power-off or to store the record of pointer after restarting and will not lose.
When S52, every time storage data, start to store data from the position of storage pointer instruction, and according to the data volume of storage, will move after storage pointer, and point to new storage address;When storing the afterbody that pointer points to address space, then storage pointer is set to 0, start anew to store data.
S53, every time the humiture record of the unsuccessful transmission in storage chip is read and is successfully transmitted after deletion the most immediately and be only labeled as sending successfully.
This circulation storage algorithm employed in the present embodiment may cause the humiture record of some unsuccessful transmissions to be capped, if but the Flash chip using memory space sufficiently large just can avoid this phenomenon.Under the frequency acquisition of 1 minute, each data cached record accounts for 32 bytes, then in the case of complete suspension, and every day, each monitoring point took the buffer memory capacity of 45K.If there being 10 monitoring points on master controller, will take 450K every day, in the case of suspension always, the Flash chip of 64M capacity just can cache the data of 145 days.Therefore, appropriate memory capacity is selected according to test point quantity and frequency acquisition, it becomes possible to be prevented effectively from the problem that the humiture record of caching is capped.
Described single-chip microcomputer also includes power management module 354, for periodic detection power supply state, and under accumulator 312 power supply state, detect the magnitude of voltage of accumulator 312, when the voltage of accumulator 312 is less than sending alarm when specifying threshold value or/and warning message is sent to application server 1 by data transmission blocks 352.
Generally, the electricity of detection accumulator all uses the mode surveying voltage, and when accumulator 312 electricity is sufficient not, prompting user is also necessary in time.Such as under storage battery power supply state, if accumulator 312 supply voltage is 12V, then specify threshold value 10.8V under normal circumstances, when less than 10.8V, then the power management module 354 of master controller 3 sends alarm.This alarm can be pointed out by utilizing buzzer to send prompt tone on master controller 3, it is also possible to alarm is sent to application server 1 and points out.
As shown in Figure 6, it is the workflow diagram of method of the present embodiment.First, it is provided that application server 1, communication network 2, master controller 3 and the humiture transducer 4 being sequentially connected with.Master controller 3 includes: Power Management Unit 31, transmitter communication unit 32, server communication unit 33, data buffer storage unit 34 and single-chip microcomputer 35.Specific works flow process comprises the steps:
S61, master controller 3 Power Management Unit 31 to master controller 3 and humiture transducer 4 centrally connected power supply that connected thereof, at civil power under normal circumstances by mains-supplied, after civil power power-off, use accumulator 312 to power.
S62, power on after, the connected humiture transducer of master controller 34 communicates, and timing acquiring humiture data.
The humiture data collected are packed and are passed through communication network 2 and are sent to application server 1 by S63, master controller 2.
S64, judge whether packet sends successfully, if sending successfully, then perform step S66, otherwise perform step S65.
Humiture data buffer storage in storage chip, and is gone to step S62 by S65, master controller 3.
S66, master controller 3 further check whether the humiture record of caching, and the successful humiture record that do not sends reading the caching being less than appointment threshold value is packed and is sent to application server 1, and go to step S62.Wherein, if appointment threshold value is N, the value of N can be set based on experience value, such as 500, it is also possible to estimate this record number N that should read according to below equation:
" send packet time-out time " and refer to that packet set in advance waits the maximum time of application server response after sending.Single-chip microcomputer dormancy time is also the time being previously set, and especially under storage battery power supply state, the dormancy time extending single-chip microcomputer advantageously reduces the consumption of electricity.
Packet that S67, application server 1 receive, resolves master controller 3 sends humiture record parsing obtained are saved in data base.
Wherein, the humiture record cached in master controller 3 and the packet being sent to application server 1 at least include: monitoring point, acquisition time and warm and humid angle value;Application server 1 stores humiture record with monitoring point and acquisition time for major key, to ensure the uniqueness of data.
Further, for ensure abrasion equilibrium with improve storage chip service life, described master controller 3 use circulation storage algorithm, after the humiture record of transmission unsuccessful in storage chip being successfully transmitted every time the most immediately delete and be only labeled as sending successfully;When application server 1 sends caching record, only successful for unmarked transmission caching record is read and transmits application server 1.
Further, described master controller 3 periodic detection power supply state, and under accumulator 312 power supply state, detect accumulator 312 magnitude of voltage, when accumulator 312 voltage sends alarm or/and warning message is sent to application server 1 less than when specifying threshold value.
Above in conjunction with accompanying drawing, the detailed description of the invention of the present invention is explained in detail, but the present invention is not limited to above-mentioned embodiment, in the ken that those of ordinary skill in the art are possessed, it is also possible on the premise of without departing from present inventive concept, various changes can be made.

Claims (4)

1. a continual humiture observation system, including the application server being sequentially connected with, communication network, master controller and humiture transducer, master controller includes: transmitter communication unit, server communication unit and single-chip microcomputer, it is characterized in that: described master controller also includes Power Management Unit and data buffer storage unit, described Power Management Unit includes accumulator and power supply circuits, for to described master controller and connected humiture transducer centrally connected power supply, at civil power under normal circumstances by mains-supplied, after civil power power-off, use storage battery power supply;Described data buffer storage unit includes storage chip;
Described single-chip microcomputer includes: data acquisition module, for gathering the humiture transducer communication being connected with master controller, and timing acquiring humiture data;Data transmission blocks, for packing the humiture data collected and be sent to application server by communication network;Data cache module, in the storage chip that the data transmission blocks failed packet of transmission stores data buffer storage unit, and the humiture record reading caching is supplied to data transmission blocks to resend to application server;
Described application server includes: data reception module, for receiving and resolve the packet that master controller sends;Data memory module, the humiture record obtained after resolving is saved in data base;
Described data transmission blocks is additionally operable to after sending the new packet gathered whether send packet successfully judge, if sending unsuccessfully, then notifies that described data cache module caches humiture data;If sending successfully, then notify that described data cache module reads less than the humiture caching record of the unsuccessful transmission specifying threshold value and is sent to application server after the packing of described humiture caching record;
Humiture record that described data cache module caches in storage chip and described data transmission blocks are sent to the packet of application server and at least include: monitoring point, acquisition time and warm and humid angle value;And the data memory module of described application server is when storage record, store humiture record with monitoring point and acquisition time for major key, to ensure the uniqueness of data;
When described data cache module access record, circulation storage algorithm is used to access record in storage chip, after being successfully transmitted by data transmission blocks by the humiture record of transmission unsuccessful in storage chip, it is not deleted and is only labeled as sending successfully by data cache module immediately every time;When sending caching record to described application server, described data cache module only reads the successful caching record of unmarked transmission and sends data transmission blocks to, and data transmission blocks is wrapped into and is sent to application server.
Continual humiture observation system the most according to claim 1, it is characterized in that: described single-chip microcomputer also includes power management module, for periodic detection power supply state, and under storage battery power supply state, detect battery tension value, when battery tension sends alarm or/and warning message is sent to application server by data transmission blocks less than when specifying threshold value.
3. a continual temperature-humidity monitoring method, it is provided that application server, communication network, master controller and the humiture transducer being sequentially connected with, it is characterised in that comprise the steps:
The Power Management Unit of master controller, to master controller and the humiture transducer centrally connected power supply that connected thereof, at civil power under normal circumstances by mains-supplied, uses storage battery power supply after civil power power-off;
After powering on, master controller connected humiture transducer communication, and timing acquiring humiture data;
The humiture data collected are packed and are sent to application server by communication network by master controller;If sending unsuccessfully, master controller by humiture data buffer storage in storage chip to resend to application server;
Application server reception, the packet resolving master controller transmission humiture record parsing obtained are saved in data base;
Described master controller is after sending the new packet gathered failure, by humiture data buffer storage in storage chip;If after sending the humiture data success newly collected, described master controller further checks whether the humiture record of caching, and the successful humiture record that do not sends reading the caching being less than appointment threshold value is packed and is sent to application server;
The humiture record cached in described master controller and the packet being sent to application server at least include: monitoring point, acquisition time and warm and humid angle value;Application server stores humiture record with monitoring point and acquisition time for major key, to ensure the uniqueness of data;
Described master controller uses circulation storage algorithm to access record in storage chip, deletes the most immediately every time and be only labeled as sending successfully after being successfully transmitted by the humiture record of transmission unsuccessful in storage chip;Successful for unmarked transmission caching record, when application server sends caching record, is only read and transmits application server by described master controller.
Continual temperature-humidity monitoring method the most according to claim 3, it is characterized in that: described master controller periodic detection power supply state, and under storage battery power supply state, detect battery tension value, when battery tension sends alarm or/and warning message is sent to application server less than when specifying threshold value.
CN201410099622.4A 2014-03-18 2014-03-18 A kind of continual humiture observation system and method Active CN103837197B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410099622.4A CN103837197B (en) 2014-03-18 2014-03-18 A kind of continual humiture observation system and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410099622.4A CN103837197B (en) 2014-03-18 2014-03-18 A kind of continual humiture observation system and method

Publications (2)

Publication Number Publication Date
CN103837197A CN103837197A (en) 2014-06-04
CN103837197B true CN103837197B (en) 2016-09-14

Family

ID=50800920

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410099622.4A Active CN103837197B (en) 2014-03-18 2014-03-18 A kind of continual humiture observation system and method

Country Status (1)

Country Link
CN (1) CN103837197B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104990215A (en) * 2015-06-30 2015-10-21 广东美的制冷设备有限公司 Air conditioner and humidity detection device for same
CN105871520A (en) * 2015-12-31 2016-08-17 乐视网信息技术(北京)股份有限公司 Data transmission method and device
CN106643867A (en) * 2016-09-20 2017-05-10 华中科技大学 Embedded processor-based Ethernet granary multipoint temperature and humidity detection system
CN106766656B (en) * 2016-12-22 2019-03-08 中科美菱低温科技股份有限公司 A kind of intelligence control system of medicine refrigerator
CN109634333A (en) * 2019-01-28 2019-04-16 安徽理工大学 A kind of medical temperature and humidity in storeroom monitoring system design method based on NBIOT technology
CN113740488A (en) * 2021-07-18 2021-12-03 昆明理工大学 Formaldehyde monitoring system and method

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101813933A (en) * 2009-12-31 2010-08-25 哈尔滨工业大学 Distributed temperature and humidity monitoring system
CN102185386A (en) * 2011-05-30 2011-09-14 四川省电力公司 Device for comprehensively monitoring working environment of intelligent transformer station based on distributed network
CN202631000U (en) * 2012-03-26 2012-12-26 中国烟草总公司重庆市公司烟草科学研究所 Environment factor remote monitoring device for seedling greenhouse

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100258212B1 (en) * 1997-02-20 2000-09-01 윤종용 System environment monitoring apparatus and method of outdoor base station

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101813933A (en) * 2009-12-31 2010-08-25 哈尔滨工业大学 Distributed temperature and humidity monitoring system
CN102185386A (en) * 2011-05-30 2011-09-14 四川省电力公司 Device for comprehensively monitoring working environment of intelligent transformer station based on distributed network
CN202631000U (en) * 2012-03-26 2012-12-26 中国烟草总公司重庆市公司烟草科学研究所 Environment factor remote monitoring device for seedling greenhouse

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
基于互联网的温湿度分布式监控系统的实现;刘明 等;《信息技术》;20131231;第103~105页 *
嵌入式系统中UDP协议可靠数据传输的实现;方娇莉 等;《云南电大学报》;20110630;第13卷(第2期);第94~96页 *

Also Published As

Publication number Publication date
CN103837197A (en) 2014-06-04

Similar Documents

Publication Publication Date Title
CN103837197B (en) A kind of continual humiture observation system and method
CN102932964B (en) Internet of Things gateway for perceiving wild environment and data transmission method thereof
CN102521174B (en) In a kind of embedded system, data acquisition stores the method with transmission
CN204615930U (en) A kind of web camera of powered battery low-power consumption
CN102118309B (en) Method and system for double-machine hot backup
CN112051377B (en) Water environment monitoring frequency self-adjusting system adapting to weather changes
CN104184786A (en) Wireless sensor cloud gateway system for forest environment
CN102692557A (en) Power-expenditure information acquisition terminal and method
CN109032026B (en) Intelligent classroom control system that cloud and sea combine
CN110650192B (en) New energy monitoring system based on Beidou short message communication
CN204833658U (en) Automatic weather station data transmission and management system
CN203870749U (en) Sensor-based forest fire-prevention monitoring and patrolling system
CN211237107U (en) Data acquisition device for safety monitoring
Arratia et al. A modular and mesh-capable LoRa based Content Transfer Protocol for Environmental Sensing
CN108683565B (en) Data processing system based on narrowband Internet of things
CN102480375A (en) Method for processing log information
CN109287051A (en) Strong power controller and its strong power management method
CN111314408B (en) Local edge calculation and Internet of things management method based on communication layer multi-data item caching task
CN204010294U (en) The lightning proof of wireless sensing equipment in a kind of intelligent irrigation system
CN203872360U (en) Double-layer heterogeneous WMSN node and double-layer heterogeneous WMSN monitoring system
CN212034143U (en) Multi-endpoint data transmission device based on MQTT protocol and wireless communication technology
CN201976212U (en) Image redundancy cache circuit applied to industrial monitoring equipment
CN207082214U (en) One kind is based on Lora radio communication distributed energy collectors
CN115002772B (en) WiFi-based data acquisition and control method and system
CN214100962U (en) NBIOT-supported low-power-consumption intelligent management front end

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20180719

Address after: 650000 Kunming, Wuhua, Yunnan, Wuhua, Hoi Tun Road, Lenovo science and technology city A2 block 7 podium fifth floor, 10-20 District No. 10-20

Patentee after: Yunnan gold science and Technology Co., Ltd.

Address before: No. 253, Xuefu Road, Wuhua District, Kunming, Yunnan

Patentee before: Kunming University of Science and Technology

TR01 Transfer of patent right