Home appliance control method and storage medium

CN119992810BActive Publication Date: 2026-09-22MIDEA GRP (SHANGHAI) CO LTD +1
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202510157075.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2025-02-12
Publication Date
2026-09-22
Estimated Expiration
2045-02-12

AI Technical Summary

Technical Problem

无线信号通常是无方向性的,意味着它在信号覆盖范围内会被任何设备接收,这就导致了一个问题:无线信号可能会同时覆盖到家中多个房间,进而使得遥控器无法准确区分和控制特定房间的空调器

Benefits of technology

[0020]在本说明书实施例中,遥控器通过响应于针对家电任一功能的控制指令,生成控制指令对应的无线控制数据和红外控制数据,以对家电的功能进行控制,基于红外控制数据的有限通信和有指向性的特性,结合无线控制数据的无方向特性,并在无线控制数据中指示通信地址,使得家电在接收到红外控制数据和无线控制数据时,能够对其进行识别从而确定自身是否需要执行对应的控制操作。此外,家电生成无线应答数据以使遥控器基于无线应答数据确定遥控器与家电的绑定关系,在遥控器换房间控制家电时,能够实现对绑定关系的快速切换,以及实现遥控器与家电的快速匹配。

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119992810B_ABST
    Figure CN119992810B_ABST
Patent Text Reader

Abstract

The embodiment of the present specification provides a kind of household appliance control method and storage medium, the method includes: remote controller generates the wireless control data and infrared control data corresponding to control instruction by responding to the control instruction for any function of household appliance, sends wireless control data and infrared control data, based on the limited communication and the characteristic of directional of infrared control data, combine the directionless characteristic of wireless control data, and indicate the communication address in wireless control data, so that household appliance can identify when receiving infrared control data and wireless control data, to determine whether it needs to execute corresponding control operation itself.In addition, household appliance generates wireless response data to make remote controller determine the binding relationship of remote controller and household appliance based on wireless response data, when remote controller changes room to control household appliance, it can realize the quick switching of binding relationship, and realize the quick matching of remote controller and household appliance.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of home appliance control technology, and more particularly to home appliance control methods and storage media. Background Technology

[0002] Implementing a wireless air conditioner remote control in a home environment that can accurately and quickly pair with and control the air conditioner in a specific room is a challenging technical task. Wireless signals are typically omnidirectional, meaning they can be received by any device within their coverage area. This leads to a problem: the wireless signal may simultaneously cover multiple rooms in a home, making it difficult for the remote control to accurately distinguish and control the air conditioner in a particular room. While traditional infrared remote controls can control a single device, their effective range is limited, and they require direct aiming at the target device, which is not always feasible in complex home layouts.

[0003] On the other hand, while equipping each room with an individual remote control could solve the coverage problem, it would significantly increase costs and introduce additional management and maintenance issues. Therefore, achieving precise room control via wireless remote control without additional hardware investment has become a key challenge in current designs. Summary of the Invention

[0004] The main objective of this invention is to provide a home appliance control method and storage medium, aiming to improve the control accuracy of wireless air conditioner remote controls. The technical solution is as follows:

[0005] Firstly, embodiments of this specification provide a home appliance control method applied to a remote control, comprising:

[0006] In response to a control command for any function of a home appliance, generate wireless control data and infrared control data corresponding to the control command, and send the wireless control data and the infrared control data.

[0007] In response to the wireless response data sent by the home appliance, the binding relationship of the remote control is determined based on the wireless response data; the wireless response data is generated by the home appliance based on the communication address indicated by the wireless control data after receiving the infrared control data and the wireless control data.

[0008] Secondly, embodiments of this specification provide a home appliance control method, applied to home appliances, including:

[0009] If infrared control data and wireless control data are received from the remote control, wireless response data for the remote control is generated based on the communication address indicated by the wireless control data; the wireless control data and the infrared control data are generated by the remote control in response to a control command for any function of the home appliance.

[0010] The functions of the home appliance are controlled based on the infrared control data.

[0011] Thirdly, embodiments of this specification provide a home appliance control method, applied to a home appliance control system, which includes a remote control and a home appliance, comprising:

[0012] The remote control responds to a control command for any function of the home appliance, generates wireless control data and infrared control data corresponding to the control command, and sends the wireless control data and the infrared control data.

[0013] If the home appliance receives the infrared control data and the wireless control data, it generates wireless response data for the remote control based on the communication address indicated by the wireless control data.

[0014] The home appliance controls its functions based on the infrared control data;

[0015] The remote control responds to the wireless response data sent by the home appliance and determines the binding relationship of the remote control based on the wireless response data.

[0016] Fourthly, embodiments of this specification provide a remote control, including: a processor and a memory; wherein the memory stores a computer program adapted to be loaded by the processor and to execute the steps of the method described above.

[0017] Fifthly, embodiments of this specification provide a home appliance, including: a processor and a memory; wherein the memory stores a computer program adapted to be loaded by the processor and to execute the steps of the method described above.

[0018] Sixthly, embodiments of this specification provide a computer program product, including: a computer program that, when executed by a processor of an electronic device, causes the processor to perform the steps of the method described above.

[0019] In a seventh aspect, embodiments of this specification provide a storage medium storing a computer program that, when executed by a processor, implements the steps of the method described above.

[0020] In the embodiments of this specification, the remote control generates wireless control data and infrared control data corresponding to the control command for any function of the home appliance, thereby controlling the function of the home appliance. Based on the limited communication and directional characteristics of infrared control data, combined with the non-directional characteristics of wireless control data, and by indicating a communication address in the wireless control data, the home appliance, upon receiving the infrared control data and wireless control data, can identify the data and determine whether it needs to perform the corresponding control operation. Furthermore, the home appliance generates wireless response data so that the remote control can determine the binding relationship between the remote control and the home appliance based on the wireless response data. When the remote control moves to another room to control the home appliance, it can quickly switch the binding relationship and achieve rapid pairing between the remote control and the home appliance. Attached Figure Description

[0021] To more clearly illustrate the technical solutions in the embodiments or prior art of this specification, the drawings used in the description of the embodiments or prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this specification. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0022] Figure 1a This is a schematic diagram of a scenario for a home appliance control method provided in the embodiments of this specification;

[0023] Figure 1b This is a schematic diagram of a scenario for a home appliance control method provided in the embodiments of this specification;

[0024] Figure 2 This is a flowchart illustrating a home appliance control method provided in the embodiments of this specification;

[0025] Figure 3 This is a flowchart illustrating a home appliance control method provided in the embodiments of this specification;

[0026] Figure 4 This is a flowchart illustrating a home appliance control method provided in the embodiments of this specification;

[0027] Figure 5 This is a flowchart illustrating a home appliance control method provided in the embodiments of this specification;

[0028] Figure 6 This is a flowchart illustrating a home appliance control method provided in the embodiments of this specification;

[0029] Figure 7 This is a flowchart illustrating a home appliance control method provided in the embodiments of this specification;

[0030] Figure 8This is a schematic diagram of the structure of a remote control provided in the embodiments of this specification;

[0031] Figure 9 This is a structural schematic diagram of a household appliance provided in the embodiments of this specification. Detailed Implementation

[0032] The technical solutions in the embodiments of this specification will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this specification, and not all embodiments. Based on the embodiments in this specification, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this specification.

