A method and system for exchanging hot and cold air based on temperature distribution simulation

By constructing a temperature distribution simulation model and grid coordinate diagram indoors, identifying hot and cold air exchange and accelerated air flow in non-set temperature areas, the problems of temperature unevenness and power loss in hot and cold air exchange are solved, and the indoor Temperature uniformity and human comfort.

CN118794128BActive Publication Date: 2024-12-20XIAN DONGSHENG TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411275274.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-09-12
Publication Date
2024-12-20
Estimated Expiration
2044-09-12

AI Technical Summary

Technical Problem

The existing hot and cold air exchange methods have uneven temperature distribution in indoor temperature regulation, resulting in discomfort in human body and accompanied by high power loss.

Method used

By obtaining the indoor top view, building a grid coordinate map, collecting temperatures in real time, building a temperature distribution simulation model, identifying non-set temperature areas to accelerate hot and cold air exchange, and accelerating air flow in a uniform temperature area to adjust the temperature distribution.

Benefits of technology

It improves the uniformity and comfort of indoor temperature and reduces the loss of air conditioning power.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118794128B_ABST
    Figure CN118794128B_ABST
Patent Text Reader

Abstract

The present invention relates to the technical field of hot and cold air exchange, and is a method and system for hot and cold air exchange based on temperature distribution simulation, comprising: obtaining a grid coordinate map of a target indoor space, performing real-time temperature acquisition on the grid coordinate map to obtain an initial grid temperature set, generating a temperature distribution grid heat map based on the initial grid temperature set, identifying a non-set temperature area set in the temperature distribution grid heat map, accelerating hot and cold air exchange processing on the non-set temperature area set to obtain a set temperature area set, updating the temperature distribution grid heat map using the set temperature area set to obtain a target temperature grid heat map, identifying a non-uniform temperature area set in the target temperature grid heat map, performing air flow acceleration operation on the non-uniform temperature area set to obtain a uniform temperature area set. The present invention can improve the comfort of a human body in a hot and cold air exchange environment and reduce the power consumption of an air conditioner.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of cold and hot air exchange, and in particular to a cold and hot air exchange method and system based on temperature distribution simulation. Background Art

[0002] Suitable indoor temperature is crucial to human health. Hot and cold air exchange can help regulate indoor temperature and provide a comfortable living and working environment, for example, using air conditioners to exchange hot and cold air. However, different ways of hot and cold gas exchange will produce different energy losses. Therefore, the study of hot and cold air exchange methods is also particularly important.

[0003] At present, the method for exchanging hot and cold air indoors is mainly achieved through central air conditioning or split air conditioning. This method can quickly exchange hot and cold air, but does not cool down according to the specific indoor conditions. Therefore, hot and cold air will continue to be exchanged in areas where the temperature is already low, resulting in uneven indoor temperature distribution, which may cause discomfort to the human body and also generate a lot of power loss. Summary of the invention

[0004] The present invention provides a method and system for exchanging hot and cold air based on temperature distribution simulation, the main purpose of which is to improve the comfort of human body in a hot and cold air exchange environment and reduce the power loss of air conditioner.

[0005] To achieve the above object, the present invention provides a method for exchanging hot and cold air based on temperature distribution simulation, comprising:

[0006] Acquire an indoor top view of the target indoor space, identify the top view size of the indoor top view, and construct a grid coordinate diagram based on the top view size, wherein the top view size includes: the length of the top view long side and the length of the top view short side;

[0007] In the grid coordinate diagram, unit grids are identified in sequence, and real-time temperature collection is performed on the unit grids to obtain an initial grid temperature set;

[0008] Based on the initial grid temperature set, a temperature distribution simulation model is constructed, a temperature distribution grid heat map is generated according to the temperature distribution simulation model, a non-set temperature region set is identified in the temperature distribution grid heat map, and non-set temperature regions are sequentially extracted from the non-set temperature region set;

[0009] Accelerate the hot and cold air exchange process in the non-set temperature area to obtain the set temperature area and the average set temperature;

[0010] Determining whether the average set temperature is greater than a preset standard set temperature;

[0011] If the average set temperature is greater than the standard set temperature, the set temperature area is used as a non-set temperature area, and the process returns to the step of accelerating the cold and hot air exchange process for the non-set temperature area;

[0012] If the average set temperature is not greater than the standard set temperature, the set temperature regions are summarized to obtain a set temperature region set, and the temperature distribution grid heat map is updated using the set temperature region set to obtain a target temperature grid heat map;

[0013] A non-uniform temperature region set in the target temperature grid heat map is identified, and air flow acceleration operations are performed on the non-uniform temperature regions in the non-uniform temperature region set in sequence to obtain a uniform temperature region set, thereby completing the hot and cold air exchange based on temperature distribution simulation.

[0014] Optionally, constructing a grid coordinate diagram based on the size of the top view includes:

[0015] Respectively identify the upper left vertex, the upper right vertex and the lower left vertex of the indoor top view, record the upper left vertex as the coordinate origin, record the upper right vertex as the end point of the horizontal axis, and record the lower left vertex as the end point of the vertical axis;

[0016] According to the coordinate origin, the end point of the horizontal axis and the length of the long side when looking down, the coordinate horizontal axis is constructed; according to the coordinate origin, the end point of the vertical axis and the length of the short side when looking down, the coordinate vertical axis is constructed, wherein the direction from the coordinate origin to the end point of the horizontal axis is the positive direction of the coordinate horizontal axis, the length of the long side when looking down is the length of the coordinate horizontal axis, the direction from the coordinate origin to the end point of the vertical axis is the positive direction of the coordinate vertical axis, and the length of the short side when looking down is the length of the coordinate vertical axis;

[0017] Based on the coordinate origin, the coordinate horizontal axis and the coordinate vertical axis, a coordinate system is added to the indoor overhead view to obtain an overhead coordinate diagram;

[0018] The overhead coordinate diagram is grid-divided to obtain a grid coordinate diagram.

[0019] Optionally, the gridding the top-view coordinate diagram to obtain a grid coordinate diagram includes:

[0020] According to the preset number of horizontal axis grids and the number of vertical axis grids, the initial grid step is calculated, wherein the initial grid step includes: the initial horizontal axis step and the initial vertical axis step:

[0021] ,

[0022] in, represents the initial horizontal axis step size, Indicates the length of the horizontal axis of the coordinate, Indicates the number of horizontal axis grids, represents the initial vertical axis step length, Indicates the length of the vertical axis of the coordinate system. Indicates the number of vertical axis grids;

[0023] According to the initial grid step, preliminary grid division is performed in the overhead coordinate map to obtain a preliminary grid map, preliminary grids in the preliminary grid map are identified, and the preliminary grids and preliminary grid step are summarized as key-value pairs to obtain a preliminary grid set, wherein the preliminary grid set is expressed as:

[0024] ,

[0025] in, represents the preliminary grid set, Indicates Initial grid, Indicates Preliminary grid;

[0026] Obtaining a cold source position of the air conditioning unit, and adjusting the preliminary grid set according to the cold source position to obtain a target grid set;

[0027] The preliminary grid map is adjusted according to the target grid set to obtain a grid coordinate map.

[0028] Optionally, adjusting the preliminary grid set according to the cold source position to obtain a target grid set includes:

[0029] The cold source position of the air conditioning unit is obtained in the preliminary grid map, and preliminary grids are sequentially extracted from the preliminary grid set. According to the preliminary grids and the cold source position, the grid cold source distance is calculated using the following formula, wherein the cold source position includes: the cold source abscissa and the cold source ordinate:

[0030] ,

[0031] ,

[0032] in, Indicates Grid cold source distance, Indicates Initial grid, Indicates The horizontal coordinates of the preliminary grid, Indicates The ordinate of the preliminary grid, represents the horizontal coordinate of the cold source, represents the cold source ordinate;

[0033] In the top-down coordinate diagram, the farthest grid distance of the cold source position is obtained, and the The grid cold source distance, initial grid step size and preset scaling factor are used to calculate the Target grid step size, where the The target grid step size includes: Target horizontal axis step length and Target vertical axis step size:

[0034] ,

[0035] ,

[0036] in, Indicates Target horizontal axis step size, represents the scaling factor, Indicates the farthest grid distance, Indicates Target vertical axis step length;

[0037] The said The target grid step lengths are summarized to obtain a target grid step length set, and the preliminary grids are updated based on the target grid step length set to obtain a target grid set, wherein the target grid set is expressed as:

[0038] ,

[0039] in, Indicates Target horizontal axis step size, Indicates Target vertical axis step length, Indicates Target horizontal axis step size, Indicates Target vertical step size.

[0040] Optionally, constructing a temperature distribution simulation model based on an initial grid temperature set includes:

[0041] The initial grid temperature set is expressed as:

[0042] ,

