A data storage method for intelligent construction site management system

By evaluating and re-clustering the impact of the latest construction site data on historical data, the problem of incomplete data storage in the existing technology is solved, and accurate and efficient data storage results are achieved.

CN118708772BActive Publication Date: 2024-10-25JINAN KEJIN INFORMATION TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411215155.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-09-02
Publication Date
2024-10-25
Estimated Expiration
2044-09-02

AI Technical Summary

Technical Problem

When adding the latest newly collected construction site data to the clustering clusters of historical construction site data, the existing technology does not consider the impact of the latest data on the historical data, which may destroy the clustering clusters, resulting in incomplete compression results and inability to obtain accurate data storage results. .

Method used

By obtaining the historical construction site data sequence at each storage moment, calculate the degree of data dispersion, correlation weight, data fluctuation difference and smoothness, evaluate the overall impact of the latest construction site data on historical data, re-cluster and compress the storage.

Benefits of technology

It ensures the integrity and accuracy of clustering, reflects the similarity of data distribution, and achieves efficient data storage.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118708772B_ABST
    Figure CN118708772B_ABST
Patent Text Reader

Abstract

The present invention relates to the technical field of construction data storage, and in particular to a data storage method for an intelligent construction site management system. The present invention obtains a correlation weight through the data discreteness of any two-dimensional historical construction site data sequences, and then adjusts the fluctuation difference between the historical construction site data sequences at each storage moment to obtain the data correlation of the overall construction site data sequences of any two dimensions; combines the data discreteness of the overall construction site data sequence to obtain the data stability of each overall construction site data sequence; combines the difference between the latest construction site data sequence and the overall construction site data sequence to obtain the overall correlation between the latest construction site data sequence and the overall construction site data sequence; combines the two to obtain the overall influence degree; and then obtains the final clustering cluster, and compresses and stores the final clustering cluster. The present invention obtains clustering clusters that accurately reflect the distribution of similar data, and then obtains accurate data compression results, thereby improving compression efficiency.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of construction data storage, and in particular to a data storage method for an intelligent construction site management system. Background Art

[0002] The intelligent construction site management system can obtain a large amount of construction data during construction. The acquired data can be used to manage the construction site, and the quality of construction site construction can be monitored by analyzing the collected multi-dimensional data. The analysis of the collected data can optimize the operation of the construction site. The application of the above-mentioned intelligent construction site requires a large amount of data to support it. The intelligent construction site itself can obtain multi-dimensional construction site management data at different times. When storing a large amount of acquired data, for the sake of its storage efficiency, the acquired multi-dimensional data can be compressed and stored through a compression algorithm, which can greatly improve the storage efficiency and reduce the storage pressure of the server.

[0003] In order to improve the efficiency of data compression, the acquired multi-dimensional construction site management data is often divided into clusters through clustering algorithms, and the clusters are compressed and stored. In the prior art, when adding the newly collected latest construction site data to the clusters formed by the original historical construction site data, the impact of the latest construction site data on the historical construction site data is not taken into account, which may destroy the original clusters and lose data information, resulting in incomplete compression results, and thus unable to obtain accurate data storage results. Summary of the invention

[0004] In order to solve the technical problem that in the prior art, when adding the newly collected latest construction site data to the clusters formed by the original historical construction site data, the influence of the latest construction site data on the historical construction site data is not taken into consideration, which may destroy the original clusters, lose data information, and lead to incomplete compression results, thereby failing to obtain accurate data storage results, the purpose of the present invention is to provide a data storage method for an intelligent construction site management system, and the technical solution adopted is as follows:

[0005] A data storage method for an intelligent construction site management system, the method comprising:

[0006] Obtain the latest construction site data sequence of all dimensions to be stored, and the historical construction site data sequence of each dimension at each storage moment in a preset historical period; the historical construction site data sequence of each dimension at all storage moments constitutes the overall construction site data sequence of each dimension;

[0007] According to the data discreteness of the historical construction site data sequences of any two dimensions, the correlation weight of the historical construction site data sequences of any two dimensions at each storage moment is obtained; according to the data fluctuation difference of the historical construction site data sequences of any two dimensions at each storage moment and the correlation weight, the data correlation of the construction site data sequences of any two dimensions is obtained;

[0008] According to the data correlation between the overall construction site data sequence of each dimension and the overall construction site data sequence of each other dimension, and the data discreteness of the overall construction site data sequence of each dimension, the data stability of the overall construction site data sequence of each dimension is obtained; according to the data difference characteristics between the latest construction site data sequence and the overall construction site data sequence of the corresponding dimension, and the data stability of the overall construction site data sequence of each dimension, the overall correlation between the latest construction site data sequence of all dimensions and the overall construction site data sequence of all dimensions is obtained; according to the data scale difference and the overall correlation between the latest construction site data sequence of all dimensions and the overall construction site data sequence of all dimensions, the overall influence of the latest construction site data sequence of all dimensions on the overall construction site data sequence of all dimensions is obtained;

