Data processing method and device for heating equipment, equipment and medium

By merging and converting time series data, the problem of mass timing data storage capacity pressure is solved, data storage efficiency and scalability are improved, and it is suitable for the management of massive timing data of smart devices.

CN119088859APending Publication Date: 2024-12-06QINGDAO ECONOMIC AND TECHNOLOGICAL DEVELOPMENT ZONE HAIER WATER HEATER CO LTD +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411133732.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-16
Publication Date
2024-12-06

AI Technical Summary

Technical Problem

The processing and storage of massive time-series data faces huge challenges in smart devices. Traditional storage solutions are difficult to keep up with the rapid growth of data, resulting in the storage space approaching saturation.

Method used

By obtaining the status data of the heating equipment in the preset time period, the part of the timing data with the same attribute value is merged and converted into one target data for each status attribute, and the target data is stored, and the two-dimensional array format is used to reduce data redundancy and improve data Storage efficiency.

Benefits of technology

It effectively solves the data storage capacity problem in massive time series data management, alleviates the pressure on data storage capacity, improves the efficiency and scalability of data storage, and ensures the integrity and availability of data.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119088859A_ABST
    Figure CN119088859A_ABST
Patent Text Reader

Abstract

The invention belongs to the technical field of intelligent household appliances, and particularly relates to a data processing method, device and equipment of heating equipment and a medium. Firstly, state data of heating equipment in a preset time period is obtained, the data is composed of one or more state attributes, and each state attribute generates multiple pieces of time sequence data containing timestamps and attribute values according to a specific collection interval. Then, for each state attribute, the partial time series data with the same attribute value is merged and converted into a piece of target data, the data comprises an attribute name, a unified attribute value and a part or a timestamp representing the data, and finally, the target data is stored. According to the method, the problem of data storage capacity in mass time series data management is effectively solved, so that the pressure of the data storage capacity is relieved, and the efficiency and expandability of data storage are improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application belongs to the technical field of smart home appliances, and specifically relates to a data processing method, device, equipment and medium for heating equipment. Background Art

[0002] With the continuous advancement of information technology and the increasing popularity of Internet of Things technology, time series data plays a vital role in the application and analysis of smart devices due to its unique temporal continuity and ordered sequence characteristics.

[0003] However, as the scale of data continues to expand, the processing of massive time series data is facing unprecedented challenges. Since the generation of time series data is continuous, this directly leads to huge pressure on storage capacity of traditional storage solutions. Even if you try to expand the capacity by adding storage devices, it is difficult to keep up with the rapid growth of time series data, causing the storage space to quickly approach or even reach saturation.

[0004] Therefore, the current urgent problem to be solved is how to process and store massive time series data to meet the challenges of data storage capacity. Summary of the invention

[0005] The present application provides a data processing method, device, equipment and medium for heating equipment, which are used to solve the problem of being unable to process and store massive time series data.

[0006] In a first aspect, the present application provides a data processing method for a heating device, comprising:

[0007] Acquire status data of the heating device within a preset time period, wherein the status data includes multiple time series data of the status attributes collected according to the respective collection intervals of one or more status attributes, wherein the time series data includes a timestamp and an attribute value of the status attribute;

[0008] For each of the state attributes, according to the attribute values ​​in the multiple time series data of the state attribute, part of the time series data in the multiple time series data of the state attribute is converted into a target data, and the target data is stored, wherein the attribute values ​​in the part of the time series data are the same, and the target data includes the name of the state attribute, the attribute value of the state attribute, and part or all of the timestamp of the part of the time series data.

[0009] Optionally, converting part of the multiple time series data of the state attribute into one target data according to the attribute value of the multiple time series data of the state attribute includes:

[0010] According to the timestamp order of the multiple time series data of the state attribute, if there are multiple consecutive first time series data whose attribute values ​​of the state attribute have not changed, the multiple consecutive first time series data are converted into one target data, and the target data includes the maximum value and minimum value of the timestamps of the multiple consecutive first time series data.

[0011] Optionally, converting part of the multiple time series data of the state attribute into one target data according to the attribute value of the multiple time series data of the state attribute includes:

[0012] According to the timestamp order of the multiple time series data of the state attributes, the multiple second time series data with the same attribute value of the state attributes are converted into a target data, and the target data includes the maximum value and the minimum value of the continuous timestamps in the multiple second time series data, and other timestamps other than the continuous timestamps.

[0013] Optionally, also include:

[0014] If there is first time series data, and the attribute value in the first time series data is different from the attribute values ​​of the previous and next time series data of the first time series data, the first time series data is converted into a target data.

[0015] Optionally, also include:

[0016] If the attribute value of the first time series data is different from the attribute value of the second time series data, converting the first time series data into a target data;

[0017] If the attribute value of the last time series data is different from the attribute value of the second to last time series data, the last time series data is converted into a target data.

[0018] Optionally, the method further comprises:

[0019] Convert each of the target data into data based on a two-dimensional array format, wherein the data based on the two-dimensional array format includes the state attribute and one or more two-dimensional data corresponding to the state attribute, the two-dimensional array includes a timestamp and an attribute value, and the data based on the two-dimensional array format is used for visual display.

[0020] Optionally, the state attribute includes ambient temperature; and the method further includes:

[0021] Determining a historical variation pattern of the ambient temperature based on a timestamp in the target data;

