CN107085593A - Environment control method and system - Google Patents

Environment control method and system Download PDF

Info

Publication number
CN107085593A
CN107085593A CN201710136995.8A CN201710136995A CN107085593A CN 107085593 A CN107085593 A CN 107085593A CN 201710136995 A CN201710136995 A CN 201710136995A CN 107085593 A CN107085593 A CN 107085593A
Authority
CN
China
Prior art keywords
data
environmental data
environmental
time
collection period
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201710136995.8A
Other languages
Chinese (zh)
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.)
GUANGZHOU ZHONGDA BAIXUN INFORMATION TECHNOLOGY Co Ltd
Original Assignee
GUANGZHOU ZHONGDA BAIXUN INFORMATION TECHNOLOGY Co Ltd
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 GUANGZHOU ZHONGDA BAIXUN INFORMATION TECHNOLOGY Co Ltd filed Critical GUANGZHOU ZHONGDA BAIXUN INFORMATION TECHNOLOGY Co Ltd
Priority to CN201710136995.8A priority Critical patent/CN107085593A/en
Publication of CN107085593A publication Critical patent/CN107085593A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/24Querying
    • G06F16/245Query processing
    • G06F16/2458Special types of queries, e.g. statistical queries, fuzzy queries or distributed queries
    • G06F16/2465Query processing support for facilitating data mining operations in structured databases
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/22Indexing; Data structures therefor; Storage structures
    • G06F16/2282Tablespace storage structures; Management thereof
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2216/00Indexing scheme relating to additional aspects of information retrieval not explicitly covered by G06F16/00 and subgroups
    • G06F2216/03Data mining

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Data Mining & Analysis (AREA)
  • General Physics & Mathematics (AREA)
  • Probability & Statistics with Applications (AREA)
  • Computational Linguistics (AREA)
  • Mathematical Physics (AREA)
  • Fuzzy Systems (AREA)
  • Arrangements For Transmission Of Measured Signals (AREA)

Abstract

The present invention relates to a kind of environment control method and system is provided, wherein environment control method includes:Receive the environmental data of actual measurement;According to collection period, judge whether the temporal information of environmental data meets the collection period;If it is judged that the temporal information of the environmental data meets the collection period, then the environmental data for meeting the collection period is exported for achieving;Wherein, the collection period is more than the cycle for receiving the environmental data.Database archive is restored again into after the environmental data received is acquired, reduces data storage pressure, efficiency data query is improved.

Description