[0009] According to the overall impact degree, a final cluster of the latest construction site data sequence and the overall construction site data sequence of all dimensions is obtained; and all the latest construction site data are compressed and stored according to the final cluster.

[0010] Furthermore, the method for obtaining the degree of data dispersion includes:

[0011] In each dimension of the historical construction site data sequence, the difference between the data value of each data point and the average value of all data points in the historical construction site data sequence of each dimension is accumulated and summed to obtain the data discreteness of the historical construction site data sequence of each dimension at each storage moment.

[0012] Furthermore, the method for obtaining the relevance weight includes:

[0013] The difference in the data discreteness of the historical construction site data sequence in any two dimensions at each storage moment is negatively correlated and normalized to obtain the correlation weight of the historical construction site data sequence in any two dimensions at each storage moment.

[0014] Furthermore, the method for obtaining the data fluctuation difference includes:

[0015] Fitting the historical construction site data sequence of each dimension at each storage moment into a historical construction site data curve;

[0016] Pair any two-dimensional historical construction site data curves at each storage moment to obtain all data matching pairs of any two-dimensional historical construction site data sequences at each storage moment;

[0017] The differences in the tangent slopes between the two data points in all data matching pairs on the historical construction site data curves of any two dimensions at each storage moment are accumulated and summed to obtain the differences in data fluctuations of the historical construction site data sequences of any two dimensions at each storage moment.

[0018] Furthermore, the method for obtaining the data relevance includes:

[0019] Under any two dimensions, the product of the correlation weight and the data fluctuation difference between the historical construction site data sequences at each storage moment is obtained as the first product, and the cumulative sum of the first products of all storage moments is negatively correlated and normalized to obtain the data correlation between the overall construction site data sequences in any two dimensions.

[0020] Furthermore, the method for obtaining the data stability includes:

[0021] Select any one dimension as the target dimension; obtain all matching construction site data of all matching pairs on the overall construction site data sequence between each other dimension and the target dimension;

[0022] The data stability is obtained according to the data stability calculation formula, and the data stability calculation formula is as follows:

[0023]

[0024]

[0025] In the formula, represents the target dimension; Indicates the data stability of the overall construction site data series of the target dimension; Indicates the number of data in the overall construction site data sequence of the target dimension; Indicates the number of other dimensions; Indicates the target dimension and The data correlation between the construction site data series of other dimensions; Indicates The overall construction site data sequence of other dimensions is the overall construction site data sequence of the target dimension. The degree of stationary correlation of the data points; The first The data value of the data point; Represents the average value of all data points in the overall construction site data series of the target dimension; Indicates In the overall construction site data sequence of other dimensions, the first The number of matching site data for the matching pairs of data points; Indicates In the construction site data sequence of other dimensions, the The data point in the matching pair Data values ​​that match the construction site data; Indicates The average value of all data points in the construction site data series of other dimensions; Represents the normalization function.

[0026] Furthermore, the method for obtaining the overall correlation degree includes:

[0027] In each latest construction site data sequence, the minimum difference between each data point and the corresponding dimension construction site data sequence is accumulated and summed to obtain the degree of data difference between each latest construction site data sequence and each dimension construction site data sequence;

[0028] The product of the data stationarity degree and the data difference degree of the overall construction site data sequence of each dimension is accumulated and summed to obtain the overall correlation degree between the latest construction site data sequence of all dimensions and the overall construction site data sequence of all dimensions.

[0029] Furthermore, the method for obtaining the data scale difference includes:

[0030] The ratio between the number of data in the latest construction site data sequence of all dimensions and the total number of data in the overall construction site data sequence of all dimensions is taken as the data scale difference between the latest construction site data sequence of all dimensions and the construction site data sequence of all dimensions.

[0031] Furthermore, the method for obtaining the overall impact degree includes:

[0032] The product of the data scale difference and the overall correlation degree is normalized to obtain the overall influence of the latest construction site data sequence of all dimensions on the overall construction site data sequence of all dimensions.

[0033] Furthermore, the final clustering of the latest construction site data sequence and the construction site data sequences of all dimensions is obtained according to the overall impact degree, including:

[0034] Clustering all historical construction site data in a preset historical period to obtain original clusters;

[0035] A first threshold is preset, and the latest construction site data sequence with an overall impact less than the first threshold is divided into the original clusters to obtain the final clusters;

[0036] The latest construction site data sequence with an overall impact degree greater than the first threshold is directly clustered to obtain all the latest clustering clusters of the latest construction site data sequence; and the entirety of the latest clustering cluster and the original clustering cluster is taken as the final clustering cluster.

[0037] The present invention has the following beneficial effects:

