Current data storage system based on Internet

By designing an Internet-based current data storage system, using a combination solution of acquisition cache unit, reception cache unit and data transmission module, the problems of current data transmission interruption and retransmission congestion are solved, and reliable data transmission and efficient storage are achieved.

CN120201040AInactive Publication Date: 2025-06-24李长平
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510346960.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-03-24
Publication Date
2025-06-24
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

During the process of current data being transmitted from the acquisition end to the storage end, due to instability of network signals and interference from transmission lines, data transmission may be temporarily interrupted, resulting in data loss, and network congestion is easily caused when retransmitting data, affecting data transmission efficiency.

Method used

An Internet-based current data storage system is designed, including a data acquisition module, a data transmission module and a cloud storage platform. The acquisition cache unit stores current data when the data transmission is interrupted and retransmits it after the network is restored; the receiving cache unit performs data proofreading and storing, and the wrong data is retransmitted sequentially; the data transmission module slices and marks the big data, and starts from the wrong position when retransmitting, avoiding unnecessary retransmission.

Benefits of technology

It effectively prevents data loss, improves the accuracy and efficiency of data transmission, avoids network congestion, and ensures the stability and performance of the system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120201040A_ABST
    Figure CN120201040A_ABST
Patent Text Reader

Abstract

The invention discloses an internet-based current data storage system, which comprises a data acquisition module, a data transmission module and a cloud storage platform, and is characterized in that the data transmission module is used for transmitting current data acquired by the data acquisition module to the cloud storage platform; relates to the technical field of data storage, through the arrangement of an acquisition cache unit, under the condition that a network is interrupted, acquired current data are stored in the acquisition cache unit and can be retransmitted after the network returns to normal, so that data loss is effectively prevented, the arrangement of the acquisition cache unit is received, the current data are continuously checked, and the accuracy of data transmission is improved. After the data error is detected, the unmarked current data is retransmitted, and the current data exceeding the data size threshold value is retransmitted in sequence from the marked error current data position, so that the error data can be corrected, the current data is retransmitted in sequence from the marked error current data position, and unnecessary repeated transmission can be avoided. And the data transmission efficiency and accuracy are improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of data storage, and particularly to an Internet-based current data storage system. Background Art

[0002] Current data refers to various measurement and recording information about current. In physics and electrical engineering, current refers to the amount of charge passing through the cross-section of a conductor per unit time, which is the basic form of electric energy transfer and conversion.

[0003] Currently, during the process of data transmission from the acquisition end to the storage end, due to unstable network signals and interference in the transmission line, data transmission may be temporarily interrupted. When the network is interrupted, the current data being transmitted is at risk of loss. For a power system that relies on accurate current data for real-time monitoring and analysis, this may cause a series of problems, such as being unable to accurately judge the power load situation and affecting the stability of power supply; when data errors occur, how to retransmit is a problem. If direct retransmission is carried out for all data, when the number of retransmissions is large, a large number of retransmitted data flooding into the normal current data transmission network at the same time will cause congestion and affect the efficiency of data transmission. Summary of the Invention

[0004] To solve the technical problems in the background art, the present invention proposes an Internet-based current data storage system.

[0005] The Internet-based current data storage system proposed by the present invention includes: a data acquisition module, a data transmission module, and a cloud storage platform. The data transmission module is used to transmit the current data collected by the data acquisition module to the cloud storage platform;

[0006] Wherein,

[0007] The data acquisition module includes:

[0008] A sensor unit: including a current sensor for measuring current data and converting the physical quantity of current into processable electrical signal data;

[0009] An acquisition cache unit: when the data transmission of the data transmission module is interrupted, the acquisition cache unit stores the current data, and when the data transmission resumes, the current data in the acquisition cache unit is retransmitted;

[0010] The cloud storage platform includes:

[0011] A receiving cache unit: used to receive the current data from the data transmission module and perform data verification. When the data transmission is error-free, the current data is transmitted to the storage unit;

[0012] Storage unit: Store the current data after being verified by the receiving buffer unit.

[0013] Preferably, in the acquisition buffer unit and the receiving buffer unit, after one current data is transmitted out, the current data is continuously retained, and timing starts from when the current data is transmitted out. After reaching the set time threshold, the current data is deleted from the acquisition buffer unit or the receiving buffer unit.

