A data collection and storage method based on data analysis
By obtaining the mutation factors and abnormal fluctuation intervals of the oxygen content data of the plant greenhouse, adjusting the data and using run encoding, the problem of low compression efficiency in the existing technology is solved, and more efficient data storage is achieved.
Patent Information
- Application Number
- CN202411244376.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-06
- Publication Date
- 2024-12-03
- Estimated Expiration
- 2044-09-06
AI Technical Summary
The existing run coding method is not ideal when compressing the oxygen content data of plant greenhouses, and cannot effectively reduce storage space.
By obtaining the mutation factors and mutation degree of oxygen content data, mutation points and abnormal fluctuation intervals are selected, the data is adjusted according to the abnormality degree, the optimization sequence is constructed and the run-coding algorithm is used for compression.
It improves the repetition and compression quality of data, retains the accuracy of abnormal data, and significantly improves the compression efficiency.
Smart Images

Figure CN118760836B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of data processing, and in particular to a data collection and storage method based on data analysis. Background Art
[0002] Data collection, data analysis, and data storage are indispensable steps in most technical and production fields. Among them, data collection is a prerequisite for data analysis and data storage. After data collection according to the needs and purposes, one or more data analysis methods such as clustering, anomaly detection, association analysis, and prediction are performed on the data to determine the storage method and object.
[0003] At present, environmental monitoring tasks are common data processing tasks in the field of production and life. Among them, indoor temperature and humidity monitoring is not only closely related to human activities, but also closely related to indoor animal and plant activities. A plant greenhouse is an artificially created enclosed space where plants that require special environmental conditions can be grown in any season and location. In order to control and regulate the plant growth environment, it is necessary to detect and record data such as temperature, humidity, and oxygen content in the greenhouse. When the greenhouse space is large and the number of sensors is large, long-term recording and large-scale data collection will occupy a lot of storage, so the data needs to be compressed to reduce the space required for storage.
[0004] When analyzing the oxygen content data and determining the method of storing the oxygen content, since the oxygen content data is a changing value that rises and falls with the change of day and night, the repeatability of the data itself is not high. The run-length encoding method is used to compress the oxygen content data, resulting in unsatisfactory compression efficiency. Summary of the invention
[0005] The present invention provides a data collection and storage method based on data analysis to solve the problem that the compression efficiency of the existing plant greenhouse oxygen content data directly compressed using the run-length encoding method is not ideal.
[0006] A data collection and storage method based on data analysis of the present invention adopts the following technical solution:
[0007] An embodiment of the present invention provides a data collection and storage method based on data analysis, the method comprising the following steps:
[0008] Obtain oxygen content data at each moment;
[0009] Obtain the reference point of the oxygen content data at each moment according to the extreme point of oxygen content, obtain the mutation factor of each oxygen content data based on the variation range of each oxygen content data and the corresponding reference point; obtain the mutation degree of each oxygen content data according to the mutation factor of each oxygen content data and the difference with the extreme point; obtain all mutation points according to the mutation degree of all oxygen content data; obtain the abnormal fluctuation range of each mutation point;
[0010] The initial points are uniformly selected with a preset step size in all oxygen content data; the abnormality degree of each initial point is obtained according to the distance between several abnormal fluctuation intervals around each initial point and the initial point, and the regularity of fluctuations of several abnormal fluctuation intervals around each initial point; all normal points are obtained by screening according to the abnormality degrees of all initial points;
[0011] According to the oxygen content data of each normal point, the oxygen content data around the normal point are adjusted to obtain adjusted oxygen content data; all adjusted oxygen content data and all unadjusted oxygen content data constitute an optimized sequence;
[0012] Optimize sequence compression to achieve optimized collection and storage of plant greenhouse oxygen content data.
[0013] Furthermore, the step of obtaining the mutation factor of each oxygen content data includes:
[0014] The mutation factor of the pth oxygen content data The calculation method is:
[0015]
[0016] Where: Indicates the reference range length of the pth oxygen content data, It represents the reference slope of the i-th reference point on the right side of the p-th oxygen content data. Represents the reference slope of the i-th reference point on the left side of the p-th oxygen content data.
[0017] Furthermore, the specific method for obtaining the reference range length is:
[0018] Obtain the distance from the pth oxygen content data to the previous minimum point, and the distance from the pth oxygen content data to the next minimum point, and take the smallest distance between the two minimum points as the reference range length of the pth oxygen content data.
[0019] Furthermore, the specific method for obtaining the reference slope is:
[0020] Taking the pth oxygen content data as the center, oxygen content data of the reference range length are taken on both sides and recorded as the reference points of the pth oxygen content data; for the ith reference point of the pth oxygen content data, the slope of the line connecting the ith reference point of the pth oxygen content data and the i-1th reference point is recorded as the reference slope of the ith reference point of the pth oxygen content data.
[0021] Furthermore, obtaining the mutation degree of each oxygen content data includes:
[0022] The mutation degree of the pth oxygen content data The calculation method is:
[0023]
[0024] Where: represents the mutation factor of the pth oxygen content data, It represents the difference between the oxygen content of the pth oxygen content data and the oxygen content of the smallest minimum point between the two nearest minimum points on the left and right. It represents the average of the oxygen content differences between each maximum point and the smallest minimum point among the two minimum points closest to both sides.
[0025] Furthermore, the step of obtaining the abnormal fluctuation range of each mutation point includes:
[0026] The interval between the two nearest minimum points on both sides of each mutation point is recorded as the abnormal fluctuation interval of each mutation point.
[0027] Furthermore, obtaining the abnormality degree of each initial point includes:
[0028] The abnormality of the qth initial point The calculation method is:
[0029]
[0030] Where: Indicates the number of abnormal fluctuation intervals in the abnormal reference domain, represents the qth initial point in the abnormal reference domain The distance between the mutation point of the abnormal fluctuation interval and the qth initial point, represents the variance of the lengths of all abnormal fluctuation intervals in the abnormal reference domain of the qth initial point, Represents the variance of the time intervals between all the mutation points of two adjacent abnormal fluctuation intervals in the abnormal reference domain of the qth initial point; Represents an exponential function with a natural constant as its base.
[0031] Furthermore, the specific method for obtaining the abnormal reference domain is:
[0032] The number of abnormal samplings is preset, and the number of abnormal samplings and abnormal fluctuation intervals are selected on both sides of each initial point as the center, which are recorded as the abnormal reference domain of each initial point.
[0033] Further, the obtaining of the adjusted oxygen content data includes:
[0034] A filling length is preset, and oxygen content data of the filling length are selected from both sides with each normal point as the center, and recorded as the representative interval of each normal point. When the oxygen content data selected on one side is the oxygen content data of the abnormal fluctuation area, the selection of oxygen content data on this side is stopped;
[0035] The oxygen content data of each normal point is taken as the new oxygen content data of each oxygen content data in the representative interval of each normal point, and recorded as each adjusted oxygen content data.
[0036] Furthermore, the optimized sequence compression to achieve optimized collection and storage of plant greenhouse oxygen content data includes:
[0037] The optimized sequence is compressed by a run-length encoding algorithm to obtain a compressed sequence, and the compressed sequence is stored to achieve optimized collection and storage of plant greenhouse oxygen content data.
[0038] The technical solution of the present invention has the following beneficial effects: the present embodiment obtains the reference point of the oxygen content data at each moment according to the extreme point of the oxygen content, reflects the change amplitude of each oxygen content data and the corresponding reference point according to the overall slope around the oxygen content data, and obtains a more reliable calculation result of the mutation degree; reflects the small-range fluctuation of the oxygen content data due to external factors according to the difference between each oxygen content data and the extreme point, and obtains the mutation degree in combination with the mutation factor of each oxygen content data, thereby avoiding the influence of external factors such as weather or hardware on the calculation of the mutation degree and more accurately reflecting the mutation degree; obtains the mutation point according to the mutation degree, and obtains the abnormal fluctuation range by expanding the mutation point; obtains the abnormal degree of each initial point according to the distance between the abnormal fluctuation range on both sides of each initial point and the initial point and the regularity of the fluctuation of the abnormal fluctuation range, thereby judging whether the data around the initial point needs to retain the accuracy; obtains all normal points according to the abnormal degree of all initial points, and then adjusts the oxygen content data around the normal point according to the oxygen content data of each normal point to obtain the optimized sequence, thereby increasing the repeatability of the data and retaining the accuracy of the abnormal data, so that the compression quality of the compression result is higher. BRIEF DESCRIPTION OF THE DRAWINGS
[0039] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0040] Figure 1 The present invention is a flowchart of the implementation steps of a data collection and storage method based on data analysis. DETAILED DESCRIPTION
[0041] In order to further explain the technical means and effects adopted by the present invention to achieve the predetermined invention purpose, the following is a detailed description of the data collection and storage method based on data analysis proposed by the present invention, its specific implementation method, structure, features and effects, in combination with the accompanying drawings and preferred embodiments. In the following description, different "one embodiment" or "another embodiment" does not necessarily refer to the same embodiment. In addition, specific features, structures or characteristics in one or more embodiments may be combined in any suitable form.
[0042] Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs.
[0043] The following is a detailed description of a specific scheme of a data collection and storage method based on data analysis provided by the present invention in conjunction with the accompanying drawings.
[0044] See also Figure 1 , which shows a flowchart of the implementation steps of a data collection and storage method based on data analysis provided by an embodiment of the present invention, the method comprising the following steps:
[0045] Step S1, obtaining oxygen content data at each moment.
[0046] The purpose of this embodiment is to improve the data repeatability of the greenhouse oxygen content data collected by the sensor while retaining the accuracy of the abnormal data, so as to compress it using run-length encoding. Therefore, the oxygen content data in the greenhouse is first obtained; the oxygen content data is collected using an oxygen concentration sensor, and the oxygen content data is collected once every minute, and the oxygen content data at all times within 24 hours are collected; the oxygen content curve is constructed with time as the horizontal axis and the oxygen content as the vertical axis.
[0047] Step S2, based on the mutation degree characteristics of the oxygen content data, obtain the mutation point and the abnormal fluctuation range of the mutation point in the oxygen content data, based on the regularity characteristics of the abnormal fluctuation range, obtain the abnormal degree of the initial point, use the abnormal degree of the initial point to screen and obtain the normal point, and use the oxygen content data of the normal point to fill the surrounding oxygen content data to obtain the optimized sequence.
[0048] (1) Obtain the reference point of the oxygen content data at each moment based on the extreme point of oxygen content, and obtain the mutation factor of each oxygen content data based on the change amplitude of each oxygen content data and the corresponding reference point; obtain the mutation degree of each oxygen content data based on the mutation factor of each oxygen content data and the difference with the extreme point; obtain all mutation points based on the mutation degree of all oxygen content data; and obtain the abnormal fluctuation range of each mutation point.
[0049] It should be noted that the oxygen content in the greenhouse normally shows alternating increases and decreases. When abnormal conditions such as malnutrition or pests and diseases occur, the oxygen content curve will show irregular mutation fluctuations. When compressing the oxygen content data, the accuracy of the abnormal data in the mutation fluctuation range must be retained; therefore, the mutation degree of each oxygen content data is obtained by changing the slope of the line connecting adjacent points in the oxygen content curve to reflect the irregular mutation fluctuations of the oxygen content curve, and then the mutation point is selected according to the mutation degree, and the abnormal fluctuation range of the curve is obtained according to the mutation point.
[0050] Specifically, all minimum points and maximum points in the oxygen content curve are obtained. For the pth oxygen content data in the oxygen content curve, the distance from the pth oxygen content data to the previous minimum point and the distance from the pth oxygen content data to the next minimum point are obtained, and the smallest of the distances between the two minimum points is taken as the reference range length of the pth oxygen content data; with the pth oxygen content data as the center, oxygen content data of the reference range length are taken on both sides respectively, and are recorded as the reference points of the pth oxygen content data; for the i-th reference point of the pth oxygen content data, the slope of the line connecting the i-th reference point of the pth oxygen content data and the i-1-th reference point is recorded as the reference slope of the i-th reference point of the pth oxygen content data, and in particular, the reference slope of the 1st reference point is 0; the mutation factor of the pth oxygen content data The calculation method is:
[0051]
[0052] Where: Indicates the reference range length of the pth oxygen content data, It represents the reference slope of the i-th reference point on the right side of the p-th oxygen content data. Represents the reference slope of the i-th reference point on the left side of the p-th oxygen content data;
[0053] It should be noted that It represents the absolute value of the reference slope difference, reflecting the difference of the reference slopes on both sides of the p-th oxygen content data. The larger the value, the greater the difference of the reference slopes of the reference points on both sides of the p-th oxygen content data, and the greater the mutation factor of the p-th oxygen content data.
[0054] It should be further explained that due to the possibility of small fluctuations in oxygen content caused by external factors such as clouds covering the sun or sensor hardware deviation, in addition to considering the reference slope difference, it is also necessary to correct the mutation factor according to the small fluctuations caused by external factors to obtain the degree of mutation;
[0055] Specifically, the mutation degree of the pth oxygen content data The calculation method is:
[0056]
[0057] Where: represents the mutation factor of the pth oxygen content data, It represents the difference between the oxygen content of the pth oxygen content data and the oxygen content of the smallest minimum point between the two nearest minimum points on the left and right. It represents the average value of the difference in oxygen content between each maximum point and the smallest minimum point among the two minimum points closest to both sides;
[0058] It should be noted that The smaller the value is, the smaller the vertical coordinate change of the pth oxygen content data is, which is more likely to be a small fluctuation caused by external factors rather than a fluctuation caused by a mutation. This value is used as a weight to correct the mutation factor;
[0059] Furthermore, the mutation degree of all oxygen content data is obtained; a mutation threshold is preset, all oxygen content data are screened according to the mutation degree, and the oxygen content data with a mutation degree greater than the mutation threshold is recorded as a mutation point, and all mutation points are obtained; the interval between the two nearest minimum points on both sides of each mutation point is recorded as the abnormal fluctuation interval of each mutation point, and the abnormal fluctuation interval of all mutation points is obtained; the mutation threshold is preset to 0.5 in this embodiment, and other embodiments may be set to other values, which are not specifically limited in this embodiment.
[0060] (2) Initial points are uniformly selected with a preset step size in all oxygen content data; the degree of abnormality of each initial point is obtained based on the distance between several abnormal fluctuation intervals around each initial point and the initial point, as well as the regularity of fluctuations of several abnormal fluctuation intervals around each initial point; all normal points are screened based on the degree of abnormality of all initial points.
[0061] It should be noted that, on the basis of retaining the accuracy of abnormal data, the repetition of other non-abnormal data should be increased to improve the compression quality of run-length encoding; first, a number of initial points are evenly obtained on the curve, and the degree of abnormality of each initial point is obtained according to the distribution of abnormal fluctuation intervals on both sides of each initial point, so as to judge whether the data around the initial point needs to retain accuracy; the closer the abnormal fluctuation interval is to the initial point, the greater the impact on the initial point, the greater the degree of abnormality of the initial point, and the more the data around the initial point needs to retain accuracy; the weaker the regularity of the fluctuation of the abnormal fluctuation interval around the initial point, the less likely it is that it is a normal fluctuation caused by the influence of light intensity, the greater the degree of abnormality of the initial point, and the more the data around the initial point needs to retain accuracy; for all initial points, normal points that do not need to retain accuracy are screened according to the degree of abnormality.
[0062] Specifically, the initial sampling interval is preset as the step length, and an initial point is taken at each step length on the curve to obtain a number of initial points; the number of abnormal samplings is preset, and the number of abnormal samplings, abnormal fluctuation intervals are selected on both sides with each initial point as the center, and recorded as the abnormal reference domain of each initial point. This embodiment is described by taking the initial sampling interval of 10 minutes and the number of abnormal samplings as 3 as an example. Other embodiments can be set to other values, which are not specifically limited in this embodiment. In particular, when one side cannot select the number of abnormal samplings, abnormal fluctuation intervals, the maximum number of abnormal fluctuation intervals that can be obtained is taken; the abnormal degree of the qth initial point The calculation method is:
[0063]
[0064] Where: Indicates the number of abnormal fluctuation intervals in the abnormal reference domain, represents the qth initial point in the abnormal reference domain The distance between the mutation point of the abnormal fluctuation interval and the qth initial point, represents the variance of the lengths of all abnormal fluctuation intervals in the abnormal reference domain of the qth initial point, Represents the variance of the time intervals between all the mutation points of two adjacent abnormal fluctuation intervals in the abnormal reference domain of the qth initial point; represents an exponential function with a natural constant as base;
[0065] It should be noted that It represents the weighted cumulative sum of the distances between the centers of all abnormal fluctuation intervals in the qth abnormal reference domain and the qth initial point. The smaller the value, the closer the distances between the centers of all abnormal fluctuation intervals in the qth abnormal reference domain and the qth initial point are, and the greater the abnormality of the qth initial point. It reflects the regularity of the overall fluctuation degree of all abnormal fluctuation intervals in the qth abnormal reference domain. The larger the value, the more irregular the fluctuation of all abnormal fluctuation intervals in the qth abnormal reference domain, and the less likely it is that it is a normal fluctuation affected by light intensity, and the greater the abnormal degree of the qth initial point;
[0066] Furthermore, the degree of abnormality of all initial points is obtained; an abnormal threshold is preset, all initial points are screened according to the degree of abnormality, and the oxygen content data with an abnormality degree less than the abnormal threshold is recorded as a normal point, and all normal points are obtained; the abnormal threshold is preset to 0.3 in this embodiment, and other embodiments can be set to other values, which are not specifically limited in this embodiment.
[0067] (3) Fill the surrounding oxygen content data according to the oxygen content data of each normal point to obtain adjusted oxygen content data; all adjusted oxygen content data and all unadjusted oxygen content data constitute an optimized sequence.
[0068] It should be noted that, for the oxygen content data in the intervals around all normal points, the oxygen content data of the normal point represents the oxygen content data of all oxygen content data in the intervals around the normal point, which is used to increase data repetition to improve compression quality; all oxygen content data except the intervals around the normal point are not processed to retain their data accuracy.
[0069] Specifically, a filling length is preset, and oxygen content data of the filling length are selected on both sides with each normal point as the center, and recorded as a representative interval of each normal point. When the oxygen content data selected on one side is the oxygen content data of the abnormal fluctuation area, the selection of oxygen content data on this side is stopped. In particular, when there are less than the filling length oxygen content data on one side, the maximum number of oxygen content data that can be obtained is taken; the oxygen content data of all oxygen content data in the representative interval of each normal point are adjusted, and the oxygen content data of each normal point is used as the new oxygen content data of each oxygen content data in the representative interval of the normal point, and recorded as each adjusted oxygen content data; the oxygen content data of all adjusted oxygen content data and all unadjusted oxygen content data are sorted in time series to form an optimized sequence.
[0070] Step S3, compressing the optimized sequence to achieve optimized collection and storage of plant greenhouse oxygen content data.
[0071] The optimized sequence is compressed using a run-length encoding algorithm to obtain a compressed sequence, which is stored to achieve optimized collection and storage of plant greenhouse oxygen content data. It should be noted that the run-length encoding algorithm used for compression in this embodiment is an existing well-known technology and will not be described in detail in this embodiment.
[0072] It should be noted that the The model only shows negative correlation and the output of the constraint model is in In the range, As the input of this model, it can be replaced by other models with the same purpose in specific implementation. The model is used as an example for description without any specific limitation.
[0073] It should be noted that the above-described embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. These modifications or replacements do not deviate the essence of the corresponding technical solutions from the scope of the technical solutions of the embodiments of the present application, and should all be included in the protection scope of the present application.
[0074] The various embodiments in this specification are described in a progressive manner, and the same or similar parts between the various embodiments can be referenced to each other, and each embodiment focuses on the differences from other embodiments.
Claims
1. A data collection and storage method based on data analysis, It is characterized in that The method comprises the following steps: Obtain oxygen content data at each moment; Obtain the reference point of the oxygen content data at each moment according to the extreme point of oxygen content, obtain the mutation factor of each oxygen content data based on the variation range of each oxygen content data and the corresponding reference point; obtain the mutation degree of each oxygen content data according to the mutation factor of each oxygen content data and the difference with the extreme point; obtain all mutation points according to the mutation degree of all oxygen content data; obtain the abnormal fluctuation range of each mutation point; The initial points are uniformly selected with a preset step size in all oxygen content data; the abnormality degree of each initial point is obtained according to the distance between several abnormal fluctuation intervals around each initial point and the initial point, and the regularity of fluctuations of several abnormal fluctuation intervals around each initial point; all normal points are obtained by screening according to the abnormality degrees of all initial points; According to the oxygen content data of each normal point, the oxygen content data around the normal point are adjusted to obtain adjusted oxygen content data; all adjusted oxygen content data and all unadjusted oxygen content data constitute an optimized sequence; Optimize sequence compression to achieve optimized collection and storage of plant greenhouse oxygen content data; The step of obtaining the abnormality degree of each initial point includes: The abnormality of the qth initial point The calculation method is: Where: Indicates the number of abnormal fluctuation intervals in the abnormal reference domain, represents the qth initial point in the abnormal reference domain The distance between the mutation point of the abnormal fluctuation interval and the qth initial point, represents the variance of the lengths of all abnormal fluctuation intervals in the abnormal reference domain of the qth initial point, Represents the variance of the time intervals between all the mutation points of two adjacent abnormal fluctuation intervals in the abnormal reference domain of the qth initial point; represents an exponential function with a natural constant as base; The step of obtaining the adjusted oxygen content data comprises: A filling length is preset, and oxygen content data of the filling length are selected from both sides with each normal point as the center, and recorded as the representative interval of each normal point. When the oxygen content data selected on one side is the oxygen content data of the abnormal fluctuation area, the selection of oxygen content data on this side is stopped; The oxygen content data of each normal point is taken as the new oxygen content data of each oxygen content data in the representative interval of each normal point, and recorded as each adjusted oxygen content data.
2. According to the data collection and storage method based on data analysis as claimed in claim 1, It is characterized in that The method of obtaining the mutation factor for each oxygen content data includes: The mutation factor of the pth oxygen content data The calculation method is: Where: Indicates the reference range length of the pth oxygen content data, It represents the reference slope of the i-th reference point on the right side of the p-th oxygen content data. Represents the reference slope of the i-th reference point on the left side of the p-th oxygen content data.
3. According to the data collection and storage method based on data analysis as claimed in claim 2, It is characterized in that The specific method for obtaining the reference range length is: Obtain the distance from the pth oxygen content data to the previous minimum point, and the distance from the pth oxygen content data to the next minimum point, and take the smallest distance between the two minimum points as the reference range length of the pth oxygen content data.
4. According to the data collection and storage method based on data analysis as claimed in claim 3, It is characterized in that The specific method for obtaining the reference slope is: Taking the pth oxygen content data as the center, oxygen content data of the reference range length are taken on both sides and recorded as the reference points of the pth oxygen content data; for the ith reference point of the pth oxygen content data, the slope of the line connecting the ith reference point of the pth oxygen content data and the i-1th reference point is recorded as the reference slope of the ith reference point of the pth oxygen content data.
5. According to the data collection and storage method based on data analysis as claimed in claim 1, It is characterized in that The step of obtaining the mutation degree of each oxygen content data comprises: The mutation degree of the pth oxygen content data The calculation method is: Where: represents the mutation factor of the pth oxygen content data, It represents the difference between the oxygen content of the pth oxygen content data and the oxygen content of the smallest minimum point between the two nearest minimum points on the left and right. It represents the average of the oxygen content differences between each maximum point and the smallest minimum point among the two minimum points closest to both sides.
6. According to the data collection and storage method based on data analysis as claimed in claim 1, It is characterized in that The step of obtaining the abnormal fluctuation range of each mutation point includes: The interval between the two nearest minimum points on both sides of each mutation point is recorded as the abnormal fluctuation interval of each mutation point.
7. According to the data collection and storage method based on data analysis as claimed in claim 1, It is characterized in that The specific method for obtaining the abnormal reference domain is: The number of abnormal samplings is preset, and the number of abnormal samplings and abnormal fluctuation intervals are selected on both sides of each initial point as the center, which are recorded as the abnormal reference domain of each initial point.
8. According to the data collection and storage method based on data analysis as claimed in claim 1, It is characterized in that The optimized sequence compression to achieve optimized collection and storage of plant greenhouse oxygen content data includes: The optimized sequence is compressed by a run-length encoding algorithm to obtain a compressed sequence, and the compressed sequence is stored to achieve optimized collection and storage of plant greenhouse oxygen content data.