[0022] Based on the historical variation pattern of the ambient temperature, the ambient temperature of a preset future time period is predicted, and based on the ambient temperature of the future time period, the target temperature of the heating device is adjusted.

[0023] In a second aspect, the present application provides a data processing device for a heating device, comprising:

[0024] An acquisition module, used for acquiring the state data of the heating device within a preset time period, wherein the state data includes a plurality of time series data of the state attributes collected according to the respective collection intervals of one or more state attributes, wherein the time series data includes a timestamp and an attribute value of the state attribute;

[0025] a conversion module, for each of the state attributes, for converting part of the multiple time series data of the state attribute into one target data according to the attribute value in the multiple time series data of the state attribute;

[0026] A storage module is used to store the target data, wherein the attribute values ​​in the partial time series data are the same, and the target data includes the name of the state attribute, the attribute value of the state attribute, and part or all of the timestamps of the partial time series data.

[0027] Optionally, the conversion module is specifically used to convert the multiple consecutive first time series data into one target data in the order of the timestamps of the multiple time series data of the state attributes and when there are multiple consecutive first time series data whose attribute values ​​of the state attributes have not changed, the target data includes the maximum value and minimum value of the timestamps of the multiple consecutive first time series data.

[0028] Optionally, the conversion module is specifically used to convert multiple second time series data with the same attribute values ​​of the state attributes into one target data according to the timestamp order of the multiple time series data of the state attributes, and the target data includes the maximum value and minimum value of continuous timestamps in the multiple second time series data, and other timestamps other than the continuous timestamps.

[0029] Optionally, the conversion module is specifically used to, when there is first time series data and an attribute value in the first time series data is different from attribute values ​​of previous and next time series data of the first time series data, convert the first time series data into a target data.

[0030] Optionally, the conversion module is specifically configured to convert the first time series data into a target data when the attribute value of the first time series data is different from the attribute value of the second time series data;

[0031] The conversion module is specifically configured to convert the last piece of time series data into a piece of target data when the attribute value of the last piece of time series data is different from the attribute value of the second to last piece of time series data.

[0032] Optionally, the conversion module is also used to convert each of the target data into data based on a two-dimensional array format, wherein the data based on the two-dimensional array format includes the state attribute and one or more two-dimensional data corresponding to the state attribute, the two-dimensional array includes a timestamp and an attribute value, and the data based on the two-dimensional array format is used for visual display.

[0033] Optionally, the device further includes: a determination module;

[0034] The determination module is used to determine the historical variation pattern of the ambient temperature based on the timestamp in the target data;

[0035] The device also includes: a prediction module;

[0036] The prediction module is used to predict the ambient temperature in a preset future time period based on the historical variation pattern of the ambient temperature;

[0037] The device further comprises: an adjustment module;

[0038] The adjustment module is used to adjust the target temperature of the heating equipment based on the ambient temperature of the future time period.

[0039] In a third aspect, the present application provides a data processing device for a heating device, comprising:

[0040] Memory;

[0041] processor;

[0042] Wherein, the memory stores computer-executable instructions;

[0043] The processor executes the computer-executable instructions stored in the memory to implement the data processing method for the heating equipment as described in the first aspect and various possible implementation methods of the first aspect.

[0044] In a fourth aspect, the present application provides a computer storage medium having computer execution instructions stored thereon, wherein the computer execution instructions are executed by a processor to implement the data processing method for a heating device as described in the first aspect and various possible implementations of the first aspect.

[0045] In a fifth aspect, the present application provides a computer program product, including a computer program, which, when executed by a processor, implements the data processing method for the heating equipment as described above.

[0046] The data processing method for heating equipment provided by the present application first obtains the status data of the heating equipment within a preset time period. These data are composed of one or more status attributes, and each status attribute generates multiple time series data containing timestamps and attribute values ​​at a specific collection interval. Subsequently, for each status attribute, part of the time series data with the same attribute value is merged and converted into a target data, which contains the attribute name, a unified attribute value, and a part or timestamp representing the data. Finally, the target data is stored. This method effectively solves the problem of data storage capacity in the management of massive time series data, thereby alleviating the pressure on data storage capacity, thereby improving the efficiency and scalability of data storage. BRIEF DESCRIPTION OF THE DRAWINGS

[0047] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.

[0048] Figure 1 The process of the data processing method for the heating equipment provided in this application Figure 1 ;

[0049] Figure 2 The process of the data processing method for the heating equipment provided in this application Figure 2 ;

[0050] Figure 3 It is a structural schematic diagram of a data processing device for a heating device provided in the present application;

[0051] Figure 4 It is a structural schematic diagram of the data processing device of the heating equipment provided in this application.

[0052] The above drawings have shown clear embodiments of the present application, which will be described in more detail later. These drawings and text descriptions are not intended to limit the scope of the present application in any way, but to illustrate the concept of the present application to those skilled in the art by referring to specific embodiments. DETAILED DESCRIPTION

[0053] In order to make the purpose, technical solutions and advantages of this application clearer, the technical solutions in this application will be clearly and completely described below in conjunction with the drawings in this application. Obviously, the described embodiments are part of the embodiments of this application, not all of the embodiments. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0054] The terms "first", "second", "third", "fourth", etc. (if any) in the description and claims of the present invention and the above drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the numbers used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in sequences other than those illustrated or described herein, for example.