[0014] Preferably, in the data transmission module, a data size threshold is set. When data is transmitted, the current data exceeding the data size threshold is fragmented, and the current data exceeding the data size threshold is divided into multiple parts, and each part of the fragmented current data is marked.

[0015] Preferably, in the receiving buffer unit, when a data transmission error occurs, for the unmarked current data, the unmarked current data needs to be completely retransmitted through the data transmission module, and for the current data exceeding the data size threshold, it is retransmitted in order.

[0016] Preferably, the retransmission in order is as follows: For a current data exceeding the data size threshold, for each part of the marked current data after fragmentation, starting from the position of the marked error current data, all the subsequent marked current data is retransmitted through the data transmission module; that is, the previously transmitted marked current data is not retransmitted.

[0017] Preferably, the cloud storage platform further includes:

[0018] Retransmission setting unit: When a data transmission error or interruption occurs, count the unmarked current data that needs to be retransmitted through the data transmission module once, and count each part of the marked current data that needs to be retransmitted once. When the sum of all counts reaches the set count threshold, enter the interval retransmission mode.

[0019] Preferably, the interval retransmission mode is: Set a retransmission time interval. For all the current data that needs to be retransmitted, it is not retransmitted immediately. After the previous current data that needs to be retransmitted is transmitted, the next current data that needs to be retransmitted enters the transmission waiting state, and after reaching the set time interval, it is retransmitted.

[0020] Preferably, the cloud storage platform further includes:

[0021] Current value prediction unit: Analyze the collected current data and predict the subsequent current situation for predicting the current value at a future time point.

[0022] Preferably, the current value prediction unit predicts the current value at a future time point as follows:

[0023] Setting: Assume that a historical time series of current data has been collected where I t represents the current value at the t-th time point, and n is the length of the historical data;

[0024] The time interval Δt is fixed, and the number of time points to be predicted subsequently is m;

[0025] Perform a stationarity test on the collected current data using the unit root test method. If the data is not stationary, perform differencing;

[0026] Perform a stationarity test on the differenced data again until the data is stationary;

[0027] Then perform standardization on the stationary data so that its mean is 0 and the standard deviation is 1;

[0028] Calculate the mean of the data

[0029] Standard deviation

[0030] The standardized current data

[0031] Use the autoregressive moving average model for prediction. For predicting the current value at the (n + 1)-th future time point, the predicted standardized value is;

[0032]

[0033] where, assume ∈ n+1 is 0;

[0034] For predicting the current value at the (n + 1)-th future time point Convert the predicted standardized value back to the original current value scale, that is

[0035] An Internet-based method for a current data storage system, comprising the following steps:

[0036] Install a current sensor at the device or circuit node. The current sensor measures the current value to obtain current data;

[0037] Transmit the measured current data to the cloud storage platform;

[0038] When the transmission of current data is interrupted, the current value measured by the current sensor is stored in the acquisition buffer unit. When the data transmission resumes, the current data in the acquisition buffer unit is re-transmitted;

[0039] In the acquisition buffer unit, after a current data is transmitted, the current data is retained, and timing starts after the current data is transmitted. After reaching the set time threshold, the current data is deleted from the acquisition buffer unit;

[0040] When data is transmitted, a threshold for the size of the current data is set. When the current data is transmitted, the current data exceeding the threshold for the size of the current data is fragmented. The current data exceeding the threshold for the size of the current data is divided into multiple parts, and each part of the fragmented current data is marked;

[0041] After receiving the current data, the cloud storage platform first stores the current data in the receiving buffer unit;

[0042] The receiving buffer unit performs data verification. When the data transmission is error-free, the current data is transmitted to the storage unit; when an error occurs in the data transmission, for the unmarked current data, it is completely retransmitted. For a current data exceeding the threshold for the size of the data, for the marked current data after fragmentation, starting from the marked error current data, the subsequent current data is retransmitted in sequence, and the marked current data before the marked error current data that has been sent is not retransmitted; after retransmission, data verification continues. When the data transmission is error-free, the current data is transmitted to the storage unit;

[0043] In the receiving buffer unit, after a current data is transmitted, the current data is retained, and timing starts after the current data is transmitted. After reaching the set time threshold, the current data is deleted from the receiving buffer unit;