[0038] The present invention obtains the historical construction site data sequence at each storage moment in the historical period and the latest construction site data sequence to be stored; since the correlation between construction site data sequences of different dimensions will affect the clustering division of construction site data sequences of all dimensions, and the historical construction site data sequences of different storage moments may change to a certain extent with the change of collection time, the correlation weight of the historical construction site data sequences of any two dimensions at each storage moment is obtained according to the data discreteness of the historical construction site data sequences of any two dimensions, reflecting the stability of the data of the historical construction site data sequences of any two dimensions at each storage moment; the data fluctuation difference of any two historical construction site data sequences at each storage moment is adjusted by the correlation weight, so as to obtain the data correlation of the overall construction site data sequences of any two dimensions; since the data discreteness of the overall construction site data sequence of a certain dimension may affect the data stability of the overall construction site data sequence of another dimension, the data stability of the overall construction site data sequence of each dimension itself is obtained; and since the latest construction site data sequence will have a certain influence on the overall construction site data sequence of all dimensions, thereby affecting the original clustering clusters of all historical construction site data, the overall influence of the latest construction site data sequence of all dimensions on the overall construction site data sequence of all dimensions is obtained. The final cluster of the latest construction site data sequence and the overall construction site data sequence of all dimensions is obtained by using the overall influence degree; all the latest construction site data are compressed according to the clustering result. The present invention takes into account the correlation between historical construction site data of different dimensions and the influence of the latest construction site data on historical construction site data, obtains clusters that accurately reflect the distribution of similar data, and then obtains accurate data storage results. BRIEF DESCRIPTION OF THE DRAWINGS

[0039] In order to more clearly illustrate the technical solutions and advantages in the embodiments of the present invention or the prior art, the drawings required for use in the embodiments or the prior art descriptions are 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 1A flow chart of a data storage method for an intelligent construction site management system provided by one embodiment of the present invention. 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 a data storage method for an intelligent construction site management system proposed by the present invention, its specific implementation method, structure, features and effects, in conjunction 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 describes in detail a specific scheme of a data storage method for an intelligent construction site management system provided by the present invention in conjunction with the accompanying drawings.

[0044] See also Figure 1 , which shows a flow chart of a data storage method for an intelligent construction site management system provided by an embodiment of the present invention, the method comprising:

[0045] Step S1: Obtain the latest construction site data sequence of all dimensions to be stored, and the historical construction site data sequence of each dimension at each storage moment in a preset historical period; the historical construction site data sequence of each dimension at all storage moments constitutes the overall construction site data sequence of each dimension.

[0046] The embodiment of the present invention provides a data storage method for an intelligent construction site management system. For data storage in a construction site management system, the construction site management data in the construction site management system is first obtained. Since the construction site management data includes multiple dimensions such as personnel data, equipment data, material data, progress data, environmental data, and safety data, the construction site management data of all dimensions is obtained. Since in actual situations, the construction site management system stores data once every time a certain amount of historical construction site data is collected, the certain amount of historical construction site data collected each time is composed of a historical construction site data sequence at each storage moment. Because the newly collected construction site management data needs to be stored later, in an embodiment of the present invention, the historical construction site data sequence of all dimensions within each storage moment and the latest construction site data sequence to be stored are obtained, and the historical construction site data sequence of each dimension at all storage moments within a preset historical period constitutes the overall construction site data sequence of each dimension.

[0047] In one embodiment of the present invention, since the number of dimensions and the amount of data of the historical construction site data and the latest construction site data in the construction site management system are very large, direct subsequent analysis may lead to sample imbalance and deviation during the subsequent clustering of historical construction site data of different dimensions. Therefore, the acquired text data is converted into a feature vector through the TF-IDF algorithm, all acquired data is regularized, and the order of magnitude of the multidimensional data is uniformly converted into a unit norm for subsequent processing.

[0048] In one embodiment of the present invention, the historical period is set to 1 day. It should be noted that the historical period can be set by the implementer and is not limited here.

[0049] At this point, the historical construction site data sequence of all dimensions at each storage moment and the latest construction site data sequence to be stored are obtained.

[0050] Step S2: According to the data discreteness of the historical construction site data sequences in any two dimensions, the correlation weights of the historical construction site data sequences in any two dimensions at each storage moment are obtained; according to the data fluctuation differences and correlation weights of the historical construction site data sequences in any two dimensions at each storage moment, the data correlation of the construction site data sequences in any two dimensions is obtained.

[0051] There may be certain correlations between historical construction site data of different dimensions. For example, the more people there are on the construction site, the faster the project progresses. The correlations between historical construction site data of different dimensions will affect the clustering division of the overall construction site data sequence of all dimensions, and uneven clustering may occur. Therefore, in an embodiment of the present invention, it is necessary to obtain the data correlation of the overall construction site data sequence of any two dimensions at each storage moment.

[0052] The historical construction site data sequences at different storage moments may change to a certain extent as the acquisition time changes, so it is necessary to analyze the historical construction site data sequences at each storage moment separately. For the historical construction site data sequences at different storage moments, the data discreteness of the historical construction site data sequences in each dimension reflects its stability, and the stronger the stability of the historical construction site data sequences, the more effective it is to calculate the correlation between the historical construction site data sequences of this dimension and the historical construction site data sequences of other dimensions. Therefore, in an embodiment of the present invention, the correlation weights of the historical construction site data sequences of any two dimensions in each storage moment are obtained according to the data discreteness of the historical construction site data sequences of any two dimensions.