[0055] In the embodiments of the present application, the words "exemplary" or "for example" are used to indicate examples, illustrations or descriptions. Any embodiment or design described as "exemplary" or "for example" in the present application should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of words such as "exemplary" or "for example" is intended to present related concepts in a specific way.

[0056] With the rapid development of information technology and the widespread application of Internet of Things technology, time series data, as a key data type, plays a vital role in smart devices.

[0057] Smart devices communicate with cloud servers in real time through network modules, continuously generating and transmitting various types of time series data, such as temperature, humidity, pressure and other sensor data. These data provide important basis for equipment operation monitoring, fault prediction and performance optimization.

[0058] However, as the scale of data continues to expand, the processing of massive time series data is facing unprecedented challenges. Since time series data generation is continuous, this directly puts tremendous pressure on the storage capacity of traditional storage solutions. Although the capacity is expanded by adding storage devices, it is difficult to keep up with the rapid growth of data, causing the storage space to quickly approach or even reach saturation.

[0059] Therefore, the current urgent problem to be solved is how to process and store massive time series data to meet the challenges of data storage capacity.

[0060] In response to the above problems, the present application provides a data processing method for heating equipment. First, the status data of the heating equipment within a preset time period is obtained. These data are composed of one or more status attributes, and each status attribute generates multiple time series data containing timestamps and attribute values ​​at a specific collection interval. Then, for each status attribute, part of the time series data with the same attribute value is merged and converted into a target data, which contains the attribute name, a unified attribute value, and a part or timestamp representing the data. Finally, the target data is stored. This method effectively solves the problem of data storage capacity in the management of massive time series data, thereby alleviating the pressure on data storage capacity, thereby improving the efficiency and scalability of data storage.

[0061] The technical solution of the present application and how the technical solution of the present application solves the above-mentioned technical problems are described in detail below with specific embodiments. The following specific embodiments can be combined with each other, and the same or similar concepts or processes may not be repeated in some embodiments. The embodiments of the present application will be described below in conjunction with the accompanying drawings.

[0062] Figure 1 The process of the data processing method for the heating equipment provided in this embodiment Figure 1 .like Figure 1 As shown, the data processing method for heating equipment provided in this embodiment includes:

[0063] S101: Acquire status data of a heating device within a preset time period, wherein the status data includes multiple time series data of status attributes collected according to respective collection intervals of one or more status attributes, wherein the time series data includes a timestamp and an attribute value of the status attribute.

[0064] The preset time period may be, for example, 1 hour or 30 minutes, and this application does not impose any special restrictions on this.

[0065] Status attributes include but are not limited to: outlet water temperature, target temperature, and ambient temperature.

[0066] The collection interval is used to indicate the time frequency at which the state attribute is recorded and new data is generated. The collection interval can be, for example, 1 minute / time or 10 minutes / time. This application does not impose any special restrictions on this.

[0067] The timestamp is used to indicate the specific time point when the status attribute is collected.

[0068] Since the time series data of the state attribute consists of a timestamp and the attribute value of the state attribute at the corresponding time point, by analyzing the time series data, we can understand the specific value of the state attribute of the heating equipment at a specific timestamp. For example, suppose the state attribute is the outlet water temperature, and the known attribute value is 40℃. Then at 12:05, the outlet water temperature of the heating equipment is 40℃.

[0069] By obtaining the status data of the heating equipment within the preset time period, it means that a detailed record of the operating status of the heating equipment within the preset time period can be obtained. These records not only include the changes in key status attributes such as the outlet water temperature, target temperature, and ambient temperature, but also accurately identify the specific time point of each data collection through the timestamp.

[0070] The state data of the heating equipment in this step may be directly obtained from sensors in the heating equipment, which can monitor and record changes in state attributes, such as outlet water temperature, target temperature, and ambient temperature. It may also be obtained from a data recording module of the heating equipment. This application does not impose any special restrictions on this.

[0071] For example, assume that the preset time period is 30 minutes. It is known that the state attributes of the heating equipment include the outlet water temperature, the target temperature and the ambient temperature, and the corresponding collection intervals of the outlet water temperature, the target temperature and the ambient temperature are all 10 minutes / time. Based on this information, the multiple time series data corresponding to the outlet water temperature can be obtained: at 12:05, the outlet water temperature of the heating equipment is 40°C; at 12:15, the outlet water temperature of the heating equipment is 45°C; at 12:25, the outlet water temperature of the heating equipment is 45°C.

[0072] Similarly, the multiple time series data corresponding to the target temperature are: at 12:05, the target temperature of the heating equipment is 45°C; at 12:15, the target temperature of the heating equipment is 45°C; at 12:25, the target temperature of the heating equipment is 45°C.

[0073] Similarly, the multiple time series data corresponding to the ambient temperature are: at 12:05, the ambient temperature of the heating equipment is 26°C; at 12:15, the ambient temperature of the heating equipment is 25°C; at 12:25, the ambient temperature of the heating equipment is 25°C.

[0074] S102: For each state attribute, according to the attribute value in the multiple time series data of the state attribute, convert part of the multiple time series data of the state attribute into a target data, and store the target data, wherein the attribute values ​​in the part of the time series data are the same, and the target data includes the name of the state attribute, the attribute value of the state attribute, and part or all of the timestamps of the part of the time series data.