[0043] in, represents the initial grid temperature set, Indicates Initial grid temperature, Indicates Initial grid temperature;

[0044] Based on the initial grid temperature set and the preset simulation time, the following temperature distribution simulation model is constructed:

[0045] ,

[0046] ,

[0047] ,

[0048] in, represents the temperature distribution simulation model, Indicates Initial grid temperature, represents the simulation time, represents the lateral factor, represents the longitudinal factor, Indicates Initial grid temperature, Indicates Initial grid temperature, Indicates Target horizontal axis step size, Indicates Initial grid temperature, Indicates Initial grid temperature, Indicates Target vertical step size.

[0049] Optionally, the identifying a set of non-set temperature regions in the temperature distribution grid heat map includes:

[0050] According to the preset set temperature, the corresponding standard brightness value is queried, unit grids are sequentially extracted from the temperature distribution grid heat map, and the grid brightness values ​​of the unit grids are identified;

[0051] Determine whether the grid brightness value is greater than a standard brightness value;

[0052] If the grid brightness value is greater than the standard brightness value, the unit grid is recorded as a non-set temperature area;

[0053] The non-set temperature regions are aggregated to obtain a non-set temperature region set.

[0054] Optionally, the accelerating the hot and cold air exchange process on the non-set temperature area to obtain the set temperature area and the average set temperature includes:

[0055] Set the initial cooling time, initial cumulative temperature and initial cooling times, where the initial cooling time, initial cumulative temperature and initial cooling times are expressed as:

[0056] ,

[0057] in, Indicates the initial cooling time. represents the initial accumulated temperature, Indicates the number of initial temperature drops;

[0058] According to the preset single cooling time, the non-set temperature area is continuously and strongly cooled by using the pre-built refrigeration unit to obtain a strong cooling area;

[0059] The initial cooling times are updated to obtain the target cooling times, where the target cooling times are expressed as:

[0060] ,

[0061] in, Indicates the target cooling times;

[0062] The temperature of the cooling area of ​​the strong cooling area is collected, and the target cumulative temperature is calculated based on the temperature of the cooling area and the initial cumulative temperature, wherein the target cumulative temperature is expressed as:

[0063] ,

[0064] in, Indicates the target accumulated temperature, Indicates the temperature of the cooling area;

[0065] According to the single cooling time and the initial cooling time, the target cooling time is calculated, wherein the target cooling time is expressed as:

[0066] ,

[0067] in, Indicates the target cooling time. Indicates the duration of a single cooling;

[0068] Determine whether the target cooling time is less than a preset standard cooling time;

[0069] If the target cooling time is less than the standard cooling time, the initial cooling time, initial cumulative temperature, initial cooling time and non-set temperature area are updated respectively using the target cooling time, target cumulative temperature, target cooling time and strong cooling area, and the process returns to the step of continuously and strongly cooling the non-set temperature area using the pre-built refrigeration unit according to the preset single cooling time;

[0070] If the target cooling time is not less than the standard cooling time, the strong cooling area is recorded as the set temperature area, and the average set temperature is calculated based on the target cooling times and the target cumulative temperature, wherein the average set temperature is expressed as:

[0071] ,

[0072] in, Indicates the average set temperature.

[0073] Optionally, the identifying a set of non-uniform temperature regions in the target temperature grid heat map comprises:

[0074] Obtaining a fan unit position of a fan unit, and dividing the target temperature grid heat map by orientation according to the fan unit position to obtain an air flow area set;

[0075] Extract air flow areas in the air flow area set in sequence, identify the flow unit grids of the air flow area, obtain a flow unit grid set, and obtain a flow grid temperature set corresponding to the flow unit grid set, wherein the flow grid temperature set is expressed as:

[0076] ,

[0077] in, represents the flow grid temperature set, represents the first flow grid temperature, represents the pth flow grid temperature, and p represents the number of flow grid temperatures in the flow grid temperature set;

[0078] According to the flow grid temperature set, the flow difference factor is calculated using the following formula:

[0079] ,

[0080] in, represents the flow difference factor, represents the uth flow grid temperature, represents the temperature of the e-th flow grid;

[0081] Determining whether the flow difference factor is greater than a preset standard difference factor;

[0082] If the flow difference factor is greater than the standard difference factor, the air flow area is recorded as a non-uniform temperature area;

[0083] The non-uniform temperature regions are aggregated to obtain a non-uniform temperature region set.

[0084] Optionally, the step of sequentially performing air flow acceleration operations on the non-uniform temperature regions in the non-uniform temperature region set to obtain a uniform temperature region set includes:

[0085] sequentially extracting non-uniform temperature regions in the non-uniform temperature region set;

[0086] Using the fan unit, blowing air to the non-uniform temperature region to obtain a uniform temperature region to be measured, identifying a uniform unit grid of the uniform temperature region to be measured, and obtaining a uniform unit grid set;

[0087] A uniform grid temperature set is obtained based on the uniform unit grid set, wherein the uniform grid temperature set is expressed as:

[0088] ,

[0089] in, represents the uniform grid temperature set, represents the first uniform grid temperature, represents the qth uniform grid temperature, where q represents the number of uniform grid temperatures in the uniform grid temperature set;

[0090] The uniform difference factor is calculated using the following formula:

[0091] ,

[0092] in, represents the uniform difference factor, represents the rth uniform grid temperature, represents the fth uniform grid temperature;

[0093] Determine whether the uniform difference factor is greater than the standard difference factor;

[0094] If the uniform difference factor is greater than the standard difference factor, the uniform temperature region to be measured is regarded as a non-uniform temperature region, and the process returns to the step of using the fan unit to perform a blowing operation on the non-uniform temperature region;

[0095] If the uniform difference factor is not greater than the standard difference factor, the uniform temperature region to be measured is recorded as a uniform temperature region, and the uniform temperature regions are summarized to obtain a uniform temperature region set.

[0096] To achieve the above object, the present invention further provides a hot and cold air exchange system based on temperature distribution simulation, comprising:

[0097] An initial grid division module is used to obtain an indoor top view of the target indoor space, identify the top view size of the indoor top view, and construct a grid coordinate diagram based on the top view size, wherein the top view size includes: the length of the top view long side and the length of the top view short side, identify unit grids in the grid coordinate diagram in turn, perform real-time temperature collection on the unit grids, and obtain an initial grid temperature set;

[0098] A hot and cold air exchange module is used to construct a temperature distribution simulation model based on an initial grid temperature set, generate a temperature distribution grid heat map according to the temperature distribution simulation model, identify a non-set temperature area set in the temperature distribution grid heat map, extract non-set temperature areas in the non-set temperature area set in sequence, accelerate hot and cold air exchange processing on the non-set temperature areas, and obtain a set temperature area and an average set temperature;

[0099] a target heat map generation module, used to determine whether the average set temperature is greater than a preset standard set temperature; if the average set temperature is greater than the standard set temperature, the set temperature area is used as a non-set temperature area, and the step of accelerating the hot and cold air exchange process for the non-set temperature area is returned; if the average set temperature is not greater than the standard set temperature, the set temperature areas are summarized to obtain a set temperature area set, and the temperature distribution grid heat map is updated using the set temperature area set to obtain a target temperature grid heat map;

[0100] The air exchange acceleration module is used to identify the non-uniform temperature area set in the target temperature grid heat map, and perform air flow acceleration operations on the non-uniform temperature areas in the non-uniform temperature area set in sequence to obtain a uniform temperature area set.

[0101] In order to solve the above problem, the present invention further provides an electronic device, the electronic device comprising:

[0102] a memory storing at least one instruction; and

[0103] The processor executes the instructions stored in the memory to implement the above-mentioned hot and cold air exchange method based on temperature distribution simulation.

[0104] In order to solve the above problems, the present invention also provides a computer-readable storage medium, in which at least one instruction is stored. The at least one instruction is executed by a processor in an electronic device to implement the above-mentioned hot and cold air exchange method based on temperature distribution simulation.