[0053] Preferably, in one embodiment of the present invention, the method for obtaining the degree of data dispersion includes:

[0054] In each dimension of the historical construction site data sequence, the difference between the data value of each data point and the average value of all data points in the historical construction site data sequence of each dimension is accumulated and summed to obtain the data discreteness of the historical construction site data sequence of each dimension at each storage moment. In each dimension of the historical construction site data sequence, the greater the difference between the data value of each data point and the average value of all data points, the more discrete each historical construction site data is relative to the historical construction site data sequence as a whole. In one embodiment of the present invention, the formula for calculating the data discreteness is as follows:

[0055]

[0056] In the formula, Indicates The degree of data dispersion of the historical construction site data series in dimensionality; Indicates The first storage time The number of data in the historical construction site data series of each dimension; Indicates The first storage time The historical construction site data series of dimensions The data value of the data point; Indicates The data mean in the historical construction site data series of dimensions.

[0057] In the calculation formula of data dispersion, The greater the difference between each data point and the mean of all data points in the historical construction site data series of the dimension, the greater the difference between each data point and the mean of all data points. The more discrete the historical construction site data series of each dimension is as a whole, the greater the sum of the differences between each data point and the data mean of all data points is, indicating that the The greater the data discreteness of the historical construction site data series in each dimension.

[0058] Preferably, in one embodiment of the present invention, the method for obtaining the relevance weight includes:

[0059] The difference in the initial discreteness of any two dimensions of historical construction site data is negatively correlated and normalized to obtain the correlation weight of any two dimensions of historical construction site data sequence at each storage moment. In one embodiment of the present invention, the correlation weight calculation formula is as follows:

[0060]

[0061] In the formula, Indicates The first storage time The historical construction site data series of the first dimension The correlation weights between the historical construction site data series in different dimensions; Indicates The degree of data dispersion of the historical construction site data series in dimensionality; Indicates The degree of data dispersion of the historical construction site data series in dimensionality; Represents a normalization function. In one embodiment of the present invention, a sigmoid activation function may be used, and the normalization functions used below all use sigmoid activation functions. It should be noted that the sigmoid activation function is a technical means well known to those skilled in the art, and is not limited or elaborated herein.

[0062] In the calculation formula of correlation weight, the smaller the difference in data dispersion between two historical construction site data series, the more The historical construction site data series of the first dimension The historical construction site data series of the dimension The more consistent the data distribution is within a storage moment, the The first storage time The historical construction site data series of the first dimension The higher the correlation validity between the historical construction site data sequences in each dimension, the higher the correlation weight.

[0063] Preferably, in one embodiment of the present invention, the method for obtaining the difference in data fluctuation includes:

[0064] Fit each dimensional historical construction site data sequence in each storage moment into a historical construction site data curve; use the DTW matching algorithm to pair any two dimensional historical construction site data curves in each storage moment, and obtain all data matching pairs of any two dimensional historical construction site data sequences in each storage moment; accumulate and sum the slope differences between two data points in all data matching pairs at each storage moment, and obtain the data fluctuation difference of any two dimensional historical construction site data sequences in each storage moment. The greater the difference in data fluctuation, the smaller the correlation between any two dimensional historical construction site data sequences. In one embodiment of the present invention, the DTW matching algorithm is a technical means well known to those skilled in the art, and will not be described in detail here.

[0065] Preferably, in one embodiment of the present invention, the method for obtaining data relevance includes:

[0066] Under any two dimensions, the product of the correlation weight between the historical construction site data sequences at each storage moment and the difference in data fluctuation is obtained as the first product, and the cumulative sum of the first products of all storage moments is negatively correlated and normalized to obtain the data correlation between the overall construction site data sequences in any two dimensions. In one embodiment of the present invention, the data correlation calculation formula is as follows:

[0067]

[0068] In the formula, Indicates The overall construction site data series of the first dimension and the The data correlation between the overall construction site data series in different dimensions; Indicates the number of stored moments in the preset historical period; Indicates The first storage time The historical construction site data series of the first dimension The correlation weights between the historical construction site data series in different dimensions; Indicates The first storage time The historical construction site data series of the first dimension The number of data matching pairs between historical construction site data series in dimensions; express The first storage time The historical construction site data series of the dimension is The slope of the tangent line of the data points in the data matching pair; Indicates The first storage time The historical construction site data series of the dimension is The slope of the tangent line of the data points in the data matching pair; Indicates The first storage time The historical construction site data series of the first dimension Differences in data fluctuations between historical construction site data series in different dimensions; Represents an exponential function with a natural constant as base.