[0044] When an error or interruption occurs in the data transmission, the unmarked current data that needs to be retransmitted through the data transmission module is counted once, and each part of the marked current data that needs to be retransmitted is counted once. When the sum of all counts reaches the set count threshold, the interval retransmission mode is entered.

[0045] The interval retransmission mode is as follows: a retransmission time interval is set. For all the current data that needs to be retransmitted, it is not immediately retransmitted. After the previous current data that needs to be retransmitted is transmitted, the next current data that needs to be retransmitted enters the transmission waiting state, and after reaching the set time interval, it is retransmitted;

[0046] The current data in the storage unit is analyzed, and the autoregressive moving average model is used to predict the current value at a future time point.

[0047] In the present invention, the proposed current data storage system based on the Internet has the following beneficial technical effects:

[0048] 1. With the setting of the acquisition buffer unit, in the case of network interruption, the acquired current data can be stored in the acquisition buffer unit first and retransmitted after the network returns to normal, effectively preventing data loss;

[0049] 2. When the data processing speed of the reception buffer unit does not match the reception speed, the overflow current data can be stored in the acquisition buffer unit first, preventing the system from crashing due to the data processing speed of the reception buffer unit not keeping up with the reception speed, and maintaining the stability of the system;

[0050] 3. With the setting of the reception buffer unit, the current data is further verified, improving the accuracy of data transmission. After detecting data errors, the unmarked current data is completely retransmitted, and the current data exceeding the data size threshold is retransmitted sequentially starting from the marked error current data position. This can not only ensure that the error data is corrected, but also avoid unnecessary repeated transmissions starting from the marked error current data position in sequence, improving the efficiency and accuracy of data transmission.

[0051] 4. In the data transmission module, the current data exceeding the data size threshold is fragmented and marked, which enables the large - volume current data to be transmitted more efficiently in the network. The transmission time is reduced, and the overall transmission efficiency is improved. At the same time, the marking facilitates the quick identification and positioning of the current data with data errors. When retransmitting, it starts from the marked error current data position and is retransmitted in sequence, without retransmitting the entire data, further saving network resources and transmission time;

[0052] 5. In the acquisition buffer unit and the reception buffer unit, when the current data is transmitted out, it is deleted after reaching the time - set threshold. This timing - deletion strategy can reasonably manage the cache space, avoid resource occupation and system performance degradation caused by excessive cache data. Only the data that may need to be retransmitted or processed recently is retained, improving the utilization rate of the cache and enabling the system to run more efficiently.

[0053] 6. With the setting of the retransmission setting unit, when the count reaches the set threshold, it enters the interval retransmission mode, avoiding network congestion caused by a large number of retransmitted data flooding into the network simultaneously. On the premise of ensuring reliable data transmission, network resources are reasonably allocated, so that the normal transmission of current data is not affected by excessive retransmitted data. This not only improves the adaptability of the system in an unstable network environment, but also guarantees the performance and stability of the entire current data storage system, ensuring the smoothness and timeliness of data transmission.

[0054] 7. With the setting of the current value prediction unit, by pre - processing the acquired current data and then using the autoregressive moving average model to predict the current value at future time points, it is convenient to provide reference for the subsequent operation scheduling in the power system, equipment maintenance management, and rational utilization of energy.

[0055] Additional aspects and advantages of the present invention will be given in part in the following description, become apparent in part from the following description, or be learned through the practice of the present invention. BRIEF DESCRIPTION OF THE DRAWINGS

[0056] Figure 1 is a schematic block diagram of the system of the present invention;

[0057] Figure 2 is a flowchart of the method of the present invention. DETAILED DESCRIPTION OF THE EMBODIMENTS

[0058] Embodiments of the present invention will be described in detail below. Examples of the embodiments are shown in the drawings, where the same or similar reference numerals denote the same or similar elements or elements having the same or similar functions throughout. The embodiments described below by referring to the drawings are exemplary only for explaining the present invention and should not be construed as limiting the present invention.

[0059] As Figure 1 shown, an Internet-based current data storage system, an Internet-based current data storage system, includes: a data acquisition module, a data transmission module, and a cloud storage platform. The data transmission module is used to transmit the current data collected by the data acquisition module to the cloud storage platform;

[0060] Wherein,

[0061] The data acquisition module includes:

[0062] A sensor unit: including a current sensor for measuring current data and converting the physical quantity of the current into processable electrical signal data;