[0105] The present invention solves the problem described in the background technology. The present invention first obtains an indoor top view of the target indoor space, identifies the top view size of the indoor top view, and constructs a grid coordinate map based on the top view size. This step identifies the target indoor space in a targeted manner, so that subsequent hot and cold air exchange can be performed based on the target indoor space, thereby making the hot and cold air exchange more efficient. Next, the unit grids are identified in turn in the grid coordinate map, and the real-time temperature of the unit grids is collected to obtain an initial grid temperature set. The initial grid temperature set is the basic condition for constructing a temperature distribution simulation model. Based on the initial grid temperature set, a temperature distribution simulation model is constructed, and a temperature distribution grid heat map is generated according to the temperature distribution simulation model, completing the acquisition of the heat map of the target indoor space, so that the temperature distribution of the target indoor space has a more intuitive expression, which is beneficial to the subsequent temperature processing. By identifying the non-set temperature area set in the temperature distribution grid heat map, the non-set temperature areas are sequentially extracted in the non-set temperature area set, so that the hot and cold air exchange of the non-set temperature area can be accelerated, thereby obtaining the set temperature area and the average set temperature, which provides conditions for the subsequent judgment process. The average set temperature is judged. Whether the set temperature is greater than the standard set temperature, through the judgment step, the entire hot and cold air exchange process is made more efficient, while avoiding a large amount of ineffective air exchange, reducing the power loss of the air conditioning unit in the hot and cold air exchange process, if the average set temperature is greater than the standard set temperature, the set temperature area is used as a non-set temperature area, and the step of accelerating the hot and cold air exchange process of the non-set temperature area is returned to complete the closed loop of the average set temperature judgment, if the average set temperature is not greater than the standard set temperature, the set temperature area is summarized to obtain a set temperature area set, and the temperature distribution grid heat map is updated using the set temperature area set to obtain a target temperature grid heat map. This step successfully obtains the adjusted temperature distribution grid heat map, which paves the way for the subsequent adjustment of the non-uniform temperature area. Finally, the non-uniform temperature area set of the target temperature grid heat map is identified, and the air flow acceleration operation is performed on the non-uniform temperature area in the non-uniform temperature area set in turn to obtain a uniform temperature area set. This step performs air flow on the non-uniform temperature area of ​​the target indoor space, making the temperature distribution of the target indoor space more balanced and improving the comfort of the human body in the target indoor space. Therefore, the present invention can improve the comfort level of human body in a cold and hot air exchange environment and reduce the power consumption of air conditioning. BRIEF DESCRIPTION OF THE DRAWINGS

[0106] Figure 1 A schematic flow chart of a method for exchanging hot and cold air based on temperature distribution simulation provided by one embodiment of the present invention;

[0107] Figure 2 A functional module diagram of a hot and cold air exchange system based on temperature distribution simulation provided by an embodiment of the present invention;

[0108] Figure 3 A schematic structural diagram of an electronic device for implementing the hot and cold air exchange method based on temperature distribution simulation provided by an embodiment of the present invention.

[0109] The realization of the purpose, functional features and advantages of the present invention will be further explained in conjunction with embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION

[0110] It should be understood that the specific embodiments described herein are only used to explain the present invention, and are not used to limit the present invention.

[0111] The embodiment of the present application provides a method for exchanging hot and cold air based on temperature distribution simulation. The execution subject of the method for exchanging hot and cold air based on temperature distribution simulation includes but is not limited to at least one of the electronic devices such as a server and a terminal that can be configured to execute the method provided by the embodiment of the present application. In other words, the method for exchanging hot and cold air based on temperature distribution simulation can be executed by software or hardware installed on a terminal device or a server device, and the software can be a blockchain platform. The server includes but is not limited to: a single server, a server cluster, a cloud server or a cloud server cluster, etc.

[0112] Reference Figure 1 FIG. 1 is a flow chart of a method for exchanging hot and cold air based on temperature distribution simulation according to an embodiment of the present invention. In this embodiment, the method for exchanging hot and cold air based on temperature distribution simulation includes:

[0113] S1. Acquire an indoor top view of a target indoor space, identify a top view size of the indoor top view, and construct a grid coordinate diagram based on the top view size, wherein the top view size includes: a top view long side length and a top view short side length;

[0114] It can be understood that the target indoor space refers to an enclosed room that needs to be cooled, wherein the cooling is achieved by exchanging hot and cold air through an air-conditioning unit, the indoor bird's-eye view refers to a two-dimensional bird's-eye view of the target indoor space, which can be obtained by scanning with a scanning instrument, the grid coordinate diagram refers to an indoor bird's-eye view with a coordinate system added, the bird's-eye view long side length refers to the long side length of the indoor bird's-eye view, and the bird's-eye view short side length refers to the short side length of the indoor bird's-eye view.

[0115] In detail, the step of constructing a grid coordinate diagram based on the size of the top view includes:

[0116] Respectively identify the upper left vertex, the upper right vertex and the lower left vertex of the indoor top view, record the upper left vertex as the coordinate origin, record the upper right vertex as the end point of the horizontal axis, and record the lower left vertex as the end point of the vertical axis;

[0117] According to the coordinate origin, the end point of the horizontal axis and the length of the long side when looking down, the coordinate horizontal axis is constructed; according to the coordinate origin, the end point of the vertical axis and the length of the short side when looking down, the coordinate vertical axis is constructed, wherein the direction from the coordinate origin to the end point of the horizontal axis is the positive direction of the coordinate horizontal axis, the length of the long side when looking down is the length of the coordinate horizontal axis, the direction from the coordinate origin to the end point of the vertical axis is the positive direction of the coordinate vertical axis, and the length of the short side when looking down is the length of the coordinate vertical axis;

[0118] Based on the coordinate origin, the coordinate horizontal axis and the coordinate vertical axis, a coordinate system is added to the indoor overhead view to obtain an overhead coordinate diagram;

[0119] The overhead coordinate diagram is grid-divided to obtain a grid coordinate diagram.

[0120] It is clear that the overhead coordinate diagram refers to the indoor overhead view after adding the coordinate system, but the overhead coordinate diagram only adds the coordinate system and has not yet accurately set the coordinate points in the coordinate system, where the coordinate points are the unit grids that are subsequently divided, and the unit grid is a rectangular area.

[0121] It should be explained that due to the large size of the overhead coordinate map, it is impossible to accurately collect the temperature of each pixel in the map, so a grid unit is introduced. A grid unit is used as a coordinate point, and the temperature of the target indoor space can be collected by collecting the temperature of the grid unit.

[0122] For example, a grid unit in a grid top view is the fifth grid unit in the positive direction of the horizontal axis and the sixth grid unit in the vertical direction from the coordinate origin, so the coordinate point represented by the grid unit is (5,6).

[0123] In detail, the gridding of the top-view coordinate diagram to obtain the grid coordinate diagram includes:

[0124] According to the preset number of horizontal axis grids and the number of vertical axis grids, the initial grid step is calculated, wherein the initial grid step includes: the initial horizontal axis step and the initial vertical axis step:

[0125] ,

[0126] in, represents the initial horizontal axis step size, Indicates the length of the horizontal axis of the coordinate, Indicates the number of horizontal axis grids, represents the initial vertical axis step length, Indicates the length of the vertical axis of the coordinate system. Indicates the number of vertical axis grids;

[0127] According to the initial grid step, preliminary grid division is performed in the overhead coordinate map to obtain a preliminary grid map, preliminary grids in the preliminary grid map are identified, and the preliminary grids and preliminary grid step are summarized as key-value pairs to obtain a preliminary grid set, wherein the preliminary grid set is expressed as:

[0128] ,

[0129] in, represents the preliminary grid set, Indicates Initial grid, Indicates Preliminary grid;

[0130] Obtaining a cold source position of the air conditioning unit, and adjusting the preliminary grid set according to the cold source position to obtain a target grid set;

[0131] The preliminary grid map is adjusted according to the target grid set to obtain a grid coordinate map.

[0132] It can be understood that the number of grids on the horizontal axis refers to the number of grids divided on the horizontal axis, which is set manually, and the number of grids on the vertical axis refers to the number of grids divided on the vertical axis, which is set manually. Since the length of the horizontal axis of the coordinate and the length of the vertical axis of the coordinate are different, the number of grids on the horizontal axis and the number of grids on the vertical axis are also different, and their product is the number of grids in the entire overhead coordinate diagram.

[0133] It can be understood that the initial horizontal axis step length refers to the length of the initial grid on the horizontal axis, and the initial vertical axis step length refers to the length of the initial grid on the vertical axis. In the initial grid division, the grids are divided according to the principle of the same size. Therefore, the initial horizontal axis step lengths of the grids in the preliminary grid diagram are the same, and the initial vertical axis step lengths of the grids are the same. The initial grid diagram refers to the top-down coordinate diagram after the preliminary grid division. The initial grid coordinates are The initial grid.

[0134] In detail, the adjusting the preliminary grid set according to the cold source position to obtain the target grid set includes:

[0135] The cold source position of the air conditioning unit is obtained in the preliminary grid map, and preliminary grids are sequentially extracted from the preliminary grid set. According to the preliminary grids and the cold source position, the grid cold source distance is calculated using the following formula, wherein the cold source position includes: the cold source abscissa and the cold source ordinate:

[0136] ,

[0137] ,

[0138] in, Indicates Grid cold source distance, Indicates Initial grid, Indicates The horizontal coordinates of the preliminary grid, Indicates The ordinate of the preliminary grid, represents the horizontal coordinate of the cold source, represents the cold source ordinate;

