Method and apparatus for interpolating air conditioning state data, electronic device, storage medium
By identifying the abrupt changes in air conditioner status data and employing appropriate interpolation methods to fill in missing values, the problem of low data restoration accuracy in existing technologies is solved, thereby improving the accuracy of interpolated data and the precision of fault diagnosis.
Patent Information
- Application Number
- CN202111315677.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-11-08
- Publication Date
- 2025-12-12
- Estimated Expiration
- 2041-11-08
AI Technical Summary
Existing methods for interpolating air conditioner status data fail to effectively consider the characteristics of data mutations, resulting in low fidelity of the interpolated air conditioner status data.
By obtaining the type of air conditioner status data, it is determined whether abrupt changes will occur, and based on the determination result, an appropriate interpolation method is selected to interpolate the missing values, including interpolating using the corresponding type of air conditioner status data or interpolating by calculating the average value.
It improves the fidelity of the interpolated air conditioner status data and enhances the accuracy of fault diagnosis.
Smart Images

Figure CN116085940B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of data imputation, for example to a method and device for imputing air conditioner state data, an electronic device and a storage medium. BACKGROUND
[0002] At present, in the case of using air conditioner state data for fault diagnosis, the diagnostic result is often prone to errors due to missing data in the air conditioner state data. Therefore, the missing data in the air conditioner state data needs to be imputed.
[0003] In the process of implementing the embodiments of the present disclosure, it is found that at least the following problems exist in the related art:
[0004] In the case of imputing multiple air conditioner state data, the existing method for imputing air conditioner state data uses the same imputation method to impute multiple air conditioner state data, without considering the mutation characteristics of the data, resulting in low restoration degree of the imputed air conditioner state data. SUMMARY
[0005] The following presents a simplified summary of some aspects of the disclosed embodiments in order to provide a basic understanding of such embodiments. The summary is not an extensive overview of the disclosure, and is not intended to identify key / critical elements of the embodiments or to delineate the scope of the embodiments. Its sole purpose is to present some aspects of the disclosed embodiments in a simplified form as a prelude to the more detailed description that is presented later.
[0006] The embodiments of the present disclosure provide a method and device for imputing air conditioner state data, an electronic device and a storage medium to improve the restoration degree of the imputed air conditioner state data.
[0007] In some embodiments, the method for imputing air conditioner state data comprises: acquiring first air conditioner state data for fault prediction and a type corresponding to the first air conditioner state data; determining missing values in the first air conditioner state data; determining whether the first air conditioner state data will mutate according to the type to obtain a determination result; and imputing the missing values in the first air conditioner state data in an imputation mode corresponding to the determination result.
[0008] In some embodiments, the device for imputing air conditioner state data comprises: an acquisition module configured to acquire first air conditioner state data for fault prediction and a type corresponding to the first air conditioner state data; a determination module configured to determine missing values in the first air conditioner state data; a judgment module configured to determine whether the first air conditioner state data will mutate according to the type to obtain a determination result; and an imputation module configured to impute the missing values in the first air conditioner state data in an imputation mode corresponding to the determination result.
[0009] In some embodiments, the apparatus for interpolating air conditioner state data comprises a processor and a memory storing program instructions, the processor is configured to execute the above-mentioned method for interpolating air conditioner state data when running the program instructions.
[0010] In some embodiments, the electronic device comprises the above-mentioned apparatus for interpolating air conditioner state data.
[0011] In some embodiments, the storage medium stores program instructions, which, when executed, perform the above-mentioned method for interpolating air conditioner state data.
[0012] The method and apparatus for interpolating air conditioner state data, the electronic device, and the storage medium provided by the embodiments of the present disclosure can achieve the following technical effects: by obtaining first air conditioner state data for fault prediction and a type corresponding to the first air conditioner state data, determining missing values in the first air conditioner state data, then judging whether the first air conditioner state data will mutate according to the type, obtaining a judgment result, and interpolating the missing values in the first air conditioner state data according to an interpolation method corresponding to the judgment result, the mutation of the first air conditioner state data is judged according to the type, and the missing values in the first air conditioner state data are interpolated according to the interpolation method corresponding to the judgment result, since the mutation characteristics of the first air conditioner state data are considered, the restoration degree of the interpolated air conditioner state data is improved.
[0013] The general description above and the following description below are exemplary and explanatory only and are not intended to be limiting of the present disclosure. BRIEF DESCRIPTION OF DRAWINGS
[0014] One or more embodiments are illustrated by way of example with reference to the accompanying drawings, which are schematic and are not intended to be limiting of the embodiments, in which like reference numerals denote like elements in the figures, and in which:
[0015] Figure 1 is a schematic diagram of one method for interpolating air conditioner state data provided by the embodiments of the present disclosure;
[0016] Figure 2 is a schematic diagram of another method for interpolating air conditioner state data provided by the embodiments of the present disclosure;
[0017] Figure 3 is a schematic diagram of another method for interpolating air conditioner state data provided by the embodiments of the present disclosure;
[0018] Figure 4 is a schematic diagram of one method for fault diagnosis provided by the embodiments of the present disclosure;
[0019] Figure 5is a schematic diagram of an apparatus for interpolating air conditioner state data provided by an embodiment of the present disclosure.
[0020] Figure 6 is a schematic diagram of another apparatus for interpolating air conditioner state data provided by an embodiment of the present disclosure. DETAILED DESCRIPTION
[0021] In order to enable a more detailed understanding of the features and technical content of the embodiments of the present disclosure, the implementation of the embodiments of the present disclosure will be described in detail below with reference to the accompanying drawings, which are only used for reference and do not limit the embodiments of the present disclosure. In the following technical description, in order to facilitate explanation, a plurality of details are provided to provide a full understanding of the disclosed embodiments. However, one or more embodiments can still be implemented without these details. In other cases, well-known structures and devices can be simplified to facilitate the drawings.
[0022] The terms "first", "second", and the like in the specification and claims of the embodiments of the present disclosure and the above-mentioned drawings are used to distinguish similar objects and do not necessarily describe a specific order or sequence. It should be understood that the data thus used can be interchanged under appropriate circumstances to implement the embodiments of the present disclosure described herein. In addition, the terms "include" and "have" and any variations thereof are intended to cover non-exclusive inclusion.
[0023] Unless otherwise specified, the term "a plurality of" means two or more.
[0024] In the embodiments of the present disclosure, the character " / " represents an "or" relationship between the objects before and after it. For example, A / B represents: A or B.
[0025] The term "and / or" is a description of the association relationship between objects, which means that there can be three relationships. For example, A and / or B means: A or B, or, A and B, the three relationships.
[0026] The term "corresponding" can refer to an association relationship or a binding relationship. A and B correspond to each other means that A and B have an association relationship or a binding relationship.
[0027] In combination Figure 1 As shown, the embodiments of the present disclosure provide a method for interpolating air conditioner state data, comprising:
[0028] Step S101, obtaining first air conditioner state data for fault prediction and a type corresponding to the first air conditioner state data.
[0029] Step S102, determining the missing value in the first air conditioner state data.
[0030] In step S103, it is judged whether the first air conditioner state data will mutate according to the type corresponding to the first air conditioner state data, and a judgment result is obtained.
[0031] In step S104, the missing value in the first air conditioner state data is interpolated in the interpolation mode corresponding to the judgment result.
[0032] The method for interpolating air conditioner state data provided by the embodiments of the present disclosure comprises the following steps: obtaining first air conditioner state data used for fault prediction and a type corresponding to the first air conditioner state data, determining a missing value in the first air conditioner state data, judging whether the first air conditioner state data will mutate according to the type, obtaining a judgment result, and interpolating the missing value in the first air conditioner state data in an interpolation mode corresponding to the judgment result. The missing value in the first air conditioner state data is determined by judging whether the first air conditioner state data will mutate according to the type and interpolating the missing value in the first air conditioner state data in an interpolation mode corresponding to the judgment result. Since the mutation characteristics of the first air conditioner state data are considered, the restoration degree of the interpolated air conditioner state data is improved.
[0033] Optionally, the first air conditioner state data is obtained every preset interval time. Optionally, the preset interval time comprises 15 seconds to 30 seconds.
[0034] Optionally, the missing value in the first air conditioner state data is determined by: determining that the first air conditioner state data is a missing value in a case that the first air conditioner state data of a first preset number of consecutive first air conditioner state data is a first set threshold value, and the number of second air conditioner state data being the first set threshold value is greater than or equal to a second preset number; the second air conditioner state data is air conditioner state data collected at the time of collecting the first air conditioner state data and having a type different from that of the first air conditioner state data.
[0035] In this way, in a case that the first air conditioner state data of a first preset number of consecutive first air conditioner state data is a first set threshold value, and the number of second air conditioner state data being the first set threshold value is greater than or equal to a second preset number, the first air conditioner state data is determined to be a missing value. Not only the first air conditioner state data being the first set threshold value is considered, but also the second air conditioner state data collected at the time of collecting the first air conditioner state data and having a type different from that of the first air conditioner state data is compared horizontally, so that the accuracy of determining the missing value in the first air conditioner state data is increased.
[0036] Optionally, the first preset number comprises 5; the second preset number comprises 4; and the first set threshold value is 0.
[0037] In some embodiments, the type of the first air conditioner state data is an air conditioner compressor temperature type, the first air conditioner state data is {35, 0, 0, 0, 0, 0, 37}, and the type of the second air conditioner state data includes an air conditioner on-off type, an air conditioner temperature type, an air conditioner compressor exhaust temperature type, and an air conditioner compressor suction and exhaust pressure type. The second air conditioner state data of the air conditioner on-off type is {1, 1, 0, 0, 1, 1, 0}, wherein 1 represents air conditioner on and 0 represents air conditioner off; the second air conditioner state data of the air conditioner temperature type is {28, 28, 0, 28, 28, 28, 28}; the second air conditioner state data of the air conditioner compressor exhaust temperature type is {45, 45, 0, 45, 45, 45, 45}; and the second air conditioner state data of the air conditioner compressor suction and exhaust pressure type is {66, 66, 0, 0, 0, 65, 65}. The second to sixth first air conditioner state data are all zero, i.e., the first air conditioner state data has five consecutive first air conditioner state data all being zero, the number of second air conditioner state data corresponding to the third first air conditioner state data equal to 0 is 4, and it is determined that the third data in the first air conditioner state data is a missing value.
[0038] Optionally, the first air conditioner state data is determined to have a mutation according to the type, and a judgment result is obtained, including: in a case where the type of the first air conditioner state data is a preset type, the first air conditioner state data is determined to have a mutation as the judgment result; and / or in a case where the type of the first air conditioner state data is not the preset type, the first air conditioner state data is determined not to have a mutation as the judgment result.
[0039] Optionally, the first air conditioner state data of the preset type all has the data mutation feature, i.e., the first air conditioner state data of the preset type is not continuous data but data that suddenly changes.
[0040] In this way, the first air conditioner state data is determined to have a mutation as the judgment result in a case where the type of the first air conditioner state data is a preset type, and the first air conditioner state data is determined not to have a mutation as the judgment result in a case where the type of the first air conditioner state data is not the preset type, so as to interpolate the missing value in the first air conditioner state data in the interpolation mode corresponding to the judgment result, the mutation feature of the first air conditioner state data is considered, and the restoration degree of the interpolated air conditioner state data is improved.
[0041] Optionally, the preset type includes an air conditioner on-off type, an air conditioner compressor temperature type, and an air conditioner system suction and exhaust temperature type.
[0042] Optionally, the interpolation mode corresponding to the determination result is: in a case where the determination result is that the first air conditioner state data will have a mutation, obtaining third air conditioner state data corresponding to the first air conditioner state data; and interpolating the missing values in the first air conditioner state data by using the corresponding relationship between the third air conditioner state data and the first air conditioner state data.
[0043] In this way, in a case where the determination result is that the first air conditioner state data will have a mutation, the missing values in the first air conditioner state data are interpolated by obtaining the third air conditioner state data corresponding to the first air conditioner state data and using the corresponding relationship between the third air conditioner state data and the first air conditioner state data, so that the first air conditioner state data that is mutation data is interpolated, and the restoration degree of the interpolated air conditioner state data is improved.
[0044] In some embodiments, the type of the first air conditioner state data is an air conditioner compressor temperature type, the determination result is that the first air conditioner state data will have a mutation, the obtained third air conditioner state data corresponding to the first air conditioner state data is of an air conditioner compressor discharge temperature type, the difference between the third air conditioner state data and 3 is obtained, and the missing values in the first air conditioner state data are interpolated by using the difference, that is, the missing values in the first air conditioner state data are replaced by the difference.
[0045] In some embodiments, the type of the first air conditioner state data is an air conditioner system suction and discharge temperature type, the determination result is that the first air conditioner state data will have a mutation, the obtained third air conditioner state data corresponding to the first air conditioner state data is of an air conditioner compressor suction and discharge pressure type, and the missing values in the first air conditioner state data are interpolated by using the proportional relationship between the first air conditioner state data and the third air conditioner state data.
[0046] In some embodiments, the type of the first air conditioner state data is an air conditioner switch type, the determination result is that the first air conditioner state data will have a mutation, the obtained third air conditioner state data corresponding to the first air conditioner state data is of an air conditioner temperature type, the outdoor temperature is obtained, in a case where the difference between the third air conditioner state data and the outdoor temperature is greater than or equal to a preset difference value, the missing values in the first air conditioner state data are replaced by 1, and in a case where the difference between the third air conditioner state data and the outdoor temperature is less than the preset difference value, the missing values in the first air conditioner state data are replaced by 0.
[0047] In combination with Figure 2 As shown in FIG. 10, the embodiment of the present disclosure provides another method for interpolating air conditioner state data, which comprises the following steps.
[0048] In step S201, first air conditioner state data used for fault prediction and a type corresponding to the first air conditioner state data are obtained.
[0049] In step S202, a missing value in the first air conditioner state data is determined.
[0050] In step S203, in a case where the type of the first air conditioner state data is a preset type, it is determined that the first air conditioner state data will have a mutation as a determination result.
[0051] In step S204, in a case where the determination result is that the first air conditioner state data will have a mutation, third air conditioner state data corresponding to the first air conditioner state data is obtained.
[0052] In step S205, the missing value in the first air conditioner state data is interpolated by using a corresponding relationship between the third air conditioner state data and the first air conditioner state data.
[0053] By using the method for interpolating air conditioner state data provided in the embodiments of the present disclosure, the missing value in the first air conditioner state data is determined by obtaining the first air conditioner state data for fault prediction and the type corresponding to the first air conditioner state data, and in a case where the type of the first air conditioner state data is a preset type, it is determined that the first air conditioner state data will have a mutation as a determination result, and in a case where the determination result is that the first air conditioner state data will have a mutation, the third air conditioner state data corresponding to the first air conditioner state data is obtained, and the missing value in the first air conditioner state data is interpolated by using the corresponding relationship between the third air conditioner state data and the first air conditioner state data. The restoration degree of the interpolated air conditioner state data is improved by interpolating the first air conditioner state data that is mutation data.
[0054] Optionally, the interpolation mode corresponding to the determination result is that, in a case where the determination result is that the first air conditioner state data will not have a mutation, the first air conditioner state data of the same type as the missing value is determined as fourth air conditioner state data; an average value of a third preset number of fourth first air conditioner state data is obtained; and the missing value in the first air conditioner state data is interpolated by using the average value of the third preset number of fourth first air conditioner state data.
[0055] In this way, in a case where the determination result is that the first air conditioner state data will not have a mutation, the first air conditioner state data of the same type as the missing value is determined as fourth air conditioner state data; an average value of a third preset number of fourth first air conditioner state data is obtained; and the missing value in the first air conditioner state data is interpolated by using the average value of the third preset number of fourth first air conditioner state data, so that the interpolated first air conditioner state data is more in line with the non-mutation characteristics, and the restoration degree of the interpolated air conditioner state data is improved.
[0056] Optionally, the fourth air conditioner state data is non-missing value.
[0057] Optionally, the interpolation mode corresponding to the determination result is: in a case where the determination result is that the first air conditioner state data will not mutate, obtaining a probability of missing values in the first air conditioner state data; in a case where the probability of the missing values in the first air conditioner state data is less than 10%, obtaining an average value of the first air conditioner state data of non-missing values within a first preset time before and after the missing value as a center, and interpolating the missing values in the first air conditioner state data by using the average value of the first air conditioner state data of non-missing values within the first preset time before and after the missing value as the center. Optionally, the first preset time is 5 minutes.
[0058] In combination with Figure 3 As shown in FIG. 1, the embodiment of the present disclosure provides another method for interpolating air conditioner state data, comprising:
[0059] In step S301, first air conditioner state data used for fault prediction and a type corresponding to the first air conditioner state data are obtained.
[0060] In step S302, missing values in the first air conditioner state data are determined.
[0061] In step S303, in a case where the type of the first air conditioner state data is not a preset type, it is determined that the first air conditioner state data will not mutate as the determination result.
[0062] In step S304, in a case where the determination result is that the first air conditioner state data will not mutate, the first air conditioner state data of the same type as the missing values is determined as fourth air conditioner state data.
[0063] In step S305, an average value of a third preset number of fourth first air conditioner state data is obtained.
[0064] In step S306, the missing values in the first air conditioner state data are interpolated by using the average value of the third preset number of fourth first air conditioner state data.
[0065] The method for interpolating air conditioner state data provided by the embodiment of the present disclosure is used to obtain first air conditioner state data for fault prediction and a type corresponding to the first air conditioner state data, determine a missing value in the first air conditioner state data, determine that the first air conditioner state data will not mutate in a case where the type of the first air conditioner state data is not a preset type, determine the first air conditioner state data of the same type as the missing value as fourth air conditioner state data in a case where the determination result is that the first air conditioner state data will not mutate, obtain an average value of the fourth first air conditioner state data of a third preset number, and interpolate the missing value in the first air conditioner state data by using the average value of the fourth first air conditioner state data of the third preset number. The first air conditioner state data is interpolated, and the interpolated first air conditioner state data is more in line with the non-mutation characteristics, thereby improving the restoration degree of the interpolated air conditioner state data.
[0066] Optionally, after interpolating the missing value in the first air conditioner state data according to the determination result, the method further includes inputting the interpolated first air conditioner state data into a preset fault diagnosis model for fault diagnosis.
[0067] In this way, the interpolated first air conditioner state data is input into the preset fault diagnosis model for fault diagnosis, thereby improving the accuracy of fault diagnosis.
[0068] Optionally, the preset fault diagnosis model includes one or more of a convolutional neural network model, a decision tree model, and an incremental learning model.
[0069] In combination with Figure 4 The embodiment of the present disclosure provides a method for fault diagnosis, which includes the following steps.
[0070] In step S401, first air conditioner state data for fault prediction and a type corresponding to the first air conditioner state data are obtained.
[0071] In step S402, a missing value in the first air conditioner state data is determined.
[0072] In step S403, whether the first air conditioner state data will mutate is determined according to the type, and a determination result is obtained.
[0073] In step S404, the missing value in the first air conditioner state data is interpolated in a manner corresponding to the determination result.
[0074] In step S405, the interpolated first air conditioner state data is input into a preset fault diagnosis model for fault diagnosis.
[0075] Thus, by acquiring the first air conditioner state data for fault prediction and the type corresponding to the first air conditioner state data, determining the missing values in the first air conditioner state data, then judging whether the first air conditioner state data will mutate according to the type to obtain a judgment result, and interpolating the missing values in the first air conditioner state data according to the interpolation method corresponding to the judgment result, the interpolation method corresponding to the judgment result is used to interpolate the missing values in the first air conditioner state data, and the interpolation method corresponding to the judgment result is used to interpolate the missing values in the first air conditioner state data. The interpolated first air conditioner state data is input into the preset fault diagnosis model for fault diagnosis. Since the mutation characteristics of the first air conditioner state data are considered, the restoration degree of the interpolated air conditioner state data is improved, and then the interpolated first air conditioner state data is input into the preset fault diagnosis model for fault diagnosis, thereby improving the accuracy of fault diagnosis.
[0076] Optionally, after the interpolated first air conditioner state data is input into the preset fault diagnosis model for fault diagnosis, the method further includes: acquiring a fault diagnosis accuracy probability; and improving the interpolation method corresponding to the judgment result if the fault diagnosis accuracy probability is less than a preset accuracy probability. Optionally, the preset accuracy probability includes 80%.
[0077] Optionally, improving the interpolation method corresponding to the judgment result includes: randomly removing the interpolated first air conditioner state data if the judgment result is that the first air conditioner state data will mutate; determining missing values in the removed first air conditioner state data; and interpolating the missing values in the removed first air conditioner state data according to the interpolation method corresponding to the judgment result.
[0078] Optionally, improving the interpolation method corresponding to the judgment result includes: updating the third preset number to a fourth preset number if the judgment result is that the first air conditioner state data will not mutate; and the fourth preset number is twice the third preset number.
[0079] Optionally, improving the interpolation method corresponding to the judgment result includes: updating the first preset time to a second preset time if the judgment result is that the first air conditioner state data will not mutate and the probability of the missing values in the first air conditioner state data is less than 10%. Optionally, the second preset time is 3 minutes.
[0080] In combination Figure 5As shown, the embodiment of the present disclosure provides a device for interpolating air conditioner state data, which comprises an acquisition module 1, a determination module 2, a judgment module 3 and an interpolation module 4. The acquisition module 1 is configured to acquire first air conditioner state data for fault prediction and a type corresponding to the first air conditioner state data; the determination module 2 is configured to determine missing values in the first air conditioner state data; the judgment module 3 is configured to judge whether the first air conditioner state data will mutate according to the type, and obtain a judgment result; and the interpolation module 4 is configured to interpolate the missing values in the first air conditioner state data in an interpolation mode corresponding to the judgment result.
[0081] By using the device for interpolating air conditioner state data provided by the embodiment of the present disclosure, the first air conditioner state data for fault prediction and the type corresponding to the first air conditioner state data are acquired, and then the missing values in the first air conditioner state data are determined, and then whether the first air conditioner state data will mutate is judged according to the type, and a judgment result is obtained, and the missing values in the first air conditioner state data are interpolated in an interpolation mode corresponding to the judgment result. By judging whether the first air conditioner state data will mutate according to the type, and interpolating the missing values in the first air conditioner state data in an interpolation mode corresponding to the judgment result, since the mutation characteristics of the first air conditioner state data are considered, the restoration degree of the interpolated air conditioner state data is improved.
[0082] Optionally, the determination module is configured to determine the missing values in the first air conditioner state data by the following manner: in the case that the first air conditioner state data of the first preset number of consecutive first air conditioner state data are all the first set threshold value, and in the case that the number of the second air conditioner state data being the first set threshold value is greater than or equal to the second preset number, the first air conditioner state data is determined as the missing value; the second air conditioner state data is air conditioner state data collected at the same time as the first air conditioner state data, and the type of the second air conditioner state data is different from that of the first air conditioner state data
[0083] Optionally, the judgment module is configured to judge whether the first air conditioner state data will mutate according to the type, and obtain a judgment result, by the following manner: in the case that the type of the first air conditioner state data is a preset type, the first air conditioner state data is determined to mutate as the judgment result; and / or in the case that the type of the first air conditioner state data is not the preset type, the first air conditioner state data is determined not to mutate as the judgment result.
[0084] Optionally, the interpolation module is configured to interpolate the missing values in the first air conditioner state data in an interpolation mode corresponding to the following judgment result: in the case that the judgment result is that the first air conditioner state data will mutate, the third air conditioner state data corresponding to the first air conditioner state data is acquired; and the missing values in the first air conditioner state data are interpolated by using the corresponding relationship between the third air conditioner state data and the first air conditioner state data.
[0085] Optionally, the interpolation module is configured to interpolate the missing value in the first air conditioner state data in an interpolation manner corresponding to a determination result that the first air conditioner state data will not mutate, and determine the first air conditioner state data of the same type as the missing value as the fourth air conditioner state data; obtain an average value of the fourth first air conditioner state data of a third preset number; and interpolate the missing value in the first air conditioner state data by using the average value of the fourth first air conditioner state data of the third preset number.
[0086] Optionally, the device for interpolating air conditioner state data further comprises an input module. The input module is configured to input the interpolated first air conditioner state data into a preset fault diagnosis model for fault diagnosis.
[0087] In combination with Figure 6 As shown in the drawings, the embodiments of the present disclosure provide a device for interpolating air conditioner state data, which comprises a processor 100 and a memory 101. Optionally, the device can further comprise a communication interface 102 and a bus 103. The processor 100, the communication interface 102 and the memory 101 can communicate with each other through the bus 103. The communication interface 102 can be used for information transmission. The processor 100 can call the logical instructions in the memory 101 to execute the method for interpolating air conditioner state data of the above-mentioned embodiments.
[0088] By using the device for interpolating air conditioner state data provided by the embodiments of the present disclosure, the first air conditioner state data for fault prediction and the type corresponding to the first air conditioner state data are obtained, the missing value in the first air conditioner state data is determined, then whether the first air conditioner state data will mutate is judged according to the type, a determination result is obtained, the missing value in the first air conditioner state data is interpolated in an interpolation manner corresponding to the determination result, whether the first air conditioner state data will mutate is judged by the type, and the missing value in the first air conditioner state data is interpolated in an interpolation manner corresponding to the determination result. Since the mutation characteristics of the first air conditioner state data are considered, the restoration degree of the interpolated air conditioner state data is improved.
[0089] In addition, the logical instructions in the memory 101 described above can be implemented in the form of a software functional unit and sold or used as an independent product, which can be stored in a computer readable storage medium.
[0090] The memory 101 can be used to store software programs, computer executable programs, such as program instructions / modules corresponding to the method in the embodiments of the present disclosure. The processor 100 executes the function application and data processing by running the program instructions / modules stored in the memory 101, that is, implements the method for interpolating air conditioner state data in the above embodiments.
[0091] The memory 101 can include a program storage area and a data storage area, wherein the program storage area can store an operating system and at least one application required by a function; the data storage area can store data created according to the use of the terminal device, etc. In addition, the memory 101 can include a high-speed random access memory, and can also include a non-volatile memory.
[0092] The embodiments of the present disclosure provide an electronic device comprising the above-mentioned device for interpolating air conditioner state data.
[0093] By using the electronic device provided by the embodiments of the present disclosure, the first air conditioner state data for fault prediction and the type corresponding to the first air conditioner state data are obtained, and the missing values in the first air conditioner state data are determined, then whether the first air conditioner state data will mutate is judged according to the type, a judgment result is obtained, and the missing values in the first air conditioner state data are interpolated by the interpolation method corresponding to the judgment result. By judging whether the first air conditioner state data will mutate and interpolating the missing values in the first air conditioner state data by the interpolation method corresponding to the judgment result, the restoration degree of the interpolated air conditioner state data is improved because the mutation characteristics of the first air conditioner state data are considered.
[0094] The embodiments of the present disclosure provide a storage medium, which stores computer executable instructions, and the computer executable instructions are configured to execute the above-mentioned method for interpolating air conditioner state data.
[0095] The embodiments of the present disclosure provide a computer program product, which includes a computer program stored on a computer readable storage medium, and the computer program includes program instructions, and when the program instructions are executed by a computer, the computer executes the above-mentioned method for interpolating air conditioner state data.
[0096] The above-mentioned computer readable storage medium can be a transitory computer readable storage medium or a non-transitory computer readable storage medium.
[0097] The technical solutions of the embodiments of the present disclosure can be embodied in the form of a software product. The computer software product is stored in a storage medium and includes one or more instructions for causing a computer device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the method disclosed in the embodiments of the present disclosure. The aforementioned storage medium can be a non-transitory storage medium, including: a U disk, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, and various media that can store program codes, and can also be a transitory storage medium.
[0098] The above description and drawings sufficiently illustrate the embodiments of the present disclosure to enable one skilled in the art to practice them. Other embodiments can include structural, logical, electrical, process, and other changes. The embodiments represent only a few of the possible variations. Individual components and functions are optional unless explicitly required, and the order of operations can be changed. Parts and features of some embodiments can be included in or replace parts and features of other embodiments. Also, the words used in this application are used only to describe the embodiments and not to limit the claims. As used in the description of the embodiments and the claims, unless the context clearly requires otherwise, the singular forms "a," "an," and "the" are intended to include the plural forms as well. Similarly, the term "and / or" as used in this application refers to any and all possible combinations of one or more associated listed items. In addition, when used in this application, the term "comprise" and its variations "comprises" and / or comprises" and the like mean the presence of the stated features, integers, steps, operations, elements, and / or components, but do not exclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and / or groups thereof. Without more limitations, the element defined by the phrase "comprising a" does not exclude the presence of additional identical elements in the process, method, or device including the stated element. In this document, each embodiment focuses on the differences from other embodiments, and the same or similar parts between embodiments can be referred to each other. For the method, product, etc. disclosed in the embodiments, if it corresponds to the method part disclosed in the embodiments, the relevant part can be referred to the description of the method part.
[0099] Those skilled in the art can understand that the units and algorithm steps of each example described in combination with the embodiments disclosed herein can be realized by electronic hardware or a combination of computer software and electronic hardware. Whether the functions are realized in hardware or software depends on the specific application and design constraints of the technical solution. The skilled person can use different methods for each specific application to realize the described functions, but such implementation should not be considered beyond the scope of the embodiments of the present disclosure. The skilled person can clearly understand that, for the convenience and brevity of description, the specific working processes of the above-described system, device and unit can refer to the corresponding processes in the foregoing method embodiments, which will not be repeated here.
[0100] In the embodiments disclosed herein, the disclosed methods, products (including but not limited to devices, equipment, etc.) can be implemented in other ways. For example, the above-described device embodiments are only schematic, for example, the division of the units can only be a logical function division, and actual implementation can have another division manner, for example, a plurality of units or components can be combined or integrated into another system, or some features can be ignored or not executed. In addition, the coupling or direct coupling or communication connection between the units shown or discussed can be indirect coupling or communication connection through some interface, device or unit, and can be electrical, mechanical or other forms. The units described as separate components can or can not be physically separate, and the components shown as units can or can not be physical units, that is, they can be located in one place, or can be distributed on a plurality of network units. Part or all of the units can be selected according to actual needs to implement the embodiments. In addition, each functional unit in the embodiments of the present disclosure can be integrated in one processing unit, or each unit can be a physically independent unit, or two or more units can be integrated in one unit.
[0101] The computer program instructions can also be loaded onto a computer, other programmable data processing apparatus, or other processing device to cause a series of operational steps to be performed on the computer, other programmable apparatus or other processing device to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide processes for implementing the functions / acts specified in the flowchart and / or block diagram block or blocks.
Claims
1. A method for interpolating air conditioning state data, characterized by, The method comprises: obtaining first air conditioner state data used for fault prediction and a type corresponding to the first air conditioner state data; determining missing values in the first air conditioner state data; judging whether the first air conditioner state data will mutate according to the type, and obtaining a judgment result; interpolating the missing values in the first air conditioner state data in an interpolation mode corresponding to the judgment result; wherein the missing values in the first air conditioner state data are determined by: determining that the first air conditioner state data is a missing value when the first air conditioner state data is a first set threshold for a continuous first preset number of times, and when the number of second air conditioner state data that is the first set threshold is greater than or equal to a second preset number; the second air conditioner state data is air conditioner state data of a type different from that of the first air conditioner state data collected when the first air conditioner state data is collected; the interpolation mode corresponding to the judgment result is: obtaining third air conditioner state data corresponding to the first air conditioner state data when the judgment result is that the first air conditioner state data will mutate; and interpolating the missing values in the first air conditioner state data using the corresponding relationship between the third air conditioner state data and the first air conditioner state data.
2. The method of claim 1, wherein, The judgment result is obtained by judging whether the first air conditioner state data will mutate according to the type, comprising: in the case that the type of the first air conditioner state data is a preset type, determining that the first air conditioner state data will mutate as the judgment result; and / or, in the case that the type of the first air conditioner state data is not a preset type, determining that the first air conditioner state data will not mutate as the judgment result.
3. The method of claim 1, wherein, The interpolation mode corresponding to the judgment result is: in the case that the judgment result is that the first air conditioner state data will not mutate, determining first air conditioner state data of the same type as the missing value as fourth air conditioner state data; obtaining the average value of the fourth air conditioner state data of a third preset number; interpolating the missing values in the first air conditioner state data using the average value.
4. The method according to any one of claims 1 to 3, characterized in that, After interpolating the missing values in the first air conditioner state data according to the judgment result, the method further comprises: inputting the interpolated first air conditioner state data into a preset fault diagnosis model for fault diagnosis.
5. An apparatus for interpolating air conditioning status data, characterized by, The device for interpolating air conditioner state data comprises: an obtaining module configured to obtain first air conditioner state data used for fault prediction and a type corresponding to the first air conditioner state data; a determining module configured to determine missing values in the first air conditioner state data; a judging module configured to judge whether the first air conditioner state data will mutate according to the type, and obtain a judgment result; an interpolating module configured to interpolate the missing values in the first air conditioner state data in an interpolation mode corresponding to the judgment result.
6. An apparatus for interpolating air conditioning status data, comprising a processor and a memory having stored therein program instructions, wherein, The processor is configured to execute the method for interpolating air conditioner state data according to any one of claims 1 to 4 when running the program instructions.
7. An electronic device, comprising: A device for interpolating air conditioning status data as claimed in claim 6.
8. A storage medium storing program instructions, characterized in that, The program instructions, when executed, perform the method for interpolating air conditioning status data as claimed in any one of claims 1 to 4.
Citation Information
Patent Citations
Building power load multi-step prediction method and system based on deep learning
CN111080002A
Method and device for processing air conditioner operation data
CN111594979A