Air treatment device scheduling method, air treatment device, and readable storage medium
By automatically matching and scheduling target air handling equipment, the problem of low efficiency in manually configuring air purification tasks by users is solved, and efficient air purification task execution is achieved.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-06-29
- Publication Date
- 2026-03-31
Smart Images

Figure CN115540257B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of air handling equipment, and more particularly to a scheduling method for air handling equipment, an air handling equipment, and a readable storage medium. Background Technology
[0002] With the increasing demand for air purification, an air purification method has emerged that uses a main unit and sub-units for air purification. The main unit is a cabinet air conditioner, and each main unit comes with one air handling unit (sub-unit) at the factory. During actual air purification, the main unit controls the sub-unit to perform the purification. However, in actual use, users may have higher air purification needs and will configure multiple sub-units to purify the air in different areas of the room. In this case, users need to manually configure the sub-units for each area and dispatch them to the corresponding areas through the main unit. This method has at least the following technical problems: it requires users to manually configure the air handling equipment to perform the air purification task, resulting in low efficiency. Summary of the Invention
[0003] The main objective of this invention is to provide a scheduling method for air handling equipment, an air handling equipment, and a readable storage medium, aiming to solve the technical problem of low efficiency caused by the need for users to manually configure air handling equipment to perform air purification tasks.
[0004] To achieve the above objectives, the present invention provides a scheduling method for an air handling equipment, the scheduling method comprising:
[0005] The first air handling unit acquires the target air purification task and the target area associated with the target air purification task.
[0006] Identify the target air handling equipment that matches the target area from the air handling equipment to be dispatched;
[0007] The target air handling equipment is scheduled according to the target area and the target air purification task.
[0008] Optionally, the step of determining the target air handling unit matching the target area among the air handling units to be dispatched includes:
[0009] Determine the number of the target regions;
[0010] When the number of target areas is less than or equal to the number of air handling units to be scheduled, at least one target air handling unit is matched for each target area according to the target area;
[0011] When the number of target areas is greater than the number of air handling units to be scheduled, the target areas are clustered to form area sets. Based on the area sets, at least one target air handling unit is matched to each area set. The number of area sets is less than or equal to the number of air handling units to be scheduled.
[0012] Optionally, the step of clustering the target region to form a region set includes:
[0013] Obtain the distances between each of the target regions;
[0014] The target regions whose distance is less than a preset distance are clustered into a region set.
[0015] Optionally, the step of clustering the target region to form a region set includes:
[0016] Based on the number of air handling units to be scheduled and the number of target areas, at least two area combinations are determined, and each area combination includes at least two sets of areas.
[0017] Determine the distance between the region corresponding to each of the aforementioned region combinations and the air handling equipment to be scheduled;
[0018] The set of regions in the region combination with the smallest distance is taken as the set of regions formed by clustering.
[0019] Optionally, the step of scheduling the target air handling equipment according to the target area and the target air purification task includes:
[0020] Each target area is matched one-to-one with the target air handling equipment to obtain at least two sets of correspondences;
[0021] Based on the distance between each target area and the corresponding target air handling equipment in each set of correspondences, determine the distance corresponding to each set of correspondences;
[0022] The target air handling equipment is scheduled based on the correspondence with the smallest distance and the target air purification task.
[0023] Optionally, the scheduling method for the air handling equipment further includes:
[0024] Upon detecting a voice command, the type of the first air handling unit is determined;
[0025] When the type of the first air handling device is the first type, the step of the first air handling device acquiring the target air purification task and the target area associated with the target air purification task is executed.
[0026] When the first air handling device is of type two, the target air purification task and the target area associated with the target air purification task are received from the second air handling device in the air handling devices to be scheduled.
[0027] Optionally, the step of determining the type of the first air handling device includes:
[0028] Determine the first sound source distance between the first air handling device and the sound source, and obtain the second sound source distance sent by the second air handling device associated with the same household identifier, wherein the second sound source distance is the distance between the second air handling device and the sound source;
[0029] When the distance to the first sound source is less than the distance to the second sound source, the first air handling device is determined to be of the first type;
[0030] When the distance to the first sound source is greater than the distance to the second sound source, the first air handling device is determined to be of the second type.
[0031] Optionally, the step of determining the type of the first air handling device includes:
[0032] Obtain setting information corresponding to the first air handling device sent by the terminal device. The setting information is either the first type of setting information or the second type of setting information. The setting information is generated by the terminal device after detecting the type setting command input by the user.
[0033] Based on the setting information of the first type, the first air handling device is determined to be of the first type;
[0034] Alternatively, the first air handling device may be determined to be of the second type based on the setting information of the second type.
[0035] Optionally, the scheduling method for the air handling equipment further includes:
[0036] When a start command for the multi-machine scheduling mode is detected, it is determined that the multi-machine scheduling mode is triggered. The start command is either a start command sent by the server or a start command extracted from voice information.
[0037] When the multi-machine scheduling mode is triggered, the first air handling unit performs the step of acquiring the target air purification task and the target area associated with the target air purification task.
[0038] Optionally, the scheduling method for the air handling equipment further includes:
[0039] When the execution command of the target air purification task is detected, it is detected whether an air purification task different from the target air purification task is currently being executed;
[0040] When no air purification task different from the target air purification task is being executed at present, the first air handling device is executed to obtain the target air purification task and the target area associated with the target air purification task.
[0041] When an air purification task that is different from the target air purification task is being executed, the currently executed air purification task is interrupted, and the first air handling device is executed to obtain the target air purification task and the target area associated with the target air purification task.
[0042] After the target air purification task is completed, the interrupted air purification task will continue to be executed.
[0043] Optionally, the step of determining the target air handling unit matching the target area among the air handling units to be dispatched includes:
[0044] Among the air handling units to be scheduled, select the candidate air handling unit that matches the target air purification task;
[0045] Select the target air handling equipment that matches the target area from the candidate air handling equipment.
[0046] Optionally, the step of selecting the target air handling device matching the target area from the candidate air handling devices includes:
[0047] When the number of candidate air handling units is one, the candidate air handling unit is used as the target air handling unit matched with the target area;
[0048] When there are two or more candidate air handling units, the target air handling unit matching the target area is determined based on the air purification task matched by each candidate air handling unit and the distance between the target area and each candidate air handling unit.
[0049] In addition, to achieve the above objectives, the present invention also provides an air handling device, the air handling device including a memory, a processor, and a scheduler of the air handling device stored in the memory and executable on the processor, wherein when the scheduler of the air handling device is executed by the processor, it implements the steps of the scheduling method of the air handling device described in any of the above claims.
[0050] Optionally, the air handling equipment includes a sub-unit and a mother unit, the mother unit having a sub-unit compartment for housing the sub-unit, and the memory and the processor located in the sub-unit or the mother unit.
[0051] Furthermore, to achieve the above objectives, the present invention also provides a computer-readable storage medium on which a scheduler for an air handling device is stored, wherein when the air handling device scheduler is executed by a processor, the air handling device scheduler implements the steps of the air handling device scheduling method described in any of the above claims.
[0052] This invention proposes a scheduling method for air handling equipment, an air handling equipment, and a readable storage medium. The method involves acquiring a target air purification task and a target area associated with that task using a first air handling equipment. A target air handling equipment matching the target area is then identified from among the air handling equipment to be scheduled. Based on the target area and the target air purification task, the target air handling equipment is scheduled. This allows for the automatic identification and scheduling of target air handling equipment matching the target area of the target air task, eliminating the need for manual configuration of the air handling equipment performing the air purification task. This simplifies the air handling scheduling process and avoids the inefficiency caused by manually configuring air handling equipment for air purification tasks. Attached Figure Description
[0053] Figure 1 This is a schematic diagram of the hardware structure of the air handling equipment involved in the embodiments of the present invention;
[0054] Figure 2 This is a flowchart illustrating an embodiment of the scheduling method for the air handling equipment of the present invention;
[0055] Figure 3 This is a flowchart illustrating another embodiment of the scheduling method for the air handling equipment of the present invention;
[0056] Figure 4 This is a flowchart illustrating another embodiment of the scheduling method for the air handling equipment of the present invention;
[0057] Figure 5 This is a flowchart illustrating another embodiment of the scheduling method for the air handling equipment of the present invention;
[0058] Figure 6 This is a flowchart illustrating another embodiment of the scheduling method for the air handling equipment of the present invention.
[0059] The realization of the objective, functional features and advantages of the present invention will be further explained in conjunction with the embodiments and with reference to the accompanying drawings. Detailed Implementation
[0060] It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
[0061] As one implementation, the hardware environment architecture involved in the scheduling method of the air handling equipment can be as follows: Figure 1 As shown.
[0062] Specifically, the air handling device includes: a processor 101, such as a CPU, a memory 102, and a communication bus 103. The communication bus 103 is used to enable communication between these components. The processor 102 is used to invoke an application program to perform functions such as scheduling of the air handling device.
[0063] The memory 102 can be a high-speed RAM or a stable memory (non-volatile memory), such as a disk storage device.
[0064] It is understood that, in one embodiment, the scheduler for the air handling equipment is stored in the memory 102 of the air handling equipment, and when the processor 101 calls the scheduler from the memory 102, it performs the following operations:
[0065] The first air handling unit acquires the target air purification task and the target area associated with the target air purification task.
[0066] Identify the target air handling equipment that matches the target area from the air handling equipment to be dispatched;
[0067] The target air handling equipment is scheduled according to the target area and the target air purification task.
[0068] Alternatively, in another embodiment, a scheduler that implements the scheduling process of the air handling equipment is stored in a computer-readable storage medium. During the scheduling process, the processor 101 of the air handling equipment can call the scheduler from the computer-readable storage medium to perform the above operations.
[0069] Based on the hardware architecture of the air handling equipment described above, various embodiments of the scheduling method for the air handling equipment of the present invention are proposed, which respectively realize the scheduling of the air handling equipment.
[0070] In one embodiment, please refer to Figure 2 The air handling equipment scheduling method proposed in this embodiment includes the following steps:
[0071] Step S10: The first air handling unit acquires the target air purification task and the target area associated with the target air purification task.
[0072] Step S20: Determine the target air handling equipment that matches the target area from the air handling equipment to be dispatched;
[0073] Step S30: Schedule the target air handling equipment according to the target area and the target air purification task.
[0074] In this embodiment, the executing entity is an air handling unit, specifically a first air handling unit. The air handling unit may only have air purification functions, or it may also have cooling and heating functions, or it may have other functions. This embodiment does not impose any limitations. The air handling unit can be a slave unit or a master unit. The functions of the master unit and the slave unit can be the same or different. For example, a master unit is an air conditioner cabinet unit, which can have both cooling and heating functions and air purification functions. A slave unit is an air purifier slave unit, which may only have air purification functions. The first air handling unit can be any air handling unit, such as any air handling unit slave unit or any air handling unit master unit. Any air handling unit can be pre-set as the first air handling unit by default. For example, a certain air handling unit master unit can be pre-set as the first air handling unit, or a certain air handling unit slave unit can be pre-set as the first air handling unit. The first air handling unit can be set based on detected user commands, such as voice commands or commands issued by the user via a terminal device. Alternatively, the first air handling unit can be set based on the status of each individual air handling unit. For example, if multiple air handling units simultaneously receive commands to perform air purification tasks, the unit with the highest remaining battery power can be selected as the first air handling unit to ensure normal execution of the control program and avoid interruptions caused by insufficient power. Alternatively, other methods can be used to set the first air handling unit. Furthermore, the main air handling unit, such as a cabinet unit, is typically placed in a fixed area and cannot move independently. The sub-units of the air handling unit are equipped with a movement module, which allows them to move in space to change position and perform air purification tasks in different areas.
[0075] The target air purification task is the air purification task that needs to be performed. An air purification task, also known as an air purification mode, can be seen as the function provided by an air handling device to process the air in a specific space to change its state. Target air purification tasks include, for example, formaldehyde removal, humidification, dehumidification, sterilization, virus removal, or particulate matter removal. In addition, the target air purification task can also be other tasks that change a certain state of the air. In this embodiment, the number of target air purification tasks is one or more.
[0076] The target area is the area associated with or corresponding to the target air purification task. When the air handling unit performs the target air purification task, it is necessary to specify the area where it works. This area is the target area associated with or corresponding to the target air purification task. There can be one or more target areas.
[0077] The first air handling unit acquires the target area and the target air purification task in ways including but not limited to the following:
[0078] The first air handling unit obtains the target area and target air purification task sent by the terminal device. The terminal device sets the specific target air purification task and the target area associated with or corresponding to the target air purification task based on the user's operation. Then, the terminal device queries the first air purifier. The terminal device can select any air handling unit as the first air handling unit from all air handling units, or it can select the first air handling unit based on the user's operation. In addition, the terminal device can also determine the first air handling unit based on the status of each air handling unit. For example, it can select an air handling unit that is not currently executing a task and has a lot of remaining power as the first air handling unit to avoid interfering with the execution of the original air purification task by the air handling unit during the scheduling process, and to avoid the inability to execute the scheduling process normally due to insufficient power. After querying the first air handling unit, the terminal device can associate the identification information of the first air handling unit with the target air purification task, so that the first air handling unit can associate the target air purification task based on the identification information identifier.
[0079] The first air handling unit acquires the pre-stored target air purification task and the target area associated with the target air purification task. The pre-stored target air purification task and target area can be acquired in various ways, such as by setting it through the user's voice command, by being pushed by the server, or by being sent by the terminal device.
[0080] The air handling unit to be scheduled is an air handling unit that can be scheduled by the first air handling unit. In practical applications, the air handling units that the first air handling unit can schedule are generally air handling units within the same household. Based on user operation, air handling units within the same household can be networked and associated with the same household identification information. The first air handling unit obtains the air handling units associated with the same household identification information as the air handling units to be scheduled. In addition, the first air handling unit itself can be the air handling unit to be scheduled, and air handling units other than the first air handling unit can also be the air handling units to be scheduled. Furthermore, the air handling units to be scheduled are not necessarily limited to air handling units associated with the same household identification information; any other air handling unit can also be the air handling unit to be scheduled, as long as it can be scheduled by the first air handling unit. The air handling units to be scheduled can include the first air handling unit and the second air handling unit, where the second air handling unit is an air handling unit other than the first air handling unit.
[0081] The target air handling unit is the air handling equipment that performs the target air purification task. The target air handling unit can be a sub-unit or a master unit. The first air handling unit can be determined based on different methods to match the target area; that is, the matching relationship between the target area and the target air handling unit can be determined using different methods.
[0082] The air handling unit closest to the target area can be selected as the target air handling unit, so that the target air handling unit can be quickly moved to the target area to perform the target air purification task, thereby improving efficiency and reducing energy consumption during the movement. In addition, if the target air handling unit is found to be the closest air handling unit to the target area by comparing various air handling units, the target air handling unit can be made to perform the target air purification task at its current location, and the target air handling unit cannot be moved.
[0083] On the other hand, matching can also be based on whether the space in which the air handling unit operates can cover the target area. Air handling units whose operating space can cover the target area are selected as target air handling units. For example, the main air handling unit is a cabinet unit placed in the living room, and the adjacent area is the bedroom. The target area for the air purification task is the bedroom. In this case, the first air handling unit detects that the main air handling unit is closest to the bedroom compared to the individual air handling units. However, because the main unit's air outlet faces away from the bedroom's outlet, its operating space cannot completely cover the bedroom when performing its air purification task. Therefore, the first air handling unit selects the target air handling unit from among the individual units, allowing it to move into the bedroom to perform the air purification task. The first air handling unit can also pre-define areas where the main air handling unit cannot perform its function, and when matching the target air handling unit for the target area, it can eliminate the main air handling unit that cannot perform its function for the target area.
[0084] When scheduling target air handling equipment based on target areas and target air purification tasks, there may be multiple target areas that match multiple target air handling equipment. In this case, during scheduling, the first air handling equipment will match the target areas and the target air handling equipment one by one to obtain at least two sets of correspondences. Based on the distance between each target area and the corresponding target air handling equipment in each set of correspondences, the distance corresponding to each set of correspondences will be determined. Based on the correspondence with the smallest distance and the target air purification task, the target air handling equipment will be scheduled.
[0085] For example, if the target areas are a bedroom and a study, and the target air handling units include unit A and unit B, then two sets of correspondences can be obtained. The first set corresponds to the bedroom with unit A and the study with unit B. The second set corresponds to the bedroom with unit B and the study with unit A. In this case, the first air handling unit calculates that in the first set, the distance between the bedroom and unit A is 5 meters, and the distance between the study and unit B is 8 meters. In the second set, the distance between the bedroom and unit A is 6 meters, and the distance between the study and unit B is 5 meters. Therefore, both the study and the bedroom are 5 meters away from unit B. To facilitate all target air handling units... To achieve rapid movement over the shortest distance while minimizing power consumption during movement, the total distance that the target air handling unit needs to move in each set of correspondences is determined. This total distance is used as the distance corresponding to the set of correspondences. For example, the total distance corresponding to the first set of correspondences is 13 meters, and the total distance corresponding to the second set of correspondences is 11 meters. Based on the second set of correspondences with the shortest distance and the target air purification task, the target air purification task can be scheduled. That is, according to the second set of correspondences, the target air handling unit is scheduled to the corresponding target area to perform the corresponding target air purification task. Target air handling unit A is scheduled to the bedroom to perform the corresponding target air purification task, and target air handling unit B is scheduled to the study to perform the corresponding target air purification task.
[0086] After selecting the target air handling unit, based on the target air purification task and the target area, the target air handling unit is scheduled to perform the target air purification task in the target area. The target air handling unit may be a slave unit or a master unit, and the following situations may occur:
[0087] If the target air handling unit is a sub-unit of the target air handling unit, and the target area corresponding to the target air purification task matches the current location of the sub-unit, then the sub-unit can perform the target air purification task at its current location. The matching of the target air purification task area with the sub-unit's location means that the target air handling unit can achieve the air purification function corresponding to that target area at that location. For example:
[0088] The target air purification task is humidification, and the corresponding area is the bedroom area. Therefore, the target air handling unit can be located in or near the bedroom to achieve the function of humidification in the bedroom.
[0089] If the target air handling unit is a sub-unit of the target air handling unit, and the target area corresponding to the target air purification task does not match the current location of the sub-unit of the target air handling unit, then the sub-unit of the target air handling unit can be moved to the area corresponding to the target air purification task to perform the target air purification task.
[0090] If the target air handling unit is the air handling unit master unit, since the air handling unit master unit cannot move, the air handling unit master unit will perform the target air purification task at its current location. In order to avoid the problem that the air handling unit master unit cannot move and thus cannot perform the task in the area corresponding to the target air purification task, when determining the target air handling unit that matches the target area, it is also necessary to determine whether the type of the air handling unit to be scheduled is a slave unit type or a master unit type. When the type of the air handling unit to be scheduled is a master unit type, it is necessary to determine whether the target area corresponding to the target air purification task matches the location of the master unit type air handling unit to be scheduled. If they do not match, the target air handling unit needs to be selected from other matching slave unit type air handling units to be scheduled.
[0091] In addition, the target air handling unit can be the first air handling unit itself, in which case the first air handling unit performs the target air purification task in the target area.
[0092] When scheduling a target air handling unit, its initial position can be arbitrary, such as within the sub-unit compartment of the main air handling unit or anywhere within a home. Based on its initial position and the area of the target air purification task, the target air handling unit calculates a sequence of points or curves for its starting and ending points. This sequence of points or curves is called a path, and the strategy for constructing the path is called path planning. The target air handling unit moves by performing path planning. One method involves laser navigation, utilizing the collimation and non-divergence properties of lasers for positioning. This is achieved by emitting laser beams to surrounding objects and collecting the reflected laser beams to determine its position and direction. This is just one way for the sub-unit of the air handling unit to move; other methods can also be used.
[0093] In addition, both the air handling unit slave unit and the air handling unit master unit mentioned above include an algorithm unit, and each air handling unit slave unit or each air handling unit master unit is an independent computing center, which can achieve decentralization. Various data and statuses can be synchronized between the various air handling unit slave units, and data and statuses can also be synchronized between the air purifier slave unit and the air handling unit master unit.
[0094] The execution command for the target air purification task can be an execution command sent by the terminal device or a detected voice command. When the execution command for the target air purification task is detected, the first air handling device may be in different execution task states at this time. That is, the first air handling device may be executing a task different from the target air purification task, or it may not be executing a task different from the target air purification task. If it is not currently executing a task different from the target air purification task, step S10 and subsequent steps are executed. If it is currently executing an air purification task different from the target air purification task, the currently executing air purification task is interrupted, and step S10 and subsequent steps are executed to avoid the currently executing air purification task interfering with the normal execution of the target air purification task.
[0095] In this embodiment, the target area and the target air purification task associated with the target air purification task are obtained through the first air handling device. The target air handling device matching the target area is determined from the air handling devices to be scheduled. The target air handling device is scheduled according to the target area and the target air purification task. This allows the target air handling device matching the target area of the target air task to be automatically determined and scheduled according to the target area and the target air purification task. There is no need to manually configure the air handling device to perform the air purification task, so the operation is simpler and avoids the problem of low efficiency caused by the need for users to manually configure the air handling device to perform the air purification task.
[0096] In another embodiment, please refer to Figure 3 Based on the above Figure 2 This embodiment proposes that the step of determining the target air handling equipment matching the target area among the air handling equipment to be dispatched includes:
[0097] Step S21: Determine the number of target areas;
[0098] Step S22: When the number of target areas is less than or equal to the number of air handling units to be scheduled, at least one target air handling unit is matched for each target area according to the target area.
[0099] Step S23: When the number of target areas is greater than the number of air handling units to be scheduled, the target areas are clustered to form a set of areas. Based on the set of areas, at least one target air handling unit is matched to each set of areas. The number of the set of areas is less than or equal to the number of air handling units to be scheduled.
[0100] In this embodiment, different methods are used to determine the target air handling equipment to match the target area based on the different number of target areas and the different number of air handling equipment to be scheduled, so as to improve the accuracy of target air handling equipment matching.
[0101] The first air handling unit calculates the number of target areas, which are set by the user, such as living room, bedroom, study, kitchen, etc., or they can be set as first area, second area, third area, etc. The form of the target areas is not limited.
[0102] When the number of target areas is less than or equal to the number of air handling units to be scheduled, all air handling units to be scheduled are sufficient to be scheduled to each target area to perform the corresponding target air purification task. In order to ensure that each target area has a corresponding target air handling unit to perform the target air purification task, the first air handling unit assigns at least one target air handling unit to each target area.
[0103] For example, if there are 3 target areas and 4 air handling units to be scheduled, then at least one target air handling unit will be matched for each target area. When matching target areas, the matching can be based on the distance between each target area and each air handling unit to be scheduled, or based on the operating space of the air handling unit to be scheduled. For example, if the air handling unit to be scheduled is a mother unit, then since its position cannot be changed autonomously, the corresponding target area needs to be matched based on its fixed operating space.
[0104] When the number of target areas exceeds the number of air handling units to be scheduled, there are not enough air handling units to be scheduled to all areas simultaneously. In this case, the first air handling unit divides the target areas into multiple area sets. Each area set includes at least one target area, and each target area is assigned to a corresponding area set. At least one target air handling unit is matched for each area set. When matching target air handling units for an area set, an area set can be treated as a whole area. Based on the distance between the whole area and the air handling unit to be scheduled, the air handling unit with the smallest distance can be selected as the target air handling unit.
[0105] For example, if there are 3 target areas and 2 air handling units to be scheduled, and the target areas include the living room, bedroom, and study, then since the bedrooms and study are close to each other, they can be clustered into one set of areas, while the living room can be clustered into a separate set. Furthermore, for each set of areas, a target air handling unit can be matched. For instance, the sub-unit of the air handling unit closer to the bedroom and study set can be selected as the matched target air handling unit, and the main unit of the air handling unit closer to the living room set can be selected as the matched target air handling unit. This ensures that each set of areas is matched with one target air handling unit.
[0106] After a target air handling unit is dispatched to a set of areas, if there are more than two target areas in the set, the target air handling unit can move sequentially to each target area in the set to perform the target air purification task. Alternatively, if different target areas in the set perform the same target air purification task, the target air handling unit can perform the target air purification task near the target area. For example, if both the bedroom area and the study area in the same set require dehumidification, the target air handling unit can move to the middle of the bedroom and study and perform the target air purification task there.
[0107] Furthermore, the target region is clustered to obtain a region set in the following way:
[0108] Based on the distances between target areas, the target areas are clustered. The first air handling unit first acquires the distances between the target areas. These distances can be determined by connecting the boundaries of each target area, with the shortest distance being the distance between the target areas. Alternatively, the distance between the center points of each target area can be used as the distance between the target areas, or other methods can be employed to determine the distances. Since target areas are generally fixed in a home setting, the distances between various areas in the home can be pre-measured and saved. After acquiring the distances, target areas with distances less than a preset distance are clustered into a set of areas. The preset distance is a pre-defined parameter indicating whether target areas are close enough to be clustered into a set of areas.
[0109] Alternatively, the first air handling unit can determine the area combination based on the number of target areas and the number of air handling units to be scheduled, and further obtain the area set. The reason is that when clustering target areas with a distance less than a preset distance into an area set, there may be multiple target areas that are relatively close. At this time, multiple target areas may be assigned to the same area set. In this case, there may be a large number of air handling units to be scheduled. If only one target air handling unit is matched, the remaining air handling units to be scheduled may be idle. The efficiency of using the same target air handling unit to perform the target air purification task for multiple target areas is low. In order to improve the efficiency of performing the target air purification task, each air handling unit to be scheduled can be matched with an area set to perform the target air purification task.
[0110] To achieve the goal of matching each scheduled air handling unit with a set of regions to perform the target air purification task, this embodiment calculates each possible region combination based on the number of target regions and the number of scheduled air handling units. For example, if the number of target regions is 4 and the number of scheduled air handling units is 3, then the target regions need to be clustered into 3 region sets, which can calculate multiple region combinations. For instance, if the target regions include A1, A2, A3, and A4, then the following 4 region combinations can be calculated. In the first region combination, A1 and A2 are clustered into one... In the first type of region combination, A1 and A3 are clustered into a single region set, while A2 and A4 are each clustered into a single region set. In the second type of region combination, A1 and A3 are clustered into a single region set, while A2 and A3 are each clustered into a single region set. In the third type of region combination, A1 and A4 are clustered into a single region set, while A2 and A3 are each clustered into a single region set. In the fourth type of region combination, A2 and A3 are clustered into a single region set, while A1 and A4 are each clustered into a single region set. Thus, the above four types of region combinations are obtained, with each region combination including three region sets.
[0111] After obtaining the various region combinations, the distances between the regions corresponding to each region combination and the air handling units to be scheduled are determined. This can be achieved by summing the distances between each set of regions within the combination and the air handling units to be scheduled. This sum is taken as the distance between the region combination and the air handling units to be scheduled. When determining the distances between each set of regions and the air handling units to be scheduled, a one-to-one correspondence can be established between each set of regions and the air handling units to be scheduled, resulting in at least two sets of correspondences. Based on the distances between each set of regions and the corresponding air handling units to be scheduled in each set of correspondences, the distance corresponding to each set of correspondences is determined. The minimum distance is taken as the distance between the region combination and the air handling units to be scheduled. For example, for the first type of region combination, A1 and A2 are clustered into one set of regions, and A3 and A4 are each clustered into a separate set of regions. The air handling units to be scheduled are S1, S2, and S3, respectively. Then, six different correspondences can be calculated. For example, the first correspondence is that A1 and A2 correspond to S1, A3 corresponds to S2, and A4 corresponds to S3. The second correspondence is that A1 and A2 correspond to S1, A3 corresponds to S3, and A4 corresponds to S2. The third correspondence is that A1 and A2 correspond to S2, A3 corresponds to S1, and A4 corresponds to S3. The fourth correspondence is that A1 and A2 correspond to S2, A3 corresponds to S3, and A4 corresponds to S1. The fifth correspondence is that A1 and A2 correspond to S3, A3 corresponds to S2, and A4 corresponds to S1. The sixth correspondence is that A1 and A2 correspond to S3, A3 corresponds to S1, and A4 corresponds to S2. Each possible correspondence can be calculated in the above way. Furthermore, the total distance between the region set and the air handling equipment to be scheduled can be calculated for each correspondence. Thus, the distance of the correspondence with the smallest total distance can be taken as the distance between the region corresponding to that region combination and the air handling equipment to be scheduled.
[0112] Using the same principle described above, the distance between the region corresponding to each region combination and the air handling equipment to be scheduled can be obtained. Therefore, the region set in the region combination with the smallest distance can be used as the clustered region set. Furthermore, the scheduling of the target air handling equipment can be achieved based on the correspondence with the smallest total distance. For example, if, based on calculation and detection, under the first correspondence in the first type of region combination, the total distance of the path for each target air handling equipment to move to the corresponding region set is the smallest, then S1 is scheduled to A1 and A2, S2 is scheduled to A3, and S3 is scheduled to A4. Since the air handling equipment may not be able to move in a straight line when moving to the target region, the distance can be the length of the movement path; in addition, the distance can also be a straight-line distance.
[0113] In this embodiment, by determining the number of target areas, when the number of target areas is greater than the number of air handling units to be scheduled, the target areas are clustered to obtain corresponding area sets. Based on these area sets, at least one target air handling unit is matched to each area set. When the number of area sets is less than or equal to the number of air handling units to be scheduled, at least one target air handling unit is matched to each target area according to the target area. This allows for the matching of target air handling units based on the different numbers of target areas, thus achieving highly efficient matching of target air handling units regardless of whether the number of target areas is large or small. This matching process does not require manual operation and is highly efficient.
[0114] In another embodiment, please refer to Figure 4 Based on the above Figure 2 In this embodiment, the scheduling method for the air handling equipment further includes:
[0115] Step S40: When a voice command is detected, determine the type of the first air handling device;
[0116] Step S50: When the type of the first air handling device is the first type, the first air handling device is executed to obtain the target air purification task and the target area associated with the target air purification task.
[0117] Step S60: When the first air handling device is of type two, receive the target air purification task sent by the second air handling device in the air handling devices to be scheduled.
[0118] When the first air handling device detects a voice command, it extracts information about the target air purification task from the voice command. This information includes the type of the target air purification task and the area of the target air purification task. When the first air handling device detects that the target air purification task has been triggered based on the extracted information, it determines its own type. This type includes a first type and a second type. The first type is the type that requires scheduling of the target air handling device, and the second type is the type that requires scheduling based on the received target air purification task and the target area associated with the target air purification task.
[0119] The reason for distinguishing between the first and second types is that when a user issues a voice command, multiple air handling units may receive the voice command simultaneously. Since the process of determining the target air handling unit that matches the target area can be implemented by one air handling unit, it is not necessary for each air handling unit to perform the determination process. If each air handling unit performs this determination process, conflicts may occur, and it will consume more power. Therefore, it is necessary to distinguish between the first type and the second type of the first air handling unit. When determining the first type or the second type, the first air handling unit can communicate with the second air handling unit and obtain the status of the second air handling unit to further determine whether it is the first type or the second type.
[0120] When determining whether its type is Type I or Type II, the first air handling unit may employ methods including, but not limited to, the following:
[0121] The distance between the first air handling device and the sound source, and the distance between the second air handling device and the sound source are determined. Specifically, the first air handling device determines the first sound source distance between itself and the sound source, and obtains the second sound source distance sent by the second air handling device associated with the same household identifier. The second sound source distance is the distance between the second air handling device and the sound source. The first sound source distance and the second sound source distance are compared. If the first sound source distance is less than the second sound source distance, the first air handling device is determined to be of the first type. If the first sound source distance is greater than the second sound source distance, the first air handling device is determined to be of the second type. Thus, the air handling device closest to the sound source is designated as the first type of air handling device.
[0122] The first air handling device can obtain the distance to the second sound source in the following way: the first air handling device obtains the address information of the second air handling device associated with the same home identifier in the server. The address information is network path information or device identification information. The network path information is such as Internet Protocol Address (IP Address), and the device identification information is such as Universally Unique Identifier (UUID). When transmitting information based on Bluetooth, the UUID can be used to find the corresponding air handling device; a sound source distance acquisition request is sent to the second air handling device corresponding to the address information; and the second air handling device returns the second sound source distance based on the sound source distance acquisition request.
[0123] Based on the setting information of the terminal device, a first type or a second type is set. Specifically, the first air handling device obtains the setting information corresponding to the first air handling device sent by the terminal device. The setting information is generated by the terminal device after detecting the type setting command input by the user. The setting information is either the setting information of the first type or the setting information of the second type. The first air handling device determines the type of the first air handling device as the first type based on the setting information of the first type, or determines the type of the first air handling device as the second type based on the setting information of the second type.
[0124] In addition, the first and second air handling units need to be pre-configured for network connection. The network configuration process can be implemented by the terminal device based on the user's operation. The terminal device determines the first and second air handling units corresponding to the user's selection operation, connects the first and second air handling units to the Internet, and associates the first and second air handling units with the same household identifier to classify them as belonging to the same household. Furthermore, the terminal device can also set specific names for the first and second air handling units based on the user's input operation to distinguish them.
[0125] In this embodiment, when a voice command is detected, the type of the first air handling device is determined. When the type of the first air handling device is a first type, the target air purification task and target area are obtained, and the target air handling device matching the target area is determined. The target air handling device is then scheduled. When the type of the first air handling device is a second type, the target air purification task and target area sent by the second air handling device are received, and the target air purification task is executed in the target area. Thus, the user only needs to issue a voice command to trigger a specific air handling device to execute the air purification task, which is relatively simple to operate. Furthermore, by limiting the first type and the second type, only one air handling device executes the process of determining the target air handling device matching the target area at any given time, avoiding the conflict problem that may occur when multiple air handling devices simultaneously determine the target air handling device, and saving energy consumption.
[0126] In another embodiment, please refer to Figure 5 Based on the above Figure 2 In this embodiment, the scheduling method for the air handling equipment further includes:
[0127] Step S70: When a start command for the multi-machine scheduling mode is detected, it is determined that the multi-machine scheduling mode is triggered. The start command is a start command sent by the server or a start command extracted from voice information.
[0128] Step S80: When the multi-machine scheduling mode is triggered, the first air handling unit acquires the target air purification task and the target area associated with the target air purification task.
[0129] Multi-unit scheduling mode is a mode for scheduling air handling units when multiple air handling units exist. Users first need to configure the multi-unit scheduling mode based on the terminal device. The terminal device, based on the user's operation, configures the air handling units to the network and associates them with the same home identifier. The air handling units include slave units and master units. After configuring the network and associating them with the same home identifier, the terminal device, based on the user's operation, sets each air handling unit that needs to be scheduled in the multi-unit scheduling mode, and sets each set air handling unit that needs to be scheduled as the air handling unit to be scheduled. Furthermore, the information of the air handling units to be scheduled can be uploaded to the server, so that the first air handling unit can determine the air handling unit to be scheduled based on the information of the air handling units to be scheduled in the server.
[0130] When setting up various air handling units that need to be scheduled in the multi-machine scheduling mode, the number of air handling units that need to be scheduled is two or more. At the same time, it is also necessary to set various target air purification tasks in the multi-machine scheduling mode. The number of target air purification tasks is two or more. Each target air purification task can also be set with a specific execution time so that the target air purification task is executed at the start of the execution time. When the execution time is set, the first air handling unit determines the target air purification tasks that need to be executed simultaneously based on the execution time of the target air purification tasks sent by the terminal device, and determines the target air handling units that match the target area associated with the air purification tasks that need to be executed simultaneously, and schedules the target air handling units.
[0131] When setting up the multi-machine scheduling mode, the terminal device can also set the time to trigger the multi-machine scheduling mode based on user operation. During the time of the multi-machine scheduling mode, the first air handling device performs the scheduling process of the air handling device. In addition, the first air handling device can trigger the multi-machine scheduling mode based on the start execution. The start command is sent by the server or extracted from the voice command.
[0132] When the multi-machine scheduling mode is triggered, the first air handling unit can immediately obtain the target area and the target air purification task, and schedule the target air handling unit that matches the target area.
[0133] Users can set specific multi-machine scheduling modes according to their habits. When the multi-machine scheduling mode needs to be used again in the future, they only need to issue a start command for the multi-machine scheduling mode. The first air handling unit will automatically determine the matching target air handling unit and schedule it. The operation is more convenient and improves work efficiency.
[0134] In this embodiment, when a start command for the multi-machine scheduling mode is detected, the multi-machine scheduling mode is triggered. When the multi-machine scheduling mode is triggered, the target air purification task and the target area are obtained, and the target air handling equipment matched with the target area is further scheduled. Thus, when the user needs to use the multi-machine scheduling mode, only a start command for the multi-machine scheduling mode needs to be issued, and the first air handling equipment will automatically determine the matched target air handling equipment and perform scheduling. The operation is more convenient and improves work efficiency.
[0135] In another embodiment, please refer to Figure 6 Based on the above Figure 2 In this embodiment, the step of determining the target air handling unit that matches the target area among the air handling units to be dispatched includes:
[0136] Step S24: Determine the candidate air handling equipment that matches the target air purification task from the air handling equipment to be scheduled;
[0137] Step S25: Select the target air handling device that matches the target area from the candidate air handling devices.
[0138] Different air handling units may have different functions. For example, some air handling units have the functions of removing formaldehyde, pollutants, and viruses, while others, in addition to these functions, also have the functions of dehumidification and humidification. Therefore, different air handling units may be able to perform different air purification tasks. In order to avoid the problem that the target air handling unit cannot perform the target air purification task of the target area, when determining the target air handling unit that matches the target area, it is also necessary to first determine the candidate air handling units that match the target air purification task. Matching the target air purification task means being able to perform the target air purification task.
[0139] After determining the candidate air handling equipment, a target air handling equipment that matches the target area is selected from the candidate air handling equipment. When there is only one candidate air handling equipment, the candidate air handling equipment is used as the target air handling equipment that matches the target area.
[0140] When there are two or more candidate air handling units, the target air handling unit for the target area is determined based on the number of air purification tasks matched by each candidate air handling unit and the distance between the target area and each candidate air handling unit.
[0141] For example, the candidate air handling units include air handling unit S4 and air handling unit S5. S4 is matched with air purification tasks of formaldehyde removal and humidification, while S5 is matched with formaldehyde removal. The target area, the living room, needs formaldehyde removal, while the other target area, the bedroom, needs humidification. Based on the air purification tasks matched by the candidate air handling units, it can be determined that the humidification task in the target area bedroom can only be performed by S4. Therefore, S4 needs to be matched with the target area bedroom, and S5 needs to be matched with the target area living room. In addition, if S4 supports both formaldehyde removal and humidification, different correspondences can be obtained. For example, one correspondence is S4 to the living room and S5 to the bedroom; or another correspondence is S4 to the bedroom and S5 to the living room. In this case, based on the sum of the distances between the target area and the candidate air handling units in each correspondence, the correspondence with the smallest sum of distances is determined. Based on the correspondence with the smallest sum of distances, the target air handling unit matched for a certain target area is determined. For example, the target air handling unit matched for the living room is S4, and the target air handling unit matched for the bedroom is S5.
[0142] In this embodiment, candidate air handling units matching the target air purification task are identified from the air handling units to be scheduled, and target air handling units matching the target area are selected from the candidate air handling units, thereby avoiding the situation where the target air handling unit cannot perform the target air purification task and improving the accuracy of the selected target air handling unit.
[0143] It should be noted that, in this document, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or system that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or system. Unless otherwise specified, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or system that includes that element.
[0144] The sequence numbers of the above embodiments of the present invention are for descriptive purposes only and do not represent the superiority or inferiority of the embodiments.
[0145] Through the above description of the embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus necessary general-purpose hardware platforms. Of course, they can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) as described above, and includes several instructions to cause an air handling device to execute the methods described in the various embodiments of the present invention.
[0146] The above are merely preferred embodiments of the present invention and do not limit the scope of the patent. Any equivalent structural or procedural transformations made based on the description and drawings of the present invention, or direct or indirect applications in other related technical fields, are similarly included within the scope of patent protection of the present invention.
Claims
1. A scheduling method of an air handling device, characterized by, The scheduling method of the air treatment device comprises: The first air treatment device obtains a target air purification task and a target region associated with the target air purification task, the number of the target air purification tasks is one or more than two, and the number of the target regions is one or more. A terminal device determines the first air treatment device based on the state of each air treatment device, the first air treatment device is an air treatment device sub-machine that is not currently performing a task and has a large amount of remaining power. After determining the first air treatment device, the terminal device associates the identification information of the first air treatment device with the target air purification task, so that the first air treatment device identifies the target air purification task associated with the identification information. Among the to-be-scheduled air treatment devices, a target air treatment device that matches the target region is determined, wherein the number of target regions is determined. When the number of target regions is less than or equal to the number of to-be-scheduled air treatment devices, at least one target air treatment device is matched to each target region according to the target region. When the number of target regions is greater than the number of to-be-scheduled air treatment devices, the target regions are clustered to form a region set, and at least one target air treatment device is matched to each region set according to the region set, and the number of region sets is less than or equal to the number of to-be-scheduled air treatment devices. The step of clustering the target regions to form a region set comprises: determining at least two region combinations according to the number of to-be-scheduled air treatment devices and the number of target regions, each region combination including at least two region sets; determining the distance between the region corresponding to each region combination and the to-be-scheduled air treatment device; and taking the region set in the region combination with the smallest distance as the region set formed by clustering. The target air treatment device is scheduled according to the target region and the target air purification task.
2. The dispatching method of an air handling device according to claim 1, wherein, The step of scheduling the target air treatment device according to the target region and the target air purification task comprises: At least two groups of corresponding relationships are obtained by respectively corresponding the target region to the target air treatment device. The distance corresponding to each group of corresponding relationships is determined according to the distance between each target region and the corresponding target air treatment device in each group of corresponding relationships. The target air treatment device is scheduled according to the corresponding relationship with the smallest distance and the target air purification task.
3. The scheduling method of an air handling device according to claim 1, wherein, The scheduling method of the air treatment device further comprises: When a voice instruction is detected, the type of the first air treatment device is determined. When the type of the first air treatment device is a first type, the step of the first air treatment device obtaining a target air purification task and a target region associated with the target air purification task is performed. When the type of the first air treatment device is the second type, receiving the target air purification task and the target region associated with the target air purification task sent by a second air treatment device of the air treatment devices to be scheduled.
4. The dispatching method of an air handling device according to claim 3, wherein, The step of determining the type of the first air treatment device comprises: determining a first sound source distance of the first air treatment device from a sound source, and obtaining a second sound source distance sent by a second air treatment device associated with the same home identifier, the second sound source distance being a distance of the second air treatment device from the sound source; when the first sound source distance is less than the second sound source distance, determining that the first air treatment device is of the first type; when the first sound source distance is greater than the second sound distance, determining that the first air treatment device is of the second type.
5. The scheduling method of an air treatment apparatus according to claim 3, wherein The step of determining the type of the first air treatment device comprises: obtaining setting information corresponding to the first air treatment device sent by a terminal device, the setting information being setting information of the first type or setting information of the second type, the setting information being generated by the terminal device after detecting a type setting instruction input by a user; determining that the first air treatment device is of the first type according to the setting information of the first type; or determining that the first air treatment device is of the second type according to the setting information of the second type.
6. The dispatching method of an air handling device according to claim 1, wherein, The scheduling method of the air treatment device further comprises: when a start instruction of a multi-machine scheduling mode is detected, determining that the multi-machine scheduling mode is triggered, the start instruction being a start instruction sent by a server or a start instruction extracted from voice information; when the multi-machine scheduling mode is triggered, performing the step of obtaining, by the first air treatment device, a target air purification task and a target region associated with the target air purification task.
7. The dispatching method of an air handling device according to claim 1, wherein, The scheduling method of the air treatment device further comprises: when an execution instruction of the target air purification task is detected, detecting whether an air purification task different from the target air purification task is currently being executed; when an air purification task different from the target air purification task is not currently being executed, performing the step of obtaining, by the first air treatment device, a target air purification task and a target region associated with the target air purification task; when an air purification task different from the target air purification task is currently being executed, interrupting the currently executed air purification task and performing the step of obtaining, by the first air treatment device, a target air purification task and a target region associated with the target air purification task; after the target air purification task is executed, continuing to execute the interrupted air purification task.
8. An air treatment device, characterized in that The air treatment device comprises a memory, a processor, and a scheduling program of the air treatment device stored on the memory and executable on the processor, and the scheduling program of the air treatment device, when executed by the processor, implements the steps of the scheduling method of the air treatment device according to any one of claims 1 to 7.
9. The air treatment device of claim 8, wherein, The air treatment device comprises a child machine and a parent machine, the parent machine is provided with a child machine cabin for placing the child machine, and the memory and the processor are located in the child machine or the parent machine.
10. A computer-readable storage medium, characterized in that, The computer readable storage medium stores an air treatment device scheduling program, and the air treatment device scheduling program, when executed by the processor, implements the steps of the air treatment device scheduling method in any one of claims 1 to 7.
Citation Information
Patent Citations
Wake-up control method and device and computer readable storage medium
CN112037787A
KR20190134101A
KR20190142193A
KR20200007428A