[0033] In the description of this specification, it should be understood that the terms "first," "second," etc., are used for descriptive purposes only and should not be construed as indicating or implying relative importance. In the description of this specification, it should be noted that, unless otherwise expressly specified and limited, "comprising" and "having," and any variations thereof, are intended to cover non-exclusive inclusion. For example, a process, method, system, product, or device that includes a series of steps or units is not limited to the listed steps or units, but may optionally include steps or units not listed, or may optionally include other steps or units inherent to these processes, methods, products, or devices. Those skilled in the art can understand the specific meaning of the above terms in this specification based on the specific circumstances. Furthermore, in the description of this specification, unless otherwise stated, "multiple" means two or more. "And / or" describes the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A alone, A and B simultaneously, and B alone. The character " / " generally indicates that the preceding and following related objects are in an "or" relationship.

[0034] Please see Figure 1a This is a schematic diagram of a home appliance control method provided in the embodiments of this specification. In an indoor setting, home appliance 2 can be controlled by remote control 1. Typically, one remote control 1 can only control one home appliance.

[0035] Please see again. Figure 1bThis diagram illustrates a scenario for a home appliance control method provided in this specification. When a user uses a wireless remote control in the living room, assuming the bedroom and living room are close together and the wireless signal has strong wall-penetrating capabilities, the wireless control signal can be received within the signal coverage area, resulting in both the living room air conditioner 21 and the bedroom air conditioner 22 being controlled. However, infrared remote controls cannot transmit large amounts of data (such as voice control data), and infrared signals have a clear transmission and reception direction; beyond a certain angle, the signal strength drops significantly, or even becomes unreceived. The infrared control signal needs to be pointed directly at the air conditioner to be sent, resulting in low transmission efficiency and slow response. Therefore, existing wireless remote control solutions cannot fulfill the user's need to control both the bedroom air conditioner 22 and the living room air conditioner 21 using a bedroom remote control.

[0036] To address the aforementioned issues, this specification provides a home appliance control method applied to a home appliance control system. The control system may include a remote control and the home appliance, which can communicate via predefined infrared and wireless communication methods. When a user uses the remote control, it responds to control commands for any function of the home appliance by generating corresponding wireless control data and infrared control data. After the remote control sends these data, the home appliance can control its functions based on the received data. When the home appliance receives infrared control data, it indicates that the remote control is pointed at the appliance, meaning the control target is the appliance receiving the data. If, simultaneously, the home appliance also receives wireless response data, it determines whether it needs to bind with the remote control based on the communication address indicated in the wireless control data. If the appliance identifies the communication address as its own, the remote control is already bound to the appliance, and the binding relationship does not need to be changed. If the appliance identifies the communication address as something other than its own, the remote control is not bound to the appliance and needs to be bound. Depending on the scenario, the home appliance generates corresponding wireless response data and sends it to the remote control. The remote control then establishes a binding relationship with the home appliance based on the wireless response data, or it can unbind an already bound home appliance. When the user points the remote control at the target home appliance, it can quickly bind to the target appliance and unbind an already bound home appliance.

[0037] If a home appliance receives wireless control data but does not receive infrared control data, and the communication address in the wireless control data is its own, it means the appliance is already paired with the remote control, and the control operation indicated by the wireless control data can be executed. If the communication address in the wireless control data is not its own, it means the current wireless control data is irrelevant to it and can be ignored. Using this method, with paired appliances, users do not need to guarantee that the infrared control signal is accurately received by the paired appliance to achieve accurate control.

[0038] The execution entity of the hardware operating environment involved in the embodiments of this specification can also be a home appliance, which has functions such as data processing, data communication, and program execution. The execution entity can also be a controller inside the home appliance, or a module in the home appliance used to implement the home appliance control method; this embodiment does not limit this. For example, the home appliance can be an air conditioner, an electric fan, a smart lamp, etc., and there is no specific limitation.

[0039] The hardware operating environment described in this specification can also be executed by a remote control, which has functions such as data processing, data communication, and program execution. The remote control may include components such as an infrared transmitter / radio frequency transmitter, a battery, a microcontroller (MCU), a button input and display system, a wireless communication module, and sensors. This implementation does not impose any limitations on this.

[0040] The appliance control method provided in this manual will be described in detail below with reference to specific embodiments.

[0041] Please see Figure 2 This is a flowchart illustrating a home appliance control method provided in an embodiment of this specification. Figure 2 As shown, the home appliance control method provided in the embodiments of this specification is illustrated from the perspective of the home appliance control system. The method may include the following steps S101-S104.

[0042] S101, the remote control responds to a control command for any function of the home appliance, generates wireless control data and infrared control data corresponding to the control command, and sends the wireless control data and the infrared control data;

[0043] In one embodiment, the remote control may have control buttons for specific appliance functions, or control commands for any appliance function may be input to the remote control via motion sensing, voice, or other methods. Internally, the control commands need to be converted into signals capable of driving the appliance. This process includes two parts: the generation of wireless control data and the generation of infrared control data.

[0044] In one feasible implementation, the remote control's microcontroller parses control commands to obtain the operations that the home appliance needs to perform (such as turning it on / off, adjusting the temperature, adjusting the volume, etc.). The remote control encapsulates the control commands into a format suitable for wireless communication. Taking Wi-Fi as an example: control commands are transmitted via HTTP requests or MQTT messages. For example, by sending a POST request to the smart TV's IP address, the command may contain control content such as "turn_on" or "volume_up". Taking Bluetooth as an example: data is transmitted via the Bluetooth Low Energy (BLE) protocol. The remote control converts the command into Bluetooth data packets and sends them to the target device. Once the wireless control data is ready, the remote control sends the control command to the target home appliance via Bluetooth, Wi-Fi, or other modules. The target device executes the corresponding operation after receiving the signal. It is understandable that when the remote control sends wireless control data, if it is already bound to a home appliance, it can use the home appliance's address as the communication address to ensure targeted data transmission. If the remote control is not bound to a home appliance, it can send the wireless control data in a broadcast manner so that all potentially controllable home appliances can receive the wireless control data.

[0045] In another feasible implementation, the infrared emitting module (usually an infrared LED) within the remote control converts the user's button presses into infrared light signals. Each button represents a specific command, and the remote control encodes these commands into specific infrared light waveforms (frequency, pulse width, interval, etc.), which are then emitted via the infrared LED.

[0046] S102, if the home appliance receives the infrared control data and the wireless control data, it generates wireless response data for the remote control based on the communication address indicated by the wireless control data;

[0047] S103, the home appliance controls the function of the home appliance based on the infrared control data;

[0048] In one embodiment, after receiving infrared control data and wireless control data, the home appliance can perform control operations on the corresponding functions of the home appliance based on the infrared control data, and generate wireless response data for the remote control based on the communication address indicated by the wireless control data.