[0069] In the data correlation calculation formula, The historical construction site data series of the first dimension The smaller the difference in the tangent slope between the two data points in each data matching pair between the historical construction site data series of the dimension, the closer the data fluctuations between each data matching pair are. The first storage time The historical construction site data series of the first dimension The data fluctuation difference of each data matching pair between the historical construction site data series of the dimensions is added to obtain the The first storage time The historical construction site data series of the first dimension The data fluctuations between the historical construction site data series of the dimensions are different, and the greater the difference in data fluctuations at this time; if at this time The first storage time The historical construction site data series of the first dimension The greater the correlation weight between the historical construction site data series of the first dimension, the higher the correlation validity between the historical construction site data series of the second dimension. The first storage time The historical construction site data series of the first dimension The higher the contribution of the data fluctuation difference between the historical construction site data sequences of two dimensions to the correlation between the construction site data sequences of two dimensions, the greater the data correlation between the historical construction site data of any two dimensions obtained by adding up the product of the correlation weights of the historical construction site data sequences of any two dimensions at the storage moment and the data fluctuation difference.

[0070] Step S3: According to the data correlation between the overall construction site data sequence of each dimension and the overall construction site data sequence of each other dimension, and the data discreteness of the overall construction site data sequence of each dimension, the data stability of the overall construction site data sequence of each dimension is obtained; according to the data differential characteristics between the latest construction site data sequence and the overall construction site data sequence of the corresponding dimension, and the data stability of the overall construction site data sequence of each dimension, the overall correlation between the latest construction site data sequence of all dimensions and the overall construction site data sequence of all dimensions is obtained; according to the data scale difference and overall correlation between the latest construction site data sequence of all dimensions and the overall construction site data sequence of all dimensions, the overall influence of the latest construction site data sequence of all dimensions on the overall construction site data sequence of all dimensions is obtained.

[0071] Since historical construction site data of different dimensions may have a certain correlation, the data discreteness of the historical construction site data of a certain dimension may affect the stability of the historical construction site data of another dimension. In order to prevent the historical construction site data of each dimension from being affected by the historical construction site data of other dimensions, in an embodiment of the present invention, the data stability of the construction site data sequence of each dimension is obtained based on the data correlation between the construction site data sequence of each dimension and the overall construction site data sequence of each other dimension, as well as the data discreteness of the construction site data sequence of each dimension.

[0072] Preferably, in one embodiment of the present invention, the method for obtaining the degree of data stability includes:

[0073] Select any one dimension as the target dimension; use the DTW matching algorithm to obtain all matching site data of all matching pairs on the overall site data sequence between each other dimension and the target dimension.

[0074]

[0075]

[0076] In the formula, represents the target dimension; Indicates the data stability of the overall construction site data series of the target dimension; Indicates the number of data in the overall construction site data sequence of the target dimension; Indicates the number of other dimensions; Indicates the target dimension and The data correlation between the overall construction site data series of other dimensions; Indicates The overall construction site data sequence of other dimensions is the overall construction site data sequence of the target dimension. The degree of stationary correlation of the data points; The first The data value of the data point; Represents the average value of all data points in the overall construction site data series of the target dimension; Indicates In the overall construction site data sequence of other dimensions, the first The number of matching site data for the matching pairs of data points; Indicates In the overall construction site data sequence of other dimensions, the first The data point is the first of the matching pairs Data values ​​that match the construction site data; Indicates The average value of all data points in the overall construction site data series of other dimensions; represents the normalization function; Represents an exponential function with a natural constant as base.

[0077] For The construction site data sequences of other dimensions are related to the overall construction site data sequence of the target dimension. In terms of the stationary correlation of data points, if The data value of the matching construction site data is The smaller the difference in the mean of the overall construction site data series of other dimensions, the smaller the difference in the mean of the overall construction site data series of other dimensions. The matching site data is compared with the The more stable the overall construction site data sequence is, the more the inverse of the discrete degree of all matching construction site data is averaged. The overall construction site data sequence of the target dimension can be obtained The degree of stationary correlation of the matching site data of each data point.

[0078] In the data stability calculation formula, for each data point in the construction site data sequence of the target dimension, the product of the stability correlation degree of each data in the construction site data sequence of the target dimension in other dimensions and the correlation between the two dimensions is calculated as the degree of influence of each data point in the target dimension. The greater the correlation and the greater the stability correlation degree of the matching construction site data in other dimensions, the more likely the data fluctuation of each data point in the target dimension is to be affected by the historical construction site data in other dimensions, and the greater the degree of influence of each data point in the target dimension; the degree of influence of each data point in the target dimension is added up and summed. The larger the sum, the smaller the data stability of the overall construction site data sequence of the target dimension, and the data stability reflects the impact of other dimensions on the target dimension.

[0079] In actual situations, when storing historical construction site data, data with similar distributions are usually clustered and divided, and then each cluster is compressed and stored. When storing the latest construction site data sequence to be stored, the latest construction site data sequence should be stored on the basis of the stored historical construction site data, that is, each newly collected latest construction site data sequence cannot destroy the division of the historical construction site data clusters. Since the scale difference between the newly collected latest construction site data sequence and all historical construction site data will have a greater impact on the historical construction site data clusters, it is necessary to consider the impact of the latest construction site data sequence to be stored on all historical construction site data. Therefore, in the embodiment of the present invention, the overall impact of the latest construction site data sequence on the overall construction site data sequence of all dimensions is obtained.