[0063] An acquisition cache unit: when the data transmission of the data transmission module is interrupted, the acquisition cache unit stores the current data. When the data transmission resumes, the current data in the acquisition cache unit is re-transmitted through the data transmission module;

[0064] In an alternative embodiment, the acquisition cache unit may use the flash chip inside the current sensor as a cache;

[0065] In an alternative embodiment, the acquisition cache unit may set up a transfer station for current data transmission. When transmitting current data, the current data is first transmitted to the transfer station, and a cache is installed in the transfer station. When the current data transmission is interrupted, the current data is first stored in the cache inside the transfer station;

[0066] In an alternative embodiment, in the acquisition buffer unit, after a current data in the acquisition buffer unit is transmitted, the current data is continuously retained, and timing starts after the current data is transmitted. After reaching the set time threshold, the current data is deleted from the acquisition buffer unit;

[0067] The acquisition buffer unit in the data acquisition module can store current data during data transmission interruption and re-transmit it after the transmission resumes. This effectively avoids data loss caused by transmission interruption and ensures the continuity and integrity of current data. Whether it is a temporary network failure or other unexpected situations, it can ensure that data is collected and transmitted as completely as possible, providing a reliable basis for subsequent data analysis and processing.

[0068] In an alternative embodiment, in the data transmission module, a data size threshold is set. When data is transmitted, the current data exceeding the data size threshold is fragmented, and the current data exceeding the data size threshold is divided into multiple parts, and each part of the fragmented current data is marked;

[0069] The fragmentation operation and marking of the current data exceeding the data size threshold in the data transmission module enable the current data with a large data volume to be transmitted more efficiently in the network. After fragmentation, parallel transmission can be carried out, reducing the transmission time and improving the overall transmission efficiency. At the same time, the marking facilitates quickly identifying and locating the part that needs to be re-transmitted during re-transmission, and re-transmitting in sequence starting from the marked position of the incorrect current data, without re-transmitting the entire data, further saving network resources and transmission time.

[0070] In an alternative embodiment, when performing the fragmentation operation on the current data exceeding the current data size threshold, the current data size threshold is set to X, and the size of a single fragmented data is set to The current data exceeding the current data size threshold is divided into several fragments with a size of If the last part is less than it is also generated as a single fragment;

[0071] The cloud storage platform includes:

[0072] A receiving buffer unit: used to receive the current data from the data transmission module and perform data verification. When the data transmission is error-free, the current data is transmitted to the storage unit;

[0073] The receiving buffer unit not only receives current data but also conducts data verification. Only the data that has passed the verification will be transmitted to the storage unit for storage, which greatly improves the accuracy of the stored data. Through the preliminary screening and verification of the data, errors that may occur during the transmission process can be detected and corrected in a timely manner, reducing the impact of incorrect data on subsequent applications and making the decisions and analyses based on this data more reliable.

[0074] In an optional embodiment, when the data processing speed of the receiving buffer unit is less than the receiving speed, the overflowing current data is stored in the acquisition buffer unit. When the data processing speed of the receiving buffer unit is greater than the receiving speed, the current data in the acquisition buffer unit is retransmitted through the data transmission module; this prevents the system from crashing due to the data processing speed of the receiving buffer unit not being able to keep up with the receiving speed and maintains the stability of the system.

[0075] In an optional embodiment, in the receiving buffer unit, after a current data is transmitted out, the current data is continued to be retained, and timing starts from when the current data is transmitted out. After reaching the set time threshold, the current data is deleted from the receiving buffer unit;

[0076] In the acquisition buffer unit and the receiving buffer unit, after the current data is transmitted out, it is deleted after reaching the set time threshold. This timing deletion strategy can reasonably manage the cache space, avoid resource occupation and system performance degradation caused by excessive cache data. Only the data that may need to be retransmitted or processed recently is retained, improving the utilization rate of the cache and enabling the system to operate more efficiently.

[0077] In an optional embodiment, in the receiving buffer unit, when a data transmission error occurs, for the unmarked current data, the unmarked current data needs to be completely retransmitted through the data transmission module. For the current data that exceeds the data size threshold, it is retransmitted in sequence through the data transmission module;

