CN112487005A - Real-time data management method for growth of stem crops - Google Patents

Real-time data management method for growth of stem crops Download PDF

Info

Publication number
CN112487005A
CN112487005A CN202011371337.5A CN202011371337A CN112487005A CN 112487005 A CN112487005 A CN 112487005A CN 202011371337 A CN202011371337 A CN 202011371337A CN 112487005 A CN112487005 A CN 112487005A
Authority
CN
China
Prior art keywords
stem
data
growth
stem crop
real
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
CN202011371337.5A
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.)
Guangxi Talentcloud Information Technology Co ltd
Original Assignee
Guangxi Talentcloud 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 Guangxi Talentcloud Information Technology Co ltd filed Critical Guangxi Talentcloud Information Technology Co ltd
Priority to CN202011371337.5A priority Critical patent/CN112487005A/en
Publication of CN112487005A publication Critical patent/CN112487005A/en
Pending legal-status Critical Current

Links

Images

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/23Updating
    • G06F16/2308Concurrency control
    • G06F16/2336Pessimistic concurrency control approaches, e.g. locking or multiple versions without time stamps
    • G06F16/2343Locking methods, e.g. distributed locking or locking implementation details
    • 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/23Updating
    • G06F16/2365Ensuring data consistency and integrity
    • 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/2453Query optimisation
    • 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/27Replication, distribution or synchronisation of data between databases or within a distributed database system; Distributed database system architectures therefor
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q50/00Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
    • G06Q50/02Agriculture; Fishing; Forestry; Mining

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Data Mining & Analysis (AREA)
  • General Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Mining & Mineral Resources (AREA)
  • Human Resources & Organizations (AREA)
  • Animal Husbandry (AREA)
  • Marine Sciences & Fisheries (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Computational Linguistics (AREA)
  • Health & Medical Sciences (AREA)
  • Economics (AREA)
  • General Health & Medical Sciences (AREA)
  • Agronomy & Crop Science (AREA)
  • Marketing (AREA)
  • Primary Health Care (AREA)
  • Strategic Management (AREA)
  • Tourism & Hospitality (AREA)
  • General Business, Economics & Management (AREA)
  • Computing Systems (AREA)
  • Computer Security & Cryptography (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention discloses a real-time data management method for the growth of stem crops; when stem crop real-time data are created, if corresponding stem crop growth analysis data and stem crop growth environment data do not exist in the stem crop real-time data set, stem crop growth analysis data and stem crop growth environment data are created in the stem crop real-time data set; when the real-time data of the stem crops are inquired, directly inquiring from the real-time data set of the stem crops; when the real-time data of the stem crops are updated, firstly updating stem crop growth analysis data, stem crop growth environment data and synchronization time in a stem crop real-time data set, and then judging whether the updated stem crop growth analysis data and stem crop growth environment data have abnormal data or not; finally, writing the abnormal data into a database and sending out an early warning; when the real-time data of the stem crops are deleted, the real-time data of the stem crops are directly deleted from the real-time data set of the stem crops.

Description

Real-time data management method for growth of stem crops
Technical Field
The invention relates to a data management method, in particular to a real-time data management method for growth of stem crops.
Background
The current real-time data management methods of the stem crops are all based on that the real-time data of the stem crops are reported to an upper computer at regular time according to the reporting frequency, and the real-time data of the stem crops are the latest reported data. In order to ensure the timeliness and accuracy of reported data, the reporting frequency is required to be high, so that the data reporting frequency is frequent, the data storage data volume is huge, the interaction between an upper computer and a database is frequent, meanwhile, the real-time data is usually applied to scenes such as stem crop growth early warning and the like, the application and query are frequent, the frequent database query also causes huge performance pressure on the database, meanwhile, the requirements on the timeliness and the query efficiency of the data are high, and the real-time data stored in the database cannot well meet the observation requirements.
Therefore, the current data management methods have the following disadvantages: the reported data lack effective optimization and filtration, and the data quantity stored in the database is huge; the performance pressure of the database is increased due to frequent writing of the database; the real-time data query is frequently carried out on the database, so that the database query pressure is large and the like.
Disclosure of Invention
In order to solve the defects, the invention provides a real-time data management method for the growth of the stem crops.
The technical scheme of the invention is as follows:
a real-time data management method for stem crop growth is characterized by comprising the following conditions:
the obtained stem crop growth analysis data and stem crop growth environment data are locked through a static object to carry out concurrent control on the real-time data of the stem crops;
the data included the following:
a stem crop real-time data set, namely { stem crop internal code, stem crop name, stem crop growth analysis data, stem crop growth environment data, stem crop growth stage, environment data updating threshold value and synchronization time };
when stem crop growth analysis data and stem crop growth environment data are initialized, a static object locks a stem crop real-time data set, whether the stem crop real-time data set is empty is judged, and if the stem crop real-time data set is empty, stem crop internal codes, stem crop names, stem crop growth stage data, stem crop growth analysis data, stem crop growth environment data, synchronization time and environment data updating thresholds are created to the stem crop real-time data set;
when stem crop growth analysis data and stem crop growth environment data are created, a static object locks a stem crop real-time data set, and whether the stem crop growth analysis data and the stem crop growth environment data exist in the stem crop real-time data set or not is judged; if the stem crop growth analysis data and the stem crop growth environment data do not exist, establishing stem crop growth analysis data and the stem crop growth environment data into a stem crop real-time data set and generating stem crop internal codes and stem crop growth stage data; finally, releasing the static object;
when the stem crop growth analysis data and the stem crop growth environment data are inquired, the static object locks the stem crop real-time data set, and the stem crop growth analysis data and the stem crop growth environment data corresponding to the stem crop real-time data set are searched according to the stem crop internal code; finally, releasing the static object;
when the stem crop growth analysis data and the stem crop growth environment data are reported and updated, updating the stem crop growth analysis data, the stem crop growth environment data and the synchronization time in the stem crop real-time data set, and then judging whether the current stem crop growth analysis data and the stem crop growth environment data are abnormal data or not; if the abnormal data exist, writing the corresponding data into the database;
when the stem crop growth analysis data or the stem crop growth environment data are deleted, the static object locks the stem crop real-time data set, searches the corresponding stem crop growth analysis data or the stem crop growth environment data in the stem crop real-time data set according to the stem crop internal code, deletes the stem crop growth analysis data or the stem crop growth environment data from the stem crop real-time data set, and deletes the corresponding stem crop growth analysis data or the stem crop growth environment data from the database;
and the database is { abnormal data code, abnormal data content, abnormal data type and abnormal data occurrence time }.
Further, stem crop growth analysis data in the stem crop real-time data set is { s1, s2, s3, s4, s5, s6, s7, s8 }; wherein s1 is the diameter of the stem crop, s2 is the basic color of the stem crop, s3 is the basic color of the background plate, s4 is the basic color of the indicator, s5 is the standard size of the indicator, s6 is the color difference of the basic color, s7 is the growth reference data of the stem crop, and s8 is the growth difference data of the stem crop;
the stem crop growth environment data in the stem crop real-time data set is { h1, h2, h3, h4, h5 }; wherein h1 is illumination intensity, h2 is air temperature, h3 is air humidity, h4 is soil temperature, and h5 is soil moisture;
the growth stage of the stem crops in the real-time data set of the stem crops is { the growth period of the stem crops corresponds to the leaf age, the growth period of the stem crops corresponds to the diameter of stems, and the growth period of the stem crops corresponds to the length };
the environmental data update threshold in the stem crop real-time data set is { a1, a2, a3, a4, a5 }; wherein a1 is the illumination intensity update threshold, a2 is the air temperature update threshold, a3 is the air humidity update threshold, a4 is the soil temperature update threshold, and a5 is the soil moisture update threshold.
Further, the stem crop growth reference data s7 ═ Q in the stem crop growth analysis data1、Q2,…,Qq}; wherein Q is1、Q2,…,QqThe growth conditions of the stem crops in the first image to the q-th image are respectively corresponded.
Further, the basic color s3 of the background plate is green, and the background plate is arranged in a direction parallel to the growth direction of the stem crops; the basic color s4 of the indicator is white, the indicator is composed of a green plastic clip and a white table tennis ball, the trademark of the white table tennis ball is a sticking point, the standard size of the table tennis ball is 40mm in diameter, namely the standard size s5 of the indicator is 40mm in diameter, and the indicator is arranged on the stem of the stem crop and is parallel to the background plate.
Further, the normal range of the basic color difference s6 in the stem crop growth analysis data is s6 which is more than or equal to 0 and less than or equal to 10; and when the basic color difference s6 is greater than 10, the basic color difference s6 is abnormal data, the basic color difference s6 is written into the database, and an early warning is sent.
Further, the stem crop growth reference data s7 has the expression formula:
Figure RE-GDA0002895287300000041
wherein phi is the average diameter of the designated part of the stem crop, L is the relative length of the designated part of the stem crop, T is the growth stage of the stem crop, K is the normal growth index of the stem crop at the corresponding growth stage, and QsThe growth condition of the stem crops corresponding to the normal growth stage is shown;
the stem crop growth difference s8 expression formula is as follows:
Figure RE-GDA0002895287300000051
wherein Q is the total number of stem crops, p is the difference threshold value, Q1、Q2,…,QqRespectively corresponding to the growth conditions of the stem crops in the first image to the Q-th image, QsThe growth condition of the stem crops corresponding to the normal growth period is shown;
when T'<|s8-|s7-Q2And | | l, writing the corresponding stem crop growth situation in the stem crop growth reference data s7 into the database, wherein T' is the corresponding normal growth difference of the stem crop growth stage.
Further, the time interval for reporting the stem crop growth analysis data and the stem crop growth environment data is 1 h.
Further, when the absolute value of the difference value between any current environmental data in the stem crop growth environmental data and the update threshold exceeds the corresponding environmental data update threshold, the current environmental data is abnormal data, the abnormal data is written into the database, and early warning is given out.
Further, the update threshold of the environment data of the illumination intensity is a1, and the specific expression formula thereof is:
Figure RE-GDA0002895287300000052
wherein u is1Intensity of illumination required for growth cycle of normal stem crop, t1The illumination time required for the growth cycle of normal stem crops;
when | h1-a1|, is not more than a1, the current illumination intensity h1 accords with the normal growth environment of the current stem crops, only corresponding environment data and synchronization time are updated, and the current illumination intensity h1 is not written into a database;
when a1 is less than or equal to | h1-a1|, the current illumination intensity h1 does not accord with the normal growth environment of the stem crops, corresponding environment data and synchronization time are updated, the current illumination intensity h1 is written into a database, and early warning is sent out;
the environment data update threshold of the air temperature is a2, and the specific expression is as follows:
Figure RE-GDA0002895287300000061
wherein u is2Air temperature, t, required for the growth cycle of normal stem crops2The temperature and time required for the growth cycle of normal stem crops;
when | h2-a2| is less than or equal to a2, the current air temperature h2 accords with the normal growth environment of the stem crops at present, only corresponding environment data and synchronization time are updated, and the current air temperature h2 is not written into a database;
when a2 is less than or equal to | h2-a2|, the current air temperature h2 does not accord with the normal growth environment of the stem crops, corresponding environment data and synchronization time are updated, the current air temperature h2 is written into a database, and early warning is sent out;
the environment update threshold of the air humidity is a3, and the specific expression is as follows:
Figure RE-GDA0002895287300000062
wherein e is the water vapor pressure, RwIs the specific gas constant, T is the thermodynamic temperature;
when | h3-a3|, is not more than a3, the current air humidity h3 accords with the normal growth environment of the stem crops at present, only corresponding environment data and synchronization time are updated, and the current air humidity h3 is not written into a database;
when a3 is less than or equal to | h3-a3|, the current air humidity does not accord with the normal growth environment of the stem crops, corresponding environment data and synchronization time are updated, the current air humidity is written into a database, and early warning is sent out;
wherein h3 is the current air humidity in the stem crop real-time data set;
the environmental data updating threshold value of the soil temperature is a4, and the specific expression formula is as follows;
Figure RE-GDA0002895287300000071
wherein u is3Temperature of soil required for the growth cycle of normal stem crops, t3The soil temperature and time required for the growth cycle of normal stem crops;
when | h4-a4|, is less than or equal to a4, the current soil temperature h4 accords with the normal growth environment of the current stem crops, only corresponding environment data and synchronization time are updated, and the current soil temperature h4 is not written into a database;
when a4 is less than or equal to | h4-a4|, the current soil temperature h4 does not accord with the normal growth environment of the stem crops, corresponding environment data and synchronization time are updated, the current soil temperature h4 is written into a database, and early warning is sent out;
the soil moisture environment data updating threshold value is a5, and the concrete expression formula is as follows:
Figure RE-GDA0002895287300000072
wherein w is the water weight contained in the soil in unit area of the planted stem crops, and v is the soil weight after the soil in unit area of the planted stem crops is dried;
when the absolute value of h5-a5 is less than or equal to a5, the current soil moisture h5 accords with the normal growth environment of the current stem crops, only corresponding environment data and synchronization time are updated, and the current soil moisture h5 is not written into a database;
and when the a5 is less than or equal to | h5-a5|, updating corresponding environment data and synchronization time when the current soil moisture h5 does not accord with the normal growth environment of the stem crops, writing the current soil moisture h5 into a database, and giving out early warning.
The invention has the beneficial effects that:
1. frequent data updating is avoided, and the database updating pressure is reduced;
2. frequent data query is avoided, and the query pressure of a database is reduced;
3. the data are directly acquired from the object set without being acquired from a database, so that the real-time performance of the data is high, and the acquisition efficiency is high;
4. abnormal data are acquired from the database in real time, the data accuracy is high, and the acquisition efficiency is high;
5. accurately know the abnormal growth condition of the stem crops, solve the problems in time and improve the crop yield.
Drawings
FIG. 1 is a schematic diagram of a method for real-time data management of growth of stem crops;
FIG. 2 is a schematic diagram of real-time data creation of a real-time data management method for stem crop growth;
FIG. 3 is a system configuration diagram of a real-time data management method for stem crop growth.
DETAILED DESCRIPTION OF EMBODIMENT (S) OF INVENTION
A real-time data management system for growth of stem crops comprises an image acquisition module, a growth environment monitoring module, a communication transmission module, a data analysis module, a data storage module, a control module and an early warning module;
the image acquisition module shoots the stem crops to acquire images of the stem crops; the growth environment monitoring module collects the growth environment of the stem crops; the communication transmission module transmits the obtained image information and the stem crop growth environment information to the data analysis module, and the communication transmission module adopts a wireless transmission mode; the data analysis module is used for processing and analyzing the acquired image information and the stem crop growth environment information under the control of the control module, and outputting abnormal data obtained by analysis of the data analysis module to the data storage module for storage; the control module controls the early warning module to send out early warning according to the data stored by the data storage module so as to inform workers to process.
A real-time data management method for stem crop growth comprises the following conditions:
the obtained stem crop growth analysis data and stem crop growth environment data are locked through a static object to carry out concurrent control on the real-time data of the stem crops;
the data included the following:
a stem crop real-time data set, namely { stem crop internal code, stem crop name, stem crop growth analysis data, stem crop growth environment data, environment data updating threshold, stem crop growth stage and synchronization time };
stem crop growth analysis data in the stem crop real-time data set is { s1, s2, s3, s4, s5, s6, s7, s8 }; wherein s1 is the diameter of the stem crop, s2 is the basic color of the stem crop, s3 is the basic color of the background plate, s4 is the basic color of the indicator, s5 is the standard size of the indicator, s6 is the color difference of the basic color, s7 is the growth reference data of the stem crop, and s8 is the growth difference data of the stem crop; wherein the stem speciesStem crop growth reference data s7 ═ { Q ═ in crop growth analysis data1、Q2,…,Qq}; wherein Q is1、Q2,…, QqRespectively corresponding to the growth conditions of the stem crops in the first image to the q-th image;
the stem crop growth environment data in the stem crop real-time data set is { h1, h2, h3, h4, h5 }; wherein h1 is illumination intensity, h2 is air temperature, h3 is air humidity, h4 is soil temperature, and h5 is soil moisture;
the environmental data update threshold in the stem crop real-time data set is { a1, a2, a3, a4, a5 }; wherein a1 is an illumination intensity updating threshold, a2 is an air temperature updating threshold, a3 is an air humidity updating threshold, a4 is a soil temperature updating threshold, and a5 is a soil moisture updating threshold;
the growth stage of the stem crops in the real-time data set of the stem crops is { the growth period of the stem crops corresponds to the leaf age, the growth period of the stem crops corresponds to the diameter of stems, and the growth period of the stem crops corresponds to the length };
the basic color s3 of the background plate is green, and the setting direction of the background plate is parallel to the growth direction of the stem crops; the basic color s4 of the indicator is white, the indicator is composed of a green plastic clip and a white table tennis ball, the trademark of the white table tennis ball is a sticking point, the standard size of the table tennis ball is 40mm in diameter, namely the standard size s5 of the indicator is 40mm in diameter, and the indicator is arranged on the stem of the stem crop and is parallel to the background plate.
When stem crop growth analysis data and stem crop growth environment data are initialized, a static object locks a stem crop real-time data set, whether the stem crop real-time data set is empty is judged, and if the stem crop real-time data set is empty, stem crop internal codes, stem crop names, stem crop growth stage data, stem crop growth analysis data, stem crop growth environment data, synchronization time and environment data updating thresholds are created to the stem crop real-time data set;
when stem crop growth analysis data and stem crop growth environment data are created, a static object locks a stem crop real-time data set, and whether the stem crop growth analysis data and the stem crop growth environment data exist in the stem crop real-time data set or not is judged; if the stem crop growth analysis data and the stem crop growth environment data do not exist, establishing stem crop growth analysis data and the stem crop growth environment data into a stem crop real-time data set and generating stem crop internal codes and stem crop growth stage data; finally, releasing the static object;
when the stem crop growth analysis data and the stem crop growth environment data are inquired, the static object locks the stem crop real-time data set, and the stem crop growth analysis data and the stem crop growth environment data corresponding to the stem crop real-time data set are searched according to the stem crop internal code; finally, releasing the static object;
reporting stem crop growth analysis data and stem crop growth environment data every 1h, and updating the stem crop growth analysis data and the stem crop growth environment data in the stem crop real-time data set and the synchronization time;
when the basic color difference s6 in the updated stem crop growth analysis data is reported to be more than 10, the basic color difference s6 is abnormal, the basic color difference s6 is written into a database, and early warning is given out;
when reporting updated stem crop growth analysis data
According to the average diameter phi of the designated part of the stem crops, the relative length L of the designated part of the stem crops, the growth stage T of the stem crops, the normal growth index K of the corresponding growth stage of the stem crops and the normal growth condition Q of the corresponding growth stage of the stem cropssObtaining stem crop growth reference data s 7; the stem crop growth reference data s7 is specifically expressed as follows:
Figure RE-GDA0002895287300000111
according to the total number Q of the stem crops, the difference threshold value p and the growth condition Q of the stem crops in the first image to the qth image1、Q2,…,QqGrowth condition Q of stem crops corresponding to normal growth periodsObtaining the growth difference s8 of the stem crops; the stem crop growth difference s8 is specifically as follows:
Figure RE-GDA0002895287300000112
when T'<|s8-|s7-Q2If yes, writing the corresponding stem crop growth situation in the stem crop growth reference data s7 into a database, wherein T' is the corresponding normal growth difference of the stem crop growth stage;
when the updated stem crop growth environment data is reported; if the absolute value of the difference value between any current environmental data in the stem crop growth environmental data and the updating threshold value exceeds the updating threshold value of the corresponding environmental data, the current environmental data is abnormal data, the abnormal data is written into a database, and early warning is sent out;
obtaining an illumination intensity environment updating threshold value a1 according to the illumination intensity u required by the growth cycle of the normal stem crops and the illumination time t required by the growth cycle of the normal stem crops; the environment data update threshold a1 of the illumination intensity is expressed by the following formula:
Figure RE-GDA0002895287300000121
when | h1-a1|, is not more than a1, the current illumination intensity h1 accords with the normal growth environment of the current stem crops, only corresponding environment data and synchronization time are updated, and the current illumination intensity h1 is not written into a database;
when a1 is less than or equal to | h1-a1|, the current illumination intensity h1 does not accord with the normal growth environment of the stem crops, corresponding environment data and synchronization time are updated, the current illumination intensity h1 is written into a database, and early warning is sent out;
according to the air temperature u required by the growth cycle of normal stem crops2Temperature and time t required for growth cycle of normal stem crops2Obtaining an environment data updating threshold a2 of the air temperature; said air gapThe environment data updating threshold a2 of the air temperature is expressed by the following formula:
Figure RE-GDA0002895287300000122
when | h2-a2| is less than or equal to a2, the current air temperature h2 accords with the normal growth environment of the stem crops at present, only corresponding environment data and synchronization time are updated, and the current air temperature h2 is not written into a database;
when a2 is less than or equal to | h2-a2|, the current air temperature h2 does not accord with the normal growth environment of the stem crops, corresponding environment data and synchronization time are updated, the current air temperature h2 is written into a database, and early warning is sent out;
specific gas constant R according to water vapor pressure ewObtaining an environment data updating threshold a3 of the air humidity according to the thermodynamic temperature T; the environment data update threshold a3 of the air humidity is expressed by:
Figure RE-GDA0002895287300000131
when | h3-a3|, is not more than a3, the current air humidity h3 accords with the normal growth environment of the stem crops at present, only corresponding environment data and synchronization time are updated, and the current air humidity h3 is not written into a database;
when a3 is less than or equal to | h3-a3|, the current air humidity does not accord with the normal growth environment of the stem crops, corresponding environment data and synchronization time are updated, the current air humidity is written into a database, and early warning is sent out;
according to the soil temperature u required by the growth cycle of normal stem crops3Time t of soil temperature required for growth cycle of normal stem crop3Obtaining an environment data updating threshold a4 of the soil temperature; the environmental data updating threshold a4 of the soil temperature has the expression:
Figure RE-GDA0002895287300000132
when | h4-a4|, is less than or equal to a4, the current soil temperature h4 accords with the normal growth environment of the current stem crops, only corresponding environment data and synchronization time are updated, and the current soil temperature h4 is not written into a database;
when a4 is less than or equal to | h4-a4|, the current soil temperature h4 does not accord with the normal growth environment of the stem crops, corresponding environment data and synchronization time are updated, the current soil temperature h4 is written into a database, and early warning is sent out;
obtaining an environment data updating threshold value a5 of soil moisture according to the water weight w contained in the soil in the unit area of the planted stem crops and the soil weight v after the soil is dried in the unit area of the planted stem crops; the environmental data updating threshold a5 of the soil moisture is expressed by the following expression:
Figure RE-GDA0002895287300000141
when the absolute value of h5-a5 is less than or equal to a5, the current soil moisture h5 accords with the normal growth environment of the current stem crops, only corresponding environment data and synchronization time are updated, and the current soil moisture h5 is not written into a database;
when a5 is less than or equal to | h5-a5|, the current soil moisture h5 does not accord with the normal growth environment of the stem crops, corresponding environment data and synchronization time are updated, the current soil moisture h5 is written into a database, and early warning is sent out;
when the stem crop growth analysis data or the stem crop growth environment data are deleted, the static object locks the stem crop real-time data set, searches the corresponding stem crop growth analysis data or the stem crop growth environment data in the stem crop real-time data set according to the stem crop internal code, deletes the stem crop growth analysis data or the stem crop growth environment data from the stem crop real-time data set, and deletes the corresponding stem crop growth analysis data or the stem crop growth environment data from the database.
While the invention has been described in terms of its preferred embodiments, it will be understood by those skilled in the art that various changes in form and details may be made therein without departing from the spirit and scope of the invention.

Claims (9)

1. A real-time data management method for stem crop growth is characterized by comprising the following conditions:
the obtained stem crop growth analysis data and stem crop growth environment data are locked through a static object to carry out concurrent control on the real-time data of the stem crops;
the data included the following:
a stem crop real-time data set, namely { stem crop internal code, stem crop name, stem crop growth analysis data, stem crop growth environment data, stem crop growth stage, environment data updating threshold value and synchronization time };
when stem crop growth analysis data and stem crop growth environment data are initialized, a static object locks a stem crop real-time data set, whether the stem crop real-time data set is empty is judged, and if the stem crop real-time data set is empty, stem crop internal codes, stem crop names, stem crop growth stage data, stem crop growth analysis data, stem crop growth environment data, synchronization time and environment data updating thresholds are created to the stem crop real-time data set;
when stem crop growth analysis data and stem crop growth environment data are created, a static object locks a stem crop real-time data set, and whether the stem crop growth analysis data and the stem crop growth environment data exist in the stem crop real-time data set or not is judged; if the stem crop growth analysis data and the stem crop growth environment data do not exist, establishing stem crop growth analysis data and the stem crop growth environment data into a stem crop real-time data set and generating stem crop internal codes and stem crop growth stage data; finally, releasing the static object;
when the stem crop growth analysis data and the stem crop growth environment data are inquired, the static object locks the stem crop real-time data set, and the stem crop growth analysis data and the stem crop growth environment data corresponding to the stem crop real-time data set are searched according to the stem crop internal code; finally, releasing the static object;
when the stem crop growth analysis data and the stem crop growth environment data are reported and updated, updating the stem crop growth analysis data, the stem crop growth environment data and the synchronization time in the stem crop real-time data set, and then judging whether the current stem crop growth analysis data and the stem crop growth environment data are abnormal data or not; if the abnormal data exist, writing the corresponding data into the database;
when the stem crop growth analysis data or the stem crop growth environment data are deleted, the static object locks the stem crop real-time data set, searches the corresponding stem crop growth analysis data or the stem crop growth environment data in the stem crop real-time data set according to the stem crop internal code, deletes the stem crop growth analysis data or the stem crop growth environment data from the stem crop real-time data set, and deletes the corresponding stem crop growth analysis data or the stem crop growth environment data from the database;
and the database is { abnormal data code, abnormal data content, abnormal data type and abnormal data occurrence time }.
2. The method for real-time stem crop growth data management according to claim 1, wherein stem crop growth analysis data in the stem crop real-time data set is { s1, s2, s3, s4, s5, s6, s7, s8 }; wherein s1 is the diameter of the stem crop, s2 is the basic color of the stem crop, s3 is the basic color of the background plate, s4 is the basic color of the indicator, s5 is the standard size of the indicator, s6 is the color difference of the basic color, s7 is the growth reference data of the stem crop, and s8 is the growth difference data of the stem crop;
the stem crop growth environment data in the stem crop real-time data set is { h1, h2, h3, h4, h5 }; wherein h1 is illumination intensity, h2 is air temperature, h3 is air humidity, h4 is soil temperature, and h5 is soil moisture;
the growth stage of the stem crops in the real-time data set of the stem crops is { the growth period of the stem crops corresponds to the leaf age, the growth period of the stem crops corresponds to the diameter of stems, and the growth period of the stem crops corresponds to the length };
the environmental data update threshold in the stem crop real-time data set is { a1, a2, a3, a4, a5 }; wherein a1 is the illumination intensity update threshold, a2 is the air temperature update threshold, a3 is the air humidity update threshold, a4 is the soil temperature update threshold, and a5 is the soil moisture update threshold.
3. The method for real-time stem crop growth data management according to claim 2, wherein the stem crop growth reference data s7 ═ Q in the stem crop growth analysis data1、Q2,…,Qq}; wherein Q is1、Q2,…,QqThe growth conditions of the stem crops in the first image to the q-th image are respectively corresponded.
4. The real-time data management method for stem crop growth according to claim 2, wherein the background plate basic color s3 is green, and the background plate is arranged in a direction parallel to the growth direction of the stem crop; the basic color s4 of the indicator is white, the indicator is composed of a green plastic clip and a white table tennis ball, the trademark of the white table tennis ball is a sticking point, the standard size of the table tennis ball is 40mm in diameter, namely the standard size s5 of the indicator is 40mm in diameter, and the indicator is arranged on the stem of the stem crop and is parallel to the background plate.
5. The method for real-time data management of stem crop growth as claimed in claim 2, wherein the normal range of the basic color difference s6 in the stem crop growth analysis data is 0. ltoreq. s 6. ltoreq.10; and when the basic color difference s6 is greater than 10, the basic color difference s6 is abnormal data, the basic color difference s6 is written into the database, and an early warning is sent.
6. The method for real-time data management of stem crop growth according to claim 2, wherein the expression of the stem crop growth reference data s7 is as follows:
Figure RE-FDA0002895287290000041
wherein phi is the average diameter of the designated part of the stem crop, L is the relative length of the designated part of the stem crop, T is the growth stage of the stem crop, K is the normal growth index of the stem crop at the corresponding growth stage, and QsThe growth condition of the stem crops corresponding to the normal growth stage is shown;
the stem crop growth difference s8 expression formula is as follows:
Figure RE-FDA0002895287290000042
wherein Q is the total number of stem crops, p is the difference threshold value, Q1、Q2,…,QqRespectively corresponding to the growth conditions of the stem crops in the first image to the Q-th image, QsThe growth condition of the stem crops corresponding to the normal growth period is shown;
when T'<|s8-|s7-Q2And | | l, writing the corresponding stem crop growth situation in the stem crop growth reference data s7 into the database, wherein T' is the corresponding normal growth difference of the stem crop growth stage.
7. The method as claimed in claim 1, wherein the time interval between the reporting of the stem crop growth analysis data and the stem crop growth environment data is 1 hour.
8. The method for real-time data management of stem crop growth according to claim 2, wherein when the absolute value of the difference between any current environmental data in the stem crop growth environmental data and the update threshold exceeds the update threshold of the corresponding environmental data, the current environmental data is abnormal data, and the abnormal data is written into the database and an early warning is issued.
9. The method for real-time data management of stem crop growth according to claim 8, wherein the updating threshold of the environmental data of the illumination intensity is a1, and the specific expression thereof is as follows:
Figure RE-FDA0002895287290000051
wherein u is1Intensity of illumination required for growth cycle of normal stem crop, t1The illumination time required for the growth cycle of normal stem crops;
when | h1-a1|, is not more than a1, the current illumination intensity h1 accords with the normal growth environment of the current stem crops, only corresponding environment data and synchronization time are updated, and the current illumination intensity h1 is not written into a database;
when a1 is less than or equal to | h1-a1|, the current illumination intensity h1 does not accord with the normal growth environment of the stem crops, corresponding environment data and synchronization time are updated, the current illumination intensity h1 is written into a database, and early warning is sent out;
the environment data update threshold of the air temperature is a2, and the specific expression is as follows:
Figure RE-FDA0002895287290000052
wherein u is2Air temperature, t, required for the growth cycle of normal stem crops2The temperature and time required for the growth cycle of normal stem crops;
when | h2-a2| is less than or equal to a2, the current air temperature h2 accords with the normal growth environment of the stem crops at present, only corresponding environment data and synchronization time are updated, and the current air temperature h2 is not written into a database;
when a2 is less than or equal to | h2-a2|, the current air temperature h2 does not accord with the normal growth environment of the stem crops, corresponding environment data and synchronization time are updated, the current air temperature h2 is written into a database, and early warning is sent out;
the environment update threshold of the air humidity is a3, and the specific expression is as follows:
Figure RE-FDA0002895287290000061
wherein e is the water vapor pressure, RwIs the specific gas constant, T is the thermodynamic temperature;
when | h3-a3|, is not more than a3, the current air humidity h3 accords with the normal growth environment of the stem crops at present, only corresponding environment data and synchronization time are updated, and the current air humidity h3 is not written into a database;
when a3 is less than or equal to | h3-a3|, the current air humidity does not accord with the normal growth environment of the stem crops, corresponding environment data and synchronization time are updated, the current air humidity is written into a database, and early warning is sent out;
wherein h3 is the current air humidity in the stem crop real-time data set;
the environmental data updating threshold value of the soil temperature is a4, and the specific expression formula is as follows;
Figure RE-FDA0002895287290000062
wherein u is3Temperature of soil required for the growth cycle of normal stem crops, t3The soil temperature and time required for the growth cycle of normal stem crops;
when | h4-a4|, is less than or equal to a4, the current soil temperature h4 accords with the normal growth environment of the current stem crops, only corresponding environment data and synchronization time are updated, and the current soil temperature h4 is not written into a database;
when a4 is less than or equal to | h4-a4|, the current soil temperature h4 does not accord with the normal growth environment of the stem crops, corresponding environment data and synchronization time are updated, the current soil temperature h4 is written into a database, and early warning is sent out;
the soil moisture environment data updating threshold value is a5, and the concrete expression formula is as follows:
Figure RE-FDA0002895287290000071
wherein w is the water weight contained in the soil in unit area of the planted stem crops, and v is the soil weight after the soil in unit area of the planted stem crops is dried;
when the absolute value of h5-a5 is less than or equal to a5, the current soil moisture h5 accords with the normal growth environment of the current stem crops, only corresponding environment data and synchronization time are updated, and the current soil moisture h5 is not written into a database;
and when the a5 is less than or equal to | h5-a5|, updating corresponding environment data and synchronization time when the current soil moisture h5 does not accord with the normal growth environment of the stem crops, writing the current soil moisture h5 into a database, and giving out early warning.
CN202011371337.5A 2020-11-30 2020-11-30 Real-time data management method for growth of stem crops Pending CN112487005A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011371337.5A CN112487005A (en) 2020-11-30 2020-11-30 Real-time data management method for growth of stem crops

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011371337.5A CN112487005A (en) 2020-11-30 2020-11-30 Real-time data management method for growth of stem crops