[0080] In the process of clustering the latest construction site data sequence, it is necessary to consider the difference between the latest construction site data sequence and the overall construction site data sequence of the corresponding dimension. The larger the difference, the greater the influence of the latest construction site data sequence on the overall construction site data sequence. In addition, the overall construction site data sequence of each dimension may be affected by the overall construction site data sequence of other dimensions. Therefore, when considering the overall correlation between the latest construction site data sequence and the construction site data sequence of the corresponding dimension, it is necessary to analyze the data stationarity of the overall construction site data sequence of each dimension. Therefore, in an embodiment of the present invention, the overall correlation between the latest construction site data sequence of all dimensions and the overall construction site data sequence of all dimensions is obtained based on the data differential characteristics between the latest construction site data sequence and the overall construction site data sequence of the corresponding dimension, as well as the data stationarity of the overall construction site data sequence of each dimension.

[0081] Preferably, in one embodiment of the present invention, the method for obtaining the overall correlation degree includes:

[0082] In each latest construction site data sequence, the minimum difference between each data point and the corresponding dimension construction site data sequence is accumulated and summed to obtain the data difference degree between each latest construction site data sequence and each dimension construction site data sequence; the product of the data stability degree and the data difference degree of the overall construction site data sequence of each dimension in the preset historical period is accumulated and summed to obtain the overall correlation degree between the latest construction site data sequence of all dimensions and the overall construction site data sequence of all dimensions. In one embodiment of the present invention, the overall correlation degree calculation formula is as follows:

[0083]

[0084] In the formula, Indicates the overall correlation between the latest construction site data series of all dimensions and the overall construction site data series of all dimensions; The number of dimensions representing the overall construction site data sequence; Indicates The data stability of the overall construction site data series in each dimension; Indicates The number of data in the latest construction site data series; Indicates The latest construction site data series The minimum difference between the individual data and the overall construction site data series of the corresponding dimension.

[0085] In the overall correlation calculation formula, Through the The minimum difference between each data of the latest construction site data sequence and the construction site data sequences of all dimensions reflects the impact of the latest construction site data on all historical construction site data. The larger the overall minimum difference between the latest construction site data sequence and the construction site data sequences of all dimensions, the more special the latest construction site data sequence is for the overall construction site data sequence of each dimension, and the more it is necessary to analyze the overall construction site data sequence of each dimension. At this time, if the overall stability of the overall construction site data sequence of each dimension itself is greater, it means that the correlation degree of the latest construction site data sequence to the overall construction site data sequence of the corresponding dimension is greater. The correlation degrees are accumulated and summed. At this time, the overall correlation degree between the latest construction site data sequences of all dimensions and the overall construction site data sequences of all dimensions is greater.

[0086] Since the difference between the data scale of the latest construction site data sequence and the data scale of the overall construction site data sequence of all dimensions also affects the subsequent clustering of the latest construction site data sequence, the larger the data scale of the latest construction site data sequence is, the greater the impact of the latest construction site data sequence on the construction site data sequences of all dimensions is. Therefore, in an embodiment of the present invention, the overall impact of the latest construction site data sequence on the overall construction site data sequences of all dimensions is obtained based on the data scale difference and overall correlation degree between the latest construction site data sequence of all dimensions and the overall construction site data sequence of all dimensions.

[0087] Preferably, in one embodiment of the present invention, the method for obtaining the data scale difference includes:

[0088] The ratio between the number of data in the latest construction site data sequence of all dimensions and the total number of data in the overall construction site data sequence of all dimensions is taken as the data scale difference between the latest construction site data sequence and the construction site data sequences of all dimensions. The closer the ratio is to 1, the closer the data scale between the latest construction site data sequence and the overall construction site data sequence of all dimensions is, and the greater the impact of the latest construction site data sequence on the overall construction site data sequence of all dimensions is; when the ratio is greater than 1, the data scale of the latest construction site data sequence is greater than the overall construction site data sequence of all dimensions, and the greater the impact of the latest construction site data sequence on the overall construction site data sequence of all dimensions is.

[0089] Preferably, in one embodiment of the present invention, the method for obtaining the overall impact degree includes:

[0090] The product between the data scale difference and the overall correlation degree is normalized to obtain the overall impact degree of the latest construction site data sequence on the overall construction site data sequence of all dimensions. In one embodiment of the present invention, the overall impact degree calculation formula is as follows:

[0091]

[0092] In the formula, Indicates the overall impact of the latest construction site data series of all dimensions on the overall construction site data series of all dimensions; The number of data representing the latest construction site data series in all dimensions; Represents the total number of data in the overall construction site data series of all dimensions; Indicates the overall correlation between the latest construction site data series of all dimensions and the overall construction site data series of all dimensions; Represents the normalization function.

[0093] In the overall impact calculation formula, the greater the impact of the latest construction site data sequence of all dimensions on the overall construction site data sequence of all dimensions, and the greater the data scale difference between all the latest construction site data sequences and the overall construction site data sequences of all dimensions, it means that when clustering all the latest construction site data sequences, the greater the overall impact of all the latest construction site data sequences on the construction site data sequences of all dimensions.