[0078] Retransmission in sequence means that for a current data that exceeds the data size threshold, for the sliced and marked current data, starting from the position of the marked error current data, all subsequent current data including the marked error current data is retransmitted through the data transmission module; that is, the previously transmitted marked current data is not retransmitted;

[0079] For the data with transmission errors, the receiving buffer unit has a clear retransmission strategy. Unmarked current data is fully retransmitted, and current data exceeding the data size threshold is retransmitted in order, starting from the position of the marked error current data. This refined retransmission method can not only ensure the correction of error data, but also avoid unnecessary repeated transmissions, improving the efficiency and accuracy of data transmission. At the same time, the counting and interval retransmission mode of the retransmission setting unit further optimizes the retransmission process. When the count reaches the set threshold, it enters the interval retransmission mode, avoiding excessive occupation of network resources by frequent retransmissions, and also ensuring that the data can ultimately be transmitted to the cloud storage platform for storage completely and accurately.

[0080] For example, the current data exceeding the data size threshold is divided into 10 parts after fragmentation operation, and these 10 parts of current data are marked. After the 10 parts of current data are transmitted into the receiving buffer unit, data verification is carried out. If an error occurs in the transmission of the 6th marked current data, the previously transmitted 1st - 5th marked current data will not be retransmitted. Starting from the 6th marked current data, the 6th - 10th marked current data will be retransmitted. Wait until all 10 parts of the marked current data are successfully transmitted without errors, and then transmit the 10 parts of the marked current data into the storage unit.

[0081] Since when the current data is fragmented as a whole, there may be associations between the fragments. Only retransmitting the error data may cause a break in the time series or logical relationship with the subsequent data. Therefore, retransmitting starting from the position of the marked error current data ensures data integrity and coherence, providing a more reliable data basis for subsequent applications based on these data;

[0082] Storage unit: Store the current data verified by the receiving buffer unit;

[0083] Retransmission setting unit: When data transmission errors or interruptions occur, count the unmarked current data that needs to be retransmitted through the data transmission module once, and count each marked current data that has been retransmitted through the data transmission module once. When the sum of all counts reaches the set count threshold, enter the interval retransmission mode,

[0084] The interval retransmission mode is: Set the retransmission time interval. For all current data that needs to be retransmitted, do not retransmit immediately. After the previous current data that needs to be retransmitted is transmitted, the next current data that needs to be retransmitted enters the transmission waiting state. After reaching the set time interval, then retransmit.

[0085] The interval retransmission mode of the retransmission setting unit avoids network congestion caused by a large number of retransmitted data flooding into the network simultaneously by setting the retransmission time interval. On the premise of ensuring reliable data transmission, network resources are reasonably allocated so that the normal current data transmission is not affected by excessive retransmitted data. This not only improves the adaptability of the system in an unstable network environment but also guarantees the performance and stability of the entire current data storage system, ensuring the smoothness and timeliness of data transmission.

[0086] In the data transmission module of this application, the data size threshold can be set, and in the cloud storage platform, the counting threshold and retransmission time interval can be set. These settable thresholds enable the system to be flexibly adjusted according to different network environments, data volumes, and application requirements. When the network conditions are good, the data size threshold can be appropriately increased to improve the transmission efficiency; when the network is unstable, the reliability of data transmission and the utilization of network resources can be balanced by adjusting the retransmission time interval and counting threshold. This adaptability enables the system to perform well in various complex practical application scenarios.

[0087] For the entire system from data acquisition, transmission to storage, there are corresponding safeguard mechanisms in each link. Whether it is the acquisition cache, data verification, retransmission mechanism, or interval retransmission mode, etc., these mechanisms cooperate with each other to form an organic whole. The system can automatically select appropriate strategies according to different situations, such as automatically starting retransmission when data transmission errors occur and switching to the interval retransmission mode when certain conditions for retransmission are reached. This flexibility enables the system to cope with various emergencies and changes, providing users with a stable, reliable, and efficient current data storage solution.

[0088] Current value prediction unit: Analyze the collected current data and predict the subsequent current situation for predicting the current value at future time points.

[0089] The current value prediction unit predicts the current value at future time points as follows:

[0090] Set: Assume that a historical time series of current data has been collected where I t represents the current value at the t-th time point, and n is the length of the historical data;

[0091] The time interval Δt is fixed, and the number of future time points to be predicted is m;

[0092] Perform a stationarity test on the collected current data using the unit root test method. If the data is non-stationary, perform differencing;