Publications (1)

Publication Number Publication Date
CN112487005A true CN112487005A (en) 2021-03-12

Family

ID=74937208

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011371337.5A Pending CN112487005A (en) 2020-11-30 2020-11-30 Real-time data management method for growth of stem crops

Country Status (1)

Country Link
CN (1) CN112487005A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105468795A (en) * 2015-10-30 2016-04-06 广西慧云信息技术有限公司 Sensing device real-time data management method
CN105511426A (en) * 2015-11-27 2016-04-20 陈华 Automatic processing method, apparatus, and system for crop growth
CN105744225A (en) * 2015-10-28 2016-07-06 广西慧云信息技术有限公司 Method and system for analyzing crop growth remotely
WO2017106962A1 (en) * 2015-11-17 2017-06-29 Universite Laval System and method for real-time water management
CN109470299A (en) * 2018-10-19 2019-03-15 江苏大学 A kind of plant growth information monitoring system and method based on Internet of Things

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105744225A (en) * 2015-10-28 2016-07-06 广西慧云信息技术有限公司 Method and system for analyzing crop growth remotely
CN105468795A (en) * 2015-10-30 2016-04-06 广西慧云信息技术有限公司 Sensing device real-time data management method
WO2017106962A1 (en) * 2015-11-17 2017-06-29 Universite Laval System and method for real-time water management
CN105511426A (en) * 2015-11-27 2016-04-20 陈华 Automatic processing method, apparatus, and system for crop growth
CN109470299A (en) * 2018-10-19 2019-03-15 江苏大学 A kind of plant growth information monitoring system and method based on Internet of Things