[0139] In the top-down coordinate diagram, the farthest grid distance of the cold source position is obtained, and the The grid cold source distance, initial grid step size and preset scaling factor are used to calculate the Target grid step size, where the The target grid step size includes: Target horizontal axis step length and Target vertical axis step size:

[0140] ,

[0141] ,

[0142] in, Indicates Target horizontal axis step size, represents the scaling factor, Indicates the farthest grid distance, Indicates Target vertical axis step length;

[0143] The said The target grid step lengths are summarized to obtain a target grid step length set, and the preliminary grids are updated based on the target grid step length set to obtain a target grid set, wherein the target grid set is expressed as:

[0144] ,

[0145] in, Indicates Target horizontal axis step size, Indicates Target vertical axis step length, Indicates Target horizontal axis step size, Indicates Target vertical step size.

[0146] It can be understood that the air conditioning unit refers to the refrigeration equipment that cools the target indoor space, the cold source position refers to the position of the unit grid corresponding to the air conditioning unit in the preliminary grid map, the grid cold source distance refers to the distance between the preliminary grid and the cold source position, the farthest grid distance refers to the farthest distance from the cold source position in the preliminary grid map, and the scaling factor refers to the parameter for scaling the calculation result, which is set manually and can be obtained based on the previous experiment. The target grid step size refers to the preliminary grid step size after the cold source position is adjusted, and the first The target horizontal axis step size represents the coordinates The horizontal axis step length corresponding to the target grid, where the step length refers to the length of the unit grid, the horizontal axis step length is the length of the unit grid on the horizontal axis, and the vertical axis step length is the length of the unit grid on the vertical axis.

[0147] It should be explained that the grid step represents the uniformity of the grid in the preliminary grid map, and the initial grid step obtained at the beginning simply arranges the grid evenly in the preliminary grid map. Such an operation provides a basis for subsequent adjustment of the preliminary grid step, but this uniformly distributed preliminary grid step cannot be used as the target grid step, because in the actual target indoor space, due to the existence of the air-conditioning unit, the temperature changes at various locations in the target indoor space are not uniform. Usually, the temperature drops fastest at the location closest to the air-conditioning unit. If the unit grids are divided into the same size, the subsequent simulation of the temperature distribution will be inaccurate. Therefore, the preliminary grid step is used as a reference, and the target grid step is obtained based on the distance between the position of the preliminary grid and the position of the cold source.

[0148] S2. Identify unit grids in the grid coordinate diagram in sequence, collect real-time temperatures of the unit grids, and obtain an initial grid temperature set.

[0149] It can be understood that the initial grid temperature set refers to a collection of unit grid temperatures of each unit grid in the grid coordinate diagram, wherein the initial grid temperature set will provide an initial condition for the subsequent construction of a temperature distribution simulation model, as described in detail in the following embodiments.

[0150] S3. Based on the initial grid temperature set and temperature boundary conditions, a temperature distribution simulation model is constructed, a temperature distribution grid heat map is generated according to the temperature distribution simulation model, a non-set temperature area set is identified in the temperature distribution grid heat map, and non-set temperature areas are sequentially extracted from the non-set temperature area set.

[0151] It should be explained that the temperature distribution simulation model refers to a formula used to represent the temperature of each unit grid in the room, and the temperature distribution grid heat map refers to a two-dimensional temperature distribution image of the target indoor space. The temperature distribution grid heat map is a temperature distribution image generated in a grid coordinate diagram based on the temperature distribution simulation model using a computer, wherein the color of each unit grid in each temperature distribution grid heat map will vary with the temperature.

[0152] It can be understood that the non-set temperature area set refers to a collection of unit grids in the temperature distribution grid heat map whose unit grid temperature is above the set temperature, wherein the set temperature refers to an artificially set indoor temperature, which is used to guide the indoor air conditioner to cool down.

[0153] In detail, the construction of the temperature distribution simulation model based on the initial grid temperature set includes:

[0154] The initial grid temperature set is expressed as:

[0155] ,

[0156] in, represents the initial grid temperature set, Indicates Initial grid temperature, Indicates Initial grid temperature;

[0157] Based on the initial grid temperature set and the preset simulation time, the following temperature distribution simulation model is constructed:

[0158] ,

[0159] ,

[0160] ,

[0161] in, represents the temperature distribution simulation model, Indicates Initial grid temperature, represents the simulation time, represents the lateral factor, represents the longitudinal factor, Indicates Initial grid temperature, Indicates Initial grid temperature, Indicates Target horizontal axis step size, Indicates Initial grid temperature, Indicates Initial grid temperature, Indicates Target vertical step size.

[0162] It can be understood that the simulation time refers to the time interval for simulating temperature distribution, for example: obtaining the initial grid temperature set and inputting the initial grid temperature set into the temperature distribution simulation model, the temperature distribution simulation model will simulate the temperature distribution of the target indoor space after the simulation time.

[0163] In detail, the identifying of the non-set temperature region set in the temperature distribution grid heat map includes:

[0164] According to the preset set temperature, the corresponding standard brightness value is queried, unit grids are sequentially extracted from the temperature distribution grid heat map, and the grid brightness values ​​of the unit grids are identified;

[0165] Determine whether the grid brightness value is greater than a standard brightness value;

[0166] If the grid brightness value is greater than the standard brightness value, the unit grid is recorded as a non-set temperature area;

[0167] The non-set temperature regions are aggregated to obtain a non-set temperature region set.

[0168] It is clear that the set temperature refers to the indoor temperature set manually, for example, the indoor air conditioning temperature is set to 26 The standard brightness value refers to the color brightness value of the set temperature in the temperature distribution grid heat map. The grid brightness value refers to the average brightness value corresponding to the unit grid in the temperature distribution grid heat map.

[0169] It should be explained that since the temperature distribution grid heat map is directly mapped according to the temperature distribution simulation model, the color of each unit grid in the temperature distribution grid heat map is also directly mapped to the grid temperature in the temperature distribution simulation model. Therefore, the brightness value can be used to express the high and low grid temperature. The higher the grid temperature, the larger the brightness value of the unit grid.

[0170] S4. Accelerate the hot and cold air exchange process for the non-set temperature area to obtain the set temperature area and the average set temperature.

[0171] It can be understood that the set temperature area refers to a non-set temperature area that has been subjected to accelerated cold and hot air exchange processing, and the average set temperature refers to the average temperature of the set temperature area over a period of time.

[0172] It should be explained that the set temperature area cannot be simply considered as a unit grid whose temperature is equal to or below the set temperature, because after the accelerated hot and cold air exchange, no further temperature judgment is performed on the set temperature area. Therefore, the temperature of the set temperature area at this time may not meet the set temperature requirement. Therefore, a subsequent judgment process is required to make the entire hot and cold air exchange step more accurate. See the following embodiment for details.

[0173] In detail, the process of accelerating the hot and cold air exchange process in the non-set temperature area to obtain the set temperature area and the average set temperature includes:

[0174] Set the initial cooling time, initial cumulative temperature and initial cooling times, where the initial cooling time, initial cumulative temperature and initial cooling times are expressed as:

[0175] ,

[0176] in, Indicates the initial cooling time. represents the initial accumulated temperature, Indicates the number of initial temperature drops;

[0177] According to the preset single cooling time, the non-set temperature area is continuously and strongly cooled by using the pre-built refrigeration unit to obtain a strong cooling area;

[0178] The initial cooling times are updated to obtain the target cooling times, where the target cooling times are expressed as:

[0179] ,

[0180] in, Indicates the target cooling times;

[0181] The temperature of the cooling area of ​​the strong cooling area is collected, and the target cumulative temperature is calculated based on the temperature of the cooling area and the initial cumulative temperature, wherein the target cumulative temperature is expressed as:

[0182] ,

[0183] in, Indicates the target accumulated temperature, Indicates the temperature of the cooling area;

[0184] According to the single cooling time and the initial cooling time, the target cooling time is calculated, wherein the target cooling time is expressed as:

[0185] ,

[0186] in, Indicates the target cooling time. Indicates the duration of a single cooling;

[0187] Determine whether the target cooling time is less than a preset standard cooling time;

[0188] If the target cooling time is less than the standard cooling time, the initial cooling time, initial cumulative temperature, initial cooling time and non-set temperature area are updated respectively using the target cooling time, target cumulative temperature, target cooling time and strong cooling area, and the process returns to the step of continuously and strongly cooling the non-set temperature area using the pre-built refrigeration unit according to the preset single cooling time;

[0189] If the target cooling time is not less than the standard cooling time, the strong cooling area is recorded as the set temperature area, and the average set temperature is calculated based on the target cooling times and the target cumulative temperature, wherein the average set temperature is expressed as:

[0190] ,

[0191] in, Indicates the average set temperature.