[0094] At this point, the overall impact of the latest construction site data sequence of all dimensions on the construction site data sequences of all dimensions is obtained.

[0095] Step S4: obtaining the final cluster of the latest construction site data sequence and the overall construction site data sequence of all dimensions according to the overall impact degree; compressing and storing all the latest construction site data according to the final cluster.

[0096] When clustering the latest construction site data sequence, the latest construction site data sequence may be divided into the original cluster of all historical construction site data, or the latest construction site data sequence may be re-clustered, wherein the specific clustering situation needs to be determined according to the overall impact degree obtained in step S3. Therefore, in the embodiment of the present invention, the final cluster of the latest construction site data sequence and all dimensional construction site data sequences as a whole is obtained according to the overall impact degree.

[0097] Preferably, in one embodiment of the present invention, clustering the latest construction site data sequence according to the overall impact degree includes:

[0098] All historical construction site data in a preset historical period are clustered by a connected graph dynamic splitting clustering algorithm to obtain an original clustering cluster; a first threshold is preset, and the latest construction site data sequence with an overall impact less than the first threshold is divided into the original clustering cluster by an incremental clustering algorithm to obtain a final clustering cluster; the latest construction site data sequence with an overall impact greater than the first threshold is directly clustered to obtain all the latest clustering clusters of the latest construction site data sequence; the latest clustering cluster and the original clustering cluster as a whole are taken as the final clustering cluster. In one embodiment of the present invention, the first threshold is set to 0.6. It should be noted that the connected graph dynamic splitting clustering algorithm and the incremental clustering algorithm are both technical means well known to those skilled in the art, and the first threshold setting can be set by the implementer, which is not limited or elaborated here.

[0099] In one embodiment of the present invention, data classified into the same cluster class may have a common type of data distribution, a large amount of similar repeated data may be compressed and stored in an encoded form, and LZ77 dictionary compression may have a strong compression effect on repeated data, by compressing and storing all data in the cluster using LZ77 compression. It should be noted that LZ77 dictionary is a technical means well known to those skilled in the art, and is not limited or elaborated herein.

[0100] In summary, the present invention obtains the historical construction site data sequence at each storage moment in the historical period and the latest construction site data sequence to be stored; since the correlation between construction site data sequences of different dimensions will affect the clustering division of construction site data sequences of all dimensions, and the historical construction site data sequences of different storage moments may change to a certain extent with the change of acquisition time, the correlation weight of the historical construction site data sequences of any two dimensions at each storage moment is obtained according to the data discreteness of the historical construction site data sequences of any two dimensions, reflecting the stability of the data of the historical construction site data sequences of any two dimensions at each storage moment; the data fluctuation difference of any two historical construction site data sequences at each storage moment is adjusted by the correlation weight, and the data correlation of any two dimensional construction site data sequences is obtained; since the data discreteness of a construction site data sequence of a certain dimension may affect the stability of the construction site data sequence of another dimension, the data stability of the construction site data sequence of each dimension itself is obtained; and since the latest construction site data sequence will have a certain impact on the construction site data sequences of all dimensions, and thus affect the original clustering clusters of all historical construction site data, the overall impact of the latest construction site data sequence on the historical construction site data is obtained. The overall impact degree is used to obtain the final clustering cluster of the latest construction site data sequence and the construction site data sequence of all dimensions; all the latest construction site data are compressed according to the clustering result. The present invention takes into account the correlation between historical construction site data of different dimensions and the impact of the latest construction site data on historical construction site data, obtains clustering clusters that accurately reflect the distribution of similar data, and then obtains accurate data storage results.

[0101] It should be noted that the sequence of the above embodiments of the present invention is only for description and does not represent the advantages and disadvantages of the embodiments. The processes depicted in the accompanying drawings do not necessarily require the specific order or continuous order shown to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.

[0102] 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 storage method for an intelligent construction site management system, characterized in that: The method comprises: Obtain the latest construction site data sequence of all dimensions to be stored, and the historical construction site data sequence of each dimension at each storage moment in a preset historical period; the historical construction site data sequence of each dimension at all storage moments constitutes the overall construction site data sequence of each dimension; According to the data discreteness of the historical construction site data sequences of any two dimensions, the correlation weight of the historical construction site data sequences of any two dimensions at each storage moment is obtained; according to the data fluctuation difference of the historical construction site data sequences of any two dimensions at each storage moment and the correlation weight, the data correlation of the construction site data sequences of any two dimensions is obtained; According to the data correlation between the overall construction site data sequence of each dimension and the overall construction site data sequence of each other dimension, and the data discreteness of the overall construction site data sequence of each dimension, the data stability of the overall construction site data sequence of each dimension is obtained; according to the data difference characteristics between the latest construction site data sequence and the overall construction site data sequence of the corresponding dimension, and the data stability of the overall construction site data sequence of each dimension, the overall correlation between the latest construction site data sequence of all dimensions and the overall construction site data sequence of all dimensions is obtained; according to the data scale difference and the overall correlation between the latest construction site data sequence of all dimensions and the overall construction site data sequence of all dimensions, the overall influence of the latest construction site data sequence of all dimensions on the overall construction site data sequence of all dimensions is obtained; According to the overall impact degree, a final cluster of the latest construction site data sequence and the overall construction site data sequence of all dimensions is obtained; and all the latest construction site data are compressed and stored according to the final cluster.