[0075] Among them, the purpose of this step of converting part of the time series data among multiple time series data of the state attributes into one target data is to integrate the time series data with the same attribute value but different timestamps to form a target data containing the state attribute name, attribute value and part or all of the timestamps, thereby reducing data redundancy and storage requirements.

[0076] Understandably, in the state monitoring of heating equipment, it may be encountered that the attribute value of a certain state attribute remains unchanged for a period of time. If all the time series data with the same attribute value but different timestamps are stored, a large amount of storage space will be occupied.

[0077] Therefore, by integrating part of the time series data with the same attribute values ​​into one target data, data redundancy can be greatly reduced, storage requirements can be reduced, and storage efficiency can be improved.

[0078] For example, assuming that the state attribute is the outlet water temperature, it is known that the multiple time series data corresponding to the outlet water temperature are: at 12:05, the outlet water temperature of the heating equipment is 40°C; at 12:15, the outlet water temperature of the heating equipment is 45°C; at 12:25, the outlet water temperature of the heating equipment is 45°C.

[0079] Based on the above information, two target data can be generated. The first target data is: the state attribute name is "outlet water temperature", the attribute value is "40℃", and the timestamp is "12:05"; the second target data is: the state attribute name is "outlet water temperature", the attribute value is "45℃", and the timestamp is "12:15-12:25" (indicating that the temperature value is stable during this period).

[0080] The purpose of storing the target data in this step is to properly preserve these processed data for processing and analysis.

[0081] The data processing method for the heating equipment provided in this embodiment obtains the status data of the heating equipment within a preset time period. The data is generated based on the independent collection interval of one or more status attributes. Each status attribute corresponds to multiple time series data, and each time series data is marked with the timestamp generated by the status attribute and the corresponding attribute value. In order to optimize the data storage efficiency, these data are further processed, and some time series data with the same attribute value are integrated into a single target data and stored. Each target data not only clearly identifies the name and attribute value of the status attribute, but also flexibly retains part or all of the timestamp information to reflect the persistence of the attribute value within a specific time period. This method not only reduces the redundancy of data storage and reduces storage costs through merging and conversion, but also ensures the integrity and availability of the data by retaining the timestamp information, so that in the context of the rapid expansion of data scale, time series data can still be processed and stored efficiently and accurately, meeting the urgent needs of large-scale data storage.

[0082] Figure 2 The process of the data processing method for the heating equipment provided in this embodiment Figure 2 .like Figure 2 This implementation is in Figure 1 Based on the embodiment, the implementation process of the data processing side of the heating equipment is described in detail. The data processing method of the heating equipment provided by this embodiment includes:

[0083] S201: Acquire status data of the heating equipment within a preset time period, wherein the status data includes multiple time series data of status attributes collected according to respective collection intervals of one or more status attributes, wherein the time series data includes a timestamp and an attribute value of the status attribute.

[0084] The explanation of step S201 is similar to that of step S101 and will not be repeated here.

[0085] S202: For each state attribute, according to the timestamp order of the multiple time series data of the state attribute, if there are multiple consecutive first time series data whose attribute values ​​of the state attribute have not changed, then convert the multiple consecutive first time series data into one target data, the target data includes the maximum value and the minimum value of the timestamps of the multiple consecutive first time series data, wherein the target data includes the name of the state attribute and the attribute value of the state attribute.

[0086] The fact that the attribute value of the state attribute has not changed means that the attribute value corresponding to the state attribute remains constant and has not changed.

[0087] The continuous plurality of first time series data refers to a plurality of time series data that are arranged continuously in the order of timestamps and have the same attribute values ​​of state attributes. It can be understood that when the timestamps of these time series data are continuous and the attribute values ​​are the same, they are regarded as objects that can be integrated.

[0088] The maximum value of the timestamps of the consecutive first time series data refers to the value of the last timestamp in the timestamp sequence of the consecutive first time series data. This maximum value marks the end point in time of this continuous data, that is, the latest time point.

[0089] The minimum value of the timestamps of the consecutive first time series data refers to the value of the first timestamp in the timestamp sequence among the consecutive first time series data. This minimum value marks the starting point in time, that is, the earliest time point.

[0090] It can be understood that the maximum value of the timestamps of the consecutive first time series data marks the end time of this continuous time series data with unchanged attribute values, that is, the latest recorded time point. The minimum value of the timestamps of the consecutive first time series data marks the start time of this time series data, that is, the earliest recorded time point.

[0091] The purpose of judging whether there are multiple first consecutive time series data in which the attribute value of the state attribute has not changed in the multiple time series data according to the timestamp order of the multiple time series data of the state attribute is to determine whether there are multiple time series data in which the attribute value has not changed for a long time and continuously.

[0092] It is understandable that for multiple time series data of each state attribute, the traversal can be performed in the order of the timestamps of each time series data. During the traversal process, the adjacent time series data are checked first. If their attribute values ​​are the same, the traversal continues backward until the time series data with a changed attribute value is encountered.

[0093] If, according to the timestamp order of the multiple time series data of the state attribute, it is determined that there are multiple continuous first time series data in which the attribute value of the state attribute has not changed, then it means that there are attribute values ​​in the multiple time series data that have not changed for a long time and continuously. At this time, the multiple continuous first time series data can be converted into target data.