Environment control method and system
Technical field
The invention belongs to monitoring field, and in particular to a kind of environment control method and system.
Background technology
Traditional environment control method, such as temperature monitoring system, humidity control system, temperature sensor (humidity sensor Device) environmental data detected is transmitted to background controller, background controller storage environment data are as archive, from database In transfer the environmental data achieved and the post-processing such as counted, checked.But, because sensor gathers the week of environmental data Phase is short, causes the data volume of database purchase big, it is necessary to set huge database, and transferred from the archive data of magnanimity Data progress post-processing workload is big, efficiency is low.
The content of the invention
Based on this, the invention reside in the defect for overcoming prior art there is provided a kind of environment control method and system, it will receive To environmental data be acquired after be restored again into database achieve, reduce data storage pressure, improve efficiency data query.
Its technical scheme is as follows:
A kind of environment control method, data acquisition server performs acquisition step:Receive the environmental data of actual measurement;Root According to collection period, judge whether the temporal information of environmental data meets the collection period;If it is judged that the environmental data Temporal information meet the collection period, then the environmental data for meeting the collection period is exported for achieving;Its In, the collection period is more than the cycle for receiving the environmental data.
In one of the embodiments, before the acquisition step, classifying step is performed:The environmental data is received, According to the temporal information of the environmental data, the classification of the environmental data is judged;In the acquisition step, institute of all categories The respective collection period of environmental data correspondence is stated, according to the environmental data of collection period of all categories respectively to respective classes Perform collection.
In one of the embodiments, the environmental data is divided at least two classifications, and at least two classification includes First category and second category, wherein the collection period of the first category is more than the collection period of the second category.
In one of the embodiments, the classifying step also includes:After the classification for judging the environmental data, in institute State and category label is done on environmental data;, will be described according to the category label on the environmental data in the acquisition step Environmental data classification output.
In one of the embodiments, the temporal information of the environmental data is actually measured comprising the environmental data Time;The classification of the environmental data includes history classification;In the classifying step:Contrast the time letter of the environmental data Breath and time T1, if the environmental data is actually measured before time T1, judge that the environmental data is Historical data;In the acquisition step:According to the collection period of the historical data, historical data is acquired;Wherein, Time T1 is earlier than current time T0;Or/and, the classification of the environmental data includes caching classification;In the classifying step:It is right Than the temporal information and time T2 of the environmental data, if the environmental data is in time T2 to quilt between current time T0 Actually measure, then judge the environmental data to be data cached;In the acquisition step:According to described data cached Collection period, is acquired to data cached;Wherein, time T2 is earlier than current time T0;Or/and, the class of the environmental data Bao Kuo not real time class;In the classifying step:According to the temporal information of environmental data, if environmental data apart from it is current when Between T0 gathered recently by data monitoring equipment, then judge the corresponding environmental data for real time data;Before the acquisition step The real time data is exported, or in the acquisition step according to the collection period of the real time data to the real time data Exported after collection;Or/and, the classification of the environmental data includes alarm classification;In the classifying step:According to default report Alert limit value, contrasts the environmental data and the alarm limits, if the environmental data exceeds the scope of the alarm limits, Then judge the environmental data for alert data;The alert data is exported before the acquisition step, or in the collection Exported after being gathered in step according to the collection period of the alert data to the alert data.
In one of the embodiments, the collection period of the alert data is less than the collection period of the real time data.
In one of the embodiments, the data acquisition server receives the institute that at least two data monitoring equipment are passed back Environmental data is stated, the data monitoring equipment is divided at least one set by the data acquisition server, when described in one of them When the environmental data that data monitoring equipment is passed back is judged as the alert data, same remaining described data monitoring will be organized The environmental data that equipment is passed back is also judged as the alert data.
In one of the embodiments, Alarm Server receives several alert datas, within the early warning cycle, according to time and again Whether rule or average rule judgment send alarm signal;Wherein, time and again rule is:If it is determined that an environmental data surpasses Go out pre-set interval, then record once abnormal, if the frequency of abnormity added up in an early warning cycle is more than or equal to preset times, Then send alarm signal;Wherein, average rule is:The average value of the environmental data in the early warning cycle is obtained, if the ring The average value of border data exceeds pre-set interval, then sends alarm signal.
In one of the embodiments, checking step is performed before the classifying step:Received data packet, the data Including the environmental data, the integrality or/and validity of the packet are detected, detects that the qualified packet enters and adopts Collect step, the signal for retransmitting request is sent when detecting unqualified.
The beneficial effects of the present invention are:
1st, data acquisition server is used to (include but is not limited to wired connection with data monitoring equipment interconnection or wirelessly connect Connect).Data monitoring equipment is used to detect environmental data, including but not limited to detects temperature value, the humidity value of environment, data monitoring The environmental data that equipment is collected is sent to data acquisition server.Data acquisition server receives what data monitoring equipment was passed back Environmental data, performs acquisition step:According to default collection period, judge whether the temporal information of environmental data meets collection week Phase, such as judge that the temporal information of environmental data meets collection period, then by corresponding environmental data collecting and export and be used to achieve.
Traditional environmental monitoring, which is that all environmental datas that will be received are unprocessed, is directly stored in database, when reporting Just related data is transferred when alert from database to be checked.In the present invention, environmental data is adopted by data acquisition server Collection step is restored again into database, and collection period is more than the cycle that data monitoring equipment passes environmental data back, on the one hand protects The cycle that card data monitoring equipment is detected and gathered to environmental data is small, on the other hand, and database carries out data storage Cycle is big, alleviates the warehousing pressure of database, can reduce the capacity of database, with meet storage time, capacity requirement, adopt The collection cycle it is smaller, it is necessary to memory capacity it is bigger.On the other hand, according to the hardware storage capacity of itself, the requirement of storage time Carry out comprehensive assessment, set appropriate collection period, can with meet storage time, capacity requirement, while being used in archive Environmental data can reflect the situation (such as temperature conditions, humidity condition) of monitored environment comprehensively, meanwhile, when from data The inquiry of called data, more efficient in storehouse.
Wherein, the environmental data of data monitoring equipment detection can be that analog signal can also be data signal, for example, count According to monitoring device can be temperature sensor, environmental data be environment temperature value, the temperature value that temperature sensor is detected can To be analogue data or numerical data, when performing acquisition step, if analog signal, analog signal can be adopted in collection Next step is sent to according to analog signal, can also switch to analog signal in acquisition step send out again after data signal after collection Give next step;If data signal, then it is sent to down in acquisition step by digital signal acquiring and according to data signal One step.
Wherein, database can be arranged in data acquisition server, can also separately be set outside data acquisition server solely Vertical database.
2nd, data acquisition server performs classifying step before acquisition step:Receive the environment that data monitoring equipment is passed back Data, according to the temporal information of environmental data, judge the classification of environmental data, the respective collection of environmental data correspondence of all categories In the cycle, in acquisition step, the environmental data of respective classes is acquired respectively according to collection period of all categories.
Environmental data feeding database stored before, by environmental data by classification, be then forwarded to database according to Category classification is stored in database, classification searching when environmental data is inquired about in data, can be improved and be transferred from database The search efficiency of data.
3rd, collection period of all categories can be set according to the classification of environmental data respectively, wherein, collection week of all categories Phase can be with identical, can also be different.It is preferred that, environmental data is divided at least two classifications, and at least two classification includes the One classification and second category, the collection period of first category are more than the collection period of second category.
4th, classifying step also includes:After the classification for judging environmental data, category label is done on corresponding environmental data, number Different classes of environmental data can be carried out to classification collection according to acquisition server, data acquisition server reads environmental data Category label, and the collection period of the category is read, the temporal information of the collection period of the category and environmental data is contrasted, when When the temporal information of environmental data meets collection period, corresponding environmental data is exported, by collected number after acquisition step Classification output is carried out according to according to category label.
Using the method that " mark " is done to environmental data, it can both be done on environmental data " category label ", can also be Other signatures are done on environmental data, in subsequent steps, can be according to the category label of environmental data to different classes of Environmental data do corresponding processing.
5th, the temporal information of the numerical value for containing ambient condition of environmental data and collection numerical value, according to the number of ambient condition Value and acquisition time can say that environmental data is classified.Wherein:
The classification of environmental data includes history classification, and data monitoring equipment gathers the status information of monitored environment in real time, But it is due to disconnecting, error of transmission or other reasonses, the environmental data of the monitored environmental state information of record fails in time Data acquisition server is transmitted to, but data acquisition server is being sent to after delay, now data acquisition server is received To environmental data and current time between have very big time delay, in the case of no alarm, these delays are for a long time Historical data can not reflect the current state of monitored environment in time, it is not required that be pushed to real-time monitoring platform and show in real time Show, so being transmitted directly to database archive.In classifying step:According to the temporal information of environmental data, if environmental data Gathered before time T1 by data monitoring equipment, then judge corresponding environmental data for historical data;In acquisition step In:According to the collection period of historical data, historical data is acquired;Wherein, time T1 works as environment earlier than current time T0 The temporal information display environment data of data are collected earlier than time T1, then it is historical data to judge the environmental data.
As needed, data acquisition server can contrast the alarm limits of historical data and default ambient condition, sentence Whether disconnected is alert data, and whether can not also judge historical data is that alert data is transmitted directly to database archive.
As needed, can say that historical data is stored according to classification in database, can also according to environmental data when Between information store.
Or/and, the classification of environmental data includes caching classification.The environmental data collected time more connects with current point in time Closely, then these environmental datas are got over and can embody the current state of monitored environment, therefore, by current time and the last period when In collection environmental data be categorized as it is data cached, it is data cached in database by class store, in that context it may be convenient to transfer and look into Read to understand the current state of monitored environment, without being transferred in total database, the efficiency high of access can facilitate Understand newest state.In classifying step:According to the temporal information of environmental data, if environmental data is extremely worked as in time T2 Gathered in the preceding time by data monitoring equipment, then judge corresponding environmental data to be data cached;In acquisition step:According to Data cached collection period, is acquired to data cached.
Or/and, the classification of environmental data includes real time class;Real time data is the most freshly harvested environment of data monitoring equipment Data, be real time data temporal information closest to current point in time, in classifying step:Believed according to the time of environmental data Breath, if what environmental data was gathered by data monitoring equipment recently apart from current time T0, judge that corresponding environmental data is Real time data;Real time data is sent into database after collection is used to achieve;
Or/and, the classification of environmental data includes alarm classification;In classifying step:Read alarm limits, contrast_environment number According to default alarm limits, if environmental data exceed alarm limits scope, judge corresponding environmental data for alarm Data;Alert data is sent to Alarm Server, judges whether to send alarm signal for Alarm Server.As needed, may be used Judge whether environmental data is alert data again to be first acquired to environmental data, environment can also be judged as without collection Whether data are alert data.
6th, real time data is sent to database archive after collection, and the collection period of alert data is less than real time data Collection period.Number is sent to after being acquired using conventional collection period to environmental data in the case of without alert data According to library storage, collection period is reduced when judging and having alert data, on the one hand alert data pushes to Alarm Server and reported Alert to judge, another aspect alert data also passes through collection feeding database purchase.So, can either without alert data when The storage pressure for alleviating database using longer collection period is waited, collection period is just shortened after judgement has alert data, More gather the environmental data that closes in the period at alert data time point, state beneficial to preferably analysis environments and Whether alarm.
7th, environment control method also includes Alarm Server, and Alarm Server receives the alarm that data acquisition server is sent Data, and judge whether alert data sends alarm signal according to alarm rule.Alarm Server can be docked with alarm, when When Alarm Server judges to need alarm according to alert data, alarm signal is just sent to alarm by alarm equipment alarm.
8th, data acquisition server sends real time data to real-time watch device after collection;Or, real time data Sent without collection to real-time watch device, it is ensured that environmental monitoring it is ageing, be easy to monitor ring in real time according to environmental data The state in border.
9th, data acquisition server also performs verification of data, and data acquisition server receives the number that data monitoring equipment is passed back According to bag, packet includes environmental data, detects the integrality or/and validity of packet, as detect it is qualified if by corresponding number Enter acquisition step according to bag, it is as unqualified in detected, send repeating transmission request to corresponding data monitoring equipment.By to packet Qualification detection, it is ensured that data Cold boiled chicken server receives the real information passed back of data monitoring equipment, it is to avoid error.To data The verification of bag includes but is not limited to packet integrality, validity.
10th, environmental monitoring system also includes database and data monitoring device, and data monitoring equipment gathers environmental data, and Environmental data is sent to data acquisition server, database receives the environmental data that data acquisition server is sent, and according to Category classification is stored.Data monitoring equipment includes but is not limited to temperature sensor, humidity sensor, and data acquisition server can be with One or more data monitoring equipment is set.
11st, data acquisition server receives the environmental data that at least two data monitoring equipment are passed back, data monitoring equipment It is divided at least one set, when the environmental data that one of them in same group of data monitoring equipment is passed back is judged as alert data When, the environmental data passed back with group remainder data monitoring device is sent to Alarm Server.Can be with preset data monitoring device Packet, when the environmental data that one of them in same group of data monitoring equipment is passed back is judged as alert data, by same group The environmental data that remainder data monitoring device is passed back is also together sent to Alarm Server.According to the space bar of monitored environment Same group of data monitoring equipment, can be arranged on precalculated position, for example, be set to the data monitoring equipment in unified warehouse by part One group or the data monitoring equipment of close region is set to one group, when judging the ring that one of data monitoring equipment is passed back Border data is after alert data, the environmental data that all data monitoring equipment in predetermined areas are passed back are sent to alarm Server;Or, the environmental data that predetermined data monitoring equipment is passed back is sent to Alarm Server.Thus, when wherein one When the environmental data of individual data monitoring device is alert data, can according to the environmental data that pass back of group data monitoring equipment come Judge the overall condition of the monitored environment, whether comprehensive descision is alarmed, alarmed relative to tradition according to single alert data Method, can significantly reduce the probability of false alarm, improve the degree of accuracy of alarm, improve the efficiency of management.
12nd, when data acquisition server sends alert data to Alarm Server first, into an alarm cycle, The environmental data for passing data monitoring equipment back in alarm cycle is sent to Alarm Server.
It is wherein preferred, if environmental data determines whether alert data again after collection, environment is judged first Data is after alert data, the interior collection period to environmental data of alarm cycle are less than the collection to environmental data outside alarm cycle Cycle.
13rd, environmental monitoring system also includes Alarm Server, and Alarm Server receives the ring of data acquisition server transmission Border data, in alarm cycle, according to time and again rule or average rule judgment whether to alarm send alarm signal;
Wherein, time and again rule is:If it is determined that an environmental data exceeds pre-set limit, then record once exceeded, if The frequency of abnormity added up in one early warning cycle is more than or equal to preset times, then sends alarm signal;Occur once it is exceeded simultaneously It will not cause to send alarm signal, only count on exceeded number of times more than preset times, just send alarm signal, multiple is exceeded The monitoring numerical exception that continuation occurs for monitored environment is reflected, alarm signal is now sent, single ring can be filtered well The disturbance of border data exception, improves the rate of precision judged.
Wherein, average rule is:The average value of environmental data in the early warning cycle is obtained, if the average value of environmental data surpasses Go out pre-set limit, then send alarm signal.
By taking temperature detection as an example, if the average value of observed temperature value is not above preset temperature interval, illustrate actual measurement Temperature value tends to be steady, although now observed temperature value is fluctuated in interval, it might even be possible to have observed temperature value beyond default temperature Scope is spent, but the trend that bulk temperature changes is weaker, the situation that will not occur high temperature change suddenly, now judges It is not exceeded, the observed temperature value of a small amount of exception can be filtered.If the average value of observed temperature value is interval beyond preset temperature, Then illustrate that bulk temperature change is violent in the early warning cycle, temperature has very strong variation tendency, reflect temperature really beyond controllable Scope, now judges temperature exceeding standard, and precisely prompting administrative staff's temperature exceeding standard needs processing.
Wherein, pre-set limit can be a limit value interval, such as pre-set limit is [- 10 DEG C, -5 in time and again rule DEG C], to be abnormal if the temperature that environmental data is recorded exceeds this scope;Pre-set limit can also be a threshold value, such as tired Pre-set limit is≤10 DEG C in secondary rule, if the temperature of environmental data record>10 DEG C then to be exceeded.For example for freezer, preset Limit value includes upper and lower bound, freezer refrigerating is cooled if temperature opens refrigeration plant when exceeding the upper limit, when observed temperature value Stop refrigeration during less than lower limit;Observed temperature value is possible to be more than the upper limit or less than lower limit, because refrigerating device refrigeration is uneven, The temperature for being likely to result in some temperature nodes is temporarily exceeded, but now the bulk temperature of freezer has been sufficient for cold Demand, refrigeration plant are also normal, if using traditional alert mode, will occur false alarm to a freezer normally run, And the time and again principle or average principle of the present invention are used, these temporary temperature exceeding standard, filtering false alarms can be filtered, are improved The efficiency of management.
Brief description of the drawings
Fig. 1 is the schematic flow sheet of the environment control method of the embodiment of the present invention one;
Fig. 2 is the structural representation of the environmental monitoring system of the embodiment of the present invention one.
Embodiment
The present invention is described in further detail below, but the implementation of the present invention is not limited to this.
Embodiment one
Environmental monitoring system includes data monitoring equipment, data acquisition server, database, data monitoring equipment, alarm Server and alarm, wherein, database as needed can be arranged on data acquisition server, can also be not arranged in In data acquisition server.
Data monitoring equipment is arranged in monitored environment, such as freezer, warehouse, warm storehouse.In the present embodiment, data Monitoring device detects the temperature value of environment, but not limited to this, and data monitoring equipment can also also detect humidity value, the dust of environment Etc. other specification.
Environmental monitoring system can carry out unified monitoring with multiple warehouses of different address, for example, monitor multiple strange land storehouses simultaneously Storehouse, each warehouse is provided with some houses, and every house is provided with some storehouses, some data monitorings can be set to set by s in storehouse Standby, data monitoring equipment is temperature sensor in the present embodiment.
Data monitoring equipment detects the temperature value in storehouse in real time, and temperature value and temperature value collected time are made Data acquisition server is sent to for environmental data.
As shown in Figure 1, 2, data acquisition server receives the environmental data that data monitoring equipment is passed back, performs following steps Suddenly:
(1) verification of data:Verification of data is performed, data acquisition server receives the packet that data monitoring equipment is passed back, Packet includes environmental data, detects the integrality or/and validity of packet, as qualified in detected, corresponding packet is entered Enter acquisition step, it is as unqualified in detected, send repeating transmission request to corresponding data monitoring equipment.By to the qualified of packet Property detection, it is ensured that data acquisition server receives the real information passed back of data monitoring equipment, it is to avoid error.To the core of packet To including but is not limited to packet integrality, validity.
After verification of data, qualified packet enters classifying step.
(2) data are classified:Data acquisition server receives the environmental data that data monitoring equipment is passed back, performs classifying step, The numerical value for containing ambient condition of environmental data and the temporal information of collection numerical value, during according to the numerical value of ambient condition and collection Between can say that environmental data is classified.As needed, the classification of classification can be historical data, data cached, real time data, And the one or more among alert data, other classifications can also be set.Wherein:
1. the classification of environmental data includes history classification, according to the temporal information of environmental data, if environmental data be Gathered before time T1 by data monitoring equipment, then judge corresponding environmental data for historical data.Wherein, time T1 earlier than Current time T0, when the temporal information display environment data of environmental data are collected earlier than time T1, then judges the environment Data are historical datas, and are categorized as on corresponding environmental information packet the category label of historical data.
The status information of the data monitoring equipment monitored environment of collection in real time, but be due to disconnecting, error of transmission or Other reasonses, the environmental data of the monitored environmental state information of record fails to be transmitted to data acquisition server in time, but Delay is then forwarded to data acquisition server, has very between environmental data and current time that now data acquisition server is received Big time delay, in the case of no alarm, these historical datas of delay for a long time can not reflect monitored in time The current state of environment, it is not required that be pushed to real-time monitoring platform and show in real time, can be transmitted directly to database archive standby Look into.
2. the classification of environmental data includes caching classification, in classifying step:According to the temporal information of environmental data, if Environmental data is gathered in time T2 to current time by data monitoring equipment, then judges corresponding environmental data for caching Data, and it is categorized as data cached category label on corresponding environmental information packet.
The environmental data collected time is with current point in time closer to then these environmental datas, which are got over, can embody monitored The current state of environment, therefore, by current time and collection interior for the previous period environmental data be categorized as it is data cached, It is data cached to be stored in database by class, in that context it may be convenient to transfer and consult to understand the current state of monitored environment, without Need to transfer in total database, the efficiency high of access, can conveniently understand newest state.
3. the classification of environmental data includes real time class.According to the temporal information of environmental data, if environmental data distance What current time T0 was gathered by data monitoring equipment recently, then corresponding environmental data is judged for real time data, and corresponding The category label of real time data is categorized as on environmental information packet.
Real time data is the newest environmental data collected of data monitoring equipment, and the temporal information of real time data is closest to be worked as Preceding time point.
4. the classification of environmental data includes alarm classification.Read alarm limits, contrast_environment data and default alarm limit Value, if environmental data exceeds the scope of alarm limits, judges corresponding environmental data for alert data, and in corresponding ring The category label of alert data is categorized as on environment information packet.
Environmental data after will be labeled after classifying step is sent into data cached queue, in data cached queue Data be acquired.
Collection:Do category label in classifying step on corresponding environmental data, data acquisition server can be by Different classes of environmental data carries out classification collection, and data acquisition server reads the category label of environmental data, and reading should The collection period of classification, the temporal information of the collection period of the category and environmental data is contrasted, and is believed when the time of environmental data When breath meets collection period, then corresponding environmental data is collected, by collected environmental data according to category label thereon Carry out classification output.As needed, the collection period of historical data, data cached, real time data and alert data can phase It is same or different.Wherein:
1. according to the collection period t1 of historical data, historical data is acquired, the historical data after collection is sent to Database.As needed, data acquisition server can contrast the alarm limits of historical data and default ambient condition, judge Whether it is alert data, whether can not also judge historical data is that alert data is transmitted directly to database archive.
2. according to data cached collection period t2, it is acquired to data cached, data cached after collection is sent to Database.
3. all real time datas are sent into real-time watch device (such as display) to be monitored in real time, meanwhile, according to The collection period t3 of real time data, is acquired to real time data, and the real time data after collection, which is sent to database, to be used to achieve.
4. as needed, first real time data can be acquired and judges whether environmental data is alert data again, also may be used To be judged as whether real time data is alert data without collection.Before for detecting alert data first, this alarm The collection period of data is same with real-time data acquisition cycle phase, is all t3, after alert data is detected, into an alarm week It is t4, t4≤t3 to the collection period of real time data in phase, cycle.
By steps, the ring passed back from data monitoring equipment such as above-mentioned (1) verification of data, the classification of (2) data, (3) collections Border data are classified output, wherein, real time data and alert data are sent to real-time watch device, and alert data is sent to alarm Server, historical data, real time data, data cached, alert data send to database and achieved.Environmental data pair of all categories Respective collection period is answered, in acquisition step, the environmental data of respective classes is entered respectively according to collection period of all categories Row collection.Before environmental data feeding database is stored, by environmental data by classifying, database is then forwarded to according to class It Fen Lei not be stored in database, classification searching when environmental data is inquired about in data can improve and number is transferred from database According to search efficiency.Also, environmental data is restored again into database by the collection of data acquisition server, also, collection week Phase is more than the cycle that data monitoring equipment passes environmental data back, on the one hand ensures that data monitoring equipment is detected to environmental data Cycle with collection is small, on the other hand, and the cycle that database carries out data storage is big, alleviates the warehousing pressure of database, can be with Reduce database capacity, with meet storage time, capacity requirement, collection period it is smaller, it is necessary to memory capacity it is bigger, Improve the search efficiency of the called data from database.
When data acquisition server sends alert data to Alarm Server first, into an alarm cycle, and will All environmental datas that data monitoring equipment is passed back in alarm cycle are sent to Alarm Server as alert data.Real time data Database archive is sent to after collection, environmental data is acquired using cycle t3 in the case of no alert data Database purchase is sent to as real time data afterwards, since judging to have alert data first, is changed to according to cycle t4 to alarm All environmental datas in cycle are acquired, and Alarm Server is sent to as alert data after collection, while alert data Also pass through collection feeding database purchase.So, can either be slow using longer collection period when without alert data The storage pressure of database is solved, collection period is just shortened after judgement has alert data, more collection closes on alert data Whether the environmental data in the period at time point, state beneficial to preferably analysis environments and alarm.
Alarm Server judges whether to send alarm signal according to the alert data received, if do not had in alarm cycle Alarm signal is sent, then exits the alarm cycle, the collection period t3 for recovering real time data is acquired to implementing data.
Alarm Server receives the environmental data of data acquisition server transmission, in alarm cycle, according to time and again regular Or whether average rule judgment sends alarm signal to alarm, alarm is received and alarmed after alarm signal.Wherein, it is time and again regular For:If it is determined that an environmental data exceeds pre-set limit, then record once exceeded, if what is added up in an early warning cycle is different Normal number of times is more than or equal to preset times, then sends alarm signal;Generation is once exceeded can't to be caused to send alarm signal, only Exceeded number of times is counted on more than preset times, alarm signal is just sent, repeatedly exceeded reflects monitored environment and held The monitoring numerical exception of continuous property, now sends alarm signal, and the abnormal disturbance of single environmental data can be filtered well, and raising is sentenced Disconnected rate of precision.Wherein, average rule is:The average value of environmental data in early warning cycle is obtained, if environmental data is averaged Value exceeds pre-set limit, then sends alarm signal.
By taking temperature detection as an example, if the average value of observed temperature value is not above preset temperature interval, illustrate actual measurement Temperature value tends to be steady, although now observed temperature value is fluctuated in interval, it might even be possible to have observed temperature value beyond default temperature Scope is spent, but the trend that bulk temperature changes is weaker, the situation that will not occur high temperature change suddenly, now judges It is not exceeded, the observed temperature value of a small amount of exception can be filtered.If the average value of observed temperature value is interval beyond preset temperature, Then illustrate that bulk temperature change is violent in the early warning cycle, temperature has very strong variation tendency, reflect temperature really beyond controllable Scope, now judges temperature exceeding standard, and precisely prompting administrative staff's temperature exceeding standard needs processing.
Wherein, pre-set limit can be a limit value interval, such as pre-set limit is [- 10 DEG C, -5 in time and again rule DEG C], to be abnormal if the temperature that environmental data is recorded exceeds this scope;Pre-set limit can also be a threshold value, such as tired Pre-set limit is≤10 DEG C in secondary rule, if the temperature of environmental data record>10 DEG C then to be exceeded.For example for freezer, preset Limit value includes upper and lower bound, freezer refrigerating is cooled if temperature opens refrigeration plant when exceeding the upper limit, when observed temperature value Stop refrigeration during less than lower limit;Observed temperature value is possible to be more than the upper limit or less than lower limit, because refrigerating device refrigeration is uneven, The temperature for being likely to result in some temperature nodes is temporarily exceeded, but now the bulk temperature of freezer has been sufficient for cold Demand, refrigeration plant are also normal, if using traditional alert mode, will occur false alarm to a freezer normally run, And the time and again principle or average principle of the present invention are used, these temporary temperature exceeding standard, filtering false alarms can be filtered, are improved The efficiency of management.
Wherein previously described first category (or second category) can be history classification or real time class or alarm class Not or caching classification or other classifications, as long as the collection period for meeting first category described previously is more than second category Collection period just can be with.
Embodiment two
The difference of embodiment two and embodiment one is:
Data acquisition server receives the environmental data that at least two data monitoring equipment are passed back, and data monitoring equipment is divided For at least one set, when the environmental data that one of them in same group of data monitoring equipment is passed back is judged as alert data, The environmental data passed back with group remainder data monitoring device is sent to Alarm Server.Can be with preset data monitoring device point Group, when the environmental data that one of them in same group of data monitoring equipment is passed back is judged as alert data, same will organize it The environmental data that remainder is passed back according to monitoring device is also together sent to Alarm Server.According to the steric requirements of monitored environment, Same group of data monitoring equipment can be arranged on to precalculated position, for example, the data monitoring equipment in unified warehouse is set to one Group or the data monitoring equipment of close region is set to one group, when judging the environment that one of data monitoring equipment is passed back Data is after alert data, the environmental data that all data monitoring equipment in predetermined areas are passed back are sent to alarm clothes Business device;Or, the environmental data that predetermined data monitoring equipment is passed back is sent to Alarm Server.Thus, when one of them When the environmental data of data monitoring equipment is alert data, it can be sentenced according to the environmental data passed back with group data monitoring equipment Whether the overall condition of the disconnected monitored environment, comprehensive descision alarms, the side alarmed relative to tradition according to single alert data Method, can significantly reduce the probability of false alarm, improve the degree of accuracy of alarm, improve the efficiency of management.
Each technical characteristic of above example can be combined arbitrarily, to make description succinct, not to above-described embodiment In each technical characteristic it is all possible combination be all described, as long as however, the combination of these technical characteristics be not present lance Shield, is all considered to be the scope of this specification record.
Above example only expresses the several embodiments of the present invention, and it describes more specific and detailed, but can not Therefore it is construed as limiting the scope of the patent.It should be pointed out that for the person of ordinary skill of the art, On the premise of not departing from present inventive concept, various modifications and improvements can be made, these belong to protection scope of the present invention. Therefore, the protection domain of patent of the present invention should be determined by the appended claims.

