Air conditioner-based whole-house control method, device, equipment and storage medium
Patent Information
- Application Number
- CN202610404235.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-03-30
- Publication Date
- 2026-08-04
AI Technical Summary
[0002]随着智能家居技术的普及,全屋智能控制已成为家居生活的主流需求,目前主流的全屋智能控制方案多采用独立式智能音箱搭配红外转发器的模式,通过语音交互实现对全屋家电的控制;此类控制方案中,红外转发器与智能音箱多放置于桌面、台面等低位区域,极易被家具、墙体遮挡,红外信号的覆盖范围大幅受限,常出现卧室边角、客厅盲区无法控制的问题,且多设备独立部署存在布线冗余、占用家居空间、系统兼容性差的痛点
[0016]The technical solution of this invention uses the air conditioner as the central hub for whole-house intelligent control, integrating a complete closed-loop process of multi-source instruction acquisition, standardized preprocessing, core information parsing, scenario-specific instruction generation, and control instruction execution. This breaks down the device control barriers of independent smart speakers and infrared repeaters in traditional whole-house intelligent control. By fully utilizing the advantages of high-positioned air conditioner installation, its whole-house orientation, and unobstructed spatial layout, unified control of all devices in the house is achieved. Furthermore, the method is compatible with both single-device independent control and multi-device collaborative linkage, with a clear logical hierarchy that can flexibly adapt to different apartment layouts and various types of home appliances. This significantly improves the system integration and control reliability of whole-house intelligent control, reducing problems such as wiring redundancy, space occupation, and poor compatibility caused by independent deployment of multiple devices in traditional solutions.
Smart Images