[0192] It can be understood that the initial cooling time refers to the time that the refrigeration unit has been cooling the non-set temperature area, and the initial value of the initial cooling time is 0. The initial cumulative temperature refers to the sum of the temperatures of the strong cooling area collected multiple times by the refrigeration unit during the cooling process. The initial cooling times refers to the total number of times the refrigeration unit cools the non-set temperature area at the current moment. The single cooling time refers to the time required for the refrigeration unit to cool the non-set temperature area once, and the single cooling time is set manually.

[0193] It can be understood that the strong cooling area refers to the non-set temperature area after cooling by the refrigeration unit, and the target cooling number refers to the number of times the refrigeration unit is cooling the non-set temperature area at the current moment. The relationship between the target cooling number and the initial cooling number is: the target cooling number is always 1 greater than the initial cooling number.

[0194] Furthermore, the cooling area temperature refers to the temperature of the strong cooling area, and the target cumulative temperature refers to the sum of the temperatures of the strong cooling areas currently collected by the refrigeration unit during the cooling process, wherein the relationship between the target cumulative temperature and the initial cumulative temperature is: the target cumulative temperature is always one more cooling area temperature than the initial cumulative temperature. The target cooling duration refers to the total duration of the cooling unit cooling the non-set temperature area at the current moment, wherein the relationship between the target cooling duration and the initial cooling duration is: the target cooling duration is always one more single cooling duration than the initial cooling duration.

[0195] For example, the initial cooling time, initial cumulative temperature and initial cooling times of a non-set temperature area before the unit air conditioner starts cooling are set to 0, 0 and 0 respectively, and the single cooling time is set to 10s. Now the cooling starts. After the single cooling time, that is, after 10s, the target cooling times are 0+1=1, and the non-set temperature area is recorded as a strong cooling area. The cooling area temperature of the strong cooling area is collected to be 28 , then the target cumulative temperature is calculated as 0+28=28 , the target cooling time is calculated as 0+10=10s, the standard cooling time is set to 60s, and it is judged that 10s is less than 60s. The target cooling times, target cumulative temperature, target cooling time and strong cooling area are used to update the initial cooling times, initial cumulative temperature, initial cooling time and non-set temperature area. At this time, the initial cooling time, initial cumulative temperature and initial cooling times become: 10s, 28 and 1, and cool down the non-set temperature area again, repeating the above steps until the target cooling time reaches the standard cooling time, that is, 60s.

[0196] S5. Determine whether the average set temperature is greater than a preset standard set temperature.

[0197] It should be explained that the standard set temperature refers to the artificially set indoor temperature, for example: the artificially set temperature of the indoor air conditioner. Since the average set temperature is only measured when the refrigeration unit performs multiple short-term cooling on the non-set temperature area, the average set temperature does not necessarily meet the requirements of the standard set temperature, that is, not less than the standard set temperature, so the average set temperature needs to be further judged to decide whether to continue cooling.

[0198] If the average set temperature is greater than the standard set temperature, S6 is executed to set the set temperature area as a non-set temperature area.

[0199] Return to the step of accelerating the cold and hot air exchange process in the non-set temperature area.

[0200] It can be understood that when the average set temperature is greater than the standard set temperature, it means that the cooling effect of the current refrigeration unit has not achieved the expected effect, that is, the temperature of the non-set temperature area has not been reduced to be equal to the standard set temperature or lower than the standard set temperature. Therefore, it is necessary to treat the cooled area, that is, the set temperature area, as the non-set temperature area, and return to the step of cooling the non-set temperature area.

[0201] If the average set temperature is not greater than the standard set temperature, S7 is executed to aggregate the set temperature regions to obtain a set temperature region set, and the temperature distribution grid heat map is updated using the set temperature region set to obtain a target temperature grid heat map.

[0202] It can be understood that the target temperature grid map refers to a temperature distribution grid heat map after replacing the non-set temperature area set with the set temperature area set. The step of updating the temperature distribution grid heat map with the set temperature area set is as follows: sequentially extracting the set temperature areas from the set temperature area set, identifying the non-set temperature areas corresponding to the set temperature areas, replacing the non-set temperature areas with the set temperature areas in the temperature distribution grid heat map, and obtaining the target temperature grid heat map.

[0203] It should be explained that although the target temperature grid heat map is obtained after the refrigeration unit cools down the non-set temperature area, and the temperature of each unit grid in the target temperature grid heat map can meet the standard set temperature, there is still an uneven temperature distribution in the target temperature grid heat map. For example, the temperature of a unit grid is 24 , the temperature of the other unit grid is 26 This uneven temperature distribution will make the human body feel uncomfortable with the indoor temperature, and if this situation is not handled, the uneven temperature distribution will become more serious in the subsequent cooling process. Therefore, the present invention identifies the non-uniform temperature area in the subsequent processing and accelerates the air flow in the non-uniform temperature area so that the temperature of the entire target indoor space can be evenly distributed.

[0204] S8. Identify a set of non-uniform temperature regions in the target temperature grid heat map, perform air flow acceleration operations on the non-uniform temperature regions in the non-uniform temperature region set in sequence, obtain a set of uniform temperature regions, and complete the cold and hot air exchange based on temperature distribution simulation.

[0205] It can be understood that the non-uniform temperature area set refers to a set of areas with uneven temperature distribution in the target temperature grid heat map, and the uniform temperature area set refers to a set of non-uniform temperature areas after air flow acceleration operation, which is a set of areas with uniform temperature distribution.

[0206] In detail, the identifying a set of non-uniform temperature regions in the target temperature grid heat map includes:

[0207] Obtaining a fan unit position of a fan unit, and dividing the target temperature grid heat map by orientation according to the fan unit position to obtain an air flow area set;

[0208] Extract air flow areas in the air flow area set in sequence, identify the flow unit grids of the air flow area, obtain a flow unit grid set, and obtain a flow grid temperature set corresponding to the flow unit grid set, wherein the flow grid temperature set is expressed as:

[0209] ,

[0210] in, represents the flow grid temperature set, represents the first flow grid temperature, represents the pth flow grid temperature, and p represents the number of flow grid temperatures in the flow grid temperature set;

[0211] According to the flow grid temperature set, the flow difference factor is calculated using the following formula:

[0212] ,

[0213] in, represents the flow difference factor, represents the uth flow grid temperature, represents the temperature of the e-th flow grid;

[0214] Determining whether the flow difference factor is greater than a preset standard difference factor;

[0215] If the flow difference factor is greater than the standard difference factor, the air flow area is recorded as a non-uniform temperature area;

[0216] The non-uniform temperature regions are aggregated to obtain a non-uniform temperature region set.

[0217] It can be understood that the fan unit refers to a fan device that accelerates air flow in a non-uniform temperature area, the fan unit position refers to the position of the fan unit in the target temperature grid heat map, the air flow area set refers to a set of areas where accelerated air flow operations can be performed, the flow unit grid refers to the unit grid contained in the air flow area, the flow grid temperature set refers to the set of temperatures of the flow unit grids in the flow unit grid set, the flow difference factor refers to the variance of the temperatures of each flow grid in the flow grid temperature set, and the standard deviation factor refers to an artificially set variance.

[0218] It needs to be explained that since the blowing direction of the fan unit can be changed to change the blowing range, the blowing range of the fan unit when blowing should be determined according to the fan unit position of the fan unit, and the air flow area is divided according to the blowing range. Therefore, the air flow area can also be expressed as: the blowing area that can be covered by the fan unit when blowing without changing the blowing direction.

[0219] For example, the initial fan unit position of a fan unit is a. At this position, the fan unit is started according to the current blowing direction, and can cover area A with blowing air. Then area A is an air flow area. Then the blowing direction of the fan unit is changed, and can cover area B with blowing air. Then area B is also an air flow area.

[0220] In detail, the step of sequentially performing air flow acceleration operations on the non-uniform temperature regions in the non-uniform temperature region set to obtain a uniform temperature region set includes:

[0221] sequentially extracting non-uniform temperature regions in the non-uniform temperature region set;

[0222] Using the fan unit, blowing air to the non-uniform temperature region to obtain a uniform temperature region to be measured, identifying a uniform unit grid of the uniform temperature region to be measured, and obtaining a uniform unit grid set;

[0223] A uniform grid temperature set is obtained based on the uniform unit grid set, wherein the uniform grid temperature set is expressed as:

[0224] ,

[0225] in, represents the uniform grid temperature set, represents the first uniform grid temperature, represents the qth uniform grid temperature, where q represents the number of uniform grid temperatures in the uniform grid temperature set;

[0226] The uniform difference factor is calculated using the following formula:

[0227] ,

[0228] in, represents the uniform difference factor, represents the rth uniform grid temperature, represents the fth uniform grid temperature;

[0229] Determine whether the uniform difference factor is greater than the standard difference factor;

[0230] If the uniform difference factor is greater than the standard difference factor, the uniform temperature region to be measured is regarded as a non-uniform temperature region, and the process returns to the step of using the fan unit to perform a blowing operation on the non-uniform temperature region;