Claims (9)

1. a kind of environment control method, it is characterised in that data acquisition server performs acquisition step:
Receive the environmental data of actual measurement;
According to collection period, judge whether the temporal information of environmental data meets the collection period;
If it is judged that the temporal information of the environmental data meets the collection period, then it will meet the institute of the collection period Environmental data is stated to export for achieving;
Wherein, the collection period is more than the cycle for receiving the environmental data.
2. environment control method according to claim 1, it is characterised in that before the acquisition step, perform classification Step:The environmental data is received, according to the temporal information of the environmental data, the classification of the environmental data is judged;
In the acquisition step, the respective collection period of environmental data correspondence of all categories, according to collection of all categories Cycle performs collection to the environmental data of respective classes respectively.
3. environment control method according to claim 2, it is characterised in that the environmental data is divided at least two classes Not, at least two classification includes first category and second category, wherein the collection period of the first category is more than described The collection period of second category.
4. environment control method according to claim 2, it is characterised in that the classifying step also includes:Judge institute After the classification for stating environmental data, category label is done on the environmental data;
In the acquisition step, the environmental data is classified according to the category label on the environmental data and exported.
5. environment control method according to claim 2, it is characterised in that the temporal information of the environmental data includes institute State the time that environmental data is actually measured;
The classification of the environmental data includes history classification;In the classifying step:Contrast the time letter of the environmental data Breath and time T1, if the environmental data is actually measured before time T1, judge that the environmental data is Historical data;In the acquisition step:According to the collection period of the historical data, historical data is acquired;Wherein, Time T1 is earlier than current time T0;
Or/and, the classification of the environmental data includes caching classification;In the classifying step:Contrast the environmental data Temporal information and time T2, if the environmental data is to be actually measured in time T2 between current time T0, Judge the environmental data to be data cached;In the acquisition step:According to the data cached collection period, to caching Data are acquired;Wherein, time T2 is earlier than current time T0;
Or/and, the classification of the environmental data includes real time class;In the classifying step:According to the time of environmental data Information, if what environmental data was gathered by data monitoring equipment recently apart from current time T0, judge corresponding environmental data For real time data;The real time data is exported before the acquisition step, or according to described real-time in the acquisition step The collection period of data after the real-time data acquisition to exporting;
Or/and, the classification of the environmental data includes alarm classification;In the classifying step:According to default alarm limits, The environmental data and the alarm limits are contrasted, if the environmental data exceeds the scope of the alarm limits, is judged The environmental data is alert data;The alert data is exported before the acquisition step, or in the acquisition step Exported after being gathered according to the collection period of the alert data to the alert data.
6. environment control method according to claim 5, it is characterised in that the collection period of the alert data is less than institute State the collection period of real time data.
7. environment control method according to claim 5, it is characterised in that the data acquisition server receives at least two The environmental data that individual data monitoring device is passed back, the data acquisition server by the data monitoring equipment be divided into It is few one group, will when the environmental data that one of them described data monitoring equipment is passed back is judged as the alert data Also it is judged as the alert data with the environmental data that remaining described data monitoring equipment passes back is organized.
8. environment control method according to claim 7, it is characterised in that Alarm Server receives the number alarm number According to, within the early warning cycle, according to time and again rule or average rule judgment whether send alarm signal;
Wherein, time and again rule is:If it is determined that an environmental data exceeds pre-set interval, then record once abnormal, if The frequency of abnormity added up in one early warning cycle is more than or equal to preset times, then sends alarm signal;
Wherein, average rule is:The average value of the environmental data in the early warning cycle is obtained, if the environmental data is averaged Value exceeds pre-set interval, then sends alarm signal.
9. the environment control method according to any one of claim 1 to 8, it is characterised in that before the classifying step Perform checking step:Received data packet, the data include the environmental data, detect the packet integrality or/and Validity, detects that the qualified packet enters acquisition step, the signal for retransmitting request is sent when detecting unqualified.
CN201710136995.8A 2017-03-09 2017-03-09 Environment control method and system Pending CN107085593A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710136995.8A CN107085593A (en) 2017-03-09 2017-03-09 Environment control method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710136995.8A CN107085593A (en) 2017-03-09 2017-03-09 Environment control method and system