[0049] Understandably, after a remote control emits infrared and wireless control data, if multiple home appliances are present in the current space, the type of signal received by each appliance may differ depending on its placement. For example, some appliances may receive both infrared and wireless control data, while others may only receive wireless control data. Due to the limitations of infrared communication distance and transmission angle, when an appliance can receive infrared control data, it indicates that the appliance is closest to the remote control and is being pointed at by it. This appliance is then prioritized as the control target, and it controls the corresponding function by parsing the received infrared control data. Specifically, home appliances (such as televisions, air conditioners, and stereos) typically have a built-in infrared receiver (IR receiver). This receiver usually contains a photodiode that senses infrared light signals and converts them into electrical signals. The received electrical signals are pre-processed and then transmitted to a microcontroller (MCU) or a dedicated decoding circuit. The decoding circuit parses the data content contained in the signal. The resulting command data is then sent to the microcontroller's processing unit (such as an MCU or DSP). The processing unit performs corresponding operations on the device based on the content of the command (such as "turn on", "turn off", "adjust volume", etc.). For example, if the parsed command is "turn on the air conditioner", the control system will drive the corresponding circuit to start the air conditioner's power supply; if the command is "adjust the temperature", the microcontroller (MCU) inside the air conditioner will adjust the air conditioner's set temperature according to the received command, and the air conditioner's temperature control system (including sensors, control circuits, etc.) will work according to the new set temperature.

[0050] This appliance can also parse the received wireless control data to obtain the communication address within it. When the remote control is paired with an appliance, the communication address is specified in the wireless control data. If the identified specified communication address matches the appliance receiving the infrared control data, it indicates that the appliance being controlled is already paired, and the remote control simply returns its own address. If the identified specified communication address does not match the address of the appliance receiving the infrared control data, or if no communication address is specified, then an appliance that is not yet paired is being controlled. The appliance sends a wireless response data carrying a pairing request to the remote control to complete the pairing with the appliance that needs to be controlled, thus eliminating the need to point the infrared sensor at the appliance for subsequent use.

[0051] S104, the remote control responds to the wireless response data sent by the home appliance and determines the binding relationship of the remote control based on the wireless response data.

[0052] In one embodiment, the remote control responds to wireless response data sent by the home appliance and determines the binding relationship of the remote control based on the wireless response data. If the wireless response data includes a binding request, the remote control stores the binding address in the binding request as the target for transmitting wireless control data. If the wireless response data includes the address of the receiving home appliance, this address can be compared with the address of the bound home appliance; if they match, the binding relationship is retained. This allows for flexible changes to the binding relationship based on the user's actual control needs.

[0053] In the embodiments of this specification, the remote control responds to control commands for any function of a home appliance, generating wireless control data and infrared control data corresponding to the control commands to control the functions of the home appliance. If the home appliance receives the infrared control data and wireless control data, it generates wireless response data for the remote control based on the communication address indicated by the wireless control data. The home appliance controls its functions based on the infrared control data. The remote control responds to the wireless response data sent by the home appliance, determines the binding relationship of the remote control based on the wireless response data, and realizes flexible switching of the binding relationship and accurate room control of the wireless remote control.

[0054] Please see Figure 3 This is a flowchart illustrating a home appliance control method provided in an embodiment of this specification. Figure 3 As shown, the home appliance control method provided in the embodiments of this specification is illustrated from the perspective of the home appliance control system. The method described in the embodiments of this specification may include the following steps S201-S203.

[0055] S201, the remote control responds to a control command for any function of the home appliance, generates wireless control data and infrared control data corresponding to the control command, and sends the wireless control data and the infrared control data;

[0056] Specifically, please refer to the description of step S101 in the above embodiment of the specification, which will not be repeated here.

[0057] S202, if the home appliance only receives the wireless control data and the communication address indicated by the wireless control data is the home appliance address, then the function of the home appliance is controlled based on the wireless control data;