2. A data storage method for an intelligent construction site management system according to claim 1, characterized in that: The method for obtaining the degree of data dispersion includes: In each dimension of the historical construction site data sequence, the difference between the data value of each data point and the average value of all data points in the historical construction site data sequence of each dimension is accumulated and summed to obtain the data discreteness of the historical construction site data sequence of each dimension at each storage moment.

3. A data storage method for an intelligent construction site management system according to claim 1, characterized in that: The method for obtaining the relevance weight includes: The difference in the data discreteness of the historical construction site data sequence in any two dimensions at each storage moment is negatively correlated and normalized to obtain the correlation weight of the historical construction site data sequence in any two dimensions at each storage moment.

4. A data storage method for an intelligent construction site management system according to claim 1, characterized in that: The method for obtaining the difference in data fluctuations includes: Fitting the historical construction site data sequence of each dimension at each storage moment into a historical construction site data curve; Pair any two-dimensional historical construction site data curves at each storage moment to obtain all data matching pairs of any two-dimensional historical construction site data sequences at each storage moment; The differences in the tangent slopes between the two data points in all data matching pairs on the historical construction site data curves of any two dimensions at each storage moment are accumulated and summed to obtain the differences in data fluctuations of the historical construction site data sequences of any two dimensions at each storage moment.

5. A data storage method for an intelligent construction site management system according to claim 1, characterized in that: The method for obtaining the data association includes: Under any two dimensions, the product of the correlation weight and the data fluctuation difference between the historical construction site data sequences at each storage moment is obtained as the first product, and the cumulative sum of the first products of all storage moments is negatively correlated and normalized to obtain the data correlation between the overall construction site data sequences in any two dimensions.

6. A data storage method for an intelligent construction site management system according to claim 1, characterized in that: The method for obtaining the data stability comprises: Select any one dimension as the target dimension; obtain all matching construction site data of all matching pairs on the overall construction site data sequence between each other dimension and the target dimension; The data stability is obtained according to the data stability calculation formula, and the data stability calculation formula is as follows: In the formula, represents the target dimension; Indicates the data stability of the overall construction site data series of the target dimension; Indicates the number of data in the overall construction site data sequence of the target dimension; Indicates the number of other dimensions; Indicates the target dimension and The data correlation between the overall construction site data series of other dimensions; Indicates The overall construction site data sequence of other dimensions is the overall construction site data sequence of the target dimension. The degree of stationary correlation of the data points; The first The data value of the data point; Represents the average value of all data points in the overall construction site data series of the target dimension; Indicates In the overall construction site data sequence of other dimensions, the first The number of matching site data for the matching pairs of data points; Indicates In the overall construction site data sequence of other dimensions, the first The data point in the matching pair Data values ​​that match the construction site data; Indicates The average value of all data points in the overall construction site data series of other dimensions; represents the normalization function; Represents an exponential function with a natural constant as base.

7. A data storage method for an intelligent construction site management system according to claim 1, characterized in that: The method for obtaining the overall correlation degree includes: In each latest construction site data sequence, the minimum difference between each data point and the corresponding dimension construction site data sequence is accumulated and summed to obtain the degree of data difference between each latest construction site data sequence and each dimension construction site data sequence; The product of the data stationarity degree and the data difference degree of the overall construction site data sequence of each dimension is accumulated and summed to obtain the overall correlation degree between the latest construction site data sequence of all dimensions and the overall construction site data sequence of all dimensions.

8. A data storage method for an intelligent construction site management system according to claim 1, characterized in that: The method for obtaining the data scale difference includes: The ratio between the number of data in the latest construction site data sequence of all dimensions and the total number of data in the overall construction site data sequence of all dimensions is taken as the data scale difference between the latest construction site data sequence of all dimensions and the construction site data sequence of all dimensions.

9. A data storage method for an intelligent construction site management system according to claim 1, characterized in that: The method for obtaining the overall impact degree includes: The product of the data scale difference and the overall correlation degree is normalized to obtain the overall influence of the latest construction site data sequence of all dimensions on the overall construction site data sequence of all dimensions.

10. A data storage method for an intelligent construction site management system according to claim 1, characterized in that: According to the overall impact, the final clustering of the latest construction site data series and the construction site data series of all dimensions is obtained, including: Clustering all historical construction site data in a preset historical period to obtain original clusters; A first threshold is preset, and the latest construction site data sequence with an overall impact less than the first threshold is divided into the original clusters to obtain the final clusters; The latest construction site data sequence with an overall impact degree greater than the first threshold is directly clustered to obtain all the latest clustering clusters of the latest construction site data sequence; and the entirety of the latest clustering cluster and the original clustering cluster is taken as the final clustering cluster.