[0231] If the uniform difference factor is not greater than the standard difference factor, the uniform temperature region to be measured is recorded as a uniform temperature region, and the uniform temperature regions are summarized to obtain a uniform temperature region set.

[0232] It can be understood that the uniform temperature area to be measured refers to the non-uniform temperature area after the blowing operation, the uniform unit grid refers to the unit grid contained in the uniform temperature area to be measured, the uniform grid temperature set value is the set of grid temperatures of the uniform unit grids, and the uniform difference factor refers to the variance of the temperatures of each uniform grid in the uniform grid temperature meter set.

[0233] The present invention solves the problem described in the background technology. The present invention first obtains an indoor top view of the target indoor space, identifies the top view size of the indoor top view, and constructs a grid coordinate map based on the top view size. This step identifies the target indoor space in a targeted manner, so that subsequent hot and cold air exchange can be performed based on the target indoor space, thereby making the hot and cold air exchange more efficient. Next, the unit grids are identified in turn in the grid coordinate map, and the real-time temperature of the unit grids is collected to obtain an initial grid temperature set. The initial grid temperature set is the basic condition for constructing a temperature distribution simulation model. Based on the initial grid temperature set, a temperature distribution simulation model is constructed, and a temperature distribution grid heat map is generated according to the temperature distribution simulation model, completing the acquisition of the heat map of the target indoor space, so that the temperature distribution of the target indoor space has a more intuitive expression, which is beneficial to the subsequent temperature processing. By identifying the non-set temperature area set in the temperature distribution grid heat map, the non-set temperature areas are sequentially extracted in the non-set temperature area set, so that the hot and cold air exchange of the non-set temperature area can be accelerated, thereby obtaining the set temperature area and the average set temperature, which provides conditions for the subsequent judgment process. The average set temperature is judged. Whether the set temperature is greater than the standard set temperature, through the judgment step, the entire hot and cold air exchange process is made more efficient, while avoiding a large amount of ineffective air exchange, reducing the power loss of the air conditioning unit in the hot and cold air exchange process, if the average set temperature is greater than the standard set temperature, the set temperature area is used as a non-set temperature area, and the step of accelerating the hot and cold air exchange process of the non-set temperature area is returned to complete the closed loop of the average set temperature judgment, if the average set temperature is not greater than the standard set temperature, the set temperature area is summarized to obtain a set temperature area set, and the temperature distribution grid heat map is updated using the set temperature area set to obtain a target temperature grid heat map. This step successfully obtains the adjusted temperature distribution grid heat map, which paves the way for the subsequent adjustment of the non-uniform temperature area. Finally, the non-uniform temperature area set of the target temperature grid heat map is identified, and the air flow acceleration operation is performed on the non-uniform temperature area in the non-uniform temperature area set in turn to obtain a uniform temperature area set. This step performs air flow on the non-uniform temperature area of ​​the target indoor space, making the temperature distribution of the target indoor space more balanced and improving the comfort of the human body in the target indoor space. Therefore, the present invention can improve the comfort level of human body in a cold and hot air exchange environment and reduce the power consumption of air conditioning.

[0234] like Figure 2 , which is a functional module diagram of a hot and cold air exchange system based on temperature distribution simulation provided by an embodiment of the present invention.

[0235] The hot and cold air exchange system 100 based on temperature distribution simulation of the present invention can be installed in an electronic device. According to the functions to be implemented, the hot and cold air exchange system 100 based on temperature distribution simulation can include an initial grid division module 101, a hot and cold air exchange module 102, a target heat map generation module 103 and an air exchange acceleration module 104. The module of the present invention can also be called a unit, which refers to a series of computer program segments that can be executed by an electronic device processor and can complete fixed functions, which are stored in the memory of the electronic device.

[0236] The initial grid division module 101 is used to obtain an indoor top view of the target indoor space, identify the top view size of the indoor top view, and construct a grid coordinate diagram based on the top view size, wherein the top view size includes: the length of the top view long side and the length of the top view short side, identify unit grids in the grid coordinate diagram in turn, perform real-time temperature acquisition on the unit grids, and obtain an initial grid temperature set;

[0237] The hot and cold air exchange module 102 constructs a temperature distribution simulation model based on the initial grid temperature set, generates a temperature distribution grid heat map according to the temperature distribution simulation model, identifies a non-set temperature area set in the temperature distribution grid heat map, sequentially extracts non-set temperature areas from the non-set temperature area set, accelerates hot and cold air exchange processing on the non-set temperature areas, and obtains a set temperature area and an average set temperature;

[0238] The target heat map generation module 103 is used to determine whether the average set temperature is greater than a preset standard set temperature. If the average set temperature is greater than the standard set temperature, the set temperature area is used as a non-set temperature area, and the step of accelerating the hot and cold air exchange process for the non-set temperature area is returned. If the average set temperature is not greater than the standard set temperature, the set temperature areas are summarized to obtain a set temperature area set, and the temperature distribution grid heat map is updated using the set temperature area set to obtain a target temperature grid heat map;

[0239] The air exchange acceleration module 104 is used to identify the non-uniform temperature area set in the target temperature grid heat map, and perform air flow acceleration operations on the non-uniform temperature areas in the non-uniform temperature area set in sequence to obtain a uniform temperature area set.

[0240] In detail, each module in the hot and cold air exchange system 100 based on temperature distribution simulation in the embodiment of the present invention is used in the same manner as described above. Figure 1The same technical means as the hot and cold air exchange method based on temperature distribution simulation described in the text can produce the same technical effects, so I will not go into details here.

[0241] like Figure 3 , is a schematic diagram of the structure of an electronic device for implementing a method for exchanging hot and cold air based on temperature distribution simulation provided by an embodiment of the present invention.

[0242] The electronic device 1 may include a processor 10, a memory 11 and a bus 12, and may also include a computer program stored in the memory 11 and executable on the processor 10, such as a program for a method of exchanging hot and cold air based on temperature distribution simulation.

[0243] The memory 11 includes at least one type of readable storage medium, and the readable storage medium includes a flash memory, a mobile hard disk, a multimedia card, a card-type memory (e.g., SD or DX memory, etc.), a magnetic memory, a disk, an optical disk, etc. In some embodiments, the memory 11 may be an internal storage unit of the electronic device 1, such as a mobile hard disk of the electronic device 1. In other embodiments, the memory 11 may also be an external storage device of the electronic device 1, such as a plug-in mobile hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (SecureDigital, SD) card, a flash card (Flash Card), etc. equipped on the electronic device 1. Further, the memory 11 also includes an internal storage unit of the electronic device 1 and an external storage device. The memory 11 can not only be used to store application software and various types of data installed in the electronic device 1, such as the code of the hot and cold air exchange method program based on temperature distribution simulation, but also can be used to temporarily store data that has been output or is to be output.

[0244] The processor 10 may be composed of an integrated circuit in some embodiments, for example, a single packaged integrated circuit, or a plurality of packaged integrated circuits with the same or different functions, including one or more central processing units (CPUs), microprocessors, digital processing chips, graphics processors, and combinations of various control chips, etc. The processor 10 is the control core (Control Unit) of the electronic device, and uses various interfaces and lines to connect various components of the entire electronic device, and executes or executes programs or modules stored in the memory 11 (such as a program for a method of exchanging hot and cold air based on temperature distribution simulation, etc.), and calls data stored in the memory 11, so as to execute various functions of the electronic device 1 and process data.

[0245] The bus 12 may be a peripheral component interconnect (PCI) bus or an extended industry standard architecture (EISA) bus, etc. The bus 12 may be divided into an address bus, a data bus, a control bus, etc. The bus 12 is configured to realize connection and communication between the memory 11 and at least one processor 10, etc.

[0246] Figure 3 Only an electronic device with components is shown, and those skilled in the art will understand that Figure 3 The structure shown does not constitute a limitation on the electronic device 1, and may include fewer or more components than shown in the figure, or combine certain components, or arrange the components differently.

[0247] For example, although not shown, the electronic device 1 may also include a power source (such as a battery) for supplying power to various components. Preferably, the power source may be logically connected to the at least one processor 10 through a power management system, so that the power management system can realize functions such as charging management, discharging management, and power consumption management. The power source may also include any components such as one or more DC or AC power sources, recharging systems, power failure detection circuits, power converters or inverters, and power status indicators. The electronic device 1 may also include a variety of sensors, Bluetooth modules, Wi-Fi modules, etc., which will not be repeated here.

[0248] Furthermore, the electronic device 1 may also include a mesh interface. Optionally, the mesh interface may include a wired interface and / or a wireless interface (such as a WI-FI interface, a Bluetooth interface, etc.), which is generally used to establish a communication connection between the electronic device 1 and other electronic devices.