[0058] In one embodiment, if the home appliance does not receive infrared control data but only wireless control data, the home appliance needs to determine that the communication address in the wireless control data is itself (that is, the home appliance's address) before it can respond to the wireless control data.

[0059] In one possible scenario, if one appliance receives both infrared control data and wireless control data, while another appliance receives wireless control data simultaneously, the appliance receiving the infrared control data needs to generate wireless response data for the remote control based on the communication address indicated by the wireless response data. If the indicated communication address is not that of the appliance, it requests binding. The appliance that only receives wireless control data also needs to determine whether it needs to perform function control based on the communication address indicated by the wireless response data. If the indicated communication address is not its own, it can be ignored. If the indicated communication address is its own, it means it is already bound to the remote control, and it needs to wait for a preset time to determine whether it receives an unbinding command sent by the remote control after binding with another appliance within the preset time. If an unbinding command is received, it also does not perform the control.

[0060] S203, if the home appliance only receives the wireless control data and the communication address indicated by the wireless control data is not the home appliance address, then the wireless control data is ignored.

[0061] In one embodiment, if the home appliance receives only wireless control data instead of infrared control data, and the communication address is not the appliance's address, the received wireless control data can be ignored (discarded), indicating that the remote control is not currently needed to control the appliance. Optionally, when the home appliance receives wireless control data, it can also determine the signal strength of the wireless control data. If the signal strength is weak, it indicates that the home appliance is far from the remote control, and the wireless control data can also be ignored.

[0062] In the embodiments of this specification, the remote control generates wireless control data and infrared control data corresponding to the control command for any function of the home appliance, in response to the control command, to control the function of the home appliance. If the home appliance only receives wireless control data and the communication address indicated by the wireless control data is the home appliance's address, then the control operation corresponding to the wireless control data is executed. If the home appliance only receives wireless control data and the communication address indicated by the wireless control data is not the home appliance's address, then the wireless control data is ignored. The remote control can control home appliances at both near and far distances through a signal transmission method combining infrared and wireless. For home appliances that only receive wireless control data, the remote control can determine whether to execute the corresponding control operation based on the specified communication address, thus solving the problem of not being able to determine the target home appliance due to the unidirectional nature of wireless signal transmission.

[0063] Please see Figure 4 This is a flowchart illustrating a home appliance control method provided in an embodiment of this specification. Figure 4 As shown, the home appliance control method provided in the embodiments of this specification is illustrated from the perspective of the home appliance control system. The method described in the embodiments of this specification may include the following steps S301-S315.

[0064] S301, the remote control responds to a control command for any function of the home appliance and determines the wireless communication address of the remote control based on the binding status of the remote control;

[0065] In one embodiment, when the remote control receives a control command for any function of a home appliance, it can determine different communication addresses based on the binding status of the remote control, thereby enabling the transmission of wireless control data.

[0066] S302, the remote controller generates wireless control data corresponding to the control command based on the wireless communication address;

[0067] In one embodiment, the remote control system converts the parsed control command (such as "increase the temperature") into a data packet and writes it into the wireless communication address to generate wireless control data.

[0068] S303, the remote controller obtains the corresponding infrared control data based on the control command encoding.

[0069] In one embodiment, the remote controller generates corresponding control commands by receiving user input signals (such as button presses). First, the microcontroller converts the button presses into binary data, and then encodes this data according to a specific encoding protocol (such as NEC, RC-5, etc.), typically including address codes and command codes. Next, the encoded data is modulated and combined with a high-frequency carrier signal, and transmitted in the form of infrared light.

[0070] S304, if the home appliance receives infrared control data and wireless control data sent by the remote control, and the communication address indicated by the wireless control data is not the home appliance address, then a binding request instruction is generated based on the home appliance address.

[0071] In one embodiment, if a home appliance receives infrared control data and wireless control data sent by a remote control, and the designated communication address identified by the home appliance is not the home appliance that received the infrared control data or there is no designated communication address, then the home appliance being controlled is one that has not yet been bound. The home appliance sends wireless response data carrying a binding request to the remote control to bind the home appliance that needs to be controlled, so that it can be used without using infrared to point at the appliance in the future.

[0072] S305, the home appliance sends wireless response data containing the binding request instruction;

[0073] In one embodiment, wireless response data is generated based on the binding request command and sent back to the remote controller.

[0074] S306, if the home appliance receives infrared control data and wireless control data sent by the remote control, and the communication address indicated by the wireless control data is the home appliance address, then execution response data is generated based on the home appliance address.

[0075] In one embodiment, if the communication address identified by the home appliance is the home appliance's address, it indicates that the remote control is controlling the bound home appliance, and there is no need to change the binding relationship.

[0076] S307, the home appliance sends wireless response data containing the execution response data;

[0077] In one embodiment, wireless response data for the remote controller is generated based on the execution response data. The wireless response data specifies the wireless communication address of the remote controller.

[0078] S308, the home appliance controls its functions based on the infrared control data;

[0079] In one embodiment, after receiving infrared control data, the home appliance controls the corresponding function by parsing the received infrared control data.

[0080] S309, the remote control responds to the binding request command in the wireless response data sent by the home appliance and establishes a binding relationship with the home appliance;

[0081] In one embodiment, the remote control can respond to a binding request instruction in the wireless response data sent by the home appliance to establish a binding relationship with the home appliance. The binding request instruction is generated by the home appliance after receiving infrared control data and wireless control data, based on the communication address indicated by the wireless control data; the communication address is not the home appliance's address.

[0082] S310, the remote control responds to the binding request command in the wireless response data sent by the home appliance. When it is determined that the binding address in the binding request command is different from the address of the already bound home appliance, an unbinding command is sent to the address of the already bound home appliance.

[0083] In one embodiment, after receiving a binding request instruction, the remote control can verify the binding address against the address of the appliance already bound to the remote control. If they are different, it can also send an unbinding instruction to the address of the appliance already bound, thereby completing the unbinding from the appliance already bound.

[0084] S311, the remote control responds to the execution response data in the wireless response data sent by the home appliance. When it is determined that the home appliance address in the execution response data is the same as the address of the bound home appliance, the binding relationship of the remote control is maintained.

[0085] In one embodiment, the remote control can receive execution response data from the wireless response data sent back by the home appliance. This execution response data is generated by the home appliance based on the communication address indicated by the wireless control data after receiving both infrared control data and wireless control data; the communication address is the home appliance's address. It is understood that after the home appliance receives both infrared control data and wireless control data simultaneously, and determines that the communication address indicated by the wireless control data is its own address (home appliance address), it can return the result of executing the control command to the remote control, adding its own home appliance address to it. After receiving the wireless response data, the remote control determines that the home appliance address is the same as the already bound home appliance address, and therefore there is no need to change the remote control's binding relationship.

[0086] S312, If the home appliance receives wireless control data sent by the remote control, it obtains the signal strength of the wireless control data;

[0087] In one embodiment, when the home appliance receives wireless control data, the signal strength of the wireless data is determined. The circuitry built into the wireless receiver module in the appliance measures the Received Signal Strength Indicator (RSSI) of the received signal. The RSSI value indicates the strength of the signal, typically expressed in decibels (dBm). A higher RSSI value indicates a stronger signal; a lower RSSI value indicates a weaker signal.

[0088] S313, if the signal strength of the wireless control data is greater than the strength threshold, then determine whether the communication address indicated by the wireless control data is the home appliance address;

[0089] In one embodiment, when the signal strength is greater than the strength threshold, it indicates that the wireless control data is valid, and it is determined whether the specified communication address is the address of the home appliance.

[0090] S314, If so, the home appliance controls the function of the home appliance based on the wireless control data;

[0091] In one embodiment, when the address of a home appliance is determined, the functions of the home appliance are controlled according to the wireless control data.

[0092] S315, if the signal strength of the wireless control data is less than or equal to the strength threshold, then the wireless control data is ignored.

[0093] In one embodiment, if the home appliance receives a signal strength less than or equal to the strength of the wireless control data, it may be due to a false triggering of the remote control or the home appliance being too far away from the remote control, and therefore the appliance will not respond to the wireless control data.

[0094] In the embodiments of this specification, the remote control can send wireless control data and infrared control data according to the binding status. When the home appliance can simultaneously receive both infrared and wireless control data, it determines whether the communication address in the wireless control data is its own address. If the home appliance determines that the communication address in the wireless control data is its own, it does not need to generate a binding command and returns its execution response data to the remote control. The remote control can determine that the target device has received the control command based on the returned execution response data, and it does not need to modify the binding relationship. If the home appliance determines that the address in the wireless control data is not specified or is not its own address, it sends a binding request command to the remote control, thereby establishing a binding relationship between the remote control and the home appliance. When the home appliance only receives wireless control data, it determines the signal validity based on a signal strength threshold to prevent wireless signals from crossing rooms.

[0095] Please see Figure 5 This is a flowchart illustrating a home appliance control method provided in an embodiment of this specification. Figure 5 As shown, the home appliance control method provided in the embodiments of this specification is illustrated using the remote control side. The method described in the embodiments of this specification may include the following steps S401-S405.

[0096] S401, in response to a control command for any function of a home appliance, determine the wireless communication address of the remote control based on the binding status of the remote control;

[0097] In one embodiment, in wireless communication (such as Bluetooth and Wi-Fi), the communication address is mainly used to identify the device and enable communication. When the remote control receives a control command for any function of the home appliance, it can determine a different communication address based on the remote control's binding status, thereby enabling the transmission of wireless control data.

[0098] Further, in one embodiment, the binding state includes both bound and unbound, and the method includes the following steps S4011-S4012:

[0099] S4011, when the binding status of the remote control is "bound", the bound appliance address of the bound appliance of the remote control is determined as the wireless communication address of the remote control;

[0100] In one embodiment, when the remote control is in a "bound" state, it indicates that the remote control may need to control the bound home appliance. The bound home appliance address is obtained and determined as the remote control's wireless communication address. Specifically, the bound home appliance address is a unique identifier for the bound home appliance's wireless communication address. For example, in Bluetooth communication, each Bluetooth device has a unique physical address, typically a 48-bit (6-byte) MAC address. This address is used for unique identification between devices, enabling the communication protocol to accurately determine which device is the communication target when pairing, connecting, or transmitting data between devices.

[0101] S4012, when the binding status of the remote control is unbound, the wireless communication address of the remote control is determined to be a broadcast address.

[0102] In one embodiment, when the remote control is unbound, the broadcast address can be directly determined as the wireless communication address, without specifying an object. The broadcast address can be determined based on the type of wireless signal.

[0103] For example, a Bluetooth broadcast address: Bluetooth devices can broadcast (as in Bluetooth Low Energy devices), sending data to a broadcast address instead of a specific target device. The broadcast address is typically all zeros (e.g., FF:FF:FF:FF:FF:FF), meaning the device doesn't need to know the address of the receiving device when broadcasting. Devices receiving this broadcast data can either respond or ignore it.

[0104] Another example is the Wi-Fi broadcast address: In Wi-Fi, broadcast addresses (such as broadcast frames) are typically used to send information to all devices in the network, such as network probes, routing information, etc. For example, in a Wi-Fi network, when a device searches for available Wi-Fi networks, it sends broadcast packets, targeting all access points in the network, rather than a specific device.

[0105] S402, Generate wireless control data corresponding to the control command based on the wireless communication address;

[0106] In one embodiment, the remote control's control system converts the parsed control commands (such as "increase the temperature") into data packets. These data packets contain information such as the command type and parameters. Based on the signal's communication protocol (such as Bluetooth's GATT protocol, Wi-Fi's TCP / IP protocol, etc.), the data packets are converted into a format suitable for transmission in a wireless network, resulting in wireless control data. For example, in a Wi-Fi network, the control commands are encapsulated using an application layer protocol (such as HTTP or MQTT) and sent out via the Wi-Fi module. The remote control then transmits the signal wirelessly via a Bluetooth module, Wi-Fi module, or other wireless communication hardware.

[0107] Optionally, the remote control may include a recording component, and the home appliance control method may include the following steps S4021-S4023:

[0108] S4021, Audio data is collected based on the recording component of the remote control;

[0109] In one embodiment, a recording component can be added to the remote control to enrich the input methods for control commands. For example, the recording component can be a MEMS microphone (microelectromechanical system microphone), which is small in size and low in power consumption, making it suitable for embedding in the remote control.

[0110] S4022, parse the audio data to generate voice commands for home appliances;

[0111] In one embodiment, the remote control can generate corresponding voice commands by parsing and recognizing audio data. It is understood that, in order to enable the processing unit (microcontroller) in the remote control to have voice recognition functionality, a chip integrating voice recognition capabilities, such as an AI-based voice recognition chip, can be selected.

[0112] S4023, Generate wireless control data and infrared control data corresponding to the voice command.

[0113] In one embodiment, voice commands are converted into wireless and infrared control signals, i.e., corresponding wireless control data and infrared control data are generated. Then, the control signals are sent out via an infrared module or a wireless module to control the home appliances.

[0114] Optionally, if the remote control does not have local recording and parsing capabilities, the audio data will be wirelessly transmitted to the home appliance after the remote control controls the audio acquisition. Specifically, audio data is acquired based on the recording component of the remote control, and wireless control data is generated based on the audio data and the binding relationship. If the remote control is already bound to a home appliance, the wireless control data is sent to the bound home appliance; if the remote control is not bound to a home appliance, it is sent to the nearest home appliance within the wireless communication range or a previously bound home appliance. This can be configured according to actual needs. To ensure the accuracy of voice data transmission, it is preferable to send voice data when the home appliance is already bound. After receiving the voice data, if the home appliance has the computing power to perform audio recognition, it will identify the audio data to determine the voice command. If the home appliance does not have offline recognition capabilities, it can upload the audio data to the cloud, where the cloud will recognize the audio command and send it to the home appliance.

[0115] S403, Obtain the corresponding infrared control data based on the control command encoding;

[0116] In one embodiment, an infrared remote controller typically emits infrared light signals of a certain frequency via an infrared LED. These signals represent different control commands. Each remote controller's signal can be considered a specific encoding pattern, and modulation techniques (such as frequency modulation) are typically used to distinguish different commands. The infrared modulator encodes the control commands to obtain the signals corresponding to different control commands, thereby obtaining infrared control data. Infrared signals are generally encoded using specific protocols, such as the NEC protocol, RC-5 protocol, and Sony SIRC protocol.

[0117] S404, in response to the binding request instruction in the wireless response data sent by the home appliance, establish a binding relationship with the home appliance;

[0118] In one embodiment, the remote control can respond to a binding request instruction in the wireless response data sent by the home appliance to establish a binding relationship with the home appliance. The binding request instruction is generated by the home appliance after receiving infrared control data and wireless control data, based on the communication address indicated by the wireless control data; the communication address is not the home appliance's own address. It is understood that when the home appliance receives both wireless control data and infrared control data simultaneously, if the communication address in the wireless control data is not its own (it may be a broadcast address or another designated address), it needs to request binding with the remote control. The home appliance can determine its own address as the binding address and send a binding request instruction carrying the binding address to the remote control.

[0119] Furthermore, in one embodiment, the home appliance control method includes the following step S4041:

[0120] S4041, in response to the binding request instruction in the wireless response data sent by the home appliance, when it is determined that the binding address in the binding request instruction is different from the address of the already bound home appliance, an unbinding instruction is sent to the address of the already bound home appliance.

[0121] Specifically, after receiving a binding request command, the remote control can verify the binding address against the address of the appliance already bound to it. If they differ, it can send an unbinding command to the appliance's address, thus unbinding it from the appliance. If the bound appliance is within the remote control's wireless signal range, it will receive wireless control data. However, after the appliance sends the binding request command to the remote control, it will receive the unbinding command within a preset waiting time. This prevents the bound appliance from performing the control operations corresponding to the wireless control data, allowing control of only one appliance at a time. It's understood that after unbinding from the appliance, the remote control will not default to sending wireless control data to the previously bound appliance, preventing erroneous control.

[0122] S405, in response to the execution response data in the wireless response data sent by the home appliance, when it is determined that the home appliance address in the execution response data is the same as the address of the bound home appliance, the binding relationship of the remote control is maintained;

[0123] In one embodiment, the remote control can receive execution response data from the wireless response data sent back by the home appliance. This execution response data is generated by the home appliance based on the communication address indicated by the wireless control data after receiving both infrared control data and wireless control data; the communication address is the home appliance's address. It is understood that after the home appliance receives both infrared control data and wireless control data simultaneously, and determines that the communication address indicated by the wireless control data is its own address (home appliance address), it can return the result of executing the control command to the remote control, adding its own home appliance address to it. After receiving the wireless response data, the remote control determines that the home appliance address is the same as the already bound home appliance address, and therefore there is no need to change the remote control's binding relationship.

[0124] In the embodiments of this specification, the remote control, in response to a control command for any function of a home appliance, determines its wireless communication address based on its binding status, generates wireless control data corresponding to the control command based on the wireless communication address, and obtains corresponding infrared control data based on the control command encoding. Then, in response to a binding request command in the wireless response data sent by the home appliance, it establishes a binding relationship with the home appliance. In response to execution response data in the wireless response data sent by the home appliance, if the home appliance address in the execution response data matches the already bound home appliance address, the binding relationship of the remote control is maintained. By comparing the home appliance address in the execution response data with the already bound home appliance address, the binding relationship is verified to ensure that the remote control only controls the correct home appliance. In a multi-device environment, this not only avoids erroneous command transmission but also avoids the physical connection or frequent manual configuration required between the traditional remote control and the home appliance.

[0125] Please see Figure 6 This is a flowchart illustrating a home appliance control method provided in an embodiment of this specification. Figure 6 As shown, the appliance control method provided in the embodiments of this specification is illustrated from the perspective of the appliance. The method in the embodiments of this specification may include the following steps S501-S502.

[0126] S501, if infrared control data and wireless control data sent by the remote controller are received, then wireless response data for the remote controller is generated based on the communication address indicated by the wireless control data.

[0127] In one embodiment, if a home appliance receives infrared control data and wireless control data sent by a remote control, it generates wireless response data for the remote control based on the communication address indicated by the wireless control data. The wireless control data and infrared control data are generated by the remote control in response to a control command for any function of the home appliance. The home appliance can parse the received wireless control data to obtain the communication address within it, and generate wireless response data based on a comparison between the communication address and its own address.

[0128] Furthermore, in one embodiment, the home appliance control method includes the following steps S5011-S5012:

[0129] S5011, if infrared control data and wireless control data sent by the remote control are received, and the communication address indicated by the wireless control data is not the home appliance address, then a binding request instruction is generated based on the home appliance address.

[0130] Specifically, if the identified designated communication address is not the home appliance that received the infrared control data or there is no designated communication address, then the home appliance being controlled is one that has not yet been bound. The home appliance sends wireless response data carrying a binding request to the remote control to bind the home appliance that needs to be controlled, so that it can be used without using infrared to point at the appliance in the future.

[0131] S5012, send wireless response data containing the binding request instruction.

[0132] Specifically, wireless response data is generated based on the binding request command and sent back to the remote control.

[0133] Furthermore, in one embodiment, the home appliance control method includes the following steps S5013-S5014:

[0134] S5013, if infrared control data and wireless control data sent by the remote control are received, and the communication address indicated by the wireless control data is the home appliance address, then execution response data is generated based on the home appliance address.

[0135] Specifically, if the identified communication address is the appliance's address, it indicates that the remote control is controlling the bound appliance, and there is no need to change the binding relationship. Execution response data is generated based on the appliance's address, indicating that the bound appliance has received and executed the control. Alternatively, the appliance's address can simply be transmitted to the remote control for verification.

[0136] S5014, transmit wireless response data containing the execution response data.

[0137] Specifically, wireless response data for the remote control is generated based on the execution response data. The wireless response data specifies the wireless communication address of the remote control.

[0138] S502, control the function of the home appliance based on the infrared control data.

[0139] Specifically, home appliances control corresponding functions by parsing the received infrared control data. The decoding process includes parsing the command type (such as adjusting temperature, turning on / off, etc.) and parameters. Command execution: The decoded command controls the device's hardware (such as adjusting the temperature sensor, control circuit, etc.) to complete the corresponding operation.

[0140] In the embodiments of this specification, if a home appliance receives infrared control data and wireless control data sent by a remote control, it generates wireless response data for the remote control based on the communication address indicated by the wireless control data, and controls the functions of the home appliance based on the infrared control data.

[0141] Please see Figure 7This is a flowchart illustrating a home appliance control method provided in an embodiment of this specification. Figure 7 As shown, the appliance control method provided in the embodiments of this specification is illustrated using the appliance side. The method in the embodiments of this specification may include the following steps S601-S602.

[0142] S601, if wireless control data sent by the remote control is received and the communication address indicated by the wireless control data is the home appliance address, then the function of the home appliance is controlled based on the wireless control data;

[0143] In one embodiment, if the home appliance only receives wireless control data sent by the remote control, and the communication address indicated by the wireless control data is the home appliance's address, then the functions of the home appliance are controlled according to the wireless control data. The wireless control data is generated by the remote control in response to a control command for any function of the home appliance.

[0144] Furthermore, in one embodiment, the home appliance control method includes the following steps S5011-S5012:

[0145] S6011, If ​​wireless control data sent by the remote control is received, the signal strength of the wireless control data is obtained;

[0146] S6012, if the signal strength of the wireless control data is greater than the strength threshold, then determine whether the communication address indicated by the wireless control data is the home appliance address.

[0147] Specifically, when a home appliance receives wireless control data, it determines the signal strength of the wireless control data. The strength of a wireless signal gradually decreases with increasing distance during transmission, especially in physical environments where obstacles such as walls, doors, and windows further hinder signal propagation. Therefore, when the remote control is far from the target device or passes through multiple walls, the signal strength may fall below a preset threshold (e.g., -60dBm). If the wireless signal strength is too weak, the signal received by the home appliance may originate from adjacent rooms or distant locations. For example, if a remote control is controlling a device in one room, and the wireless signal is too strong, it may mistakenly control a device in the next room. To avoid this, a minimum signal strength threshold can be set. When the signal strength received by the home appliance falls below this threshold, it will determine that the remote control is too far away from the appliance and will not respond.

[0148] When the signal strength is greater than the strength threshold, it indicates that the wireless control data is valid, and it is determined whether the specified communication address is the address of the home appliance.

[0149] S6013, if so, then the functions of the home appliance are controlled based on the wireless control data.

[0150] Specifically, when the address of a home appliance is determined, the functions of the home appliance are controlled according to the wireless control data.

[0151] Further, in one embodiment, the method includes the following steps S60121-S60122:

[0152] S60121, If ​​so, and no unbinding command is received within the preset waiting time, then the function of the home appliance is controlled based on the wireless control data.

[0153] Specifically, when the address of an appliance is confirmed, a preset waiting time can be reserved for data processing and transmission. When multiple appliances receive wireless control data, if the appliance being controlled is not one of the already bound appliances, it will send a binding request command to the remote control. After receiving the binding request command, the remote control will bind to the appliance that can be controlled by the infrared sensor and simultaneously send an unbinding command to the bound appliance. When the bound appliance receives wireless control data with sufficient signal strength and confirms that the communication address is itself, it may perform control operations, which will cause duplicate operations and errors. By setting a preset waiting time, the remote control can send an unbinding command to the bound appliance in a timely manner so that the bound appliance does not respond to the received wireless control data.

[0154] S602, if wireless control data sent by the remote control is received and the communication address indicated by the wireless control data is not the address of the home appliance, then the wireless control data is ignored.

[0155] In one embodiment, if the home appliance only receives wireless control data and the communication address indicated in the wireless control data is not the home appliance's address, then it will not respond to the wireless control data.

[0156] In the embodiments of this specification, if a home appliance receives wireless control data sent by a remote control and the communication address indicated by the wireless control data is the home appliance's address, then the appliance's functions are controlled based on the wireless control data. If the home appliance receives wireless control data sent by a remote control and the communication address indicated by the wireless control data is not the home appliance's address, then the wireless control data is ignored. Using this method, the home appliance can accurately determine whether a response is needed based on the received wireless control data, avoiding duplicate or erroneous responses.

[0157] This specification also provides a storage medium storing a computer program, which, when executed by a processor, implements the above-described functionality. Figures 2-7 The method described in the illustrated embodiment can be found in the following document for a detailed execution process. Figures 2-7The specific details of the illustrated embodiments will not be elaborated here.

[0158] This specification also provides an embodiment of a remote control; please refer to [link / reference needed]. Figure 8 This document provides a schematic diagram of the structure of a remote control according to an embodiment of this application. Figure 8 As shown, the remote controller 1000 may include: at least one microcontroller 1001, such as an MCU; at least one network interface 1004; an input / output interface 1003; an infrared transmitter 1005; a memory 1006; and at least one communication bus 1002. The communication bus 1002 is used to enable communication between these components. The network interface 1004 may optionally include a standard wired interface or a wireless interface (such as a Wi-Fi interface). The memory 1005 may be high-speed RAM or non-volatile memory, such as at least one disk storage device. Figure 7 As shown, the memory 1004, which serves as a computer storage medium, may include an operating system, an input / output interface module, and a home appliance control application.

[0159] exist Figure 8 In the remote control 1000 shown, the input / output interface 1003 is mainly used to provide an input interface for the user and to obtain the user's input data.

[0160] In one embodiment, the processor 1001 can be used to invoke a function control application stored in the memory 1004 and specifically perform the following operations:

[0161] In response to a control command for any function of a home appliance, generate wireless control data and infrared control data corresponding to the control command, and send the wireless control data and the infrared control data.

[0162] In response to the wireless response data sent by the home appliance, the binding relationship of the remote control is determined based on the wireless response data; the wireless response data is generated by the home appliance based on the communication address indicated by the wireless control data after receiving the infrared control data and the wireless control data.

[0163] In one embodiment, when the processor 110 executes a control command in response to any function of a home appliance, generates wireless control data and infrared control data corresponding to the control command, and sends the wireless control data and the infrared control data, it specifically performs the following operations:

[0164] In response to a control command for any function of a home appliance, the wireless communication address of the remote control is determined based on the binding status of the remote control;

[0165] Generate wireless control data corresponding to the control command based on the wireless communication address;

[0166] The corresponding infrared control data is obtained based on the control command encoding.

[0167] In one embodiment, the binding state includes both bound and unbound. When the processor 110 determines the wireless communication address of the remote control based on the binding state of the remote control, it specifically performs the following operations:

[0168] When the remote control is in the bound state, the bound appliance address of the remote control is set as the wireless communication address of the remote control.

[0169] When the binding status of the remote control is unbound, the wireless communication address of the remote control is determined to be a broadcast address.

[0170] In one embodiment, when the processor 110 executes the wireless response data sent by the home appliance and determines the binding relationship of the remote control based on the wireless response data, it specifically performs the following operations:

[0171] In response to a binding request instruction in the wireless response data sent by the home appliance, a binding relationship is established with the home appliance; the binding request instruction is generated by the home appliance based on the communication address indicated by the wireless control data after receiving the infrared control data and the wireless control data; the communication address is not the home appliance address.

[0172] In one embodiment, the processor 110 is further configured to perform the following operations:

[0173] In response to the binding request instruction in the wireless response data sent by the home appliance, when it is determined that the binding address in the binding request instruction is different from the address of the already bound home appliance, an unbinding instruction is sent to the address of the already bound home appliance.

[0174] In one embodiment, when the processor 110 executes the wireless response data sent by the home appliance and determines the binding relationship of the remote control based on the wireless response data, it specifically performs the following operations:

[0175] In response to the execution response data in the wireless response data sent by the home appliance, when it is determined that the home appliance address in the execution response data is the same as the already bound home appliance address, the binding relationship of the remote control is maintained; the execution response data is generated by the home appliance based on the communication address indicated by the wireless control data after receiving the infrared control data and the wireless control data; the communication address is the home appliance address.

[0176] In one embodiment, when the processor 110 executes a control command in response to any function of a home appliance and generates wireless control data and infrared control data corresponding to the control command, it specifically performs the following operations:

[0177] Audio data is collected based on the recording component of the remote control;

[0178] The audio data is parsed to generate voice commands for home appliances;

[0179] Generate wireless control data and infrared control data corresponding to the voice command.

[0180] This specification also provides an example of a home appliance; please refer to [link / reference needed]. Figure 9 This application provides a schematic diagram of the structure of a home appliance. Figure 9 As shown, the home appliance 2000 may include: at least one processor 2001, such as a CPU; at least one network interface 2004; an input / output interface 2003; an infrared receiver 2005; a memory 2006; and at least one communication bus 2002. The communication bus 2002 is used to enable communication between these components. The network interface 2004 may optionally include a standard wired interface or a wireless interface (such as a Wi-Fi interface). The memory 2005 may be high-speed RAM or non-volatile memory, such as at least one disk storage device. Figure 9 As shown, the memory 2004, which is a computer storage medium, may include an operating system, an input / output interface module, and a home appliance control application.

[0181] exist Figure 9 In the home appliance 2000 shown, the input / output interface 2003 is mainly used to provide an input interface for the user and to obtain the user's input data.

[0182] In one embodiment, the processor 2001 can be used to invoke a home appliance control application stored in the memory 2004, and specifically perform the following operations:

[0183] If infrared control data and wireless control data are received from the remote control, wireless response data for the remote control is generated based on the communication address indicated by the wireless control data; the wireless control data and the infrared control data are generated by the remote control in response to a control command for any function of the home appliance.

[0184] The functions of the home appliances are controlled based on the infrared control data.

[0185] In one embodiment, when the processor 110 executes the operation of generating wireless response data for the remote control based on the wireless control data if infrared control data and wireless control data are received from the remote control, it specifically performs the following operations:

[0186] If infrared control data and wireless control data sent by the remote control are received, and the communication address indicated by the wireless control data is not the appliance address, then a binding request instruction is generated based on the appliance address.

[0187] Send wireless response data containing the binding request instruction.

[0188] In one embodiment, when the processor 110 executes the operation of generating wireless response data for the remote control based on the wireless control data if infrared control data and wireless control data are received from the remote control, it specifically performs the following operations:

[0189] If infrared control data and wireless control data sent by the remote control are received, and the communication address indicated by the wireless control data is the home appliance address, then execution response data is generated based on the home appliance address.

[0190] Send wireless response data containing the execution response data.

[0191] In one embodiment, the processor 2001 can be used to invoke a home appliance control application stored in the memory 2004, and specifically perform the following operations:

[0192] If wireless control data is received from the remote control and the communication address indicated by the wireless control data is the address of the home appliance, then the function of the home appliance is controlled based on the wireless control data; the wireless control data is generated by the remote control in response to a control command for any function of the home appliance.

[0193] In one embodiment, when the processor 110 executes the operation of controlling the function of the home appliance based on the wireless control data if it receives wireless control data sent by a remote control and the communication address indicated by the wireless control data is the home appliance address, the processor 110 specifically performs the following operations:

[0194] If wireless control data is received from the remote control, the signal strength of the wireless control data is obtained;

[0195] If the signal strength of the wireless control data is greater than the strength threshold, then it is determined whether the communication address indicated by the wireless control data is the home appliance address.

[0196] If so, the functions of the home appliance are controlled based on the wireless control data.

[0197] In one embodiment, when the processor 110 executes "If yes, then control the function of the home appliance based on the wireless control data", it specifically performs the following operations:

[0198] If so, and no unbinding command is received within the preset waiting time, the functions of the home appliance are controlled based on the wireless control data.

[0199] In one embodiment, the processor 2001 can be used to invoke a home appliance control application stored in the memory 2004, and specifically perform the following operations:

[0200] If wireless control data is received from the remote control and the communication address indicated by the wireless control data is not the address of the home appliance, then the wireless control data is ignored.

[0201] In addition, those skilled in the art will understand that the structure of the electronic device shown in the above figures does not constitute a limitation on the electronic device. The electronic device may include more or fewer components than shown, or combine certain components, or have different component arrangements.

[0202] Additionally, embodiments of this specification provide a computer program product comprising a computer program that, when executed by a processor of an electronic device, enables the processor to at least perform the functions described above. Figures 2-7 The method provided in the illustrated embodiment.

[0203] Those skilled in the art will understand that all or part of the processes in the above embodiments can be implemented by a computer program instructing related hardware. The program can be stored in a computer-readable storage medium, and when executed, it can include the processes of the embodiments of the above methods. The storage medium can be a magnetic disk, optical disk, read-only memory (ROM), or random access memory (RAM), etc.

[0204] The above-disclosed embodiments are merely preferred embodiments of this specification and should not be construed as limiting the scope of this specification. Therefore, any equivalent variations made in accordance with the claims of this specification shall still fall within the scope of this specification.

Claims

1. A method for controlling home appliances, characterized in that, Applied to a remote control, the method includes: In response to a control command for any function of a home appliance, generate wireless control data and infrared control data corresponding to the control command, and send the wireless control data and the infrared control data. In response to the wireless response data sent by the home appliance, the binding relationship of the remote control is determined based on the wireless response data; the wireless response data is generated by the home appliance based on the communication address indicated by the wireless control data after receiving the infrared control data and the wireless control data. The step of generating wireless control data and infrared control data corresponding to a control command for any function of a home appliance includes: In response to a control command for any function of a home appliance, when the remote control is in a bound state, the bound appliance address of the remote control is used as the wireless communication address of the remote control; when the remote control is in an unbound state, the wireless communication address of the remote control is determined to be a broadcast address; wireless control data corresponding to the control command is generated based on the wireless communication address; and corresponding infrared control data is obtained based on the encoding of the control command. The step of responding to the wireless response data sent by the home appliance and determining the binding relationship of the remote control based on the wireless response data includes: In response to a binding request instruction in the wireless response data sent by the home appliance, a binding relationship is established with the home appliance; the binding request instruction is generated by the home appliance based on the communication address indicated by the wireless control data after receiving the infrared control data and the wireless control data; the communication address is not the home appliance's address; in response to the binding request instruction in the wireless response data sent by the home appliance, when it is determined that the binding address in the binding request instruction is different from the already bound home appliance address, an unbinding instruction is sent to the already bound home appliance address; In response to the execution response data in the wireless response data sent by the home appliance, when it is determined that the home appliance address in the execution response data is the same as the already bound home appliance address, the binding relationship of the remote control is maintained; the execution response data is generated by the home appliance based on the communication address indicated by the wireless control data after receiving the infrared control data and the wireless control data; the communication address is the home appliance address.

2. The method as described in claim 1, characterized in that, The step of generating wireless control data and infrared control data corresponding to a control command for any function of a home appliance includes: Audio data is collected based on the recording component of the remote control; The audio data is parsed to generate voice commands for home appliances; Generate wireless control data and infrared control data corresponding to the voice command.

3. A wireless control method, characterized in that, Applied to home appliances, the method includes: If infrared control data and wireless control data are received from the remote control, wireless response data for the remote control is generated based on the communication address indicated by the wireless control data; the wireless control data and the infrared control data are generated by the remote control in response to a control command for any function of the home appliance. The functions of the home appliances are controlled based on the infrared control data; If infrared control data and wireless control data are received from the remote controller, then wireless response data for the remote controller is generated based on the communication address indicated by the wireless control data, including: If infrared control data and wireless control data sent by the remote control are received, and the communication address indicated by the wireless control data is not the appliance address, then a binding request instruction is generated based on the appliance address; and wireless response data containing the binding request instruction is sent. If infrared control data and wireless control data sent by the remote control are received, and the communication address indicated by the wireless control data is the home appliance address, then execution response data is generated based on the home appliance address; and wireless response data containing the execution response data is sent.

4. A method for controlling home appliances, characterized in that, Applied to a home appliance control system, the home appliance control system including a remote control and home appliances, the method includes: The remote control responds to a control command for any function of the home appliance, generates wireless control data and infrared control data corresponding to the control command, and sends the wireless control data and the infrared control data. If the home appliance receives the infrared control data and the wireless control data, it generates wireless response data for the remote control based on the communication address indicated by the wireless control data. The home appliance controls its functions based on the infrared control data; The remote control responds to the wireless response data sent by the home appliance and determines the binding relationship of the remote control based on the wireless response data; The remote control responds to a control command for any function of a home appliance, generates wireless control data and infrared control data corresponding to the control command, and sends the wireless control data and the infrared control data, including: The remote control responds to control commands for any function of a home appliance. When the remote control is in a bound state, the bound address of the home appliance to which the remote control is bound is used as the wireless communication address of the remote control. When the remote control is in an unbound state, the wireless communication address of the remote control is determined to be a broadcast address. Wireless control data corresponding to the control command is generated based on the wireless communication address. The corresponding infrared control data is obtained based on the encoding of the control command. The remote control responds to the wireless response data sent by the home appliance, and determines the binding relationship of the remote control based on the wireless response data, including: The remote control responds to the binding request instruction in the wireless response data sent by the home appliance and establishes a binding relationship with the home appliance. The binding request instruction is generated by the home appliance based on the communication address indicated by the wireless control data after receiving the infrared control data and the wireless control data. The communication address is not the home appliance's address. Responding to the binding request instruction in the wireless response data sent by the home appliance, if it is determined that the binding address in the binding request instruction is different from the already bound home appliance address, an unbinding instruction is sent to the already bound home appliance address. Responding to the execution response data in the wireless response data sent by the home appliance, if it is determined that the home appliance address in the execution response data is the same as the already bound home appliance address, the remote control maintains the binding relationship. The execution response data is generated by the home appliance based on the communication address indicated by the wireless control data after receiving the infrared control data and the wireless control data. The communication address is the home appliance's address.

5. The method as described in claim 4, characterized in that, The method further includes: If the home appliance only receives the wireless control data and the communication address indicated by the wireless control data is the home appliance's address, then the function of the home appliance is controlled based on the wireless control data; If the home appliance only receives the wireless control data and the communication address indicated by the wireless control data is not the home appliance's address, then the wireless control data is ignored.

6. The method as described in claim 5, characterized in that, If the home appliance only receives the wireless control data and the communication address indicated by the wireless control data is the home appliance's address, then controlling the function of the home appliance based on the wireless control data includes: If the home appliance only receives wireless control data sent by the remote control, then obtain the signal strength of the wireless control data; If the signal strength of the wireless control data is greater than the strength threshold, then it is determined whether the communication address indicated by the wireless control data is the home appliance address. If so, the functions of the home appliance are controlled based on the wireless control data.

7. The method as described in claim 6, characterized in that, If so, then the functions of the home appliance are controlled based on the wireless control data, including: If so, and no unbinding command is received within the preset waiting time, the functions of the home appliance are controlled based on the wireless control data.

8. A remote control, comprising: Processor and memory; The memory stores a computer program adapted to be loaded by the processor and to execute the steps of the method as described in any one of claims 1 to 2.

9. A household appliance, comprising: Processor and memory; The memory stores a computer program adapted to be loaded by the processor and to execute the steps of the method as described in claim 3.

10. A computer program product, comprising: A computer program, when executed by a processor of an electronic device, causes the processor to perform the steps of the method as described in any one of claims 1 to 7.

11. A storage medium storing a computer program, characterized in that, When the computer program is executed by a processor, it implements the steps of the method as described in any one of claims 1 to 7.

Citation Information

Patent Citations

  • Bluetooth pairing method and Bluetooth device

    CN106303641A

  • Remote control system

    JP2001258082A