Publications (1)

Publication Number Publication Date
CN107085593A true CN107085593A (en) 2017-08-22

Family

ID=59614492

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710136995.8A Pending CN107085593A (en) 2017-03-09 2017-03-09 Environment control method and system

Country Status (1)

Country Link
CN (1) CN107085593A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109816179A (en) * 2019-03-05 2019-05-28 重庆工商大学融智学院 ECOLOGICAL ENVIRONMENTAL MONITORING method for early warning and system based on big data
CN111027411A (en) * 2019-11-19 2020-04-17 江苏正为应急装备科技有限公司 Dangerous goods marking method, device, system and computer readable storage medium
CN111427921A (en) * 2020-03-17 2020-07-17 广西桂冠电力股份有限公司 Processing system and processing method for output data of hydroelectric power plant
CN112180871A (en) * 2020-10-13 2021-01-05 安徽竣阳信息技术有限公司 Industrial environment control system based on data acquisition
CN112820066A (en) * 2020-12-31 2021-05-18 博锐尚格科技股份有限公司 Object-based alarm processing method, device, equipment and storage medium
CN113051330A (en) * 2021-04-13 2021-06-29 福州外语外贸学院 Real-time environment monitoring method and device based on big data and computer equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1560768A (en) * 2004-03-04 2005-01-05 艾默生网络能源有限公司 Data collecting and storing method
CN104158830A (en) * 2013-05-13 2014-11-19 艾默生网络能源有限公司 Power environment monitoring system, and message sensing method and device
CN106357426A (en) * 2016-08-26 2017-01-25 东北大学 Large-scale distribution intelligent data collection system and method based on industrial cloud
CN106383766A (en) * 2016-09-09 2017-02-08 北京百度网讯科技有限公司 System monitoring method and device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1560768A (en) * 2004-03-04 2005-01-05 艾默生网络能源有限公司 Data collecting and storing method
CN104158830A (en) * 2013-05-13 2014-11-19 艾默生网络能源有限公司 Power environment monitoring system, and message sensing method and device
CN106357426A (en) * 2016-08-26 2017-01-25 东北大学 Large-scale distribution intelligent data collection system and method based on industrial cloud
CN106383766A (en) * 2016-09-09 2017-02-08 北京百度网讯科技有限公司 System monitoring method and device

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109816179A (en) * 2019-03-05 2019-05-28 重庆工商大学融智学院 ECOLOGICAL ENVIRONMENTAL MONITORING method for early warning and system based on big data
CN111027411A (en) * 2019-11-19 2020-04-17 江苏正为应急装备科技有限公司 Dangerous goods marking method, device, system and computer readable storage medium
CN111027411B (en) * 2019-11-19 2024-03-22 江苏正为应急装备科技有限公司 Dangerous goods marking method, device, system and computer readable storage medium
CN111427921A (en) * 2020-03-17 2020-07-17 广西桂冠电力股份有限公司 Processing system and processing method for output data of hydroelectric power plant
CN112180871A (en) * 2020-10-13 2021-01-05 安徽竣阳信息技术有限公司 Industrial environment control system based on data acquisition
CN112820066A (en) * 2020-12-31 2021-05-18 博锐尚格科技股份有限公司 Object-based alarm processing method, device, equipment and storage medium
CN113051330A (en) * 2021-04-13 2021-06-29 福州外语外贸学院 Real-time environment monitoring method and device based on big data and computer equipment