Similar Documents

Publication Publication Date Title
CN111654874B (en) Wireless sensor network anomaly detection method
CN109470299A (en) A kind of plant growth information monitoring system and method based on Internet of Things
CN109781963A (en) A kind of field planting environmental monitoring system
EP1256896B1 (en) &#34;A plant information management system&#34;
CN110728332A (en) Agricultural data analysis method and system based on Internet of things
CN111767849A (en) Crop pest and disease identification method and device and storage medium
CN103605385B (en) A kind of CO for heliogreenhouse 2the fertile finely regulating method of gas
CN113705937B (en) Farmland yield estimation method combining machine vision and crop model
CN112055079A (en) Disease and pest monitoring and early warning system based on cloud computing platform
CN108616838A (en) Agricultural greenhouse Data Fusion method based on Kalman filtering algorithm
CN108319164A (en) Crop growth environment is predicted and regulation and control method
CN109101561B (en) Wine label identification method
CN105744225A (en) Method and system for analyzing crop growth remotely
CN112487005A (en) Real-time data management method for growth of stem crops
CN108830740A (en) A kind of crop growth node real-time technique information acquisition system and method
CN115965161A (en) Crop yield prediction method based on artificial intelligence and historical data
CN112443943A (en) Model training method based on small amount of labeled data, control system and air conditioner
CN110377082A (en) A kind of automatic control system in greenhouse
CN113191742A (en) Intelligent identification method for green plant diseases and insect pests
CN111426347A (en) Crop growth condition characteristic acquisition system and method
CN114485772A (en) Intelligent environment monitoring system
CN117687343A (en) Rural environment monitoring and management system based on Internet of things
CN116719833B (en) Concurrent synchronization-based disease and pest control data updating method and system
CN111431981A (en) Citrus orchard environment monitoring system based on Internet of things and early warning method thereof
CN113627880B (en) Automatic management system and method for recording growth data of tea-oil trees

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: 20210312