[0094] For example, assuming that the state attribute is the target temperature, and the multiple time series data corresponding to the known target temperatures are: at 12:05, the target temperature of the heating equipment is 45°C; at 12:15, the target temperature of the heating equipment is 45°C; at 12:25, the target temperature of the heating equipment is 45°C. Based on the above information, the target data can be determined as follows: the state attribute name is "target temperature", the attribute value is "45°C", the minimum value of the timestamp is "12:05", and the maximum value of the timestamp is "12:25".

[0095] S203: For each state attribute, convert multiple second time series data with the same attribute value of the state attribute into one target data according to the timestamp order of the multiple time series data of the state attribute, wherein the target data includes the maximum value and the minimum value of the continuous timestamps in the multiple second time series data, and other timestamps other than the continuous timestamps, wherein the target data includes the name of the state attribute and the attribute value of the state attribute.

[0096] Among them, the multiple second time series data include two situations: one is a time series data sequence with continuous timestamps and the same attribute values; the other is time series data with discontinuous timestamps (that is, only a single timestamp) but the same attribute values.

[0097] The maximum value of the continuous timestamps in the plurality of second time series data refers to the value of the last timestamp in the continuous timestamp sequence in the plurality of second time series data. This maximum value marks the end point in time of this continuous data, that is, the latest time point.

[0098] The minimum value of the continuous timestamps in the plurality of second time series data refers to the value of the first timestamp in the continuous timestamp sequence in the plurality of second time series data. This minimum value marks the starting point in time, that is, the earliest time point.

[0099] It can be understood that the maximum value of the continuous timestamps in the multiple second time series data marks the end time of this continuous time series data with unchanged attribute value, that is, the latest recorded time point. The minimum value of the continuous timestamps in the multiple second time series data marks the start time of this time series data, that is, the earliest recorded time point.

[0100] Other timestamps refer to isolated timestamps in multiple pieces of second time series data. It can be understood that other timestamps are isolated, and there are no other timestamps with the same attribute value connected to them before and after them.

[0101] The purpose of this step is to regard the parts with the same attribute values ​​in multiple pieces of second time series data as data points representing the same state, regardless of whether these parts span consecutive timestamps, and merge them into a single target data.

[0102] It can be understood that for multiple time series data of each state attribute, the traversal can be performed in the order of timestamps. During the traversal process, all time series data with the same attribute values ​​are identified and extracted. These time series data include not only data sequences with continuous timestamps and consistent attribute values, but also those time series data with discontinuous timestamps (for example, isolated, separate time points) but the attribute values ​​remain the same.

[0103] For example, assuming that the state attribute is ambient temperature, the multiple time series data corresponding to the known ambient temperature are: at 12:05, the ambient temperature of the heating equipment is 26°C; at 12:25, the ambient temperature of the heating equipment is 25°C; at 12:45, the ambient temperature of the heating equipment is 25°C; at 12:55, the ambient temperature of the heating equipment is 25°C; at 01:05, the ambient temperature of the heating equipment is 24°C; at 01:15, the ambient temperature of the heating equipment is 25°C; at 01:25, the ambient temperature of the heating equipment is 23°C.

[0104] Based on the above information, the target data can be determined as follows: the state attribute name is "ambient temperature", the attribute value is "25°C", the minimum value of the continuous timestamp is "12:25", the maximum value of the continuous timestamp is "12:55", and other timestamps are "1:15".

[0105] S204: If there is first time series data, and the attribute value in the first time series data is different from the attribute values ​​of the previous and next time series data of the first time series data, then convert the first time series data into a target data.

[0106] The purpose of judging whether there is a first time series data in the multiple time series data corresponding to the state attribute is to determine whether there is a first time series data in the multiple time series data whose attribute value is different from that of the previous time series data and the attribute value of the next time series data.

[0107] If there is a first time series data among the multiple time series data corresponding to the state attribute, it means that there is a first time series data among the multiple time series data whose attribute value is different from the attribute value of the previous time series data and the attribute value of the next time series data. At this time, the first time series data can be converted into a target data.

[0108] For example, assuming that the state attribute is the outlet water temperature, it is known that the multiple time series data corresponding to the outlet water temperature are: at 12:05, the outlet water temperature of the heating equipment is 40°C; at 12:15, the outlet water temperature of the heating equipment is 45°C; at 12:25, the outlet water temperature of the heating equipment is 45°C; at 12:35, the outlet water temperature of the heating equipment is 44°C; at 12:45, the outlet water temperature of the heating equipment is 45°C.

[0109] Based on the above information, we can first determine that the first time series data is "at 12:35, the outlet water temperature of the heating equipment is 44°C", and then determine that the target data after the conversion of the first time series data is: the state attribute name is "outlet water temperature", the attribute value is "44°C", the minimum value of the timestamp is "12:35", and the maximum value of the timestamp is "12:35".

[0110] S205: If the attribute value of the first time series data is different from the attribute value of the second time series data, convert the first time series data into a target data.

[0111] The first time series data refers to the time series data that is arranged at the front of the timestamp position in the time sequence among the multiple time series data.