Figure CN122506879A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of whole-house control technology, and in particular to a whole-house control method, device, equipment and storage medium based on air conditioning. Background Technology
[0002] With the popularization of smart home technology, whole-house smart control has become a mainstream demand in home life. Currently, most mainstream whole-house smart control solutions adopt the mode of independent smart speakers paired with infrared repeaters, and realize the control of home appliances through voice interaction. In this type of control solution, the infrared repeater and smart speaker are mostly placed in low areas such as desktops and countertops, which are easily blocked by furniture and walls. The coverage of infrared signals is greatly limited, often resulting in problems such as the inability to control corners of bedrooms and blind spots in living rooms. In addition, the independent deployment of multiple devices has pain points such as redundant wiring, occupation of home space, and poor system compatibility.
[0003] In existing technologies, some air conditioning products have integrated voice control modules and infrared receiving modules. However, these integrated modules can only control the air conditioner itself via voice or infrared signals. Some control solutions propose setting up infrared relay modules in the air conditioner, but these are only used to extend the control distance of the air conditioner remote control and cannot control other infrared home appliances in the house. At the same time, existing smart air conditioners with voice interaction only focus on the voice control of the air conditioner itself and have not been extended to the function of a control hub for all devices in the house.
[0004] It is evident that existing technologies still need improvement and enhancement. Summary of the Invention
[0005] In order to overcome the shortcomings of the existing technology, the purpose of this invention is to provide a whole-house control method based on air conditioning, which fully utilizes the advantages of air conditioning installation at a high position, facing the whole house, and unobstructed spatial layout to achieve unified management and control of all equipment in the house.
[0006] The first aspect of this invention provides a whole-house control method based on an air conditioner. The air conditioner includes a whole-house intelligent control unit and an air conditioner main control unit. The whole-house intelligent control unit includes a processing module and an infrared transmitting array module, a voice interaction module, and a multi-protocol IoT gateway module, all electrically connected to the processing module. The air conditioner main control unit is electrically connected to the processing module. The whole-house control method includes: acquiring a control command; generating an original control signal based on the command source type of the control command; performing standardized preprocessing on the original control signal based on its signal format type to generate a standardized command signal; performing semantic parsing or protocol conversion processing on the standardized command signal to obtain a command parsing result, the command parsing result including at least the controlled device type and execution conditions; when the execution condition is a single-device control scenario, generating a differentiated control command based on the controlled device type and the command parsing result; when the execution condition is a multi-device collaborative linkage scenario, generating a multi-device linkage control command based on the command parsing result; and executing the differentiated control command or the multi-device linkage control command to achieve collaborative control of all devices in the house.
[0007] Optionally, in a first implementation of the first aspect of the present invention, the step of acquiring the control command and generating an original control signal according to the command source type of the control command includes: generating an original control signal in voice encoding format when the acquired control command is received by a voice interaction module; generating an original control signal in infrared encoding format when the acquired control command is received by an infrared receiving module; and generating an original control signal in digital protocol format when the acquired control command is received by a multi-protocol IoT gateway module.
[0008] Optionally, in a second implementation of the first aspect of the present invention, the standardization preprocessing based on the signal format type of the original control signal to generate a standardized command signal includes: when the original control signal is in a voice encoding format, using an adaptive filtering algorithm to filter out periodic wind noise and environmental steady-state noise generated by the operation of the air conditioner fan in the original control signal, and then using a voice enhancement algorithm to amplify the effective voice signal component of the original control signal to generate a standardized voice command signal; when the original control signal is in an infrared encoding format, performing decoding, deduplication, and feature extraction operations on the original control signal in sequence to generate a standardized infrared command signal, and performing source labeling processing on the standardized infrared command signal to distinguish the signal sending end; when the original control signal is in a digital protocol format, performing protocol validity verification and data format conversion on the original control signal to generate a standardized digital command signal.
[0009] Optionally, in a third implementation of the first aspect of the present invention, the step of performing semantic parsing or protocol conversion processing on the standardized command signal to obtain the command parsing result includes: inputting the standardized voice command signal into a pre-trained fusion semantic recognition model to extract command keywords, wherein the command keywords include controlled device, control action, and execution conditions, and the fusion semantic recognition model includes an offline processing mode and an online processing mode; performing feature matching operation on the standardized infrared command signal and a pre-built infrared code library to extract device feature information and corresponding control parameters; performing protocol conversion processing on the standardized digital command signal to parse it into a unique identifier of the controlled device and control parameters that the processing module can recognize; and generating the command parsing result based on the command keywords, device feature information, unique identifier of the controlled device, or control parameters.
[0010] Optionally, in the fourth implementation of the first aspect of the present invention, when the execution condition is a single-device control scenario, generating differentiated control instructions based on the controlled device type and instruction parsing results includes: when the execution condition is a single-device control scenario and the controlled device type is an air conditioner, generating an air conditioner control instruction based on the instruction parsing results; when the execution condition is a single-device control scenario and the controlled device type is an infrared home appliance, matching a pre-recorded home appliance installation location based on the instruction parsing results, determining the optimal transmitting component in the infrared transmitting array module based on the matched home appliance installation location, and generating an infrared control instruction based on the optimal transmitting component and instruction parsing results; when the execution condition is a single-device control scenario and the controlled device type is a wireless IoT device, determining the communication protocol type based on the instruction parsing results, and generating a wireless control instruction based on the communication protocol type and instruction parsing results.
[0011] Optionally, in a fifth implementation of the first aspect of the present invention, the step of generating a multi-device linkage control instruction based on the instruction parsing result when the execution condition is a multi-device collaborative linkage scenario includes: parsing the instruction parsing result to extract scenario linkage rules when the execution condition is a multi-device collaborative linkage scenario; determining a list of controlled devices to be collaboratively controlled based on the scenario linkage rules, the list of controlled devices including at least two controlled devices; acquiring real-time operating data of the air conditioner and matching pre-stored scenario linkage logic based on the scenario linkage rules; and generating a multi-device linkage control instruction by combining the real-time operating data, scenario linkage logic, and list of controlled devices, wherein the multi-device linkage control instruction is used to specify the execution order, execution timing, and control parameters of each controlled device.
[0012] Optionally, in the sixth implementation of the first aspect of the present invention, the execution of the differentiated control command or the multi-device linkage control command to achieve coordinated control of all devices in the house includes: adjusting the working state of the corresponding controlled device based on the differentiated control command or the linkage control command; collecting execution status data of each controlled device in real time, and determining whether the command execution result meets the preset expected control target based on the execution status data; if the command execution result meets the expected control target, generating an execution success feedback command, and feeding back the execution success feedback command through the voice interaction module and / or the multi-protocol IoT gateway module; if the command execution result does not meet the expected control target, generating an abnormality reminder command, and feeding back the abnormality reminder command through the voice interaction module and / or the multi-protocol IoT gateway module.
[0013] A second aspect of the present invention provides a whole-house control device based on air conditioning, comprising: an acquisition module for acquiring control commands and generating an original control signal according to the command source type of the control commands; a first processing module for performing standardized preprocessing on the original control signal based on the signal format type to generate a standardized command signal; a second processing module for performing semantic parsing or protocol conversion processing on the standardized command signal to obtain a command parsing result, wherein the command parsing result includes at least the controlled device type and execution conditions; a first generation module for generating differentiated control commands according to the controlled device type and the command parsing result when the execution condition is a single-device control scenario; a second generation module for generating multi-device linkage control commands based on the command parsing result when the execution condition is a multi-device collaborative linkage scenario; and an execution module for executing the differentiated control commands or the multi-device linkage control commands to achieve collaborative control of all devices in the house.
[0014] A third aspect of the present invention provides an air conditioning-based whole-house control device, the air conditioning-based whole-house control device comprising: a memory and at least one processor, the memory storing instructions; the at least one processor calling the instructions in the memory to cause the air conditioning-based whole-house control device to execute the various steps of the air conditioning-based whole-house control method described in any of the preceding claims.
[0015] A fourth aspect of the present invention provides a computer-readable storage medium storing instructions that, when executed by a processor, implement the steps of the air conditioning-based whole-house control method described in any of the preceding claims.
[0016] The technical solution of this invention uses the air conditioner as the central hub for whole-house intelligent control, integrating a complete closed-loop process of multi-source instruction acquisition, standardized preprocessing, core information parsing, scenario-specific instruction generation, and control instruction execution. This breaks down the device control barriers of independent smart speakers and infrared repeaters in traditional whole-house intelligent control. By fully utilizing the advantages of high-positioned air conditioner installation, its whole-house orientation, and unobstructed spatial layout, unified control of all devices in the house is achieved. Furthermore, the method is compatible with both single-device independent control and multi-device collaborative linkage, with a clear logical hierarchy that can flexibly adapt to different apartment layouts and various types of home appliances. This significantly improves the system integration and control reliability of whole-house intelligent control, reducing problems such as wiring redundancy, space occupation, and poor compatibility caused by independent deployment of multiple devices in traditional solutions. Attached Figure Description
[0017] Figure 1 A logic flowchart of a whole-house control method based on air conditioning provided in an embodiment of the present invention; Figure 2 A schematic diagram of the structure of a whole-house control device based on air conditioning provided in an embodiment of the present invention; Figure 3 A schematic diagram of the structure of a whole-house control device based on air conditioning provided in an embodiment of the present invention; Detailed Implementation This invention provides a whole-house control method, apparatus, device, and storage medium based on air conditioning. In this invention, the terms "first," "second," "third," "fourth," etc. (if applicable) in the specification, claims, and accompanying drawings are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments described herein can be implemented in a sequence other than that illustrated or described herein. Furthermore, the terms "comprising" or "having" and any variations thereof are intended to cover a non-exclusive inclusion; for example, a process, method, system, product, or device that comprises a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or devices.
[0018] The air conditioning hardware used in the whole-house control method disclosed in this invention includes a whole-house intelligent control unit and an air conditioning main control unit electrically connected to the whole-house intelligent control unit. The air conditioning main control unit is responsible for the operation control of the air conditioning unit and synchronizes real-time operation data. The whole-house smart control unit includes a processing module and an infrared transmitting array module, a voice interaction module, and a multi-protocol IoT gateway module electrically connected to the processing module. The processing module is the core computing unit. The infrared transmitting array module integrates an infrared receiving module. For a wall-mounted air conditioner, the infrared receiving module includes one set of forward transmitting heads arranged above the air outlet in the middle of the panel and two sets of lateral transmitting heads arranged at both ends of the body, with the lateral and forward directions forming a 60° angle. For a vertical cylindrical air conditioner, the infrared receiving module includes four sets of transmitting heads arranged at equal intervals along the circumference of the body, with the four sets of transmitting heads arranged in a 360° ring. The voice interaction module includes a microphone array and speakers. For wall-mounted air conditioners, the microphone array is located at the top of the panel away from the fan. For vertical cylindrical air conditioners, the microphone array is located in a ring on the top of the unit. The speakers are evenly distributed in the reserved positions inside the air duct of the air conditioner outlet. The multi-protocol IoT gateway module supports Wi-Fi, Bluetooth, and Zigbee protocols.
[0019] This invention discloses a whole-house control method based on air conditioning. For ease of understanding, the specific process of the embodiments of this invention is described below. Please refer to [link / reference]. Figure 1 One embodiment of the whole-house control method based on air conditioning in this invention includes: 101. Obtain control commands and generate original control signals according to the command source type of the control commands; In this embodiment, control commands related to whole-house control are obtained from the voice interaction module, infrared receiving module, and multi-protocol IoT gateway module of the whole-house smart control unit for air conditioning. The source type of the command is determined according to the specific functional module that issued the command. The original control signal in the corresponding format is generated according to the signal characteristics of each command source type, providing basic data for subsequent command processing. This achieves unified collection and preliminary classification of control commands from multiple sources, ensuring the relevance and uniqueness of the original control signal.
[0020] 102. Based on the signal format type of the original control signal, perform standardized preprocessing to generate standardized command signals; In this embodiment, the signal format type corresponding to each original control signal is identified, and a standardized processing method is adopted for signals of different format types to eliminate the identification differences between different signal formats, forming a standardized instruction signal that can be uniformly identified and parsed by the processing module. This greatly reduces the difficulty of instruction parsing by the processing module and improves the overall efficiency of instruction processing. At the same time, the standardization process can filter out invalid interference information in the signal, further improving the accuracy of subsequent instruction parsing.
[0021] 103. Perform semantic parsing or protocol conversion processing on the standardized instruction signal to obtain instruction parsing results, wherein the instruction parsing results include at least the controlled device type and execution conditions; In this embodiment, an appropriate semantic parsing or protocol conversion processing method is selected based on the attribute characteristics of the standardized command signal. The standardized command signal is then processed in depth to extract the core information of whole-house control from the standardized command signal and integrate it to form a complete command parsing result. The parsing result clearly defines at least two core elements: the type of controlled device and the execution conditions. This provides a core decision basis for subsequent scenario-based control. By defining only the parsing target and result elements, the blind execution of commands is avoided, and the targeting and effectiveness of the control commands are greatly improved.
[0022] 104. When the execution condition is a single-device control scenario, generate differentiated control instructions based on the controlled device type and instruction parsing results; In this embodiment, after determining that the current control scenario is a single-device control scenario based on the instruction parsing results, the type of controlled device obtained from the parsing is used as the core basis. Combined with other control information in the complete instruction parsing results, differentiated control instructions are generated for different types of controlled devices to adapt to their own control logic and operating requirements. This ensures accurate matching between control instructions and controlled devices and avoids miscontrol problems caused by generalized instructions to different devices.
[0023] 105. When the execution condition is a multi-device collaborative linkage scenario, a multi-device linkage control instruction is generated based on the instruction parsing result; In this embodiment, after determining that the current control scenario is a multi-device collaborative linkage scenario based on the instruction parsing result, a multi-device linkage control instruction that can realize synchronous management and control of multiple devices is generated based on the complete instruction parsing result and combined with the underlying logic of collaborative control of all devices in the house. The core requirements of multi-device collaborative control are clarified, ensuring coordination and synchronization in the process of multi-device control. This breaks the limitations of traditional single-device independent control, realizes deep scenario linkage between air conditioners and various devices in the whole house, and greatly improves the intelligence level and scenario adaptability of whole-house smart control.
[0024] 106. Execute the differentiated control commands or multi-device linkage control commands to achieve coordinated control of all devices in the house; In this embodiment, the differentiated control commands or multi-device linkage control commands generated in the early stage are sent to the corresponding controlled devices according to the device control logic. This drives each controlled device to execute the corresponding control actions according to the command requirements, ultimately realizing unified management and collaborative control of different types of devices throughout the house. This completes the entire closed loop from obtaining control commands to the actual actions of the devices, giving full play to the core role of the air conditioner as the central hub of whole-house intelligent control, realizing unified collaborative management and control of all devices in the house, and significantly improving the integrity and efficiency of whole-house intelligent control.
[0025] The whole-house control method based on air conditioning disclosed in this application uses the air conditioner as the central hub for whole-house intelligent control. It integrates a complete closed-loop process of multi-source instruction acquisition, standardized preprocessing, core information parsing, scenario-specific instruction generation, and control instruction execution. This breaks down the device management barriers of independent smart speakers and infrared repeaters in traditional whole-house intelligent control. By fully utilizing the advantages of high-position installation, whole-house orientation, and unobstructed spatial layout of the air conditioner, it achieves unified management of all devices in the house. Secondly, the method is compatible with two core scenarios: independent control of a single device and collaborative linkage of multiple devices. The logical hierarchy is clear and can be flexibly adapted to different apartment layouts and various types of home appliances, significantly improving the system integration and control reliability of whole-house intelligent control, and reducing problems such as wiring redundancy, space occupation, and poor compatibility caused by independent deployment of multiple devices in traditional solutions.
[0026] Further, in this embodiment of the invention, the step of acquiring the control command and generating an original control signal according to the command source type of the control command includes: 201. When the acquired control command is received by the voice interaction module, the original control signal in voice encoding format is generated; In this embodiment, when the air conditioner voice interaction module collects the user's voice wake-up word and control command, it determines that the source of the control command is the voice interaction module; it uses pulse code modulation coding rules to sample, quantize, and encode the collected analog voice signal, converting it into a digitally encoded voice code format original control signal, which facilitates subsequent standardization processing and parsing.
[0027] 202. When the acquired control command is received by the infrared receiving module, the original control signal in infrared encoding format is generated; In this embodiment, when the air conditioner infrared receiving module collects the infrared light signal emitted by the external infrared remote control, it determines that the control command originates from the infrared receiving module. First, the infrared light signal is converted into an electrical signal through photoelectric conversion. Then, pulse width modulation encoding rules are used to encode the signal based on a 38kHz carrier frequency, converting it into a digitally encoded infrared encoding format original control signal. This allows the infrared command to be incorporated into the unified command processing system of the air conditioner, realizing the integration of traditional infrared remote control and whole-house intelligent control.
[0028] 203. When the acquired control command is received by the multi-protocol IoT gateway module, a raw control signal in digital protocol format is generated; In this embodiment, when the air conditioner multi-protocol IoT gateway module receives a remote digital command sent from the cloud platform or the user's mobile terminal, it determines that the source of the control command is the multi-protocol IoT gateway module. According to the digital communication protocol rules supported by the gateway, such as MQTT, CoAP, and Zigbee, the remote digital command is formatted to generate the original control signal in digital protocol format, ensuring the compatibility of the remote command with the internal processing system of the air conditioner, realizing remote operation of whole-house smart control, and expanding the application scenarios of whole-house control.
[0029] Furthermore, in this embodiment of the invention, the standardization preprocessing based on the signal format type of the original control signal to generate a standardized command signal includes: 301. When the original control signal is in voice coding format, an adaptive filtering algorithm is used to filter out the periodic wind noise and environmental steady-state noise generated by the operation of the air conditioner fan in the original control signal, and then the effective voice signal component of the original control signal is amplified by a voice enhancement algorithm to generate a standardized voice command signal. In this embodiment, after identifying the original control signal as a voice encoding format, a least mean square adaptive filtering algorithm is first used to generate adaptive filtering coefficients by real-time identification of the frequency characteristics of air conditioner fan noise and environmental steady-state noise, accurately canceling the noise components in the signal. Then, spectral subtraction is used to calculate the power spectral density of the noise and subtract the noise power spectrum from the power spectrum of the mixed signal, amplifying the effective voice signal components. Finally, the processed signal is converted into a 32-bit binary unified data format preset by the processing module to generate a standardized voice command signal. The generated standardized voice command signal has the advantages of high purity and high clarity, which greatly improves the accuracy of subsequent voice command parsing and solves the problem of interference from the air conditioner's own operating noise on voice command acquisition and processing.
[0030] 302. When the original control signal is in infrared encoding format, the original control signal is sequentially decoded, deduplicated, and feature extracted to generate a standardized infrared command signal. The standardized infrared command signal is then processed to identify the signal transmitting end. In this embodiment, after identifying the original control signal as an infrared encoded signal, a pulse width modulation algorithm is first used to decode the infrared encoded signal and convert it into a basic data signal that the processing module can recognize. Then, a sliding window deduplication algorithm is used to remove duplicate and invalid data segments within a 50ms sliding window. Subsequently, a grayscale histogram feature extraction algorithm is used to extract feature data representing the core control information in the signal and generate a standardized infrared command signal. Finally, the source of the signal is marked according to the feature code of the infrared signal to distinguish the original air conditioner remote control from other home appliance infrared remote controls, providing an accurate source basis for subsequent command parsing and control, avoiding confusion between different infrared signals, and improving the accuracy of infrared command processing.
[0031] 303. When the original control signal is in digital protocol format, the original control signal is subjected to protocol validity verification and data format conversion to generate a standardized digital instruction signal; In this embodiment, after identifying the original control signal as a digital protocol format, a protocol validity check is first performed. By verifying whether the protocol header, checksum, and protocol trailer of the original control signal conform to the communication protocol standard supported by the gateway, invalid signals with illegal protocols are eliminated. After passing the protocol validity check, the valid signals that have passed the check are converted into the JSON unified data format preset by the processing module through a format conversion program. This can reduce the parsing difficulty of the processing module and improve the processing efficiency and parsing accuracy of digital instructions.
[0032] Furthermore, in this embodiment of the invention, the step of performing semantic parsing or protocol conversion processing on the standardized instruction signal to obtain the instruction parsing result includes: 401. Input standardized voice command signals into a pre-trained fusion semantic recognition model to extract command keywords, wherein the command keywords include controlled devices, control actions and execution conditions, and the fusion semantic recognition model includes offline processing mode and online processing mode; In this embodiment, the fusion semantic recognition model is a fusion deep learning model based on Transformer and CNN. CNN is responsible for extracting local features of voice commands, while Transformer is responsible for capturing global semantic relationships. The fusion deep learning model is based on a corpus of millions of voice commands for home control scenarios. It first uses stochastic gradient descent algorithm to complete offline mode training to achieve recognition of common and simple commands, and then uses cloud computing power to complete online mode training, incorporating complex scenario-based corpora to optimize recognition capabilities. The offline and online fusion processing mode balances the response speed and recognition accuracy of command parsing, and can adapt to voice commands of different complexity, greatly improving the flexibility and accuracy of voice command parsing. After the standardized voice command signal is input into the fusion deep learning model, the model automatically switches the processing mode according to the complexity of the command to extract command keywords including controlled devices, control actions, and execution conditions.
[0033] 402. Perform feature matching operation between the standardized infrared command signal and the pre-built infrared code library to extract the device feature information and corresponding control parameters; In this embodiment, the pre-built infrared code library includes infrared feature codes and corresponding control parameter information of various infrared home appliances from mainstream brands on the market. The cosine similarity matching algorithm is used to compare the feature data of the standardized infrared command signal with the feature codes in the infrared code library one by one, calculate the similarity value, and extract the corresponding device feature information and control parameters from the infrared code library after a successful match, so as to realize the fast and accurate parsing of the standardized infrared command signal and greatly improve the parsing efficiency of infrared commands.
[0034] 403. Perform protocol conversion processing on the standardized digital command signal and parse it into a unique identifier and control parameters of the controlled device that can be recognized by the processing module; In this embodiment, a protocol conversion program is used to convert standardized digital command signals from IoT communication protocol formats such as MQTT and CoAP to the internal communication protocol format of the processing module; the unique identifier of the controlled device that the processing module can identify is parsed out. This identifier is a 64-bit exclusive identification code assigned to each wireless IoT device in the whole-house smart air conditioning control system. At the same time, the corresponding device control parameters are parsed out, realizing the adaptation of the standardized digital command signals and the communication protocol of the processing module; and through the unique identifier of the controlled device, the accurate positioning of the wireless IoT device is realized, improving the accuracy of digital command parsing and the uniqueness of device identification.
[0035] 404. Based on the instruction keywords, device feature information, unique identifier of the controlled device, or control parameters, generate the instruction parsing result; In this embodiment, the core information extracted from various standardized command signals, such as command keywords, device feature information, unique identifiers of controlled devices, and control parameters, is integrated according to the parsing result format specifications preset by the processing module. The extracted information of different signal format types is integrated into various dimensions of the parsing result to generate a complete command parsing result that includes at least the type of controlled device and the execution conditions, providing a clear and comprehensive decision-making basis for subsequent scenario-based control.
[0036] Furthermore, in this embodiment of the invention, when the execution condition is a single-device control scenario, generating differentiated control instructions based on the controlled device type and instruction parsing results includes: 501. When the execution condition is a single-device control scenario and the controlled device type is an air conditioner, an air conditioner control command is generated based on the command parsing result; In this embodiment, after determining that it is a single-device control scenario and the controlled device is the air conditioner itself, an air conditioner control command is generated based on the operating control logic of the air conditioner itself. The operating logic of the air conditioner itself is the linkage control rule of the air conditioner compressor, fan, air guide plate, and four-way valve. For example, in cooling mode, the compressor starts first, and after the pipeline temperature reaches the preset value, the fan starts, and the air guide plate swings the air at a preset angle. The control command format matches the command receiving rule of the air conditioner main control unit, which clarifies the specific control actions and operating parameters of the air conditioner, ensuring that the air conditioner itself can quickly respond to and execute the control command, thereby improving the accuracy and response speed of single-device control of the air conditioner itself.
[0037] 502. When the execution condition is a single device control scenario and the controlled device type is an infrared home appliance, the pre-entered home appliance installation location is matched based on the instruction parsing result, the optimal transmitting component in the infrared transmitting array module is determined based on the matched home appliance installation location, and an infrared control instruction is generated based on the optimal transmitting component and the instruction parsing result. In this embodiment, after determining that it is a single-device control scenario and the controlled device is an infrared home appliance, the device identifier in the command parsing result is first matched with the home appliance installation location information pre-entered by the user. Then, an indoor space signal attenuation model is established. Combining the transmission direction, transmission power and home appliance installation location of the infrared transmitter, the signal attenuation value from each transmitter to the target home appliance is calculated. The transmitter with the smallest signal attenuation value is selected as the optimal transmission component. If the coverage of a single transmitter is insufficient, a combination of multiple transmitters is selected. Finally, combining the optimal transmission component and the control parameters in the command parsing result, an infrared control command with clear transmission component and control action is generated. This ensures the transmission accuracy and coverage effect of the infrared control signal, greatly improves the success rate of infrared home appliance control, and effectively solves the signal blind zone problem of traditional infrared control.
[0038] 503. When the execution condition is a single-device control scenario and the controlled device type is a wireless IoT device, the communication protocol type is determined based on the instruction parsing result, and a wireless control instruction is generated based on the communication protocol type and the instruction parsing result; In this embodiment, after determining that it is a single-device control scenario and the controlled device is a wireless IoT device, the unique identifier of the controlled device in the instruction parsing result is used to match the IoT communication protocol type corresponding to the controlled device; then, the communication protocol type is combined with the control parameters in the instruction parsing result to generate a wireless control instruction that conforms to the protocol rules, thereby realizing the accurate generation of single-device control instructions for the wireless IoT device and ensuring complete compatibility between the instruction and the device communication protocol.
[0039] Furthermore, in this embodiment of the invention, when the execution condition is a multi-device collaborative linkage scenario, generating a multi-device linkage control instruction based on the instruction parsing result includes: 601. When the execution condition is a multi-device collaborative linkage scenario, the instruction parsing result is parsed to extract the scenario linkage rules; In this embodiment, after determining that it is a multi-device collaborative linkage scenario, a keyword clustering algorithm is used to perform cluster analysis on the core information in the parsing results. Then, the clustering results are mapped with a pre-built home scene rule library, and scene linkage rules are extracted from the mapping results. The extracted scene linkage rules include core information such as the triggering conditions for multi-device collaborative control, the action requirements of each device, and the cooperation logic between devices, providing clear and specific guidance for the generation of multi-device linkage control instructions.
[0040] 602. Based on the scenario linkage rules, determine a list of controlled devices to be coordinated and controlled, wherein the list of controlled devices includes at least two controlled devices; In this embodiment, the extracted scene linkage rules are used as the core basis. Combined with the device identification information in the scene linkage rules, a filtering algorithm is used to filter all the devices in the house one by one to determine all the controlled devices that need to participate in this collaborative control. The filtered controlled devices are integrated to form a list of controlled devices to be collaboratively controlled. The list of controlled devices clearly defines the type, unique identifier, control requirements and other information of each controlled device, and the list of controlled devices includes at least two controlled devices.
[0041] 603. Obtain the real-time operating data of the air conditioner and match the pre-stored scene linkage logic based on the scene linkage rules; In this embodiment, the air conditioner main control unit acquires real-time operating data such as the air conditioner's on / off status, operating mode, set temperature, and indoor ambient temperature, and synchronizes it to the processing module. Then, based on the feature information of the scene linkage rules, a feature matching algorithm is used to match the pre-stored corresponding scene linkage logic in the processing module. The scene linkage logic is a multi-device collaborative control logic system preset for different smart home control scenarios, which is used to ensure the rationality and scene adaptability of multi-device linkage control and improve the intelligence level of linkage control.
[0042] 604. Combining the real-time operating data, scene linkage logic, and controlled device list, generate multi-device linkage control instructions, which are used to specify the execution order, execution timing, and control parameters of each controlled device; In this embodiment, a weighted fusion algorithm is used to fuse the real-time operation data of the air conditioner, the matched scene linkage logic, and the list of controlled devices to be coordinated and controlled. Based on the real-time status of the air conditioner operation data, corresponding weights are assigned to the scene linkage logic. Combined with the control requirements of each controlled device in the device list, the execution order, execution timing, and specific control parameters of each controlled device are clarified, and a complete multi-device linkage control command is generated to ensure the coordination, synchronization, and accuracy of multi-device collaborative linkage control, and to achieve deep scene linkage between the air conditioner and all the devices in the house.
[0043] Furthermore, in this embodiment of the invention, executing the differentiated control command or multi-device linkage control command to achieve coordinated control of all house devices includes: 701. Based on the differentiated control command or linkage control command, adjust the working status of the corresponding controlled equipment; In this embodiment, the corresponding instruction sending channel is selected according to the type of the controlled device. Infrared home appliances send infrared control signals through the infrared transmitting array module, wireless IoT devices send wireless control commands through the multi-protocol IoT gateway module, and the air conditioner itself sends the commands to the air conditioner main control unit through the processing module. After receiving the commands, each controlled device executes the corresponding actions according to the command requirements, completes the adjustment of its own working status, and realizes the effective implementation of the commands from generation to execution.
[0044] 702. Collect execution status data of each controlled device in real time, and determine whether the instruction execution result meets the preset expected control target based on the execution status data; In this embodiment, the execution status data of each controlled device is collected in real time. For infrared home appliances, the data is collected through infrared signal feedback. For wireless IoT devices, the data is collected through a multi-protocol IoT gateway module. For the air conditioner itself, the data is synchronized through the air conditioner main control unit. The expected control targets are the target working states and operating parameters of each controlled device determined based on the command parsing results, such as air conditioning cooling to 26℃, television being turned on, and living room lights being adjusted to 80% brightness. A data difference threshold method is used for judgment: the difference between the collected execution status data and the corresponding data of the expected control targets is calculated. If the difference is within a preset threshold range, such as a temperature difference of ±1℃ or a brightness difference of ±5%, it is determined to meet the expectation; otherwise, it does not. Through real-time and accurate collection and monitoring of the command execution status of each controlled device, problems in the command execution process can be detected in a timely manner, improving the reliability and controllability of whole-house control.
[0045] 703. If the execution result of the instruction meets the expected control objective, a successful execution feedback instruction is generated and fed back through the voice interaction module and / or the multi-protocol IoT gateway module; In this embodiment, when the result of the instruction execution meets the expected control objective, an execution success feedback instruction is generated. The execution success feedback instruction includes the core information of the instruction execution success and the actual working status of each controlled device. Local voice broadcast feedback is provided through the voice interaction module, and / or remote information push feedback is provided to the cloud platform and user mobile terminal through the multi-protocol IoT gateway module, providing users with clear and accurate control result information, improving the user's smart home operation experience and the convenience of information acquisition.
[0046] 704. If the result of the instruction execution does not meet the expected control objective, an abnormality reminder instruction is generated and fed back through the voice interaction module and / or the multi-protocol IoT gateway module; In this embodiment, when it is determined that the result of the instruction execution does not meet the expected control objective, an abnormality alert instruction is generated. The abnormality alert instruction includes the core information of the instruction execution abnormality, the identifier of the abnormal device, and the specific abnormal situation, while reserving basic abnormality handling suggestions. Local voice reminders are provided through the voice interaction module, and / or remote information push feedback is provided to the cloud platform and the user's mobile terminal through the multi-protocol IoT gateway module, so that the user can quickly grasp the abnormal situation and specific problems of instruction execution, facilitate the user to take timely countermeasures, improve the problem handling efficiency of whole-house smart control, and ensure the stability and reliability of the whole-house control system.
[0047] The above describes the whole-house control method based on air conditioning in the embodiments of the present invention. The following describes the whole-house control device based on air conditioning in the embodiments of the present invention. Please refer to [link / reference]. Figure 2 One embodiment of the whole-house control device based on air conditioning in this invention includes: The acquisition module 801 is used to acquire control commands and generate raw control signals according to the command source type of the control commands; The first processing module 802 is used to perform standardized preprocessing on the original control signal based on the signal format type of the original control signal to generate a standardized instruction signal. The second processing module 803 is used to perform semantic parsing or protocol conversion on the standardized instruction signal to obtain instruction parsing results, wherein the instruction parsing results include at least the controlled device type and execution conditions. The first generation module 804 is used to generate differentiated control instructions based on the controlled device type and instruction parsing results when the execution condition is a single device control scenario. The second generation module 805 is used to generate a multi-device linkage control instruction based on the instruction parsing result when the execution condition is a multi-device collaborative linkage scenario. The execution module 806 is used to execute the differentiated control instructions or multi-device linkage control instructions to achieve coordinated control of all devices in the house.
[0048] Based on the same ideas as the methods in the above embodiments, the apparatus provided in this application can implement the methods in the above embodiments.
[0049] above Figure 2 The whole-house control device based on air conditioning in this embodiment of the invention will be described in detail from the perspective of modular functional entities. The whole-house control device based on air conditioning in this embodiment of the invention will be described in detail from the perspective of hardware processing.
[0050] Figure 3 This is a schematic diagram of a whole-house control device based on air conditioning, provided in an embodiment of the present invention. The whole-house control device 900 can vary significantly due to different configurations or performance characteristics. It may include one or more central processing units (CPUs) 910 and a memory 920, and one or more storage media 930 (e.g., one or more mass storage devices) storing application programs 933 or data 932. The memory 920 and storage media 930 can be temporary or persistent storage. The program stored in the storage media 930 may include one or more modules (not shown in the diagram), each module including a series of instruction operations on the whole-house control device 900 based on air conditioning. Furthermore, the processor 910 may be configured to communicate with the storage media 930 and execute the series of instruction operations in the storage media 930 on the whole-house control device 900 based on air conditioning to implement the steps of the whole-house control method based on air conditioning provided in the above-described method embodiments.
[0051] The air conditioning-based whole-house control device 900 may also include one or more power supplies 940, one or more wired or wireless network interfaces 950, one or more input / output interfaces 960, and / or one or more operating systems 931, such as Windows Server, Mac OS X, Unix, Linux, FreeBSD, etc. Those skilled in the art will understand that... Figure 3 The illustrated structure of an air-conditioning-based whole-house control system does not constitute a limitation on air-conditioning-based whole-house control systems. It may include more or fewer components than illustrated, or combine certain components, or have different component arrangements.
[0052] The present invention also provides a computer-readable storage medium, which can be a non-volatile computer-readable storage medium or a volatile computer-readable storage medium, wherein the computer-readable storage medium stores instructions that, when executed on a computer, cause the computer to perform the steps of a whole-house control method based on air conditioning.
[0053] Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the specific working process of the system, device, or unit described above can be referred to the corresponding process in the foregoing method embodiments, and will not be repeated here.
[0054] If the integrated unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present invention. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.
[0055] Finally, it should be noted that the above descriptions are merely preferred embodiments of the present invention and are not intended to limit the present invention. Although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art can still modify the technical solutions described in the foregoing embodiments or make equivalent substitutions for some of the technical features. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of the present invention should be included within the protection scope of the present invention.
Claims
1. A whole-house control method based on air conditioning, characterized in that, The air conditioner includes a whole-house intelligent control unit and an air conditioner main control unit. The whole-house intelligent control unit includes a processing module and an infrared transmitting array module, a voice interaction module, and a multi-protocol IoT gateway module, which are electrically connected to the processing module. The air conditioner main control unit is electrically connected to the processing module. The whole-house control method includes: Obtain control commands and generate raw control signals based on the command source type of the control commands; Based on the signal format type of the original control signal, it is subjected to standardized preprocessing to generate standardized command signals; The standardized instruction signal is subjected to semantic parsing or protocol conversion to obtain an instruction parsing result, which includes at least the controlled device type and execution conditions. When the execution condition is a single-device control scenario, differentiated control instructions are generated based on the controlled device type and instruction parsing results; When the execution condition is a multi-device collaborative linkage scenario, a multi-device linkage control instruction is generated based on the instruction parsing result; Execute the differentiated control commands or multi-device linkage control commands to achieve coordinated control of all devices in the house.
2. The whole-house control method based on air conditioning according to claim 1, characterized in that, The process of acquiring control commands, and generating raw control signals based on the command source type of the control commands, includes: When the acquired control commands are received by the voice interaction module, the original control signals in voice encoding format are generated. When the acquired control command is received by the infrared receiving module, a raw control signal in infrared encoding format is generated. When the acquired control commands are received by the multi-protocol IoT gateway module, raw control signals in digital protocol format are generated.
3. The whole-house control method based on air conditioning according to claim 2, characterized in that, The standardization preprocessing based on the signal format type of the original control signal to generate a standardized command signal includes: When the original control signal is in voice coding format, an adaptive filtering algorithm is used to filter out the periodic wind noise and environmental steady-state noise generated by the operation of the air conditioner fan in the original control signal. Then, a voice enhancement algorithm is used to amplify the effective voice signal component of the original control signal to generate a standardized voice command signal. When the original control signal is in infrared encoding format, the original control signal is sequentially decoded, deduplicated, and feature extracted to generate a standardized infrared command signal. The standardized infrared command signal is then marked with source information to distinguish the signal transmitting end. When the original control signal is in digital protocol format, the original control signal is subjected to protocol validity verification and data format conversion to generate standardized digital command signals.
4. The whole-house control method based on air conditioning according to claim 3, characterized in that, The step of performing semantic parsing or protocol conversion processing on the standardized instruction signal to obtain the instruction parsing result includes: Standardized voice command signals are input into a pre-trained fusion semantic recognition model to extract command keywords, which include controlled devices, control actions, and execution conditions. The fusion semantic recognition model includes offline processing mode and online processing mode. The standardized infrared command signal is matched with a pre-built infrared code library to extract the device feature information and corresponding control parameters. The standardized digital command signal is processed by protocol conversion, and parsed into a unique identifier and control parameters of the controlled device that can be recognized by the processing module. The instruction parsing result is generated based on the instruction keywords, device feature information, unique identifier of the controlled device, or control parameters.
5. The whole-house control method based on air conditioning according to claim 1, characterized in that, When the execution condition is a single-device control scenario, differentiated control instructions are generated based on the controlled device type and instruction parsing results, including: When the execution condition is a single-device control scenario and the controlled device type is an air conditioner, an air conditioner control command is generated based on the command parsing result; When the execution condition is a single-device control scenario and the controlled device type is an infrared home appliance, the pre-entered home appliance installation location is matched based on the instruction parsing result, the optimal transmitting component in the infrared transmitting array module is determined based on the matched home appliance installation location, and an infrared control instruction is generated based on the optimal transmitting component and the instruction parsing result. When the execution condition is a single-device control scenario and the controlled device type is a wireless IoT device, the communication protocol type is determined based on the instruction parsing result, and a wireless control instruction is generated based on the communication protocol type and the instruction parsing result.
6. The whole-house control method based on air conditioning according to claim 1, characterized in that, When the execution condition is a multi-device collaborative linkage scenario, a multi-device linkage control instruction is generated based on the instruction parsing result, including: When the execution condition is a multi-device collaborative scenario, the instruction parsing result is parsed to extract the scenario linkage rules; Based on the scenario linkage rules, a list of controlled devices to be coordinated and controlled is determined, and the list of controlled devices includes at least two controlled devices; Obtain real-time operating data of the air conditioner and match pre-stored scene linkage logic based on the scene linkage rules; By combining the real-time operating data, scene linkage logic, and list of controlled devices, a multi-device linkage control instruction is generated. The multi-device linkage control instruction is used to specify the execution order, execution timing, and control parameters of each controlled device.
7. The whole-house control method based on air conditioning according to claim 1, characterized in that, The execution of the differentiated control command or multi-device linkage control command to achieve coordinated control of all house devices includes: Based on the differentiated control instructions or linkage control instructions, adjust the working status of the corresponding controlled equipment; Real-time collection of execution status data from each controlled device; and determination of whether the instruction execution result meets the preset expected control target based on the execution status data. If the execution result of the instruction meets the expected control objective, a successful execution feedback instruction is generated and fed back through the voice interaction module and / or the multi-protocol IoT gateway module. If the execution result of the instruction does not meet the expected control objective, an abnormality alert instruction is generated and fed back through the voice interaction module and / or the multi-protocol IoT gateway module.
8. A whole-house control device based on air conditioning, characterized in that, include: The acquisition module is used to acquire control commands and generate raw control signals according to the command source type of the control commands; The first processing module is used to perform standardized preprocessing on the original control signal based on the signal format type to generate a standardized command signal. The second processing module is used to perform semantic parsing or protocol conversion on the standardized instruction signal to obtain the instruction parsing result, which includes at least the controlled device type and execution conditions. The first generation module is used to generate differentiated control instructions based on the controlled device type and instruction parsing results when the execution condition is a single device control scenario. The second generation module is used to generate multi-device linkage control instructions based on the instruction parsing result when the execution condition is a multi-device collaborative linkage scenario. The execution module is used to execute the differentiated control commands or multi-device linkage control commands to achieve coordinated control of all devices in the house.
9. A whole-house control device based on air conditioning, characterized in that, The air conditioning-based whole-house control device includes: a memory and at least one processor, wherein the memory stores instructions; At least one of the processors invokes the instructions in the memory to cause the air conditioning-based whole-house control device to perform the steps of the air conditioning-based whole-house control method as described in any one of claims 1-7.
10. A computer-readable storage medium storing instructions thereon, characterized in that, When the instructions are executed by the processor, they implement the various steps of the air conditioning-based whole-house control method as described in any one of claims 1-7.