Similar Documents

Publication Publication Date Title
CN107085593A (en) Environment control method and system
EP2499435B1 (en) Refrigerant leak detection system and method
CN101719299B (en) Alarm system and method for fire and combustible gas
CN110503167B (en) RFID-based shelf tool inventory method, system, device and medium
CN101713997B (en) Method and system of wind turbine condition monitoring
US10508974B2 (en) Storing analytical machine data based on change in scalar machine data indicating alert condition
CN108879654B (en) Remote diagnosis method based on abnormal remote measurement of abnormal equipment
CN115265609B (en) Method for diagnosing sensor state in structural health monitoring system
CN103308859A (en) Monitoring system and monitoring method for statuses of storage batteries
CN114912852A (en) Abnormity monitoring and early warning system for storage tank of refrigeration bin
CN109040277A (en) A kind of long-distance monitoring method and device of server
CN106452931A (en) Monitoring index, domain value discovery method, domain value adjusting method and automatic monitoring system
CN109000810A (en) A kind of multidimensional grain temperature display systems and method
CN117192042A (en) Intelligent mine gas inspection system and method
CN111738996A (en) Bridge health monitoring and early warning system based on machine learning
CN110243598A (en) Processing method, device and the storage medium of train bearing temperature
CN110411331A (en) A kind of GNSS deformation monitoring system and method
CN112183130B (en) Electric power safety tool management and control system
CN212433949U (en) Electric energy meter with working environment detection function
CN114090567B (en) Self-storage type sensor detection information record checking system
CN108122059A (en) A kind of production risk of pharmaceutical producing enterprise knows method for distinguishing and automatic early-warning system
US20070115118A1 (en) Multiple safety monitoring system
CN213949574U (en) Automatic warehouse entry and exit handing-over system of radiation source
CN108844638A (en) A kind of ring network cabinet elbow-type head temperature on-line monitoring device, system and method
CN113413568A (en) Fire-fighting water pressure abnormity monitoring system and unsupervised abnormity detection method

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20170822