[0112] For example, assuming that the state attribute is the outlet water temperature, it is known that the multiple first time series data corresponding to the outlet water temperature are: at 12:05, the outlet water temperature of the heating equipment is 40°C; at 12:06, the outlet water temperature of the heating equipment is 41°C; at 12:07, the outlet water temperature of the heating equipment is 42°C; at 12:08, the outlet water temperature of the heating equipment is 44°C; at 12:09, the outlet water temperature of the heating equipment is 46°C.

[0113] Based on the above information, we can first determine that the first time series data is "the outlet water temperature is 40°C at 12:05". Then, we can convert the first time series data into target data. The target data is: the state attribute name is "outlet water temperature", the attribute value is "40°C", and the timestamp is "12:05".

[0114] S206: If the attribute value of the last time series data is different from the attribute value of the second to last time series data, convert the last time series data into a target data.

[0115] The last time series data refers to the time series data that is arranged at the last time stamp position in the time sequence among multiple time series data.

[0116] For example, assuming that the state attribute is the outlet water temperature, it is known that the multiple first time series data corresponding to the outlet water temperature are: at 12:05, the outlet water temperature of the heating equipment is 40°C; at 12:06, the outlet water temperature of the heating equipment is 41°C; at 12:07, the outlet water temperature of the heating equipment is 42°C; at 12:08, the outlet water temperature of the heating equipment is 44°C; at 12:09, the outlet water temperature of the heating equipment is 46°C.

[0117] Based on the above information, we can first determine that the last time series data is "the outlet water temperature is 46°C at 12:09". Then, we can convert the first time series data into target data. The target data is: the state attribute name is "outlet water temperature", the attribute value is "46°C", and the timestamp is "12:09".

[0118] S207: Store target data.

[0119] The explanation of step S207 refers to the explanation of the above embodiment, which will not be repeated here.

[0120] S208: Convert each target data into data based on a two-dimensional array format, wherein the data based on the two-dimensional array format includes a state attribute and one or more two-dimensional data corresponding to the state attribute, the two-dimensional array includes a timestamp and an attribute value, and the data based on the two-dimensional array format is used for visual display.

[0121] Among them, the two-dimensional array structure can clearly represent the hierarchical relationship between data, especially when the data contains multiple dimensions (such as timestamps and attribute values), the two-dimensional array can effectively organize this information.

[0122] Therefore, by converting each target data into data based on a two-dimensional array format, the data can be made more structured, thereby being easier to be processed by visualization tools, thereby facilitating the generation of intuitive and easy-to-understand icons or graphics.

[0123] For example, assuming that the state attribute is the outlet water temperature, it is known that the multiple first time series data of the outlet water temperature are: at 12:05, the outlet water temperature of the heating equipment is 40°C; at 12:06, the outlet water temperature of the heating equipment is 41°C; at 12:07, the outlet water temperature of the heating equipment is 42°C; at 12:08, the outlet water temperature of the heating equipment is 44°C; at 12:09, the outlet water temperature of the heating equipment is 42°C; at 12:30, the outlet water temperature of the heating equipment is 45°C; at 12:50, the outlet water temperature of the heating equipment is 45°C; at 12:55, the outlet water temperature of the heating equipment is 46°C.