[0093] Perform a stationarity test on the differenced data again until the data becomes stationary;

[0094] Then, standardize the stationary data so that its mean is 0 and its standard deviation is 1;

[0095] Calculate the mean μ of the data:

[0096] Standard deviation σ:

[0097] The standardized current data Z t :

[0098] Use the autoregressive moving average model for prediction. For predicting the current value at the (n + 1)-th future time point, the predicted standardized value is;

[0099]

[0100] where, let ∈ n+1 be 0;

[0101] For predicting the current value at the (n + 1)-th future time point Convert the predicted standardized value back to the original current value scale, that is

[0102] In the formula, within the autoregressive moving average model, p is the autoregressive order, q is the moving average order, is the autoregressive coefficient, θ j is the moving average coefficient, ∈ t is the white noise sequence.

[0103] Determine the values of p and q. The value ranges of p and q can be initially determined by observing the graphs of the autocorrelation function and the partial autocorrelation function.

[0104] Then use the information criteria AIC or BIC for model selection. For different combinations of p and q, calculate the corresponding AIC or BIC values, and select the combination of p and q that minimizes the information criterion value as the order of the model.

[0105] After determining the combination of p and q, use methods such as maximum likelihood estimation or least squares method to estimate the parameters and θ j to obtain the estimated parameter values and θ j .

[0106] The predicted future current value can provide a basis for the scheduling decision of the power system. For example, power companies can adjust the power generation plan in advance according to the predicted current changes to meet the power demand and avoid power shortages or surpluses.

[0107] In terms of equipment maintenance management, by predicting the change trend of current, potential overload or fault conditions of equipment can be detected in advance, and maintenance and repair can be carried out in a timely manner, reducing the equipment failure rate and improving the reliability and service life of the equipment.

[0108] For an energy management system, accurate current prediction helps to optimize the distribution and use of energy, improve energy utilization efficiency and reduce energy costs. For example, in a smart building, the operation of electrical equipment can be reasonably controlled according to current prediction to achieve the goal of energy conservation and consumption reduction.

[0109] As Figure 2 shown, an Internet-based method for storing current data includes the following steps:

[0110] Install a current sensor at the equipment or circuit node. The current sensor measures the current value to obtain current data;

[0111] Transmit the measured current data to the cloud storage platform;

[0112] When the transmission of current data is interrupted, the current value measured by the current sensor is stored in the acquisition buffer unit. When the data transmission resumes, the current data in the acquisition buffer unit is retransmitted;

[0113] In the acquisition buffer unit, after a current data is transmitted, the current data continues to be retained. Starting from the time when the current data is transmitted, after reaching the set time threshold, the current data is deleted from the acquisition buffer unit;

[0114] When transmitting data, set a threshold for the size of current data. When transmitting current data, perform fragmentation operations on current data that exceeds the threshold for the size of current data, divide the current data that exceeds the threshold for the size of current data into multiple parts, and mark each part of the fragmented current data;

[0115] After the cloud storage platform receives the current data, it first stores the current data in the receiving buffer unit;

[0116] The receiving buffer unit performs data verification. When the data transmission is error-free, the current data is transmitted to the storage unit; when an error occurs in the data transmission, for unmarked current data, it is completely retransmitted. For a current data that exceeds the data size threshold, for the marked current data after fragmentation, starting from the marked incorrect current data, retransmit the incorrect current data and the subsequent current data in sequence, and do not retransmit the marked current data before the marked incorrect current data that has been sent; after retransmission, continue to perform data verification. When the data transmission is error-free, the current data is transmitted to the storage unit;

[0117] In the receiving buffer unit, after a current data is transmitted, the current data is retained. Starting from the time when the current data is transmitted, when the set time threshold is reached, the current data is deleted from the receiving buffer unit.

[0118] When data transmission errors or interruptions occur, an unmarked current data that needs to be retransmitted through the data transmission module is counted once, and each marked current data that needs to be retransmitted is counted once. When the sum of all counts reaches the set count threshold, the interval retransmission mode is entered.

[0119] The interval retransmission mode is as follows: Set the retransmission time interval. For all current data that needs to be retransmitted, it is not immediately retransmitted. After the previous current data that needs to be retransmitted is transmitted, the next current data that needs to be retransmitted enters the transmission waiting state. After the set time interval is reached, it is retransmitted.

