Air conditioner control method and device, electronic equipment and storage medium
By using long and short-term memory models to generate air conditioning control strategies, the problem of inaccurate start and stop control of air conditioners in cigarette production is solved, and precise control of temperature and humidity and efficient utilization of resources are achieved.
Patent Information
- Application Number
- CN202510230751.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-02-28
- Publication Date
- 2025-05-30
AI Technical Summary
In cigarette production, due to the air conditioner start-stop control relies on manual experience, it is difficult to adapt to seasonal and environmental changes, resulting in inaccurate temperature and humidity control, waste of resources and product quality.
By determining the temperature and humidity changes of outdoor and indoor environments to the production area and sending this information to a pre-trained long-term and short-term memory model, an air conditioner control strategy is generated to achieve accurate air conditioner start-stop control.
The rapid and accurate generation of air conditioning control strategies is achieved, ensuring that the temperature and humidity of the production area are at the target value during the production period, and avoiding resource waste and product quality problems.
Smart Images

Figure CN120052586A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of cigarette production, and in particular, to an air conditioner control method, device, electronic device, and storage medium. Background Art
[0002] In view of the discontinuous cigarette production situation, the start-stop control of the process air conditioner mainly relies on manual experience, which is difficult to adapt to the changes in different seasons and environmental conditions. There are problems such as start-up delay or advance, low regulation efficiency, and energy waste. The lack of an intelligent algorithm based on seasonal temperature and humidity changes under different production conditions makes the air conditioner unable to automatically plan the pre-start time, resulting in low operating efficiency and the risk that the production environment is difficult to meet the standards in a timely manner. Especially in seasons with large temperature and humidity fluctuations, the precise control of the air conditioner start-stop is insufficient, which may not only cause energy waste, but also affect product quality. Summary of the Invention
[0003] The present invention provides an air conditioner control method, device, electronic device, and storage medium to solve the problems of inaccurate temperature and humidity control and excessive resource waste during cigarette production.
[0004] According to one aspect of the present invention, an air conditioner control method is provided, and the method includes:
[0005] Determine the first information and the second information of the production area; the first information is the information in the outdoor environment that causes temperature and humidity changes in the production area; the second information is the information in the indoor environment that causes temperature and humidity changes in the production area;
[0006] Send the first information, the second information, and the third information to a pre-trained air conditioner start-stop control model to obtain an air conditioner control strategy in the production area; the third information is the target temperature and humidity, the operating states of at least one target device, and the production plan; the air conditioner start-stop control model is based on a long short-term memory model as the basic model and is trained and generated through historical air conditioner control strategies and the corresponding historical first information, historical second information, historical third information, and refrigeration efficiency; the air conditioner start-stop control model includes an input layer, an embedding layer, a long short-term memory layer, a fully connected layer, and an output layer; the input layer is used to receive the data input to the air conditioner start-stop control model; the embedding layer is used to convert the discrete data in the input layer into a preset-dimensional dense vector; the long short-term memory layer is used to determine the data change characteristics; the fully connected layer is used to generate an air conditioner control strategy according to the data change characteristics; the output layer is used to output the air conditioner control strategy.
[0007] According to another aspect of the present invention, an air conditioner control device is provided, and the device includes:
[0008] An information determination module is used to determine first information and second information of a production area; the first information is information about changes in temperature and humidity in the outdoor environment that cause changes in temperature and humidity in the production area; the second information is information about changes in temperature and humidity in the indoor environment that cause changes in temperature and humidity in the production area;
[0009] A control strategy generation module is used to send the first information, the second information and the third information to a pre-trained air-conditioning start-stop control model to obtain the air-conditioning control strategy in the production area; the third information is the target temperature and humidity, the operating status of at least one target device and the production plan; the air-conditioning start-stop control model is trained and generated by using a long-short-term memory model as a basic model through historical air-conditioning control strategies and historical air-conditioning control strategies corresponding to historical first information, historical second information, historical third information, and cooling efficiency; the air-conditioning start-stop control model includes an input layer, an embedding layer, a long-short-term memory layer, a fully connected layer and an output layer; the input layer is used to receive data input to the air-conditioning start-stop control model; the embedding layer is used to convert discrete data in the input layer into a dense vector of a preset dimension; the long-short-term memory layer is used to determine data change characteristics; the fully connected layer is used to generate an air-conditioning control strategy based on the data change characteristics; the output layer is used to output the air-conditioning control strategy.
[0010] According to another aspect of the present invention, an electronic device is provided, the electronic device comprising:
[0011] at least one processor; and
[0012] a memory communicatively connected to at least one processor; wherein,
[0013] The memory stores a computer program that can be executed by at least one processor. The computer program is executed by at least one processor so that the at least one processor can execute the air conditioning control method of any embodiment of the present invention.
[0014] According to another aspect of the present invention, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the air conditioning control method of any embodiment of the present invention when executed.
[0015] The technical solution of the embodiment of the present invention obtains the air-conditioning control strategy in the production area by determining the first information and the second information of the production area, and sending the first information, the second information and the third information to a pre-trained air-conditioning start-stop control model, thereby realizing the rapid determination of the air-conditioning control strategy while ensuring the accuracy of the determination result. The air-conditioning control strategy is quickly generated through the air-conditioning start-stop control model, thereby ensuring that the temperature and humidity in the production area can be at the target temperature and humidity during production, and can avoid as much as possible reaching the target temperature and humidity during production to cause waste of resources.
[0016] It should be understood that the content described in this part is not intended to identify the key or important features of the embodiments of the present invention, nor is it used to limit the scope of the present invention. Other features of the present invention will become readily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for the description of the embodiments. Obviously, the drawings in the following description are only some embodiments of the present invention. For those of ordinary skill in the art, without creative efforts, other drawings can be obtained based on these drawings.
[0018] Figure 1 is a flowchart of an air conditioner control method provided according to Embodiment 1 of the present invention;
[0019] Figure 2 is a flowchart of another air conditioner control method provided according to Embodiment 2 of the present invention;
[0020] Figure 3 is a schematic structural diagram of an air conditioner control device provided according to Embodiment 3 of the present invention;
[0021] Figure 4 is a schematic structural diagram of an electronic device for implementing the air conditioner control method of the embodiments of the present invention. DETAILED DESCRIPTION OF THE EMBODIMENTS
[0022] In order to enable those skilled in the art to better understand the solutions of the present invention, the following clearly and completely describes the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, rather than all, of the embodiments of the present invention. All other embodiments obtained by those of ordinary skill in the art based on the embodiments of the present invention without creative efforts shall fall within the protection scope of the present invention.
[0023] It should be noted that the terms "first", "second", etc. in the specification 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 such data can be interchanged under appropriate circumstances so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "comprising" and "having" and any variations thereof are intended to cover non-exclusive inclusion. For example, a process, method, system, product, or device that includes a series of steps or units does not necessarily have to be limited to those steps or units clearly listed, but may include other steps or units not clearly listed or inherent to these processes, methods, products, or devices.
[0024] Embodiment 1
[0025] Figure 1 The following is a flowchart of an air conditioner control method provided by Embodiment 1 of the present invention. This embodiment is applicable to the situation where the temperature and humidity in the production area need to reach the target temperature and humidity before the start of cigarette production. This method can be executed by an air conditioner control device, which can be implemented in the form of hardware and / or software, and can be configured in an electronic device with data processing capabilities. As Figure 1 shown, the method includes:
[0026] S110. Determine the first information and the second information of the production area.
[0027] The first information is the information in the outdoor environment that causes temperature and humidity changes in the production area; the second information is the information in the indoor environment that causes temperature and humidity changes in the production area.
[0028] The production scenarios of cigarette production are usually located indoors because the temperature and humidity in the production environment during the cigarette production process have a certain impact on cigarette quality and shelf life, etc.
[0029] In the actual cigarette production process, production is not always in progress. There may be a period of production suspension between different cigarette production projects. At this time, if the production area of cigarettes is still maintained in the preset temperature and humidity environment, it will cause waste of resources.
[0030] In traditional temperature and humidity regulation, it relies on staff for manual adjustment, but this regulation method has certain problems, including being unable to ensure successful adjustment before production starts, thereby reducing cigarette production efficiency, or keeping the temperature and humidity at the preset requirements for a long time before production starts, resulting in waste of resources.
[0031] To solve the above problems, this application considers generating an air conditioner control strategy through a model to avoid the occurrence of the above problems.
[0032] Therefore, it is necessary to first obtain the first information and the second information that will affect the temperature and humidity environment in the production area.
[0033] Among them, the first information is the information in the outdoor environment that causes temperature and humidity changes in the production area, including but not limited to outdoor temperature and humidity, air quality, weather, and changes in the preset future time period. For the acquisition of the first information, it can be obtained through manual measurement, deploying sensors for collection, and accessing weather websites, etc. The second information is the information in the indoor environment that causes temperature and humidity changes in the production area, including but not limited to the real-time power of cigarette equipment, the fluctuation range of energy consumption, the efficiency of cigarette equipment, cigarette equipment parameters, the heat generation of equipment and people in the workshop internal environment, and the heat preservation situation of the building structure in the control area, etc.
[0034] Optionally, after determining the first information and the second information of the production area, it includes:
[0035] Perform noise filtering on the first information and the second information, and fill in missing values and perform anomaly detection on the filtering result to obtain a fourth information group.
[0036] After obtaining the first information and the second information, there are certain errors in the directly obtained data, such as data missing, distortion, etc. Directly using these data for calculation will lead to too large an error in the final result.
[0037] Therefore, after obtaining the first information and the second information, it is necessary to first perform noise filtering on the first information and the second information to remove or reduce noise interference. When removing noise, it can be carried out by means of Kalman filtering, mean filtering, etc. After filtering, some values may be filtered out, so it is also necessary to fill in missing values and perform anomaly detection to obtain a fourth information group.
[0038] Optionally, determining the first information and the second information of the production area includes:
[0039] Determine at least one sub-first information and at least one sub-second information;
[0040] Based on the Pearson correlation coefficient method, screen at least one sub-first information and at least one sub-second information to obtain the first information and the second information.
[0041] The Pearson correlation coefficient method is a method widely used in the fields of statistics and data analysis, and is used to measure the linear correlation degree between variables.
[0042] When determining the first information and the second information, in order to avoid introducing data irrelevant to the indoor temperature and humidity, it is necessary to identify the sub-first information and sub-second information that need to be determined.
[0043] Among them, the sub-first information can be data that may belong to the first information. The sub-second information can be sub-data that may belong to the second information.
[0044] For each sub-first information and each sub-second information, the Pearson correlation coefficient method can be used for screening to determine the information with a correlation degree with the indoor temperature and humidity greater than the preset degree as the first information and the second information.
[0045] Optionally, based on the Pearson correlation coefficient method, screening at least one sub-first information and at least one sub-second information to obtain the first information and the second information includes:
[0046] Determine the correlation degree of each sub-first information and each sub-second information with the temperature and humidity of the production area;
[0047] If the relevance of the sub-first information is less than the preset relevance, the sub-first information is excluded.
[0048] If the relevance of the sub-second information is less than the preset relevance, the sub-second information is excluded.
[0049] When screening at least one sub-first information and at least one sub-second information, the relevance of each sub-first information and sub-second information to the temperature and humidity in the production area can be calculated first. For each sub-first information and sub-second information, the relevance is compared to determine whether it is greater than the preset relevance. If it is greater, it is retained; if it is less, it is excluded.
[0050] S120. Send the first information, the second information, and the third information to a pre-trained air conditioner start-stop control model to obtain the air conditioner control strategy in the production area.
[0051] The third information is the target temperature and humidity, the operating status of at least one target device, and the production plan. The air conditioner start-stop control model is based on a long short-term memory model and is trained and generated through historical air conditioner control strategies and the corresponding historical first information, historical second information, historical third information, and refrigeration efficiency. The air conditioner start-stop control model includes an input layer, an embedding layer, a long short-term memory layer, a fully connected layer, and an output layer. The input layer is used to receive the data input to the air conditioner start-stop control model. The embedding layer is used to convert the discrete data in the input layer into a dense vector of a preset dimension. The long short-term memory layer is used to determine the data change characteristics. The fully connected layer is used to generate the air conditioner control strategy according to the data change characteristics. The output layer is used to output the air conditioner control strategy.
[0052] In addition to inputting the first information and the second information into the pre-trained air conditioner start-stop control model, it is also necessary to input the third information into the pre-trained air conditioner start-stop control model because the air conditioner start-stop control model needs to determine the target temperature and humidity that the production area hopes to adjust to. In addition, it is necessary to obtain the operating status of each target device to determine information such as the heat generation of each target device over time. Among them, the target device is a device that directly or indirectly conducts cigarette production in the production area. In addition, it is necessary to determine the specific production plan to clarify the final time for adjusting the temperature and humidity.
[0053] After sending the first information, the second information, and the third information to the pre-trained air conditioner start-stop control model, the air conditioner start-stop control model determines the air conditioner control strategy in the production area according to the parameters adjusted during training.
[0054] The embedding layer of the air conditioner start-stop control model is used to convert discrete variables into low-dimensional dense vectors, reduce feature sparsity, and improve the model's processing ability. The discrete variables are mapped to vectors of a fixed dimension through an embedding matrix, and the embedding dimension is dynamically determined according to the number of variable categories and the model complexity to enhance the feature learning ability.
[0055] The long short-term memory (LSTM) network is the core of the model, focusing on extracting short-term and long-term dependencies in time series. Each layer of LSTM includes four core modules as follows:
[0056] Input gate: Used to dynamically adjust the influence intensity of the current input information.
[0057] Forget gate: Used to evaluate whether to retain or discard historical information to optimize the model's memory.
[0058] Output gate: Generates the key features required for the next-step prediction to ensure the effectiveness of the model.
[0059] Memory cell update: Dynamically updates the network state through the combination of the historical state and the current input. In the LSTM layer, a two-layer architecture is adopted.
[0060] The first layer: Short-term dependency modeling. The first layer of LSTM units captures the change patterns within a short time range in the input sequence, such as equipment energy consumption fluctuations and environmental condition changes. Combining the gating mechanism of the LSTM network, key short-term features are automatically selected and noise is filtered.
[0061] The second layer: Long-term dependency modeling. Based on the output results of the first layer, the historical operation rules over a larger time span (such as weekly and monthly dimensions) are further extracted, such as the seasonal trends and regular features of start-stop. The ability of the model to capture long-term time series dependencies is enhanced to ensure prediction accuracy.
[0062] In an alternative solution, the construction process of the air conditioner start-stop control model includes steps A1 - A2:
[0063] Step A1: Determine the first training data set; the first training data set includes historical air conditioner control strategies and the corresponding historical first information, historical second information, historical third information, refrigeration efficiency, and the operating parameters of each refrigeration device in the production area.
[0064] Step A2: Based on the first training data set, train the long short-term memory model to generate the air conditioner start-stop control model.
[0065] When training the air conditioner start-stop control model, it is necessary to first obtain the training data required for training. For this, it is necessary to determine the historical air conditioner control strategies and the corresponding historical first information, historical second information, historical third information, refrigeration efficiency, and operating parameters of each refrigeration device in the production area. The purpose of determining the refrigeration efficiency and the operating parameters of each refrigeration device in the production area is to ensure that when the air conditioner start-stop control model generates an air conditioner control strategy, it can perform more accurate refrigeration according to the refrigeration efficiency and the operating parameters of each refrigeration device in the production area.
[0066] Adopting the solution of the embodiment of the present application, by determining the first information and the second information of the production area and sending the first information, the second information, and the third information to the pre-trained air conditioner start-stop control model to obtain the air conditioner control strategy in the production area, while realizing the rapid determination of the air conditioner control strategy, ensuring the accuracy of the determination result. By quickly generating the air conditioner control strategy through the air conditioner start-stop control model, it is ensured that the temperature and humidity in the production area can be within the target temperature and humidity during production, and it is possible to avoid as much as possible the waste of resources caused by reaching the target temperature and humidity prematurely during production.
[0067] Embodiment 2
[0068] Figure 2 This is a flowchart of another air conditioner control method provided by an embodiment of the present invention. On the basis of the above embodiment, this embodiment further optimizes the process after sending the first information, the second information, and the third information to the pre-trained air conditioner start-stop control model to obtain the air conditioner control strategy in the production area. This embodiment can be combined with various optional solutions in the above one or more embodiments. As Figure 2 shown, the air conditioner control method of this embodiment may include the following steps:
[0069] S210. Determine the first information and the second information of the production area.
[0070] The first information is the information in the outdoor environment that causes temperature and humidity changes in the production area; the second information is the information in the indoor environment that causes temperature and humidity changes in the production area.
[0071] S220. Send the first information, the second information, and the third information to the pre-trained air conditioner start-stop control model to obtain the air conditioner control strategy in the production area.
[0072] The third piece of information is the target temperature and humidity, the operating status of at least one target device, and the production plan; the air-conditioning start-stop control model is based on the long short-term memory model and is trained and generated through historical air-conditioning control strategies and the corresponding historical first information, historical second information, historical third information, and refrigeration efficiency; the air-conditioning start-stop control model includes an input layer, an embedding layer, a long short-term memory layer, a fully connected layer, and an output layer; the input layer is used to receive the data input into the air-conditioning start-stop control model; the embedding layer is used to convert the discrete data in the input layer into a preset-dimensional dense vector; the long short-term memory layer is used to determine the data change characteristics; the fully connected layer is used to generate an air-conditioning control strategy according to the data change characteristics; the output layer is used to output the air-conditioning control strategy.
[0073] S230. Based on the fuzzy comprehensive evaluation method, evaluate the air-conditioning control strategy to obtain an evaluation result.
[0074] Since cigarette production is very important in terms of time, after obtaining the air-conditioning control strategy, it is necessary to determine whether the air-conditioning control strategy is accurate to avoid inaccurate temperature and humidity during cigarette production due to inaccurate air-conditioning control strategy. Therefore, it is necessary to evaluate the air-conditioning control strategy, and the evaluation process can be carried out through methods such as the fuzzy comprehensive evaluation method to obtain an evaluation result.
[0075] S240. If the evaluation result is less than the preset threshold, regenerate the air-conditioning control strategy until the evaluation result is less than or equal to the preset threshold.
[0076] When the evaluation result is less than the preset threshold, it indicates that the generated air-conditioning control strategy cannot ensure that the temperature and humidity in the production area reach the standard at the start of cigarette production. Therefore, it is necessary to regenerate the air-conditioning control strategy until the evaluation result is less than or equal to the preset threshold.
[0077] If it still cannot pass after the number of generations exceeds the preset number, manual air-conditioning control can be switched to.
[0078] Adopting the solution of the embodiment of the present application, based on the fuzzy comprehensive evaluation method, evaluate the air-conditioning control strategy to obtain an evaluation result, and if the evaluation result is less than the preset threshold, regenerate the air-conditioning control strategy until the evaluation result is less than or equal to the preset threshold, ensuring that the generated air-conditioning control strategy can be more accurate, so that when the air-conditioning is controlled according to the air-conditioning control strategy, the production area can be at the target temperature and humidity at the start of production.
[0079] Embodiment 3
[0080] Figure 3This embodiment of the present invention provides a structural block diagram of an air conditioner control device. This embodiment is applicable to the situation where the temperature and humidity in the production area need to reach the target temperature and humidity before the start of cigarette production. The air conditioner control device can be implemented in the form of hardware and / or software, and can be configured in an electronic device with data processing capabilities. As Figure 3 shown, the air conditioner control device of this embodiment may include: an information determination module 310 and a control strategy generation module 320.
[0081] Among them:
[0082] The information determination module 310 is used to determine the first information and the second information of the production area; the first information is the information in the outdoor environment that causes temperature and humidity changes in the production area; the second information is the information in the indoor environment that causes temperature and humidity changes in the production area;
[0083] The control strategy generation module 320 is used to send the first information, the second information, and the third information to a pre-trained air conditioner start-stop control model to obtain an air conditioner control strategy in the production area; the third information is the target temperature and humidity, the operating status of at least one target device, and the production plan; the air conditioner start-stop control model is based on a long short-term memory model and is trained and generated through historical air conditioner control strategies and historical first information, historical second information, historical third information, and refrigeration efficiency corresponding to the historical air conditioner control strategies; the air conditioner start-stop control model includes an input layer, an embedding layer, a long short-term memory layer, a fully connected layer, and an output layer; the input layer is used to receive data input to the air conditioner start-stop control model; the embedding layer is used to convert discrete data in the input layer into a preset-dimensional dense vector; the long short-term memory layer is used to determine data change characteristics; the fully connected layer is used to generate an air conditioner control strategy according to the data change characteristics; the output layer is used to output the air conditioner control strategy.
[0084] Based on the above embodiment, optionally, the construction process of the air conditioner start-stop control model includes:
[0085] Determine the first training data set; the first training data set includes historical air conditioner control strategies and historical first information, historical second information, historical third information, refrigeration efficiency, and operating parameters of each refrigeration device in the production area corresponding to each historical air conditioner control strategy;
[0086] Based on the first training data set, train the long short-term memory model to generate an air conditioner start-stop control model.
[0087] Based on the above embodiment, optionally, after the control strategy generation module 320, it further includes:
[0088] Based on the fuzzy comprehensive evaluation method, the air conditioner control strategy is evaluated to obtain an evaluation result.
[0089] Based on the above embodiment, optionally, after obtaining the evaluation result, it further includes:
[0090] If the evaluation result is less than the preset threshold, the air conditioner control strategy is regenerated until the evaluation result is less than or equal to the preset threshold.
[0091] Based on the above embodiment, optionally, after the information determination module 310, it includes:
[0092] Noise filtering is performed on the first information and the second information, and missing value filling and anomaly detection are performed on the filtering result to obtain a fourth information group;
[0093] Correspondingly, the first information, the second information, and the third information are sent to a pre-trained air conditioner start-stop control model to obtain an air conditioner control strategy in the production area, including:
[0094] The fourth information group and the third information are sent to a pre-trained air conditioner start-stop control model to obtain an air conditioner control strategy in the production area.
[0095] Based on the above embodiment, optionally, the information determination module 310 includes:
[0096] Determine at least one sub-first information and at least one sub-second information;
[0097] Based on the Pearson correlation coefficient method, at least one sub-first information and at least one sub-second information are screened to obtain the first information and the second information.
[0098] Based on the above embodiment, optionally, based on the Pearson correlation coefficient method, screening at least one sub-first information and at least one sub-second information to obtain the first information and the second information includes:
[0099] Determine the correlation degree of each sub-first information and each sub-second information with the temperature and humidity in the production area;
[0100] If the correlation degree of the sub-first information is less than the preset correlation degree, the sub-first information is excluded;
[0101] If the correlation degree of the sub-second information is less than the preset correlation degree, the sub-second information is excluded.
[0102] The air conditioner control device provided by the embodiments of the present invention can execute the air conditioner control method provided by any embodiment of the present invention, and has the corresponding functional modules and beneficial effects for executing the method.
[0103] Embodiment 4
[0104] Figure 4 FIG. 1 shows a schematic structural diagram of an electronic device 10 that can be used to implement an embodiment of the present invention. The electronic device is intended to represent various forms of digital computers, such as, for example, laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as, for example, personal digital processors, cellular phones, smart phones, wearable devices (such as helmets, glasses, watches, etc.) and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present invention described and / or claimed herein.
[0105] As Figure 4 shown, the electronic device 10 includes at least one processor 11, and a memory communicatively connected to the at least one processor 11, such as a read-only memory (ROM) 12, a random access memory (RAM) 13, etc. The memory stores a computer program executable by the at least one processor. The processor 11 can perform various appropriate actions and processes according to the computer program stored in the read-only memory (ROM) 12 or the computer program loaded from the storage unit 18 into the random access memory (RAM) 13. In the RAM 13, various programs and data required for the operation of the electronic device 10 can also be stored. The processor 11, the ROM 12, and the RAM 13 are connected to each other via a bus 14. An input / output (I / O) interface 15 is also connected to the bus 14.
[0106] A plurality of components in the electronic device 10 are connected to the I / O interface 15, including: an input unit 16, such as a keyboard, a mouse, etc.; an output unit 17, such as various types of displays, speakers, etc.; a storage unit 18, such as a magnetic disk, an optical disk, etc.; and a communication unit 19, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 19 allows the electronic device 10 to exchange information / data with other devices via a computer network such as the Internet and / or various telecommunication networks.
[0107] The processor 11 can be various general-purpose and / or special-purpose processing components with processing and computing capabilities. Some examples of the processor 11 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various dedicated artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, a digital signal processor (DSP), and any suitable processor, controller, microcontroller, etc. The processor 11 executes the various methods and processes described above, such as the air conditioner control method.
[0108] In some embodiments, the air conditioner control method may be implemented as a computer program tangibly embodied in a computer-readable storage medium, such as storage unit 18. In some embodiments, part or all of the computer program may be loaded and / or installed onto the electronic device 10 via the ROM 12 and / or the communication unit 19. When the computer program is loaded into the RAM 13 and executed by the processor 11, one or more steps of the air conditioner control method described above may be executed. Alternatively, in other embodiments, the processor 11 may be configured to execute the air conditioner control method by any other suitable means (e.g., by means of firmware).
[0109] The various embodiments of the systems and techniques described above in this document may be implemented in digital electronic circuitry, integrated circuit systems, field programmable gate arrays (FPGA), application specific integrated circuits (ASIC), application specific standard products (ASSP), systems on a chip (SOC), complex programmable logic devices (CPLD), computer hardware, firmware, software, and / or combinations thereof. These various embodiments may include: implemented in one or more computer programs that may be executed and / or interpreted on a programmable system including at least one programmable processor, which may be a special-purpose or general-purpose programmable processor that may receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit the data and instructions to the storage system, the at least one input device, and the at least one output device.
[0110] The computer programs for implementing the methods of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing apparatus, such that the computer programs, when executed by the processor, cause the functions / operations specified in the flowchart and / or block diagram to be implemented. The computer programs may be executed entirely on the machine, partly on the machine, as a stand-alone software package partly on the machine and partly on a remote machine, or entirely on the remote machine or server.
[0111] In the context of the present invention, a computer-readable storage medium can be a tangible medium that can contain or store a computer program for use by or in connection with an instruction execution system, apparatus, or device. The computer-readable storage medium can include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatus, or devices, or any suitable combination of the foregoing. Alternatively, the computer-readable storage medium can be a machine-readable signal medium. More specific examples of the machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or Flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
[0112] To provide for interaction with a user, the systems and techniques described herein can be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and a pointing device (e.g., a mouse or a trackball) by which the user can provide input to the electronic device. Other kinds of devices can also be used to provide for interaction with the user; for example, feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including acoustic input, speech input, or tactile input).
[0113] The systems and techniques described herein can be implemented in a computing system that includes backend components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes frontend components (e.g., a user computer having a graphical user interface or a web browser through which the user can interact with an implementation of the systems and techniques described herein), or a computing system that includes any combination of such backend components, middleware components, or frontend components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: local area network (LAN), wide area network (WAN), blockchain network, and the Internet.
[0114] A computing system may include a client and a server. The client and the server are generally far from each other and usually interact via a communication network. The relationship between the client and the server is created by computer programs running on respective computers and having a client-server relationship with each other. The server can be a cloud server, also known as a cloud computing server or a cloud host, which is a host product in the cloud computing service system, solving the defects of difficult management and weak business scalability existing in traditional physical hosts and VPS services.
[0115] It should be understood that various forms of the processes shown above can be used, with steps reordered, added, or deleted. For example, the steps recited in the present invention can be executed in parallel, sequentially, or in a different order, as long as the desired results of the technical solution of the present invention can be achieved, and no limitation is made herein.
[0116] The above specific embodiments do not constitute a limitation on the protection scope of the present invention. Those skilled in the art should understand that various modifications, combinations, sub-combinations, and substitutions can be made according to design requirements and other factors. Any modifications, equivalent substitutions, and improvements made within the spirit and principle of the present invention shall be included within the protection scope of the present invention.
Claims
1. An air conditioning control method, characterized in that: include: Determining first information and second information of a production area; The first information is information about changes in temperature and humidity in the production area caused by the outdoor environment; The second information is information about changes in temperature and humidity in the production area caused by the indoor environment; Sending the first information, the second information, and the third information to a pre-trained air conditioning start-stop control model to obtain an air conditioning control strategy in the production area; The third information is the target temperature and humidity, the operating status of at least one target device, and the production plan; the air-conditioning start-stop control model is trained and generated by taking the long-short-term memory model as the basic model and by using the historical air-conditioning control strategy and the historical air-conditioning control strategy corresponding to the historical first information, the historical second information, the historical third information, and the cooling efficiency; the air-conditioning start-stop control model includes an input layer, an embedding layer, a long-short-term memory layer, a fully connected layer, and an output layer; the input layer is used to receive data input to the air-conditioning start-stop control model; the embedding layer is used to convert the discrete data in the input layer into a dense vector of a preset dimension; the long-short-term memory layer is used to determine the data change characteristics; The fully connected layer is used to generate an air conditioning control strategy according to data change characteristics; and the output layer is used to output the air conditioning control strategy.
2. The method according to claim 1, characterized in that The construction process of the air conditioning start-stop control model includes: Determine a first training data group; the first training data group includes historical air conditioning control strategies and historical first information, historical second information, historical third information, refrigeration efficiency, and operating parameters of each refrigeration equipment in the production area corresponding to each historical air conditioning control strategy; Based on the first training data set, the long short-term memory model is trained to generate an air conditioning start-stop control model.
3. The method according to claim 2, characterized in that After obtaining the air conditioning control strategy in the production area, it also includes: Based on the fuzzy comprehensive evaluation method, the air conditioning control strategy is evaluated to obtain an evaluation result.
4. The method according to claim 3, characterized in that After obtaining the evaluation results, it also includes: If the evaluation result is less than the preset threshold, the air conditioning control strategy is regenerated until the evaluation result is less than or equal to the preset threshold.
5. The method according to claim 1, characterized in that After determining the first information and the second information of the production area, the method includes: Noise filtering is performed on the first information and the second information, and missing value filling and anomaly detection are performed on the filtering results to obtain a fourth information group; Accordingly, the first information, the second information, and the third information are sent to a pre-trained air conditioning start-stop control model to obtain an air conditioning control strategy in the production area, including: The fourth information group and the third information are sent to a pre-trained air conditioning start-stop control model to obtain an air conditioning control strategy in the production area.
6. The method according to claim 1, characterized in that The first information and the second information of the production area are determined, including: determining at least one sub-first information and at least one sub-second information; Based on the Pearson correlation coefficient method, at least one sub-first information and at least one sub-second information are screened to obtain the first information and the second information.
7. The method according to claim 6, characterized in that Based on the Pearson correlation coefficient method, at least one sub-first information and at least one sub-second information are screened to obtain the first information and the second information, including: Determine the correlation between each sub-first information and each sub-second information and the temperature and humidity of the production area; If the relevance of the sub-first information is less than the preset relevance, the sub-first information is eliminated; If the relevance of the sub-second information is less than the preset relevance, the sub-second information is eliminated.
8. An air conditioning control device, characterized in that: include: An information determination module, used to determine the first information and the second information of the production area; The first information is information about changes in temperature and humidity in the production area caused by the outdoor environment; The second information is information about changes in temperature and humidity in the production area caused by the indoor environment; A control strategy generation module, used to send the first information, the second information and the third information to a pre-trained air conditioning start-stop control model to obtain an air conditioning control strategy in a production area; The third information is the target temperature and humidity, the operating status of at least one target device, and the production plan; the air-conditioning start-stop control model is trained and generated by taking the long-short-term memory model as the basic model and by using the historical air-conditioning control strategy and the historical air-conditioning control strategy corresponding to the historical first information, the historical second information, the historical third information, and the cooling efficiency; the air-conditioning start-stop control model includes an input layer, an embedding layer, a long-short-term memory layer, a fully connected layer, and an output layer; the input layer is used to receive data input to the air-conditioning start-stop control model; the embedding layer is used to convert the discrete data in the input layer into a dense vector of a preset dimension; the long-short-term memory layer is used to determine the data change characteristics; The fully connected layer is used to generate an air conditioning control strategy according to data change characteristics; and the output layer is used to output the air conditioning control strategy.
9. An electronic device, characterized in that: The electronic device comprises: at least one processor; and a memory communicatively connected to the at least one processor; wherein, The memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the air conditioning control method according to any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the air-conditioning control method according to any one of claims 1 to 7 when executed.