CN103837197A - System and method for continuously monitoring temperature and humidity - Google Patents

System and method for continuously monitoring temperature and humidity Download PDF

Info

Publication number
CN103837197A
CN103837197A CN201410099622.4A CN201410099622A CN103837197A CN 103837197 A CN103837197 A CN 103837197A CN 201410099622 A CN201410099622 A CN 201410099622A CN 103837197 A CN103837197 A CN 103837197A
Authority
CN
China
Prior art keywords
humiture
data
application server
record
master controller
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201410099622.4A
Other languages
Chinese (zh)
Other versions
CN103837197B (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

Images

Landscapes

  • Telephonic Communication Services (AREA)

Abstract

The invention discloses a system and method for continuously monitoring the temperature and the humidity and belongs to the technical field of computer control. The system comprises an application server, a communication network, a main controller and a temperature and humidity transmitter, wherein the application server, the communication network, the main controller and the temperature and humidity transmitter are sequentially connected. The main controller comprises a transmitter communication unit, a server communication unit and a single-chip microcomputer. The system for continuously monitoring the temperature and the humidity is characterized in that the main controller further comprises a power source managing unit and a data cache unit; the power source managing unit comprises a storage battery and a supply circuit and is used for supplying electricity to the main controller and the temperature and humidity transmitter connected with the main controller in a concentrated mode, on the condition that commercial power is normal, the commercial power is adopted, and after the commercial power is stopped, the storage battery is used for supplying electric power; the data cache unit comprises a storage chip. According to the system and method, on the basis that a monitored power source is managed in a concentrated and unified mode, the function that monitored temperature and humidity data can be continuously stored on the conditions of commercial power failure and network breakage is further achieved, the monitored data are managed and applied conveniently, and the user experience is improved.

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 and adapt to large-scale monitoring in order to solve in monitoring point occasion many and that disperse (such as pharmaceutical warehouse etc.), in utility model patent 201320022030.3 " a kind of humiture distributed monitoring system based on internet ", a kind of distributed temperature and humidity supervisory system based on master controller has been proposed, the monitoring mode implementation of this distributed structure/architecture is further described in " infotech " 2013 11 interim paper " realization of the humiture distributed monitoring system based on internet ": " utilize master controller to share monitoring load, and connect watch-dog, solve in traditional Concentrated Monitoring and Control System in the situation that connection device is more, the bottleneck problem of wiring complexity, owing to adopting distributed multi-stage structure control, make system there is good extendability, improve the reliabilty and availability of system ".In actual applications, supervision department often requires humiture to carry out regular continual monitoring, and record humiture data, and the complete continual humiture data (in 24 hours, preserving a record every 5 minutes) that require to preserve monitoring point are to meet the needs of supervision.And in conjunction with prior art, this distributed monitoring system often just need to adopt independent ups power to guarantee civil power (AC) power-off in the situation that, still can monitor humiture data, but more and disperse in the situation that in monitoring point, often use very inconvenient and be not easy to centralized and unified management.In addition, if occurred in the situation of suspension, this supervisory system just may obliterated data, 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 situation that of civil power power-off or suspension, still can continual monitoring and preservation humiture data.
In addition, be necessary to provide a kind of continual temperature-humidity monitoring method in the situation that of civil power power-off or suspension, still can continual monitoring and preservation humiture data.
Technical scheme of the present invention is: a kind of continual humiture observation system, comprise the application server connecting successively, communication network, master controller and humiture transducer, master controller comprises: transmitter communication unit, server communication unit and single-chip microcomputer, described master controller also comprises Power Management Unit and data buffer storage unit, described Power Management Unit comprises accumulator and feed circuit, be used for described master controller and connected humiture transducer centrally connected power supply, use under normal circumstances mains-supplied at civil power, after civil power power-off, adopt storage battery power supply, described data buffer storage unit comprises storage chip, and described single-chip microcomputer comprises: data acquisition module, communicate by letter for gathering the humiture transducer being connected with master controller, and timing acquiring humiture data, data transmission blocks, for packing the humiture data that collect send to application server by communication network, data cache module, stores the storage chip of data buffer storage unit into for data transmission blocks is sent to failed packet, and the humiture record that reads buffer memory offers data transmission blocks to resend application server, described application server comprises: data reception module, the packet sending for receiving and resolve master controller, data memory module, for being saved in database by the humiture record obtaining after resolving.
Described data transmission blocks also, for after the packet sending new collection, whether packet being sent successfully and judged, if sent unsuccessfully, is notified described data cache module buffer memory humiture data; If sent successfully, notify the humiture caching record that described data cache module reads the unsuccessful transmission that is less than assign thresholds and will after described humiture caching record packing, send to application server.The packet that the humiture record of described data cache module buffer memory in storage chip and described data transmission blocks send to application server at least comprises: monitoring point, acquisition time and humiture value; And the data memory module of described application server is in the time of stored record, store humiture record take monitoring point and acquisition time as major key, to guarantee the uniqueness of data.In the time of described data cache module access record, adopt circulation storage algorithm access record in storage chip, after the humiture record of unsuccessful transmission in storage chip successfully being sent by data transmission blocks, data cache module is not deleted it immediately and is only labeled as and sends successfully at every turn; In the time 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 by its packing and send to application server.Described single-chip microcomputer also comprises power management module, for regularly detecting power supply state, and under storage battery power supply state, detect battery tension value, in the time that being less than assign thresholds, battery tension sends alarm or/and warning message is sent to application server by data transmission blocks.
A kind of continual temperature-humidity monitoring method, provides the application server, communication network, master controller and the humiture transducer that connect successively, comprises the steps:
The Power Management Unit of master controller, to master controller and the humiture transducer centrally connected power supply that connects thereof, is used mains-supplied under normal circumstances at civil power, after civil power power-off, adopts storage battery power supply.
After powering on, the connected humiture transducer communication of master controller, and timing acquiring humiture data.
Master controller is by the humiture data packing collecting and send to application server by communication network; If sent unsuccessfully, master controller by humiture data buffer storage in storage chip to resend application server.
The packet that application server receives, parsing master controller sends the humiture record that parsing is obtained are saved in database.
Described master controller is sending after the new packet failure gathering, by humiture data buffer storage in storage chip; If sent after the humiture data success newly collecting, whether the further inspection of described master controller has the humiture record of buffer memory, and the successful humiture record of not transmission that reads the buffer memory that is less than assign thresholds is packed and sends to application server.In master controller, the humiture of buffer memory record and the packet that sends to application server at least comprise: monitoring point, acquisition time and humiture value; Application server is stored humiture record take monitoring point and acquisition time as major key, to guarantee the uniqueness of data.Described master controller adopts circulation storage algorithm access record in storage chip, the humiture of unsuccessful transmission in storage chip record at every turn successfully send after not deletion immediately and being only labeled as send successfully; Described master controller sends when caching record to application server, only successful unmarked transmission caching record is read and packed to send to application server.Described master controller regularly detects power supply state, and detects battery tension value under storage battery power supply state, sends alarm or/and warning message is sent to application server in the time that battery tension is less than assign thresholds.
The invention has the beneficial effects as follows: first, in master controller by Power Management Unit to connected humiture transducer centrally connected power supply, realize the centralized and unified management to power supply, and further realized on this basis the in the situation that of civil power power-off, suspension also can continual monitoring and preserve the humiture data of each monitoring point, the centralized management of convenient Monitoring Data and application and reliable and stable, further promoted user's experience.
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 functional block diagram of application server and the single-chip microcomputer of the embodiment of the present invention;
Fig. 5 is the single-chip data memory module of the embodiment of the present invention workflow diagram based on circulation storage algorithm;
Fig. 6 is the workflow diagram of the method for the embodiment of the present invention.
Embodiment
Below in conjunction with the drawings and specific embodiments, the invention will be further described.
As 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 comprises the application server 1, communication network 2, master controller 3 and the humiture transducer 4 that connect successively; Master controller 3 comprises: 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 adopt internet in the present embodiment, and the server communication unit 33 of master controller 3 consists of Ethernet chip, Ethernet transformer and RJ45 joint, and is linked in communication network 2 by RJ45 joint.Transmitter communication unit 32 can be made up of RS485 chip (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 for have a power failure or suspension situation under the humiture data that gather of buffer memory, data buffer storage unit 34 is mainly made up of storage chip, and storage chip has EEPROM and Flash conventionally, in the present embodiment, adopt Flash chip, EEPROM relatively, Flash chip has memory capacity greatly and the fast characteristic of access speed.And single-chip microcomputer 5 can adopt ARM9 or STM32, also can adopt STM8, in the present embodiment, select STM32, to better support jumbo storage chip, improve the scalability of system.
As shown in Figure 2, be the master controller Power Management Unit hardware composition frame chart of the embodiment of the present invention.Power Management Unit 31 comprises accumulator 312 and feed circuit 311, be used for master controller 3 and connected humiture transducer 4 centrally connected power supplies, use under normal circumstances mains-supplied at civil power (AC), after civil power power-off, adopt accumulator 312 to power, civil power power-off incoming telephone signal and accumulator electric-quantity are offered to single-chip microcomputer 35 simultaneously.
Next will further illustrating the composition of feed circuit 311, as shown in Figure 3, is 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, " 1 " represents the mains supply comes out, 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 power switching circuit 3114 is according to civil power, power-off carrys out the switching value that power detection circuit 3112 exports and switches, if the mains supply comes out 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.Centralized management for the ease of master controller 3 to power supply, feed circuit 311 also comprise battery tension sample circuit 3115, to after the magnitude of voltage sampling of accumulator 312, through A/D, conversion outputs to single-chip microcomputer 35.
As shown in Figure 4, be the functional block diagram of application server and the single-chip microcomputer of the embodiment of the present invention.Described single-chip microcomputer 35 comprises: data acquisition module 351, communicate by letter for gathering the humiture transducer 4 being connected with master controller 3, and timing acquiring humiture data; Data transmission blocks 352, for packing the humiture data that collect send to application server 1 by communication network 2; Data cache module 353, stores the storage chip of data buffer storage unit 34 into for data transmission blocks is sent to failed packet, and the humiture record that reads buffer memory offers data transmission blocks 352 to resend application server 1.Described application server 1 comprises: data reception module 11, the packet sending for receiving and resolve master controller; Data memory module 12, for being saved in database by the humiture record obtaining after resolving.
In the present embodiment, by the humiture transducer 4 in poll 485 buses one by one to gather humiture data, data acquisition module 351 is communicated by letter with the humiture transducer 4 being connected thereon by Modbus agreement, can adopt RTU pattern for improving communication efficiency simultaneously.Application server 1 is connected by communication network 2 with master controller 3, if communication network 2 adopts internet, application server 1 can pass through ICP/IP protocol or UDP/IP protocol communication with master controller 3 so.UDP/IP protocol communication is quick and be easy to realize relatively more applicable this embedded device of primary controller 3 in embedded device.But UDP/IP agreement does not have acknowledgement mechanism, cannot sentence primary data bag and whether send successfully, therefore in the present embodiment, adopt a kind of improved UDP/IP agreement, i.e. RUDP/IP agreement.This agreement is set up acknowledgement mechanism on the basis of UDP/IP agreement, and therefore, by this acknowledgement mechanism, whether data transmission blocks 352 just can be sentenced primary data bag and send successfully.
Described data transmission blocks 352 also, for after the packet sending new collection, whether packet being sent successfully and judged, if sent unsuccessfully, is notified described data cache module 353 buffer memory humiture data; If sent successfully, notify described data cache module 353 read the humiture caching record of the unsuccessful transmission that is less than assign thresholds and will after described humiture caching record packing, send to application server 1
If, by its buffer memory, so just there is the problem sending as to when for the humiture record being buffered in storage chip in Packet Generation failure.In preferred situation, often just need selective system free time to send the humiture record of these buffer memorys.Conventionally send after packet in data transmission blocks 352, if successfully sent, show that network is unobstructed, sending after packet simultaneously, often need to wait for a period of time and just enter the data acquisition of next round, therefore can, after successfully sending, detect the humiture record of buffer memory, and select the humiture record of some to send.If the humiture record of the unsuccessful transmission of buffer memory is all sent, just may exist after long power-off or suspension, cause a large amount of caching record, such as 1000, if now select all to send, so just may cause network congestion, the time delay of simultaneously reading storage chip, packing and Internet Transmission is excessive, also may cause delaying the time of new round data acquisition, therefore need to select the record of some to transmit, such as 50.Each dominant record number of selecting transmission often needs to decide according to the requirement in the time interval of humiture data acquisition.If the dominant record number of each transmission is set as 50, the each caching record that only need to read out 50 unsuccessful transmissions of data cache module 353 so, after these 50 records packs and are sent, wait for timing to data acquisition module 351 by the humiture transducer 4 in continuation poll 485 buses with collection humiture data.Should from storage chip, read the humiture record of how many unsuccessful transmissions actually at every turn, often just need to determine according to the frequency acquisition of humiture.If frequency acquisition is high, that specifies so records number and should lack, and if frequency acquisition is low, the number that records of specifying so can be relatively more.If assign thresholds is N, can set based on experience value the value of N, as 500, that also can estimate that this should read according to following formula records number N:
Figure 2014100996224100002DEST_PATH_IMAGE002
Wherein, " send packet time-out time " and refer to that predefined packet sends the maximum time that rear wait application server is replied, and often needs to set based on experience value.Single-chip microcomputer dormancy time is also the time of setting in advance, and especially, under storage battery power supply state, the dormancy time that extends single-chip microcomputer is conducive to reduce the consumption of electric weight.
The packet that the humiture record of described data cache module 353 buffer memory in storage chip and described data transmission blocks 352 send to application server 1 at least comprises: monitoring point, acquisition time and humiture value; The data memory module 12 of application server 1 is stored humiture record take monitoring point and acquisition time as major key, to guarantee the uniqueness of data.
Situation about sending after the data that may cause first gathering due to this data buffer storage mechanism also can cause Data duplication to send under some abnormal conditions, therefore, is necessary further to guarantee the uniqueness of data.Often can guarantee the uniqueness of data by checkpoint and acquisition time.Checkpoint adopts " master controller IP address "+" humiture transducer Modbus station address " to carry out unique identification in the present embodiment, and the system time of the master controller 3 of acquisition time when to be master controller 3 gather humiture data.
For guaranteeing that abrasion equilibrium is to improve the serviceable life of storage chip, in the time of described data cache module 353 access record, adopt circulation storage algorithm access record in storage chip, after the humiture record of unsuccessful transmission in storage chip successfully being sent by data transmission blocks 352, data cache module 353 is not deleted it immediately and is only labeled as and sends successfully at every turn; In the time 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 by its packing and send to application server 1.
Under the not high environment of some network communication qualities, may there is the situation of frequent suspension, so just may cause frequent access data, and common all average life problems of storage chip.If read caching record and just caching record deleted after successfully sending at every turn, so just may cause humiture record to be always buffered in the Er Duigai region, a certain region of storage chip erasable frequently, also just may cause storage chip just to occur bad block at short notice and make the reliability decrease of whole system.Especially in this monitoring system, if in the higher situation of the frequency of image data, adopt the words of storage chip as the carrier of data buffer storage, just may cause erasable very frequent and storage chip is easily broken down and reduced the reliability of system, therefore adopting and optimize and be easy to the access algorithm of data buffer storage of realizing, is very important and necessary for the reliability that improves whole system.About the circulation storage algorithm of storage chip, correlation technique document has detailed discussion.And in the present embodiment, adopt the one storage algorithm that simply and efficiently circulates, if Fig. 5 is the single-chip data memory module of the present embodiment workflow diagram based on circulation storage algorithm, comprising:
S51, set up a storage pointer and indicate new memory address, storage pointer is kept at the ad-hoc location of storage chip rather than is stored in RAM, can not lose with the record of guaranteeing in power-off or store pointer after restarting.
S52, while storing data at every turn, start to store data from the position of storage pointer indication, and according to the data volume of storage, will after storage pointer, move, point to new memory address; In the time storing the afterbody of pointed address space, storage pointer is set to 0, start anew to store data.
S53, each humiture by the unsuccessful transmission in storage chip record are not deleted immediately after reading and successfully sending and are only labeled as and send successfully.
This circulation storage algorithm adopting in the present embodiment may cause the humiture record of some unsuccessful transmissions capped, if but adopt storage space enough large Flash chip just can avoid this phenomenon.Under the frequency acquisition of 1 minute, each data cached record accounts for 32 bytes, and the in the situation that of complete suspension, every day, each monitoring point took the buffer memory capacity of 45K so.If there are 10 monitoring points on master controller, will take 450K every day, and the in the situation that of suspension always, the Flash chip of 64M capacity just can the buffer memory data of 145 days.Therefore, select appropriate memory capacity according to check point quantity and frequency acquisition, just can effectively avoid the humiture of buffer memory to record capped problem.
Described single-chip microcomputer also comprises power management module 354, for regularly detecting power supply state, and under accumulator 312 power supply states, detect the magnitude of voltage of accumulator 312, in the time that being less than assign thresholds, the voltage of accumulator 312 sends alarm or/and warning message is sent to application server 1 by data transmission blocks 352.
Conventionally, the electric weight that detects accumulator all adopts the mode of surveying voltage, and in the time that accumulator 312 electric weight are sufficient not, reminding user is also necessary in time.Such as under storage battery power supply state, if accumulator 312 supply voltages are 12V, assign thresholds 10.8V so under normal circumstances, when being less than 10.8V, the power management module 354 of master controller 3 sends alarm.This alarm can be pointed out by utilizing hummer to send prompt tone on master controller 3, also alarm can be sent to application server 1 and point out.
As shown in Figure 6, be the workflow diagram of the method for the present embodiment.First, provide the application server 1, communication network 2, master controller 3 and the humiture transducer 4 that connect successively.Master controller 3 comprises: 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:
The Power Management Unit 31 of S61, master controller 3, to master controller 3 and humiture transducer 4 centrally connected power supplies that connect thereof, is used mains-supplied under normal circumstances at civil power, adopts accumulator 312 to power after civil power power-off.
S62, power on after, the connected humiture transducer 4 of master controller 3 is communicated by letter, and timing acquiring humiture data.
S63, master controller 2 are packed the humiture data that collect send to application server 1 by communication network 2.
S64, judge whether packet sends successfully, if send successfully, perform step S66, otherwise execution step S65.
S65, master controller 3 in storage chip, and go to step S62 by humiture data buffer storage.
Whether S66, the further inspection of master controller 3 have the humiture record of buffer memory, and read the successful humiture record of the not transmission of the buffer memory that is less than assign thresholds and pack and send to application server 1, and go to step S62.Wherein, if assign thresholds is N, can set based on experience value the value of N, as 500, that also can estimate that this should read according to following formula records number N:
Figure 696560DEST_PATH_IMAGE002
" send packet time-out time " and refer to that predefined packet sends the maximum time that rear wait application server is replied.Single-chip microcomputer dormancy time is also the time of setting in advance, and especially, under storage battery power supply state, the dormancy time that extends single-chip microcomputer is conducive to reduce the consumption of electric weight.
S67, application server 1 receive, resolve the packet that master controller 3 sends and the humiture that parsing is obtained record is saved in database.
Wherein, in master controller 3, the humiture of buffer memory record and the packet that sends to application server 1 at least comprise: monitoring point, acquisition time and humiture value; Application server 1 is stored humiture record take monitoring point and acquisition time as major key, to guarantee the uniqueness of data.
Further, for guaranteeing that abrasion equilibrium is to improve serviceable life of storage chip, described master controller 3 adopts circulation storage algorithm, the humiture of unsuccessful transmission in storage chip record at every turn successfully send after not deletion immediately and being only labeled as send successfully; While sending caching record to application server 1, only successful unmarked transmission caching record is read and packed and send to application server 1.
Further, described master controller 3 regularly detects power supply state, and under accumulator 312 power supply states, detects accumulator 312 magnitudes of voltage, in the time that accumulator 312 voltages are less than assign thresholds, sends alarm or/and warning message is sent to application server 1.
By reference to the accompanying drawings the specific embodiment of the present invention is explained in detail above, but the present invention is not limited to above-mentioned embodiment, in the ken possessing those of ordinary skills, can also under the prerequisite that does not depart from aim of the present invention, make various variations.

Claims (10)

1. a continual humiture observation system, comprise the application server, communication network, master controller and the humiture transducer that connect successively, master controller comprises: transmitter communication unit, server communication unit and single-chip microcomputer, it is characterized in that: described master controller also comprises Power Management Unit and data buffer storage unit, described Power Management Unit comprises accumulator and feed circuit, be used for described master controller and connected humiture transducer centrally connected power supply, use under normal circumstances mains-supplied at civil power, after civil power power-off, adopt storage battery power supply; Described data buffer storage unit comprises storage chip;
Described single-chip microcomputer comprises: data acquisition module, communicate by letter for gathering the humiture transducer being connected with master controller, and timing acquiring humiture data; Data transmission blocks, for packing the humiture data that collect send to application server by communication network; Data cache module, stores the storage chip of data buffer storage unit into for data transmission blocks is sent to failed packet, and the humiture record that reads buffer memory offers data transmission blocks to resend application server;
Described application server comprises: data reception module, the packet sending for receiving and resolve master controller; Data memory module, for being saved in database by the humiture record obtaining after resolving.
2. continual humiture observation system according to claim 1, it is characterized in that: whether described data transmission blocks is also for sending successfully and judge packet after the packet sending new collection, if sent unsuccessfully, notify described data cache module buffer memory humiture data; If sent successfully, notify the humiture caching record that described data cache module reads the unsuccessful transmission that is less than assign thresholds and will after described humiture caching record packing, send to application server.
3. continual humiture observation system according to claim 1 and 2, is characterized in that: the packet that the humiture record of described data cache module buffer memory in storage chip and described data transmission blocks send to application server at least comprises: monitoring point, acquisition time and humiture value; And the data memory module of described application server is in the time of stored record, store humiture record take monitoring point and acquisition time as major key, to guarantee the uniqueness of data.
4. continual humiture observation system according to claim 3, it is characterized in that: in the time of described data cache module access record, adopt circulation storage algorithm access record in storage chip, after the humiture record of unsuccessful transmission in storage chip successfully being sent by data transmission blocks, data cache module is not deleted it immediately and is only labeled as and sends successfully at every turn; In the time 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 by its packing and send to application server.
5. continual humiture observation system according to claim 1, it is characterized in that: described single-chip microcomputer also comprises power management module, for regularly detecting power supply state, and under storage battery power supply state, detect battery tension value, in the time that being less than assign thresholds, battery tension sends alarm or/and warning message is sent to application server by data transmission blocks.
6. a continual temperature-humidity monitoring method, provides the application server, communication network, master controller and the humiture transducer that connect successively, it is characterized in that comprising the steps:
The Power Management Unit of master controller, to master controller and the humiture transducer centrally connected power supply that connects thereof, is used mains-supplied under normal circumstances at civil power, after civil power power-off, adopts storage battery power supply;
After powering on, the connected humiture transducer communication of master controller, and timing acquiring humiture data;
Master controller is by the humiture data packing collecting and send to application server by communication network; If sent unsuccessfully, master controller by humiture data buffer storage in storage chip to resend application server;
The packet that application server receives, parsing master controller sends the humiture record that parsing is obtained are saved in database.
7. continual temperature-humidity monitoring method according to claim 7, is characterized in that: described master controller is sending after the new packet failure gathering, by humiture data buffer storage in storage chip; If sent after the humiture data success newly collecting, whether the further inspection of described master controller has the humiture record of buffer memory, and the successful humiture record of not transmission that reads the buffer memory that is less than assign thresholds is packed and sends to application server.
8. according to the continual temperature-humidity monitoring method described in claim 6 or 7, it is characterized in that: in described master controller, the humiture of buffer memory record and the packet that sends to application server at least comprise: monitoring point, acquisition time and humiture value; Application server is stored humiture record take monitoring point and acquisition time as major key, to guarantee the uniqueness of data.
9. continual temperature-humidity monitoring method according to claim 8, it is characterized in that: described master controller adopts circulation storage algorithm access record in storage chip, the humiture of unsuccessful transmission in storage chip record at every turn successfully send after not deletion immediately and being only labeled as send successfully; Described master controller sends when caching record to application server, only successful unmarked transmission caching record is read and packed to send to application server.
10. continual temperature-humidity monitoring method according to claim 6, it is characterized in that: described master controller regularly detects power supply state, and under storage battery power supply state, detect battery tension value, in the time that being less than assign thresholds, battery tension sends alarm or/and warning message is sent to application server.
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 true CN103837197A (en) 2014-06-04
CN103837197B 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)

Cited By (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
CN106766656A (en) * 2016-12-22 2017-05-31 中科美菱低温科技股份有限公司 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 (4)

* 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
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

Patent Citations (4)

* 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
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
刘明 等: "基于互联网的温湿度分布式监控系统的实现", 《信息技术》 *
方娇莉 等: "嵌入式系统中UDP协议可靠数据传输的实现", 《云南电大学报》 *

Cited By (7)

* 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
CN106766656A (en) * 2016-12-22 2017-05-31 中科美菱低温科技股份有限公司 A kind of intelligence control system of medicine refrigerator
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

Also Published As

Publication number Publication date
CN103837197B (en) 2016-09-14

Similar Documents

Publication Publication Date Title
CN103837197A (en) System and method for continuously monitoring temperature and humidity
KR101433478B1 (en) A Method of Auto CAN ID Setting for Energy Storage System Slave Battery Management System
CN102932964B (en) Internet of Things gateway for perceiving wild environment and data transmission method thereof
US20200305229A1 (en) Wireless sensor management method, and wireless communication system
CN103560584A (en) Photovoltaic power station state monitoring device based on wireless
CN204833658U (en) Automatic weather station data transmission and management system
CN104270272B (en) A kind of electric energy quality monitoring data management scheme based on mobile Agent
CN203870749U (en) Sensor-based forest fire-prevention monitoring and patrolling system
CN212433155U (en) Water environment monitoring frequency self-adjusting system adaptive to weather changes
CN101871985B (en) Method and device for metering electric quantity of powered device in power over Ethernet system
CN211237107U (en) Data acquisition device for safety monitoring
CN105303799A (en) Wireless data collector
CN102137419A (en) Carrier frequency regulating method, matched monitoring device, base station and system
CN204926063U (en) Low -power consumption telemetering measurement incident trigger
CN208461844U (en) A kind of smart city monitoring system based on LoRa wireless network
CN201892717U (en) Failure indicating and monitor monitoring device of overhead line
CN109287051A (en) Strong power controller and its strong power management method
CN203872360U (en) Double-layer heterogeneous WMSN node and double-layer heterogeneous WMSN monitoring system
CN214100962U (en) NBIOT-supported low-power-consumption intelligent management front end
CN208688647U (en) A kind of monitoring system based on vibrating string type sensor
CN208861458U (en) Data concentrator based on Internet of Things low-power consumption mechanics of communication
CN208888611U (en) A kind of super low-power consumption control system based on wireless bidirectional communication
CN201984546U (en) Intelligent electronic patrol system
CN212034143U (en) Multi-endpoint data transmission device based on MQTT protocol and wireless communication technology
CN109388549B (en) Storage method, storage system, electronic device, and storage medium

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