[0120] Analyze the collected current data and predict the subsequent current situation for predicting the current value at a future time point.

[0121] The current value prediction unit predicts the current value at a future time point as follows:

[0122] Set: Assume that a historical time series of current data has been collected. Where I t represents the current value at the t-th time point, and n is the length of the historical data.

[0123] The time interval Δt is fixed, and the number of time points to be predicted subsequently is m.

[0124] Use the unit root test method to perform a stationarity test on the collected current data. If the data is not stationary, perform differencing processing.

[0125] Perform a stationarity test on the differenced data again until the data is stationary.

[0126] Then perform standardization processing on the stationary data to make its mean 0 and standard deviation 1.

[0127] Calculate the mean μ of the data:

[0128] The standard deviation σ:

[0129] The standardized current data Z t :

[0130] Use the autoregressive moving average model for prediction. For predicting the current value at the (n + 1)-th future time point, the predicted standardized value is;

[0131]

[0132] Among them, let ∈ n+1 be 0;

[0133] For predicting the current value at the (n + 1)-th future time point Convert the predicted normalized value back to the original current value scale, that is

[0134] In the formula, within the autoregressive moving average model, p is the autoregressive order, q is the moving average order, is the autoregressive coefficient, θ j is the moving average coefficient, ∈ t is the white noise sequence.

[0135] Meanwhile, the content not described in detail in this specification belongs to the prior art well-known to those skilled in the art.

[0136] In the embodiments provided by the present invention, it should be understood that the disclosed system or method can be implemented in other ways. For example, the above-described embodiments of the invention are merely illustrative. For example, the division of modules is only a logical function division, and there may be other division methods in actual implementation.

[0137] The modules described as separate components may or may not be physically separated. The components shown as modules may or may not be physical modules. They can be located in one place or distributed to multiple network modules. Some or all of the modules can be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0138] In addition, in each embodiment of the present invention, the functional modules can be integrated into one processing module, or each module can exist physically alone, or two or more modules can be integrated into one module. The above-mentioned integrated modules can be implemented in the form of hardware or in the form of a combination of hardware and software functional modules.

[0139] For those skilled in the operation and maintenance in this field, it is obvious that the present invention is not limited to the details of the above-described exemplary embodiments, and can be implemented in other specific forms without departing from the basic characteristics of the present invention.

[0140] The above is only the preferred specific implementation manner of the present invention, but the protection scope of the present invention is not limited thereto. Any person skilled in the art within the technical scope disclosed by the present invention, according to the technical solution and inventive concept of the present invention, makes equivalent replacements or changes, and should be covered by the protection scope of the present invention.

Claims

1. An Internet-based current data storage system, characterized in that: include: A data acquisition module, a data transmission module and a cloud storage platform, wherein the data transmission module is used to transmit the current data collected by the data acquisition module to the cloud storage platform; in, The data acquisition module includes: Sensor unit: including a current sensor, used to measure current data and convert the physical quantity of current into processable electrical signal data; Acquisition cache unit: when the data transmission of the data transmission module is interrupted, the acquisition cache unit stores the current data, and when the data transmission is restored, the current data in the acquisition cache unit is retransmitted; Cloud storage platforms include: Receiving cache unit: used to receive the current data from the data transmission module and perform data verification. When the data transmission is correct, the current data is transmitted to the storage unit; Storage unit: stores the current data after being proofread by the receiving buffer unit.

2. The Internet-based current data storage system according to claim 1, characterized in that: In the acquisition cache unit and the receiving cache unit, when a current data in the acquisition cache unit or the receiving cache unit is output, the current data continues to be retained, and timing starts from the time when the current data is output. After the time setting threshold is reached, the current data is deleted from the acquisition cache unit or the receiving cache unit.

3. The Internet-based current data storage system according to claim 1, characterized in that: In the data transmission module, a data size threshold is set. When data is transmitted, a slice operation is performed on the current data exceeding the data size threshold, and the current data exceeding the data size threshold is divided into multiple parts, and each piece of the current data after the slice is marked.

4. The Internet-based current data storage system according to claim 1, characterized in that: In the receiving cache unit, when an error occurs in data transmission, the unmarked current data needs to be completely retransmitted, and the current data exceeding the data size threshold is retransmitted in sequence.

