A method, apparatus and electronic device for arranging an air diffuser in a room
Patent Information
- Application Number
- CN202210860008.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-07-21
- Publication Date
- 2026-08-28
- Estimated Expiration
- 2042-07-21
AI Technical Summary
这种散流器的布置方式,容易导致散流器的布置不符合实际需求,造成室内环境舒适度体验较差的缺陷
[0020]本申请实施例上述第一方面至第四方面提供的方案中,根据房间的基础信息中的房间尺寸,和根据所述房间的基础信息中的房间标识查询出的房间的送风量,对房间中能够布置的散流器的数量进行计算,并根据房间中能够布置的散流器的数量和所述房间的送风量,确定所述散流器的型号,将所述型号的散流器,按照确定的行数和列数布置在所述房间内,与相关技术中需要设计师人工估算房间内使用的散流器方式相比,可以在得到房间的基础信息后,按照房间所需的送风量自动在房间内布置合适数量的散流器,使得散流器的布置符合实际需求;而且,整个在房间内布置散流器的过程无需人工参与,提高了在房间内布置散流器的效率。
Smart Images

Figure CN115270215B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of architectural design technology, and more specifically, to a method, apparatus, and electronic device for arranging diffusers in a room. Background Technology
[0002] Currently, one of the design tasks in the HVAC profession is the placement of air conditioning system vents within a room. If diffusers are used for the air conditioning system vents, the designer needs to manually calculate the number and type of diffusers required, and then place them in the room. This method of diffuser placement can easily lead to the diffusers not being placed according to actual needs, resulting in a poor indoor environmental comfort experience. Summary of the Invention
[0003] To address the aforementioned problems, the purpose of this application is to provide a method, apparatus, and electronic device for arranging diffusers in a room.
[0004] In a first aspect, embodiments of this application provide a method for arranging diffusers in a room, including:
[0005] Obtain basic information about the room, including: room identifier, diffuser identifier, and room dimensions;
[0006] When the diffuser identifier indicates that a diffuser needs to be installed in the room, the air supply volume of the room is retrieved based on the room identifier;
[0007] The number of diffusers that can be installed in the room is calculated based on the room size and the determined air supply volume of the room.
[0008] Based on the calculated number of diffusers, determine the number of rows and columns of diffusers to be arranged in the room;
[0009] The model of the diffuser is determined based on the number of diffusers that can be installed in the room and the air supply volume of the room.
[0010] Arrange the diffusers of the specified model in the room according to the determined number of rows and columns.
[0011] Secondly, embodiments of this application also provide a device for arranging diffusers in a room, comprising:
[0012] The acquisition module is used to acquire basic information about the room, including: room identifier, diffuser identifier, and room dimensions;
[0013] The query module is used to query the air supply volume of the room based on the room identifier when the diffuser identifier indicates that a diffuser needs to be installed in the room.
[0014] The calculation module is used to calculate the number of diffusers that can be installed in the room based on the room size and the determined air supply volume of the room.
[0015] The first determining module is used to determine the number of rows and columns of diffusers to be arranged in the room based on the calculated number of diffusers;
[0016] The second determining module is used to determine the model of the diffuser based on the number of diffusers that can be installed in the room and the air supply volume of the room.
[0017] The arrangement module is used to arrange the diffusers of the aforementioned model in the room according to a determined number of rows and columns.
[0018] Thirdly, embodiments of this application also provide a computer-readable storage medium storing a computer program, which, when executed by a processor, performs the steps of the method described in the first aspect above.
[0019] Fourthly, embodiments of this application also provide an electronic device, the electronic device including a memory, a processor and one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the processor using the steps of the method described in the first aspect above.
[0020] In the solutions provided by the first to fourth aspects of this application, the number of diffusers that can be installed in the room is calculated based on the room size in the basic room information and the air supply volume of the room obtained from the room identifier in the basic room information. Then, based on the number of diffusers that can be installed in the room and the air supply volume of the room, the model of the diffuser is determined. The diffusers of the determined model are then arranged in the room according to the determined number of rows and columns. Compared with the related technologies where designers need to manually estimate the number of diffusers needed in a room, this method can automatically arrange an appropriate number of diffusers in the room according to the required air supply volume after obtaining the basic room information, ensuring that the arrangement of the diffusers meets actual needs. Moreover, the entire process of arranging diffusers in the room does not require manual intervention, improving the efficiency of diffuser arrangement in the room.
[0021] To make the above-mentioned objectives, features and advantages of this application more apparent and understandable, preferred embodiments are described below in detail with reference to the accompanying drawings. Attached Figure Description
[0022] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0023] Figure 1 A flowchart of a method for arranging diffusers in a room, as provided in Embodiment 1 of this application, is shown.
[0024] Figure 2 This invention provides a schematic diagram of a device for arranging diffusers in a room, according to Embodiment 2 of this application.
[0025] Figure 3 A schematic diagram of the structure of an electronic device provided in Embodiment 3 of this application is shown. Detailed Implementation
[0026] In the description of this application, it should be understood that the terms "center", "longitudinal", "lateral", "length", "width", "thickness", "upper", "lower", "front", "rear", "left", "right", "vertical", "horizontal", "top", "bottom", "inner", "outer", "clockwise", "counterclockwise", etc., indicate the orientation or positional relationship based on the orientation or positional relationship shown in the accompanying drawings. They are used only for the convenience of describing this application and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, or be constructed and operated in a specific orientation. Therefore, they should not be construed as limitations on this application.
[0027] Furthermore, the terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of that feature. In the description of this application, "multiple" means two or more, unless otherwise explicitly specified.
[0028] In this application, unless otherwise expressly specified and limited, the terms "installation," "connection," "linking," and "fixing," etc., should be interpreted broadly. For example, they can refer to a fixed connection, a detachable connection, or an integral connection; they can refer to a mechanical connection or an electrical connection; they can refer to a direct connection or an indirect connection through an intermediate medium; and they can refer to the internal connection between two components. Those skilled in the art can understand the specific meaning of the above terms in this application according to the specific circumstances.
[0029] Currently, one of the design tasks in the HVAC profession is the placement of air conditioning system vents within a room. If diffusers are used for the air conditioning system vents, the designer needs to manually calculate the number and model of diffusers to be used, and then place the diffusers in the room. This method of diffuser placement can easily lead to the diffusers not being placed according to actual needs, resulting in poor indoor environmental comfort (such as the feeling of airflow experienced by people in the room and the uniformity of temperature distribution in the room).
[0030] Based on this, various embodiments of this application propose a method, apparatus, and electronic device for arranging diffusers in a room. The method calculates the number of diffusers that can be arranged in the room based on the room dimensions in the room's basic information and the room's airflow volume retrieved from the room identifier in the room's basic information. Then, based on the number of diffusers that can be arranged in the room and the room's airflow volume, the model of the diffuser is determined. The diffusers of the determined model are then arranged in the room according to the determined number of rows and columns. This allows for the automatic arrangement of an appropriate number of diffusers in the room based on the required airflow volume after obtaining the room's basic information, ensuring that the arrangement of the diffusers meets actual needs and improves the comfort of people in the room.
[0031] In the following embodiments of this application, a room refers to a rectangular room generated in architectural drawing software according to actual design requirements.
[0032] To make the above-mentioned objectives, features and advantages of this application more apparent and understandable, the application will be further described in detail below with reference to the accompanying drawings and embodiments.
[0033] Example 1
[0034] The execution subject of the method for arranging diffusers in a room proposed in this embodiment is a server.
[0035] See Figure 1 The flowchart shown illustrates a method for arranging diffusers in a room. This embodiment proposes a method for arranging diffusers in a room, including the following specific steps:
[0036] Step 100: Obtain basic information about the room, including: room identifier, diffuser identifier, and room dimensions.
[0037] In step 100 above, when it is necessary to install a diffuser in a room, the basic information of the room can be extracted from the architectural drawing software based on the room identifier input by the user into the server.
[0038] In addition to basic information, the architectural drawing software also stores the correspondence between room identifiers and room air volume.
[0039] The diffuser identifier can be 0 or 1.
[0040] When the diffuser identifier is 1, it indicates that a diffuser needs to be installed in the room; when the diffuser identifier is 0, it indicates that a diffuser does not need to be installed in the room.
[0041] The room dimensions include the room's length, width, and height.
[0042] Step 102: When the diffuser identifier indicates that a diffuser needs to be installed in the room, the air supply volume of the room is retrieved based on the room identifier.
[0043] In step 102 above, when the diffuser identifier is 1, the correspondence between room identifiers and room air volume stored in the architectural drawing software is traversed using the room identifier to query the air volume of the room.
[0044] Step 104: Calculate the number of diffusers that can be installed in the room based on the room size and the determined air volume of the room.
[0045] In step 104 above, the number of diffusers includes: the maximum number of diffusers and the minimum number of diffusers.
[0046] In order to calculate the number of diffusers that can be installed in the room, step 104 above can be performed by following steps (1) to (4):
[0047] (1) Determine the wind speed at the neck of the diffuser;
[0048] (2) Obtain the effective circulation area coefficient of the room;
[0049] (3) The maximum number of diffusers that can be installed in the room can be calculated using the following formula:
[0050]
[0051] (4) The minimum number of diffusers that can be installed in the room is calculated using the following formula:
[0052]
[0053] Among them, v n Indicates the wind speed at the diffuser neck; q v Indicates the room's air supply volume; L represents the room's length; n max The maximum number of diffusers is indicated by W; the width of the room is indicated by H; and the effective flow area coefficient is indicated by ε.
[0054] In step (1) above, in the initial state, if the staff does not input the diffuser neck wind speed, the server will use the diffuser neck wind speed setting value cached in the server as the diffuser neck wind speed.
[0055] In step (2) above, the effective circulation area coefficient of the room is a set value and is cached in the server.
[0056] Step 106: Based on the calculated number of diffusers, determine the number of rows and columns of diffusers to be arranged in the room.
[0057] To determine the number of rows and columns of diffusers to be arranged in the room, step 106 above may perform the following steps (1) to (8):
[0058] (1) Obtain the diffuser arrangement uniformity and the optimal column-to-row ratio;
[0059] (2) Select the smallest number of diffusers that has not been installed in the room from the minimum number of diffusers to the maximum number of diffusers as the reference number of diffusers installed in the room at present.
[0060] (3) Determine at least two combinations of row and column numbers that the reference number of diffusers can be arranged in the room;
[0061] (4) Calculate the ratio of column spacing to row spacing for each combination of at least two combinations of row and column numbers;
[0062] (5) When the absolute value of the difference between the ratio of column spacing to row spacing and the optimal column spacing to row spacing ratio in at least two combinations of row and column numbers is less than the difference threshold, return to step (2).
[0063] (6) When the absolute value of the difference between the ratio of column spacing to row spacing and the optimal ratio of column spacing to row spacing in at least two combinations of row and column numbers is less than the difference threshold, the combination of row and column numbers whose absolute value of the difference between the ratio of row and column spacing and the optimal ratio of column spacing to row spacing is less than the difference threshold is determined as the combination of row and column numbers to be arranged.
[0064] (7) When the ratio of column spacing to row spacing of the combination of the number of rows and columns to be arranged is not within the range of the diffuser arrangement uniformity and the optimal column spacing to row spacing ratio, return to step (2).
[0065] (8) When the ratio of the column spacing to the row spacing of the combination of the number of rows and columns to be arranged is within the range of the uniformity of the diffuser arrangement and the optimal column spacing to row spacing ratio, the number of rows in the combination of the number of rows and columns to be arranged is determined as the number of rows of the diffuser arranged in the room, and the number of columns in the combination of the number of rows and columns to be arranged is determined as the number of columns of the diffuser arranged in the room.
[0066] In step (1) above, the diffuser arrangement uniformity and the optimal column spacing to row spacing ratio are both cached in the server.
[0067] In one implementation, the optimal column spacing to row spacing ratio can be any value between 0.8 and 1.2, which will not be elaborated here.
[0068] Preferably, the optimal column spacing to row spacing ratio can be set to 1.
[0069] In one embodiment, the uniformity of the diffuser arrangement can be any value between 0 and 1, which will not be elaborated here.
[0070] Preferably, the uniformity of the diffuser arrangement can be set to 0.6.
[0071] In step (3) above, the number of rows * number of columns in the combination of row number and column number = the reference number of diffusers.
[0072] If the diffuser reference number is 8, then the combinations of row and column numbers include: 1 row * 8 columns, 8 rows * 1 column, 4 rows * 2 columns, and 2 rows * 4 columns.
[0073] The product of the number of rows and the number of columns represents the product of the number of rows and the number of columns.
[0074] In step (4) above, column spacing = length of the house / number of columns; row spacing = width of the house / number of rows.
[0075] Using the formulas for calculating column spacing and row spacing mentioned above, we can calculate the ratio of column spacing to row spacing for each of the at least two combinations of row and column numbers.
[0076] In step (5) above, the difference threshold is cached in the server.
[0077] Step 108: Determine the model of the diffuser based on the number of diffusers that can be installed in the room and the air supply volume of the room.
[0078] In step 108 above, specifically, in order to determine the model of the diffuser, the following steps (1) to (2) can be performed:
[0079] (1) The air volume of the diffuser is calculated by dividing the air supply volume of the room by the sum of the number of diffusers that can be installed in the room;
[0080] (2) Based on the calculated air volume of the diffuser, find the model of the diffuser that matches the air volume of the diffuser from the diffuser specification table, thereby determining the model of the diffuser to be installed in the room.
[0081] In step (2) above, the diffuser specification table is pre-cached in the server.
[0082] The diffuser specification sheet includes the correspondence between the diffuser model, diffuser neck wind speed, air volume, and range.
[0083] Step 110: Arrange the diffusers of the specified model in the room according to the determined number of rows and columns.
[0084] Specifically, in order to arrange the diffuser in the room, the following steps (1) to (4) can be performed:
[0085] (1) Determine the range of the diffuser based on its model number;
[0086] (2) Determine whether the range of the diffuser satisfies the following formula:
[0087]
[0088] Where x represents the diffuser's range; n a This indicates the calculated number of diffusers;
[0089] (3) If not, perform an incremental operation on the diffuser neck wind speed to obtain the diffuser neck wind speed after the incremental operation, and return to the step of obtaining the effective flow area coefficient.
[0090] (4) If so, the diffusers of the specified model are arranged in the room according to the determined number of rows and columns.
[0091] In step (1) above, the range of the diffuser is determined from the diffuser specification table according to the model of the diffuser.
[0092] In step (3) above, the diffuser neck wind speed is incremented to obtain the diffuser neck wind speed after the increment operation, which is the diffuser neck wind speed + 0.5.
[0093] In step (4) above, the position of the first diffuser located in the upper left corner of the room is determined based on the determined number of rows and columns and the constraint that the diffuser should be 1 meter away from the wall. Then, the diffuser is arranged in the room according to the determined number of rows and columns and the row spacing and column spacing calculated above.
[0094] In summary, this embodiment proposes a method for arranging diffusers in a room. Based on the room dimensions in the room's basic information and the room's airflow volume retrieved from the room's identifier, the number of diffusers that can be arranged in the room is calculated. Then, based on the number of diffusers that can be arranged and the room's airflow volume, the model of the diffuser is determined. The diffusers of the determined model are then arranged in the room according to the determined number of rows and columns. Compared to related technologies where designers need to manually estimate the number of diffusers needed in a room, this method automatically arranges an appropriate number of diffusers in the room according to the required airflow volume after obtaining the room's basic information, ensuring that the diffuser arrangement meets actual needs. Moreover, the entire process of arranging diffusers in the room requires no manual intervention, improving the efficiency of diffuser arrangement.
[0095] Example 2
[0096] This embodiment proposes an apparatus for arranging diffusers in a room, used to perform the method for arranging diffusers in a room as proposed in Embodiment 1 above.
[0097] See Figure 2 The diagram shows a structural schematic of a device for arranging diffusers in a room. This embodiment proposes a device for arranging diffusers in a room, comprising:
[0098] The acquisition module 200 is used to acquire basic information about the room, including: room identifier, diffuser identifier, and room dimensions.
[0099] The query module 202 is used to query the air supply volume of the room based on the room identifier when the diffuser identifier indicates that a diffuser needs to be installed in the room.
[0100] The calculation module 204 is used to calculate the number of diffusers that can be installed in the room based on the room size and the determined air supply volume of the room.
[0101] The first determining module 206 is used to determine the number of rows and columns of diffusers to be arranged in the room based on the calculated number of diffusers;
[0102] The second determining module 208 is used to determine the model of the diffuser based on the number of diffusers that can be installed in the room and the air supply volume of the room.
[0103] Arrangement module 210 is used to arrange the diffusers of the aforementioned model in the room according to a determined number of rows and columns.
[0104] The number of diffusers includes: the maximum number of diffusers and the minimum number of diffusers; the room dimensions include: the length, width and height of the room.
[0105] The computing module 204 is specifically used for:
[0106] Determine the diffuser neck velocity;
[0107] Obtain the effective circulation area coefficient of the room;
[0108] The maximum number of diffusers that can be installed in the room can be calculated using the following formula:
[0109]
[0110] The minimum number of diffusers that can be installed in the room can be calculated using the following formula:
[0111]
[0112] Among them, v n Indicates the wind speed at the diffuser neck; q v Indicates the room's air volume; L represents the room's length; n max The maximum number of diffusers is indicated by W; the width of the room is indicated by H; and the effective flow area coefficient is indicated by ε.
[0113] Specifically, the first determining module 206 is specifically used for:
[0114] Obtain the diffuser arrangement uniformity and the optimal column-to-row ratio;
[0115] From the minimum number of diffusers to the maximum number of diffusers, select the minimum number of diffusers that has never been installed in the room as the reference number of diffusers currently installed in the room;
[0116] Determine at least two combinations of row and column numbers that allow the reference number of diffusers to be arranged in the room;
[0117] Calculate the ratio of column spacing to row spacing for each of the at least two combinations of row and column numbers.
[0118] When the absolute value of the difference between the ratio of column spacing to row spacing and the optimal column spacing to row spacing ratio in at least two combinations of row and column numbers is less than the difference threshold, return to the step of selecting the smallest number of diffusers that has not been installed in the room as the reference number of diffusers currently installed in the room from the minimum number of diffusers to the maximum number of diffusers.
[0119] When the absolute value of the difference between the ratio of column spacing to row spacing and the optimal ratio of column spacing to row spacing in at least two combinations of row and column numbers is less than a difference threshold, the combination of row and column numbers whose absolute value of the difference between the ratio of column spacing to row spacing and the optimal ratio of column spacing to row spacing is less than the difference threshold is determined as the combination of row and column numbers to be arranged.
[0120] When the ratio of column spacing to row spacing of the combination of the number of rows and columns to be arranged is not within the numerical range of the diffuser arrangement uniformity and the optimal column spacing to row spacing ratio, return to the step of selecting the smallest number of diffusers that has not been installed in the room as the reference number of diffusers currently installed in the room from the minimum number of diffusers to the maximum number of diffusers.
[0121] When the ratio of the column spacing to the row spacing of the combination of the number of rows and columns to be arranged is within the range of the uniformity of the diffuser arrangement and the optimal column spacing to row spacing ratio, the number of rows in the combination of the number of rows and columns to be arranged is determined as the number of rows of the diffuser arranged in the room, and the number of columns in the combination of the number of rows and columns to be arranged is determined as the number of columns of the diffuser arranged in the room.
[0122] Specifically, the arrangement module 210 is used for:
[0123] Based on the model number of the diffuser, the range of the diffuser can be determined.
[0124] Determine whether the range of the diffuser satisfies the following formula:
[0125]
[0126] Where x represents the diffuser's range; n a This indicates the calculated number of diffusers;
[0127] If not, then perform an incremental operation on the diffuser neck wind speed to obtain the diffuser neck wind speed after the incremental operation, and return to the step of obtaining the effective flow area coefficient.
[0128] If so, the diffusers of the specified model are arranged in the room according to the determined number of rows and columns.
[0129] In summary, this embodiment proposes a device for arranging diffusers in a room. Based on the room dimensions in the room's basic information and the room's airflow volume retrieved from the room's identifier, the number of diffusers that can be arranged in the room is calculated. Then, based on the number of diffusers that can be arranged and the room's airflow volume, the model of the diffuser is determined. The diffusers of the determined model are then arranged in the room according to the determined number of rows and columns. Compared to related technologies where designers need to manually estimate the number of diffusers needed in a room, this method can automatically arrange an appropriate number of diffusers in the room according to the required airflow volume after obtaining the room's basic information, ensuring that the diffuser arrangement meets actual needs. Moreover, the entire process of arranging diffusers in the room requires no manual intervention, improving the efficiency of diffuser arrangement.
[0130] Example 3
[0131] This embodiment proposes a computer-readable storage medium storing a computer program. When the computer program is run by a processor, it executes the steps of the method for arranging diffusers in a room as described in Embodiment 1 above. For a detailed implementation, please refer to Method Embodiment 1, which will not be repeated here.
[0132] In addition, see Figure 3 The diagram shows the structure of an electronic device. This embodiment also proposes an electronic device, which includes a bus 51, a processor 52, a transceiver 53, a bus interface 54, a memory 55, and a user interface 56. The electronic device includes a memory 55.
[0133] In this embodiment, the electronic device further includes: one or more programs stored in the memory 55 and executable on the processor 52, configured to be executed by the processor to perform the one or more programs for the following steps (1) to (6):
[0134] (1) Obtain basic information about the room, including: room identifier, diffuser identifier and room dimensions;
[0135] (2) When the diffuser identifier indicates that a diffuser needs to be installed in the room, the air supply volume of the room is retrieved based on the room identifier;
[0136] (3) Calculate the number of diffusers that can be installed in the room based on the room size and the determined air supply volume of the room;
[0137] (4) Based on the calculated number of diffusers, determine the number of rows and columns of diffusers to be arranged in the room;
[0138] (5) Determine the model of the diffuser based on the number of diffusers that can be installed in the room and the air supply volume of the room;
[0139] (6) Arrange the diffusers of the specified model in the room according to the determined number of rows and columns.
[0140] Transceiver 53 is used to receive and send data under the control of processor 52.
[0141] The bus architecture (represented by bus 51) can include any number of interconnected buses and bridges, linking various circuits including one or more processors represented by processor 52 and memory represented by memory 55. Bus 51 can also link various other circuits such as peripheral devices, voltage regulators, and power management circuits, which are well known in the art and therefore will not be further described in this embodiment. Bus interface 54 provides an interface between bus 51 and transceiver 53. Transceiver 53 can be a single element or multiple elements, such as multiple receivers and transmitters, providing a unit for communicating with various other devices over a transmission medium. For example, transceiver 53 receives external data from other devices. Transceiver 53 is used to transmit data processed by processor 52 to other devices. Depending on the nature of the computing system, a user interface 56 may also be provided, such as a keypad, display, speaker, microphone, or joystick.
[0142] Processor 52 is responsible for managing bus 51 and general processing, such as running a general-purpose operating system as described above. Memory 55 can be used to store data used by processor 52 during operation.
[0143] Optionally, the processor 52 may be, but is not limited to, a central processing unit, a microcontroller, a microprocessor, or a programmable logic device.
[0144] It is understood that the memory 55 in the embodiments of this application can be volatile memory or non-volatile memory, or may include both volatile and non-volatile memory. The non-volatile memory can be read-only memory (ROM), programmable read-only memory (PROM), erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), or flash memory. The volatile memory can be random access memory (RAM), which is used as an external cache. By way of example, but not limitation, many forms of RAM are available, such as Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), Synchronous DRAM (SDRAM), Double Data Rate SDRAM (DDRSDRAM), Enhanced Synchronous DRAM (ESDRAM), Synchlink DRAM (SLDRAM), and Direct Rambus RAM (DRRAM). The memory 55 of the systems and methods described in this embodiment is intended to include, but is not limited to, these and any other suitable types of memory.
[0145] In some implementations, memory 55 stores elements such as executable modules or data structures, or subsets thereof, or extended sets thereof: operating system 551 and application programs 552.
[0146] The operating system 551 includes various system programs, such as the framework layer, core library layer, and driver layer, used to implement various basic business functions and handle hardware-based tasks. The application program 552 includes various applications, such as a media player and a browser, used to implement various application functions. Programs implementing the methods of the embodiments of this application can be included in the application program 552.
[0147] In summary, this embodiment proposes a computer-readable storage medium and electronic device. Based on the room dimensions in the room's basic information and the room's airflow volume retrieved from the room identifier in the basic information, the number of diffusers that can be placed in the room is calculated. Then, based on the number of diffusers that can be placed in the room and the room's airflow volume, the model of the diffuser is determined. The diffusers of the determined model are then arranged in the room according to the determined number of rows and columns. Compared with related technologies where designers need to manually estimate the number of diffusers needed in a room, this method can automatically arrange an appropriate number of diffusers in the room according to the required airflow volume after obtaining the room's basic information, ensuring that the diffuser arrangement meets actual needs. Moreover, the entire process of arranging diffusers in the room requires no manual intervention, improving the efficiency of diffuser arrangement.
[0148] The above description is merely a specific embodiment of this application, but the scope of protection of this application is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the technical scope disclosed in this application should be included within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.
Claims
1. A method for arranging diffusers in a room, characterized in that, include: Obtain basic information about the room, including: room identifier, diffuser identifier, and room dimensions; When the diffuser identifier indicates that a diffuser needs to be installed in the room, the air supply volume of the room is retrieved based on the room identifier; The number of diffusers that can be installed in the room is calculated based on the room dimensions and the determined air supply volume of the room. The number of diffusers includes a maximum number and a minimum number. The room dimensions include the length, width, and height of the room. The calculation of the number of diffusers that can be installed in the room based on the room dimensions and the determined air supply volume includes: determining the diffuser neck velocity, obtaining the effective flow area coefficient of the room, calculating the maximum number of diffusers that can be installed in the room using a first formula, and calculating the minimum number of diffusers that can be installed in the room using a second formula. The first and second formulas include the diffuser neck velocity, the room air supply volume, the room length, the room width, and the effective flow area coefficient as parameters. The second formula also includes the room height as a parameter. Based on the calculated number of diffusers, determine the number of rows and columns of diffusers to be arranged in the room; wherein, determining the number of rows and columns of diffusers to be arranged in the room based on the calculated number of diffusers includes: obtaining the diffuser arrangement uniformity and the optimal column-to-row spacing ratio; selecting the smallest number of diffusers that has not been installed in the room from the minimum number of diffusers to the maximum number of diffusers as the reference number of diffusers to be installed in the current room; determining at least two combinations of row and column numbers that the reference number of diffusers can be arranged in the room, wherein the product of the row and column numbers in the combination of row and column numbers is equal to the reference number of diffusers; calculating the combination of at least two row and column numbers respectively. The ratio of column spacing to row spacing for various combinations of row and column numbers; when the absolute value of the difference between the ratio of column spacing to row spacing and the optimal ratio of column spacing to row spacing for at least two combinations of row and column numbers is less than a difference threshold, the combination of row and column numbers whose absolute value of the difference between the ratio of row and column spacing and the optimal ratio of column spacing to row spacing is less than the difference threshold is determined as the combination of row and column numbers to be arranged; when the ratio of column spacing to row spacing for the combination of row and column numbers to be arranged is within the numerical range of the diffuser arrangement uniformity and the optimal ratio of column spacing to row spacing, the number of rows in the combination of row and column numbers to be arranged is determined as the number of rows of diffusers arranged in the room, and the number of columns in the combination of row and column numbers to be arranged is determined as the number of columns of diffusers arranged in the room; The model of the diffuser is determined based on the number of diffusers that can be installed in the room and the air supply volume of the room. This determination includes: calculating the airflow of the diffuser by dividing the air supply volume of the room by the sum of the number of diffusers that can be installed in the room; and, based on the calculated airflow, looking up the model of the diffuser that matches its airflow from a diffuser specification table, thereby determining the model of the diffuser to be installed in the room. The diffuser specification table includes the correspondence between the diffuser model, diffuser neck velocity, airflow, and range. Arrange the diffusers of the specified model in the room according to the determined number of rows and columns.
2. The method according to claim 1, characterized in that, The step of arranging the diffusers of the aforementioned model in the room according to a determined number of rows and columns includes: Based on the model number of the diffuser, the range of the diffuser can be determined. Determine whether the range of the diffuser satisfies the following formula: ; in, Indicates the range of the diffuser; Indicates the length of the room; Indicates the width of the room; This indicates the calculated number of diffusers; If not, then perform an incremental operation on the diffuser neck wind speed to obtain the diffuser neck wind speed after the incremental operation, and return to the step of obtaining the effective flow area coefficient. If so, the diffusers of the specified model are arranged in the room according to the determined number of rows and columns.
3. A device for arranging diffusers in a room, characterized in that, include: The acquisition module is used to acquire basic information about the room, including: room identifier, diffuser identifier, and room dimensions; The query module is used to query the air supply volume of the room based on the room identifier when the diffuser identifier indicates that a diffuser needs to be installed in the room. The calculation module is used to calculate the number of diffusers that can be installed in the room based on the room size and the determined air supply volume of the room; the number of diffusers includes: the maximum number of diffusers and the minimum number of diffusers; the room size includes: the length, width and height of the room; The calculation module is specifically used to determine the diffuser neck velocity, obtain the effective flow area coefficient of the room, calculate the maximum number of diffusers that can be placed in the room using a first formula, and calculate the minimum number of diffusers that can be placed in the room using a second formula. The first and second formulas include the diffuser neck velocity, the air supply volume of the room, the room length, the room width, and the effective flow area coefficient as parameters. The second formula also includes the room height as a parameter. The first determining module is used to determine the number of rows and columns of diffusers to be arranged in the room based on the calculated number of diffusers; The first determining module is specifically used to obtain the diffuser arrangement uniformity and the optimal column-to-row spacing ratio; select the smallest number of diffusers that has not been installed in the room from the minimum number of diffusers to the maximum number of diffusers as the reference number of diffusers currently installed in the room; determine at least two combinations of row and column numbers that the reference number of diffusers can be arranged in the room, wherein the product of the row and column numbers in the combination of row and column numbers is equal to the reference number of diffusers; calculate the column-to-row spacing ratio for each of the at least two combinations of row and column numbers; when the at least two combinations of row and column numbers... When the absolute value of the difference between the ratio of column spacing to row spacing of a combination of rows and columns and the optimal ratio of column spacing to row spacing is less than a threshold, the combination of rows and columns whose absolute value of the difference between the ratio of row spacing to row spacing and the optimal ratio of column spacing to row spacing is less than the threshold is determined as the combination of rows and columns to be arranged; when the ratio of column spacing to row spacing of the combination of rows and columns to be arranged is within the numerical range of the diffuser arrangement uniformity and the optimal ratio of column spacing to row spacing, the number of rows in the combination of rows and columns to be arranged is determined as the number of rows of diffusers arranged in the room, and the number of columns in the combination of rows and columns to be arranged is determined as the number of columns of diffusers arranged in the room; The second determining module is used to determine the model of the diffuser based on the number of diffusers that can be installed in the room and the air supply volume of the room. The second determining module is specifically used to calculate the air volume of the diffuser by dividing the air supply volume of the room by the sum of the number of diffusers that can be installed in the room; based on the calculated air volume of the diffuser, it looks up the model of the diffuser that matches the air volume of the diffuser from the diffuser specification table, thereby determining the model of the diffuser to be installed in the room; the diffuser specification table includes: the correspondence between the model of the diffuser, the neck velocity of the diffuser, the air volume, and the range; The arrangement module is used to arrange the diffusers of the aforementioned model in the room according to a determined number of rows and columns.
4. The apparatus according to claim 3, characterized in that, The arrangement module is specifically used for: Based on the model number of the diffuser, the range of the diffuser can be determined. Determine whether the range of the diffuser satisfies the following formula: ; in, Indicates the range of the diffuser; Indicates the length of the room; Indicates the width of the room; This indicates the calculated number of diffusers; If not, then perform an incremental operation on the diffuser neck wind speed to obtain the diffuser neck wind speed after the incremental operation, and return to the step of obtaining the effective flow area coefficient. If so, the diffusers of the specified model are arranged in the room according to the determined number of rows and columns.
5. A computer-readable storage medium storing a computer program thereon, characterized in that, The computer program, when executed by a processor, performs the steps of the method described in any one of claims 1-2.
6. An electronic device, characterized in that, The electronic device includes a memory, a processor, and one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the processor of the steps of the method according to any one of claims 1-2.