A system in which a method of managing data is implemented, the system comprising:
- a sensor (100) that performs an information collecting step (S100), in which the sensor (100) continuously collects detection values (Vd) respectively matched to time points (T) successive in time series so as to be spaced apart by a preset time interval (ΔT);
- an edge server device (200) that stores sensing data collected by the sensor (100) and performs a section dividing step (S200), in which the edge server device (200) sets a reference section (TB) in which two or more time points (Tb) among the time points (T) are grouped, and divides remaining time points (Ta) except for the time points (Tb) of the reference section (TB) into a correction section (TA);
- and
- a cloud server device (300) that receives the sensing data from the edge server device (200), stores the sensing data received from the edge server device (200), and controls, with the edge server device (200), an operation of a building having an energy consumption source including an air conditioner or a lighting device, based on the sensing data,
- wherein:
- the edge server device (200) further performs an equation calculating step (S300), in which the edge server device (200) respectively sets any one time point (Tb) of the time points (Tb) of the reference section (TB) and a detection value (Vd) at any one time point (Tb) as a reference time point (Tc) and a reference value (Vc), and derives a relationship between the reference value (Vc) and detection values (Vd) at remaining time points (Tb) of the reference section (TB), wherein the derived relationship is an equation calculated according to a first time interval (ΔT1) between the reference time point (Tc) and the remaining time points (Tb) of the reference section (TB);
- the edge server device (200) further performs a correction performing step (S400), in which the edge server device (200) calculates correction values (Va) calculated according to a second time interval (ΔT2) between the reference time point (Tc) and the time points (Ta) of the correction section (TA) by substituting the reference value (Vc) into the equation;
- the edge server device (200) further performs an accuracy verifying step (S500), in which the edge server device (200) checks whether a ratio of the time points (Ta) of the correction section (TA), at which the detection values (Vd) and the correction values (Va) are different to each other, to the time points (T) is less than or equal to a preset allowable ratio (Rp);
- the edge server device (200) further performs a data storing step (S600), in which when the ratio of the time points (Ta) of the correction section (TA) at which the detection values (Vd) and the correction values (Va) are different to each other to the time points (T) is less than or equal to the allowable ratio (Rp), the edge server 200 stores the reference value (Vc), the time point (Tb) matched thereto, and the equation as the data for the reference section (TB), and stores the detection values (Vd) or the correction values (Va), and the time points (Ta) matched thereto as the data for the correction section (TA);
- the edge server device (200) further performs a data restoring step (S700), wherein the edge server device (200) calculates and restores the time points (T) and restored values (Vr) at the time points (T) from the data of the reference section (TB) and the correction section (TA);
- and
- the edge server device (200) periodically transmits the data that is restored to a cloud server,
- wherein, in the data restoring step (S700), the edge server device (200) restores the reference value (Vc), the restored values (Vr) calculated by inverse calculation by applying the equation to the reference value (Vc), and the time points (Tb) respectively matched to the restored values (Vr) in the reference section (TB), restores the restored values (Vr) calculated by the inverse calculation by applying the equation to the reference value (Vc) and the time points (Ta) respectively matched to the restored values (Vr) in a part of the correction section (TA), and restores the detection values (Vd) and the time points (Ta) respectively matched thereto in a remaining of the correction section (TA).