5. The Internet-based current data storage system according to claim 4, characterized in that: The retransmission in order is as follows: for a current data exceeding the data size threshold, for the current data marked after the fragmentation, starting from the position of the marked erroneous current data, all subsequent current data including the marked erroneous current data are retransmitted.

6. The Internet-based current data storage system according to claim 1, characterized in that: The cloud storage platform also includes: Retransmission setting unit: When an error or interruption occurs in data transmission, the unmarked current data that needs to be retransmitted through the data transmission module is counted once, and each marked current data that needs to be retransmitted is counted once. When the accumulation of all counts reaches the set count threshold, the interval retransmission mode is entered.

7. The Internet-based current data storage system according to claim 6, characterized in that: The interval retransmission mode is: set the retransmission time interval. For all current data that need to be retransmitted, they are not retransmitted immediately. After the previous current data that needs to be retransmitted is transmitted, the next current data that needs to be retransmitted enters the transmission waiting stage and is retransmitted after the set time interval is reached.

8. The Internet-based current data storage system according to claim 1, characterized in that: The cloud storage platform also includes: Current value prediction unit: analyzes the collected current data and predicts the subsequent current conditions, which is used to predict the current value at a future time point.

9. The Internet-based current data storage system according to claim 8, characterized in that: The current value prediction unit predicts the current value at a future time point as follows: Setting: Assume that a historical time series of current data has been collected ,in represents the current value at the tth time point, and n is the length of the historical data; Time interval is fixed, and the number of subsequent time points to be predicted is m; The collected current data are tested for stationarity using the unit root test method. If the data is not stationary, differential processing is performed; Perform stationarity test on the differenced data again until the data is stable; Then the stable data is standardized to have a mean of 0 and a standard deviation of 1; Calculate the mean of the data ; Standard Deviation ; Normalized current data ; The autoregressive moving average model is used for prediction. For the current value at the n+1th time point in the future, the predicted standardized value for; ; Among them, is 0; For predicting the current value at the n+1th time point in the future , the predicted standardized value Convert back to the original current value scale, that is .

10. The method for storing current data based on the Internet according to any one of claims 1 to 9, characterized in that: The following steps are involved: A current sensor is installed at a device or circuit node, and the current sensor measures the current value to obtain current data; Transmit the measured current data to a cloud storage platform; When the current data transmission is interrupted, the current value measured by the current sensor is stored in the acquisition buffer unit, and when the data transmission is restored, the current data in the acquisition buffer unit is retransmitted; In the acquisition cache unit, when a current data is transmitted, the current data is retained, and the timing starts from when the current data is transmitted. When the time setting threshold is reached, the current data is deleted from the acquisition cache unit; When transmitting data, a current data size threshold is set. When transmitting current data, a slice operation is performed on the current data exceeding the current data size threshold, the current data exceeding the current data size threshold is divided into multiple pieces, and each piece of the current data after the slice is marked; After receiving the current data, the cloud storage platform first stores the current data in the receiving cache unit; The receiving cache unit performs data proofreading. When the data transmission is correct, the current data is transmitted to the storage unit. When an error occurs in the data transmission, the unmarked current data is completely retransmitted. For a current data exceeding the data size threshold, the marked current data after the fragmentation is retransmitted starting from the marked erroneous current data, and the current data subsequent to the erroneous current data is retransmitted in sequence. The marked current data that has been sent before the marked erroneous current data is not retransmitted. After retransmission, data proofreading continues, and when data transmission is correct, the current data is transmitted to the storage unit; In the receiving cache unit, when a current data is transmitted, the current data is retained, and the timing starts from when the current data is transmitted, and when the time setting threshold is reached, the current data is deleted from the receiving cache unit; When an error or interruption occurs in data transmission, the unmarked current data that needs to be retransmitted by the data transmission module is counted once, and each piece of marked current data that needs to be retransmitted is counted once. When the total of all counts reaches the set count threshold, the interval retransmission mode is entered. The interval retransmission mode is: set the retransmission time interval, and for all current data that need to be retransmitted, do not retransmit immediately. After the previous current data that needs to be retransmitted is transmitted, the next current data that needs to be retransmitted enters the transmission waiting state, and retransmits after the set time interval is reached; The current data in the storage unit is analyzed, and the current value at a future time point is predicted using an autoregressive moving average model.