[0249] Optionally, the electronic device 1 may further include a user interface, which may be a display, an input unit (such as a keyboard), or a standard wired interface or a wireless interface. Optionally, in some embodiments, the display may be an LED display, a liquid crystal display, a touch-sensitive liquid crystal display, and an OLED (Organic Light-Emitting Diode) touch device. The display may also be appropriately referred to as a display screen or a display unit, which is used to display information processed in the electronic device 1 and to display a visual user interface.

[0250] The program of the method for exchanging hot and cold air based on temperature distribution simulation stored in the memory 11 of the electronic device 1 is a combination of multiple instructions. When running in the processor 10, the following can be achieved:

[0251] Acquire an indoor top view of the target indoor space, identify the top view size of the indoor top view, and construct a grid coordinate diagram based on the top view size, wherein the top view size includes: the length of the top view long side and the length of the top view short side;

[0252] Identify unit grids in the grid coordinate diagram in turn, collect real-time temperatures of the unit grids, and obtain an initial grid temperature set;

[0253] Based on the initial grid temperature set, a temperature distribution simulation model is constructed, a temperature distribution grid heat map is generated according to the temperature distribution simulation model, a non-set temperature region set is identified in the temperature distribution grid heat map, and non-set temperature regions are sequentially extracted from the non-set temperature region set;

[0254] Accelerate the hot and cold air exchange process in the non-set temperature area to obtain the set temperature area and the average set temperature;

[0255] Determining whether the average set temperature is greater than a preset standard set temperature;

[0256] If the average set temperature is greater than the standard set temperature, the set temperature area is used as a non-set temperature area, and the process returns to the step of accelerating the cold and hot air exchange process for the non-set temperature area;

[0257] If the average set temperature is not greater than the standard set temperature, the set temperature regions are summarized to obtain a set temperature region set, and the temperature distribution grid heat map is updated using the set temperature region set to obtain a target temperature grid heat map;

[0258] A non-uniform temperature region set in the target temperature grid heat map is identified, and air flow acceleration operations are performed on the non-uniform temperature regions in the non-uniform temperature region set in sequence to obtain a uniform temperature region set, thereby completing the hot and cold air exchange based on temperature distribution simulation.

[0259] Specifically, the specific implementation method of the processor 10 for the above instructions can refer to Figures 1 to 3 The description of the relevant steps in the corresponding embodiments will not be repeated here.

[0260] Furthermore, if the module / unit integrated in the electronic device 1 is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. The computer-readable storage medium can be volatile or non-volatile. For example, the computer-readable medium can include: any entity or system that can carry the computer program code, a recording medium, a USB flash drive, a mobile hard disk, a magnetic disk, an optical disk, a computer memory, and a read-only memory (ROM).

[0261] The present invention further provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor of an electronic device, the computer program can implement:

[0262] Acquire an indoor top view of the target indoor space, identify the top view size of the indoor top view, and construct a grid coordinate diagram based on the top view size, wherein the top view size includes: the length of the top view long side and the length of the top view short side;

[0263] Identify unit grids in the grid coordinate diagram in turn, collect real-time temperatures of the unit grids, and obtain an initial grid temperature set;

[0264] Based on the initial grid temperature set, a temperature distribution simulation model is constructed, a temperature distribution grid heat map is generated according to the temperature distribution simulation model, a non-set temperature region set is identified in the temperature distribution grid heat map, and non-set temperature regions are sequentially extracted from the non-set temperature region set;

[0265] Accelerate the hot and cold air exchange process in the non-set temperature area to obtain the set temperature area and the average set temperature;

[0266] Determining whether the average set temperature is greater than a preset standard set temperature;

[0267] If the average set temperature is greater than the standard set temperature, the set temperature area is used as a non-set temperature area, and the process returns to the step of accelerating the cold and hot air exchange process for the non-set temperature area;

[0268] If the average set temperature is not greater than the standard set temperature, the set temperature regions are summarized to obtain a set temperature region set, and the temperature distribution grid heat map is updated using the set temperature region set to obtain a target temperature grid heat map;

[0269] A non-uniform temperature region set in the target temperature grid heat map is identified, and air flow acceleration operations are performed on the non-uniform temperature regions in the non-uniform temperature region set in sequence to obtain a uniform temperature region set, thereby completing the hot and cold air exchange based on temperature distribution simulation.

[0270] In the several embodiments provided by the present invention, it should be understood that the disclosed devices, systems and methods can be implemented in other ways. For example, the system embodiments described above are only illustrative, and actual implementation may have other division methods.

[0271] The modules described as separate components may or may not be physically separated, and the components shown as modules may or may not be physical units, that is, they may be located in one place or distributed on multiple grid units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the present embodiment.

[0272] In addition, each functional module in each embodiment of the present invention may be integrated into one processing unit, each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of hardware plus software functional modules.

[0273] It is obvious to those skilled in the art that the present invention is not limited to the details of the above exemplary embodiments, and that the present invention can be implemented in other specific forms without departing from the spirit or essential characteristics of the present invention.

[0274] Finally, it should be noted that the above embodiments are only used to illustrate the technical solution of the present invention rather than to limit it. Although the present invention has been described in detail with reference to the preferred embodiments, those skilled in the art should understand that the technical solution of the present invention can be modified or replaced by equivalents without departing from the spirit and scope of the technical solution of the present invention.

Claims

1. A method for exchanging hot and cold air based on temperature distribution simulation, characterized in that: The method comprises: Acquire an indoor top view of the target indoor space, identify the top view size of the indoor top view, and construct a grid coordinate diagram based on the top view size, wherein the top view size includes: the length of the top view long side and the length of the top view short side; In the grid coordinate diagram, unit grids are identified in sequence, and real-time temperature collection is performed on the unit grids to obtain an initial grid temperature set; Based on the initial grid temperature set, a temperature distribution simulation model is constructed, a temperature distribution grid heat map is generated according to the temperature distribution simulation model, a non-set temperature area set is identified in the temperature distribution grid heat map, and non-set temperature areas are sequentially extracted from the non-set temperature area set, wherein the temperature distribution grid heat map refers to a two-dimensional temperature distribution image of the target indoor space; The step of constructing a temperature distribution simulation model based on the initial grid temperature set includes: The initial grid temperature set is expressed as: , in, represents the initial grid temperature set, Indicates Initial grid temperature, Indicates Initial grid temperature; Based on the initial grid temperature set and the preset simulation time, the following temperature distribution simulation model is constructed: , , , in, represents the temperature distribution simulation model, Indicates Initial grid temperature, represents the simulation time, represents the lateral factor, represents the longitudinal factor, Indicates Initial grid temperature, Indicates Initial grid temperature, Indicates Target horizontal axis step size, Indicates Initial grid temperature, Indicates Initial grid temperature, Indicates Target vertical axis step length; The identifying of a non-set temperature region set in the temperature distribution grid heat map comprises: According to the preset set temperature, the corresponding standard brightness value is queried, unit grids are sequentially extracted from the temperature distribution grid heat map, and the grid brightness values ​​of the unit grids are identified; Determine whether the grid brightness value is greater than a standard brightness value; If the grid brightness value is greater than the standard brightness value, the unit grid is recorded as a non-set temperature area; Summarizing the non-set temperature regions to obtain a non-set temperature region set; Accelerate the hot and cold air exchange process in the non-set temperature area to obtain the set temperature area and the average set temperature; The step of accelerating the cold and hot air exchange process in the non-set temperature area to obtain the set temperature area and the average set temperature includes: Set the initial cooling time, initial cumulative temperature and initial cooling times, where the initial cooling time, initial cumulative temperature and initial cooling times are expressed as: , in, Indicates the initial cooling time. represents the initial accumulated temperature, Indicates the number of initial temperature drops; According to the preset single cooling time, the non-set temperature area is continuously and strongly cooled by using the pre-built refrigeration unit to obtain a strong cooling area; The initial cooling times are updated to obtain the target cooling times, where the target cooling times are expressed as: , in, Indicates the target cooling times; The temperature of the cooling area of ​​the strong cooling area is collected, and the target cumulative temperature is calculated based on the temperature of the cooling area and the initial cumulative temperature, wherein the target cumulative temperature is expressed as: , in, Indicates the target accumulated temperature, Indicates the temperature of the cooling area; According to the single cooling time and the initial cooling time, the target cooling time is calculated, wherein the target cooling time is expressed as: , in, Indicates the target cooling time. Indicates the duration of a single cooling; Determine whether the target cooling time is less than a preset standard cooling time; If the target cooling time is less than the standard cooling time, the initial cooling time, initial cumulative temperature, initial cooling time and non-set temperature area are updated respectively using the target cooling time, target cumulative temperature, target cooling time and strong cooling area, and the process returns to the step of continuously and strongly cooling the non-set temperature area using the pre-built refrigeration unit according to the preset single cooling time; If the target cooling time is not less than the standard cooling time, the strong cooling area is recorded as the set temperature area, and the average set temperature is calculated based on the target cooling times and the target cumulative temperature, wherein the average set temperature is expressed as: , in, Indicates the average set temperature; Determining whether the average set temperature is greater than a preset standard set temperature; If the average set temperature is greater than the standard set temperature, the set temperature area is used as a non-set temperature area, and the process returns to the step of accelerating the cold and hot air exchange process for the non-set temperature area; If the average set temperature is not greater than the standard set temperature, the set temperature regions are summarized to obtain a set temperature region set, and the temperature distribution grid heat map is updated using the set temperature region set to obtain a target temperature grid heat map; Identify a non-uniform temperature region set in the target temperature grid heat map, perform air flow acceleration operations on the non-uniform temperature regions in the non-uniform temperature region set in sequence, obtain a uniform temperature region set, and complete the cold and hot air exchange based on temperature distribution simulation; The identifying a set of non-uniform temperature regions in the target temperature grid heat map comprises: Obtaining a fan unit position of a fan unit, and dividing the target temperature grid heat map by orientation according to the fan unit position to obtain an air flow area set; Extract air flow areas in the air flow area set in sequence, identify the flow unit grids of the air flow area, obtain a flow unit grid set, and obtain a flow grid temperature set corresponding to the flow unit grid set, wherein the flow grid temperature set is expressed as: , in, represents the flow grid temperature set, represents the first flow grid temperature, represents the pth flow grid temperature, and p represents the number of flow grid temperatures in the flow grid temperature set; According to the flow grid temperature set, the flow difference factor is calculated using the following formula: , in, represents the flow difference factor, represents the uth flow grid temperature, represents the temperature of the e-th flow grid; Determining whether the flow difference factor is greater than a preset standard difference factor; If the flow difference factor is greater than the standard difference factor, the air flow area is recorded as a non-uniform temperature area; Summarizing the non-uniform temperature regions to obtain a non-uniform temperature region set; The step of sequentially performing air flow acceleration operations on the non-uniform temperature regions in the non-uniform temperature region set to obtain a uniform temperature region set includes: sequentially extracting non-uniform temperature regions in the non-uniform temperature region set; Using the fan unit, blowing air to the non-uniform temperature region to obtain a uniform temperature region to be measured, identifying a uniform unit grid of the uniform temperature region to be measured, and obtaining a uniform unit grid set; A uniform grid temperature set is obtained based on the uniform unit grid set, wherein the uniform grid temperature set is expressed as: , in, represents the uniform grid temperature set, represents the first uniform grid temperature, represents the qth uniform grid temperature, where q represents the number of uniform grid temperatures in the uniform grid temperature set; The uniform difference factor is calculated using the following formula: , in, represents the uniform difference factor, represents the rth uniform grid temperature, represents the fth uniform grid temperature; Determine whether the uniform difference factor is greater than the standard difference factor; If the uniform difference factor is greater than the standard difference factor, the uniform temperature region to be measured is regarded as a non-uniform temperature region, and the process returns to the step of using the fan unit to perform a blowing operation on the non-uniform temperature region; If the uniform difference factor is not greater than the standard difference factor, the uniform temperature region to be measured is recorded as a uniform temperature region, and the uniform temperature regions are summarized to obtain a uniform temperature region set.