[0124] Based on the above information, it can be determined that the data in the two-dimensional array format is: outlet water temperature, [[12:05, 40], [12:06, 41], [12:07, 42], [12:08, 44], [12:09, 42], [12:30, 45], [12:50, 45], [12:55, 46].

[0125] S209: The state attributes include the ambient temperature. Based on the timestamp in the target data, the historical change pattern of the ambient temperature is determined.

[0126] The purpose of this step is to determine how the ambient temperature changes over time and find out its changing pattern.

[0127] It is understandable that since the ambient temperature is a dynamically changing attribute, it changes continuously over time. Therefore, by analyzing the timestamps in the target data, the continuous changes of the ambient temperature data on the time axis are tracked. This continuity not only reflects the instantaneous state of the temperature value, but also implies the trend of temperature change.

[0128] S210: Based on the historical variation pattern of the ambient temperature, predict the ambient temperature of a preset future time period, and adjust the target temperature of the heating equipment based on the ambient temperature of the future time period.

[0129] Among them, this step is based on the historical variation law of the ambient temperature. The purpose of predicting the ambient temperature in a preset future time period is to use the known historical data of the ambient temperature and its variation law to predict the ambient temperature in a certain time period in the future.

[0130] The purpose of adjusting the target temperature of the heating equipment based on the ambient temperature in the future time period is to intelligently adjust the target temperature of the heating equipment according to the predicted future ambient temperature to achieve optimal control of the indoor temperature.

[0131] It is understandable that by predicting future ambient temperatures, we can prepare for possible climate changes in advance to save energy or improve comfort. By adjusting the target temperature of the heating equipment, we can ensure that the indoor temperature is neither too high nor too low, thereby avoiding energy waste and achieving the goal of energy saving and consumption reduction.

[0132] The data processing method for the heating equipment provided in this embodiment first obtains the status data of the heating equipment within a preset time period. These data generate multiple time series data based on the collection intervals of different state attributes, and each time series data contains a timestamp and a corresponding attribute value. Then, these time series data are converted: for each state attribute, if the attribute value remains unchanged, the continuous time series data are merged into a target data, and the time range during which the attribute value lasts is recorded; if there are multiple time series data with the same attribute value, these data are merged and converted into a target data, and the time range during which the attribute value lasts and other timestamps other than the continuous timestamps are recorded. In addition, for time series data points with sudden changes in attribute values, no matter where they are located in the data sequence, they are stored separately as target data. After the processing is completed, all target data are effectively stored.

[0133] Furthermore, these target data are converted into a two-dimensional array format to facilitate the visualization of the data. Finally, the ambient temperature in these target data can be analyzed to predict the ambient temperature within a preset time period in the future, so as to automatically adjust the target temperature of the heating equipment according to the predicted results of the ambient temperature.

[0134] First, by merging time series data with the same or continuous unchanged attribute values, this method significantly reduces the amount of data storage, effectively alleviates the pressure of massive time series data on storage capacity, and improves the efficiency of data processing. Secondly, the processed data is converted into a two-dimensional array format, which not only facilitates the visualization of the data, making the data change trend clear at a glance, but also improves the convenience of data analysis. Finally, through the prediction and analysis of the ambient temperature, the future ambient temperature change trend can be grasped in advance, so as to automatically adjust the target temperature of the heating equipment, achieve energy saving and emission reduction, and improve the comfort of the living or working environment.

[0135] Figure 3 This is a schematic diagram of the structure of the data processing device for the heating equipment provided in this application. Figure 3 As shown, the present application provides a data processing device for heating equipment, and the data processing device 300 for heating equipment includes:

[0136] The acquisition module 301 is used to acquire the state data of the heating device within a preset time period, wherein the state data includes a plurality of time series data of the state attributes collected according to the respective collection intervals of one or more state attributes, wherein the time series data includes a timestamp and an attribute value of the state attribute;

[0137] A conversion module 302, for each of the state attributes, is used to convert part of the multiple time series data of the state attribute into a target data according to the attribute value in the multiple time series data of the state attribute;

[0138] The storage module 303 is used to store the target data, wherein the attribute values ​​in the partial time series data are the same, and the target data includes the name of the state attribute, the attribute value of the state attribute, and part or all of the timestamps of the partial time series data.

[0139] Optionally, the conversion module 302 is specifically used to convert the multiple consecutive first time series data into one target data in the order of the timestamps of the multiple time series data of the state attributes and when there are multiple consecutive first time series data whose attribute values ​​of the state attributes have not changed, the target data includes the maximum value and the minimum value of the timestamps of the multiple consecutive first time series data.

[0140] Optionally, the conversion module 302 is specifically used to convert multiple second time series data with the same attribute value of the state attribute into one target data according to the timestamp order of the multiple time series data of the state attribute, and the target data includes the maximum value and the minimum value of the continuous timestamps in the multiple second time series data, and other timestamps other than the continuous timestamps.

[0141] Optionally, the conversion module 302 is specifically configured to, when there is first time series data and an attribute value in the first time series data is different from attribute values ​​of previous and next time series data of the first time series data, convert the first time series data into a target data.

[0142] Optionally, the conversion module 302 is specifically configured to convert the first time series data into a target data when the attribute value of the first time series data is different from the attribute value of the second time series data;

[0143] The conversion module 302 is specifically configured to convert the last piece of time series data into a piece of target data when the attribute value of the last piece of time series data is different from the attribute value of the second to last piece of time series data.

[0144] Optionally, the conversion module 302 is further used to convert each of the target data into data based on a two-dimensional array format, wherein the data based on the two-dimensional array format includes the state attribute and one or more two-dimensional data corresponding to the state attribute, the two-dimensional array includes a timestamp and an attribute value, and the data based on the two-dimensional array format is used for visual display.

[0145] Optionally, the device further includes: a determination module 304;

[0146] The determination module 304 is used to determine the historical variation pattern of the ambient temperature based on the timestamp in the target data;

[0147] The device further comprises: a prediction module 305;

[0148] The prediction module 305 is used to predict the ambient temperature in a preset future time period based on the historical variation pattern of the ambient temperature;

[0149] The device further includes: an adjustment module 306;

[0150] The adjustment module 306 is used to adjust the target temperature of the heating device based on the ambient temperature in the future time period.

[0151] Figure 4 This is a schematic diagram of the structure of the data processing device for the heating equipment provided in this application. Figure 4 As shown, the present application provides a data processing device for heating equipment. The data processing device 400 for heating equipment includes: a receiver 401 , a transmitter 402 , a processor 403 and a memory 404 .

[0152] Receiver 401, for receiving instructions and data;

[0153] A transmitter 402, used for sending instructions and data;

[0154] Memory 404, for storing computer-executable instructions;

[0155] The processor 403 is used to execute the computer-executable instructions stored in the memory 404 to implement the various steps executed by the data processing method for heating equipment in the above embodiment. For details, please refer to the relevant description in the above embodiment of the data processing method for heating equipment.

[0156] Optionally, the memory 404 may be independent or integrated with the processor 403 .

[0157] When the memory 404 is independently provided, the electronic device further includes a bus for connecting the memory 404 and the processor 403 .

[0158] The present application also provides a computer-readable storage medium, in which computer-executable instructions are stored. When a processor executes the computer-executable instructions, a data processing method for a heating device as executed by the data processing device of the above-mentioned heating device is implemented.

[0159] It will be appreciated by those skilled in the art that all or some of the steps, systems, and functional modules / units in the methods disclosed above may be implemented as software, firmware, hardware, and appropriate combinations thereof. In hardware implementations, the division between the functional modules / units mentioned in the above description does not necessarily correspond to the division of physical components; for example, a physical component may have multiple functions, or a function or step may be performed by several physical components in cooperation. Some or all physical components may be implemented as software executed by a processor, such as a central processing unit, a digital signal processor, or a microprocessor, or implemented as hardware, or implemented as an integrated circuit, such as an application-specific integrated circuit. Such software may be distributed on a computer-readable medium, which may include a computer storage medium (or non-transitory medium) and a communication medium (or transient medium). As is known to those skilled in the art, the term computer storage medium includes volatile and non-volatile, removable and non-removable media implemented in any method or technology for storing information (such as computer-readable instructions, data structures, program modules, or other data). Computer storage media include, but are not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, digital versatile disks (DVD) or other optical disk storage, magnetic cassettes, magnetic tapes, magnetic disk storage or other magnetic storage devices, or any other medium that can be used to store the desired information and can be accessed by a computer. In addition, it is well known to those skilled in the art that communication media typically contain computer-readable instructions, data structures, program modules, or other data in a modulated data signal such as a carrier wave or other transport mechanism, and may include any information delivery media.

[0160] So far, the technical solution of the present application has been described in conjunction with the preferred embodiments shown in the accompanying drawings. However, it is easy for those skilled in the art to understand that the protection scope of the present application is obviously not limited to these specific embodiments, and the above embodiments are only used to illustrate the technical solution of the present application rather than to limit it. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or replace some or all of the technical features therein by equivalents. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present application.

Claims

1. A data processing method for heating equipment, characterized in that: include: Acquire status data of the heating device within a preset time period, wherein the status data includes multiple time series data of the status attributes collected according to the respective collection intervals of one or more status attributes, wherein the time series data includes a timestamp and an attribute value of the status attribute; For each of the state attributes, according to the attribute values ​​in the multiple time series data of the state attribute, part of the time series data in the multiple time series data of the state attribute is converted into a target data, and the target data is stored, wherein the attribute values ​​in the part of the time series data are the same, and the target data includes the name of the state attribute, the attribute value of the state attribute, and part or all of the timestamp of the part of the time series data.

2. The method according to claim 1, characterized in that The converting part of the multiple time series data of the state attribute into one target data according to the attribute value of the multiple time series data of the state attribute includes: According to the timestamp order of the multiple time series data of the state attribute, if there are multiple consecutive first time series data whose attribute values ​​of the state attribute have not changed, the multiple consecutive first time series data are converted into one target data, and the target data includes the maximum value and minimum value of the timestamps of the multiple consecutive first time series data.

3. The method according to claim 1, characterized in that: The converting part of the multiple time series data of the state attribute into one target data according to the attribute value of the multiple time series data of the state attribute includes: According to the timestamp order of the multiple time series data of the state attributes, the multiple second time series data with the same attribute value of the state attributes are converted into a target data, and the target data includes the maximum value and the minimum value of the continuous timestamps in the multiple second time series data, and other timestamps other than the continuous timestamps.

4. The method according to claim 2 or 3, characterized in that: Also includes: If there is first time series data, and the attribute value in the first time series data is different from the attribute values ​​of the previous and next time series data of the first time series data, the first time series data is converted into a target data.

5. The method according to claim 4, characterized in that Also includes: If the attribute value of the first time series data is different from the attribute value of the second time series data, converting the first time series data into a target data; If the attribute value of the last time series data is different from the attribute value of the second to last time series data, the last time series data is converted into a target data.

6. The method according to any one of claims 1 to 3, characterized in that The method further comprises: Convert each of the target data into data based on a two-dimensional array format, wherein the data based on the two-dimensional array format includes the state attribute and one or more two-dimensional data corresponding to the state attribute, the two-dimensional array includes a timestamp and an attribute value, and the data based on the two-dimensional array format is used for visual display.

7. The method according to any one of claims 1 to 3, characterized in that The state attribute includes an ambient temperature; and the method further includes: Determining a historical variation pattern of the ambient temperature based on a timestamp in the target data; Based on the historical variation pattern of the ambient temperature, the ambient temperature of a preset future time period is predicted, and based on the ambient temperature of the future time period, the target temperature of the heating device is adjusted.

8. A data processing device for heating equipment, characterized in that: include: An acquisition module, used for acquiring the state data of the heating device within a preset time period, wherein the state data includes a plurality of time series data of the state attributes collected according to the respective collection intervals of one or more state attributes, wherein the time series data includes a timestamp and an attribute value of the state attribute; a conversion module, for each of the state attributes, for converting part of the multiple time series data of the state attribute into one target data according to the attribute value in the multiple time series data of the state attribute; A storage module is used to store the target data, wherein the attribute values ​​in the partial time series data are the same, and the target data includes the name of the state attribute, the attribute value of the state attribute, and part or all of the timestamps of the partial time series data.

9. A data processing device for heating equipment, characterized in that: include: Memory; processor; Wherein, the memory stores computer-executable instructions; The processor executes the computer-executable instructions stored in the memory to implement the data processing method for the heating equipment according to any one of claims 1 to 7.

10. A computer storage medium, characterized in that: The computer storage medium stores computer execution instructions, which, when executed by a processor, are used to implement the data processing method for the heating equipment according to any one of claims 1 to 7.