2. The method for exchanging hot and cold air based on temperature distribution simulation according to claim 1, characterized in that: The step of constructing a grid coordinate diagram based on the size of the top view includes: Respectively identify the upper left vertex, the upper right vertex and the lower left vertex of the indoor top view, record the upper left vertex as the coordinate origin, record the upper right vertex as the end point of the horizontal axis, and record the lower left vertex as the end point of the vertical axis; According to the coordinate origin, the end point of the horizontal axis and the length of the long side when looking down, the coordinate horizontal axis is constructed; according to the coordinate origin, the end point of the vertical axis and the length of the short side when looking down, the coordinate vertical axis is constructed, wherein the direction from the coordinate origin to the end point of the horizontal axis is the positive direction of the coordinate horizontal axis, the length of the long side when looking down is the length of the coordinate horizontal axis, the direction from the coordinate origin to the end point of the vertical axis is the positive direction of the coordinate vertical axis, and the length of the short side when looking down is the length of the coordinate vertical axis; Based on the coordinate origin, the coordinate horizontal axis and the coordinate vertical axis, a coordinate system is added to the indoor overhead view to obtain an overhead coordinate diagram; The overhead coordinate diagram is grid-divided to obtain a grid coordinate diagram.

3. The method for exchanging hot and cold air based on temperature distribution simulation according to claim 2, characterized in that: The step of gridding the top-view coordinate diagram to obtain a grid coordinate diagram includes: According to the preset number of horizontal axis grids and the number of vertical axis grids, the initial grid step is calculated, wherein the initial grid step includes: the initial horizontal axis step and the initial vertical axis step: , in, represents the initial horizontal axis step size, Indicates the length of the horizontal axis of the coordinate system. Indicates the number of horizontal axis grids, represents the initial vertical axis step length, Indicates the length of the vertical axis of the coordinate system. Indicates the number of vertical axis grids; According to the initial grid step, preliminary grid division is performed in the overhead coordinate map to obtain a preliminary grid map, preliminary grids in the preliminary grid map are identified, and the preliminary grids and preliminary grid step are summarized as key-value pairs to obtain a preliminary grid set, wherein the preliminary grid set is expressed as: , in, represents the preliminary grid set, Indicates Initial grid, Indicates Preliminary grid; Obtaining a cold source position of the air conditioning unit, and adjusting the preliminary grid set according to the cold source position to obtain a target grid set; The preliminary grid map is adjusted according to the target grid set to obtain a grid coordinate map.

4. The method for exchanging hot and cold air based on temperature distribution simulation according to claim 3, characterized in that: The step of adjusting the preliminary grid set according to the cold source position to obtain the target grid set includes: The cold source position of the air conditioning unit is obtained in the preliminary grid map, and preliminary grids are sequentially extracted from the preliminary grid set. According to the preliminary grids and the cold source position, the grid cold source distance is calculated using the following formula, wherein the cold source position includes: the cold source abscissa and the cold source ordinate: , , in, Indicates Grid cold source distance, Indicates Initial grid, Indicates The horizontal coordinates of the preliminary grid, Indicates The ordinate of the preliminary grid, represents the horizontal coordinate of the cold source, represents the cold source ordinate; In the top-down coordinate diagram, the farthest grid distance of the cold source position is obtained, and the The grid cold source distance, initial grid step size and preset scaling factor are used to calculate the Target grid step size, where the The target grid step size includes: Target horizontal axis step length and Target vertical axis step size: , , in, Indicates Target horizontal axis step size, represents the scaling factor, Indicates the farthest grid distance, Indicates Target vertical axis step length; The said The target grid step lengths are summarized to obtain a target grid step length set, and the preliminary grids are updated based on the target grid step length set to obtain a target grid set, wherein the target grid set is expressed as: , in, Indicates Target horizontal axis step size, Indicates Target vertical axis step length, Indicates Target horizontal axis step size, Indicates Target vertical step size.

5. A system using the method for exchanging hot and cold air based on temperature distribution simulation as claimed in any one of claims 1 to 4, characterized in that: The system comprises: An initial grid division module is used to obtain an indoor top view of the target indoor space, identify the top view size of the indoor top view, and construct a grid coordinate diagram based on the top view size, wherein the top view size includes: the length of the top view long side and the length of the top view short side, identify unit grids in the grid coordinate diagram in turn, perform real-time temperature collection on the unit grids, and obtain an initial grid temperature set; A hot and cold air exchange module is used to construct a temperature distribution simulation model based on an initial grid temperature set, generate a temperature distribution grid heat map according to the temperature distribution simulation model, identify a non-set temperature area set in the temperature distribution grid heat map, sequentially extract non-set temperature areas from the non-set temperature area set, the temperature distribution grid heat map refers to a two-dimensional temperature distribution image of a target indoor space, accelerate hot and cold air exchange processing on the non-set temperature area, and obtain a set temperature area and an average set temperature; a target heat map generation module, used to determine whether the average set temperature is greater than a preset standard set temperature; if the average set temperature is greater than the standard set temperature, the set temperature area is used as a non-set temperature area, and the step of accelerating the hot and cold air exchange process for the non-set temperature area is returned; if the average set temperature is not greater than the standard set temperature, the set temperature areas are summarized to obtain a set temperature area set, and the temperature distribution grid heat map is updated using the set temperature area set to obtain a target temperature grid heat map; The air exchange acceleration module is used to identify the non-uniform temperature area set in the target temperature grid heat map, and perform air flow acceleration operations on the non-uniform temperature areas in the non-uniform temperature area set in sequence to obtain a uniform temperature area set.