Methods for controlling home appliances, operating methods of home appliances and control terminals

By extending the reception message and adjusting the transmission frequency in Bluetooth control mode, the mutual interference problem caused by the overlap of Bluetooth and WiFi frequency bands was solved, the success rate of Bluetooth data packet reception was improved, and the normal control of home appliances was ensured.

CN116594311BActive Publication Date: 2026-04-03GREE ELECTRIC APPLIANCE INC OF ZHUHAI
View PDF 2 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-05-25
Publication Date
2026-04-03

AI Technical Summary

Technical Problem

Bluetooth and WiFi have overlapping frequency bands in home appliances, causing mutual interference and resulting in a low success rate of Bluetooth data packet reception.

Method used

By sending extended receive messages to home appliances in Bluetooth control mode, the reception time of Bluetooth data packets is extended, and the transmission frequency of data packets is increased at the sending end through multi-threading and frequency adjustment to ensure successful reception of Bluetooth data packets.

Benefits of technology

It improves the success rate of Bluetooth data packet reception, reduces mutual interference between Bluetooth and WiFi, and ensures normal control of home appliances.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116594311B_ABST
    Figure CN116594311B_ABST
Patent Text Reader

Abstract

This application provides a method for controlling home appliances, a method for operating home appliances, and a control terminal. The method for controlling home appliances includes: determining whether the current control mode is a Bluetooth control mode; if the current control mode is Bluetooth control mode, sending an extended reception message to the home appliance, so that the home appliance extends the time for receiving Bluetooth data packets after receiving the extended reception message, wherein the Bluetooth data packets are used to control the home appliance to perform corresponding operations. This method for controlling home appliances improves the success rate of receiving Bluetooth data packets by extending the time for receiving Bluetooth data packets after extending the reception message.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of home appliances, and more specifically, to a method for controlling home appliances, a method for operating home appliances, a control terminal, a system, and a storage medium. Background Technology

[0002] Currently, there are three main remote control solutions for home appliances: infrared control, WiFi control, and Bluetooth control. However, Bluetooth and WiFi overlap in frequency bands. If both Bluetooth and WiFi are enabled simultaneously, their communication will interfere with each other.

[0003] To reduce interference between Bluetooth and WiFi, some solutions employ a mechanism where the two take turns transmitting and receiving. Under this mechanism, when a user controls home appliances via Bluetooth, the appliances may be in WiFi mode, preventing them from receiving Bluetooth data packets. Summary of the Invention

[0004] The main objective of this application is to provide a method for controlling home appliances, a method for operating home appliances, a control terminal, a system, and a storage medium, so as to at least solve the problem of the low success rate of home appliances receiving Bluetooth data packets.

[0005] To achieve the above objectives, according to one aspect of this application, a method for controlling a home appliance is provided. The method is applied to a control terminal that communicates with and controls the home appliance. The method includes: determining whether the current control mode is a Bluetooth control mode; and, if the current control mode is the Bluetooth control mode, sending an extended reception message to the home appliance, such that the home appliance extends the time for receiving Bluetooth data packets after receiving the extended reception message, wherein the Bluetooth data packets are used to control the home appliance to perform corresponding operations.

[0006] Optionally, the method further includes: when the current control mode is the Bluetooth control mode, controlling the frequency of sending the Bluetooth data packets to be within a preset frequency range, so as to increase the frequency of sending the Bluetooth data packets; wherein, the frequency is the number of Bluetooth data packets sent per unit time.

[0007] Optionally, when the current control mode is the Bluetooth control mode, controlling the frequency of sending the Bluetooth data packets to be within a preset frequency range includes: when the current control mode is the Bluetooth control mode, selecting multiple alternative threads from multiple threads; and using multiple alternative threads to send the Bluetooth data packets simultaneously, so that the frequency of the Bluetooth data packets is within the preset frequency range.

[0008] Optionally, when the current control mode is the Bluetooth control mode, sending an extended reception message to the home appliance includes: when the current control mode is the Bluetooth control mode, selecting a preset thread from multiple threads; and using the preset thread to send the extended reception message to the home appliance.

[0009] Optionally, the Bluetooth control mode is BLE control mode, and the extended reception message is sent to the home appliance using the preset thread, including: starting a peripheral broadcast service on the preset thread and broadcasting the extended reception message in a loop; wherein, the extended reception message is a data packet containing only the MAC address of the home appliance.

[0010] Optionally, the method includes: controlling a first frequency to be greater than a second frequency, wherein the first frequency is the frequency at which the extended receive message is sent, and the second frequency is the frequency at which the Bluetooth data packets are sent.

[0011] According to another aspect of this application, a method for operating a home appliance is provided. The method is applied to the home appliance, which communicates with a control terminal. The control terminal is used to control the home appliance, including: determining whether an extended reception message has been received; and, if the extended reception message is received, extending the time for receiving Bluetooth data packets, wherein the Bluetooth data packets are sent to the home appliance by the control terminal, and the Bluetooth data packets are used to control the home appliance to perform corresponding operations.

[0012] Optionally, after determining whether an extended reception message has been received, the method further includes: if the extended reception message has not been received, initiating a WIFI scanning mode to prepare for receiving WIFI data packets, wherein the WIFI data packets are used to control the home appliance to perform corresponding operations.

[0013] According to another aspect of this application, a control terminal is provided, comprising: a first determining unit, configured to determine whether the current control mode is a Bluetooth control mode; and a sending unit, configured to send an extended reception message to a home appliance when the current control mode is the Bluetooth control mode, so that the home appliance extends the time for receiving Bluetooth data packets after receiving the extended reception message, wherein the Bluetooth data packets are used to control the home appliance to perform corresponding operations.

[0014] According to another aspect of this application, a system is provided, comprising: a control terminal for performing the method of controlling a home appliance; and a home appliance for communicating with the control terminal and performing the method of operating the home appliance.

[0015] Optionally, the household appliance is an air conditioner.

[0016] According to another aspect of this application, a computer-readable storage medium is provided, the computer-readable storage medium including a stored program, wherein, when the program is executed, the device on which the computer-readable storage medium is located executes the method for controlling a home appliance, or the method for operating the home appliance.

[0017] According to another aspect of this application, a control terminal is provided, comprising: one or more processors, a memory, and one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the one or more processors, the one or more programs including a method for performing the control of a home appliance as described above.

[0018] By applying the technical solution of this application, by determining whether the current control mode is Bluetooth control mode, if the current control mode is Bluetooth control mode, an extended reception message is sent to the home appliance, so that the home appliance extends the time for receiving Bluetooth data packets after receiving the extended reception message, thereby improving the success rate of Bluetooth data packet reception by extending the time for receiving Bluetooth data packets. Attached Figure Description

[0019] The accompanying drawings, which form part of this application, are used to provide a further understanding of this application. The illustrative embodiments and descriptions of this application are used to explain this application and do not constitute an undue limitation of this application. In the drawings:

[0020] Figure 1 A hardware structure block diagram of a mobile terminal for performing a method of controlling home appliances according to an embodiment of this application is shown;

[0021] Figure 2 A schematic flowchart of a method for controlling home appliances according to an embodiment of this application is shown;

[0022] Figure 3 A flowchart illustrating a method for operating a home appliance according to an embodiment of this application is shown;

[0023] Figure 4 A flowchart illustrating a specific home appliance control method according to an embodiment of this application is shown;

[0024] Figure 5 A schematic diagram of a control terminal provided according to an embodiment of this application is shown;

[0025] Figure 6 A schematic diagram of a household appliance provided according to an embodiment of this application is shown. Detailed Implementation

[0026] It should be noted that, unless otherwise specified, the embodiments and features described in this application can be combined with each other. This application will now be described in detail with reference to the accompanying drawings and embodiments.

[0027] To enable those skilled in the art to better understand the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present application, and not all embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative effort should fall within the scope of protection of the present application.

[0028] It should be noted that the terms "first," "second," etc., in the specification, claims, and accompanying drawings of this application 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 for the embodiments of this application described herein. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover non-exclusive inclusion; for example, a process, method, system, product, or apparatus 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 apparatus.

[0029] As described in the background section, the success rate of home appliances receiving Bluetooth data packets in the prior art is low. To solve the problem of the low success rate of home appliances receiving Bluetooth data packets, embodiments of this application provide a method for controlling home appliances, a method for operating home appliances, a control terminal, a system, and a storage medium.

[0030] The technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention.

[0031] The methods and embodiments provided in this application can be executed on a mobile terminal, computer terminal, or similar computing device. Taking running on a mobile terminal as an example, Figure 1 This is a hardware structure block diagram of a mobile terminal for a method of controlling home appliances according to an embodiment of the present invention. Figure 1 As shown, a mobile terminal may include one or more ( Figure 1 Only one is shown in the diagram. A processor 102 (which may include, but is not limited to, a microprocessor MCU or a programmable logic device FPGA, etc.) and a memory 104 for storing data are also shown. The mobile terminal may further include a transmission device 106 for communication functions and an input / output device 108. Those skilled in the art will understand that... Figure 1 The structure shown is for illustrative purposes only and does not limit the structure of the mobile terminal described above. For example, the mobile terminal may also include components that are more... Figure 1 The more or fewer components shown, or having the same Figure 1 The different configurations shown.

[0032] The memory 104 can be used to store computer programs, such as application software programs and modules, like the computer program corresponding to the method for controlling home appliances in this embodiment of the invention. The processor 102 executes various functional applications and data processing by running the computer program stored in the memory 104, thereby implementing the above-described method. The memory 104 may include high-speed random access memory and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some instances, the memory 104 may further include memory remotely located relative to the processor 102, and these remote memories can be connected to the mobile terminal via a network. Examples of the aforementioned networks include, but are not limited to, the Internet, corporate intranets, local area networks, mobile communication networks, and combinations thereof. The transmission device 106 is used to receive or send data via a network. Specific examples of the aforementioned networks may include wireless networks provided by the mobile terminal's communication provider. In one example, the transmission device 106 includes a network interface controller (NIC), which can be connected to other network devices via a base station to communicate with the Internet. In one example, the transmission device 106 may be a radio frequency (RF) module, which is used to communicate with the Internet wirelessly.

[0033] This embodiment provides a method for controlling home appliances that runs on a mobile terminal, computer terminal, or similar computing device. It should be noted that the steps shown in the flowchart in the accompanying drawings can be executed in a computer system such as a set of computer-executable instructions. Also, although a logical order is shown in the flowchart, in some cases, the steps shown or described may be executed in a different order than that shown here.

[0034] Figure 2 This is a flowchart of a method for controlling home appliances according to an embodiment of this application. The method is applied to a control terminal, which communicates with and controls the home appliances, such as... Figure 2 As shown, the method includes the following steps:

[0035] Step S201: Determine whether the current control mode is Bluetooth control mode;

[0036] Among them, the control terminal can be a mobile terminal, which can be a mobile phone, tablet computer, etc.;

[0037] Among them, home appliances can include: air conditioners, humidifiers, refrigerators, televisions, range hoods, etc.; this solution is particularly suitable for the control of air conditioners.

[0038] Among them, the control modules for controlling home appliances generally have three modes: infrared control, WiFi control, and Bluetooth control; this application mainly focuses on the settings for Bluetooth control, aiming to solve the problem of mutual interference between Bluetooth and WiFi.

[0039] Bluetooth control can employ either standard Bluetooth control or Bluetooth Low Energy (BLE) solutions, with BLE control being the preferred option for power saving. Specifically, BLE Bluetooth and WiFi suffer from frequency band interference, as both utilize the 2.4GHz band. If both are enabled simultaneously, their communication performance will be significantly affected.

[0040] Specifically, step S201, determining whether the current control mode is Bluetooth control mode, can be implemented as follows:

[0041] It receives user operations on the control terminal and determines whether the current control mode is Bluetooth control mode in response to the operations; specifically, the operations are operations performed on the APP on the control terminal, and the APP has a Bluetooth control interface.

[0042] In addition, to control different home appliances, multiple apps can be installed on one control terminal. For example, the first app controls the air conditioner, the second app controls the humidifier, the third app controls the refrigerator, the fourth app controls the TV, and the fifth app controls the range hood.

[0043] More specifically, the app allows for the control of home appliances, such as turning the air conditioner on and off, adjusting its temperature, fan speed, and airflow direction.

[0044] Step S202: When the current control mode is the Bluetooth control mode, an extended reception message is sent to the home appliance so that the home appliance extends the time for receiving Bluetooth data packets after receiving the extended reception message, wherein the Bluetooth data packets are used to control the home appliance to perform corresponding operations.

[0045] Controlling the home appliances to perform corresponding operations includes: turning on, turning off, heating up, and cooling down; different home appliances have different corresponding operations, which can be set in the APP, and different operations correspond to different Bluetooth data packets.

[0046] In the case of Bluetooth control mode, the control terminal will automatically send an extended reception message to the home appliance. Upon receiving the extended reception message, the home appliance will parse it. After parsing, if it determines that the Bluetooth data packet is for controlling the home appliance, it will automatically extend the time for receiving the Bluetooth data packet.

[0047] Specifically, the extended Bluetooth data packet reception time is explained as follows: the original duration of receiving a single Bluetooth data packet was half a minute, and after the extension, the duration of receiving a single Bluetooth data packet is one minute.

[0048] The method for controlling home appliances in this application determines whether the current control mode is Bluetooth control mode. If the current control mode is Bluetooth control mode, an extended reception message is sent to the home appliance so that the home appliance extends the time for receiving Bluetooth data packets after receiving the extended reception message, thereby improving the success rate of Bluetooth data packet reception.

[0049] In embodiments of this application, to further improve the success rate of Bluetooth data packet reception, the method further includes:

[0050] When the current control mode is the Bluetooth control mode, the frequency of sending the Bluetooth data packets is controlled to be within a preset frequency range, so as to increase the frequency of sending the Bluetooth data packets;

[0051] The frequency is the number of Bluetooth data packets sent per unit time.

[0052] For example, initially the frequency of sending Bluetooth data packets was 100 times per minute, and after increasing the frequency of sending the Bluetooth data packets, the frequency of sending Bluetooth data packets was 200 times per minute;

[0053] In other words, while extending the time for receiving Bluetooth data packets, the frequency of sending the Bluetooth data packets is increased, thus ensuring successful reception of Bluetooth data packets from both the sending and receiving dimensions.

[0054] More specifically, for current smartphones, sending a single Bluetooth BLE peripheral service broadcast packet takes anywhere from 50 to 200 ms depending on the phone. Bluetooth data packets in air conditioner control, due to security considerations and the large amount of information they carry, have a larger packet size, resulting in a longer transmission time. For mobile devices with longer transmission times, during the time it takes for the air conditioner to switch to Bluetooth control mode and initiate the BLE central service to scan for Bluetooth packets, only one or two Bluetooth data packets may be sent. In this situation, if the user is in an environment with many devices, the success rate of Bluetooth communication between the phone and the air conditioner often falls below 50%. The solution proposed in this application ensures successful reception of Bluetooth data packets from both the sending and receiving dimensions, significantly improving the success rate of the air conditioner receiving Bluetooth data packets.

[0055] In embodiments of this application, when the current control mode is the Bluetooth control mode, controlling the frequency of sending the Bluetooth data packets to be within a preset frequency range includes:

[0056] When the current control mode is the Bluetooth control mode, multiple alternative threads are selected from multiple threads;

[0057] Multiple alternative threads are used to send the Bluetooth data packets simultaneously, so that the frequency of the Bluetooth data packets is within the preset frequency range.

[0058] The number of alternative threads can be 2, 3, 5, etc. The specific number of alternative threads can be set according to the size of the Bluetooth data packet. The larger the Bluetooth data packet, the more alternative threads there are, and the smaller the Bluetooth data packet, the fewer alternative threads there are, to ensure successful reception of the Bluetooth data packet, realize control of home appliances, and meet the user's needs.

[0059] As set up above, multiple Bluetooth data packets can be sent in a short period of time by using multiple alternative threads to send packets. That is, multiple alternative threads send the Bluetooth data packets at the same time, which increases the sending frequency of Bluetooth data packets. This mechanism can be used to reduce the impact of long Bluetooth data packet sending time.

[0060] In embodiments of this application, when the current control mode is the Bluetooth control mode, sending an extended reception message to the home appliance includes:

[0061] When the current control mode is the Bluetooth control mode, a preset thread is selected from multiple threads;

[0062] The extended reception message is sent to the home appliance using the preset thread.

[0063] The preset thread can be regarded as a secondary thread, and the alternative thread can be regarded as the main thread. Using a secondary thread to send the extended reception message to the home appliance does not affect the main control of the home appliance.

[0064] In the embodiments of this application, the Bluetooth control mode is BLE control mode, and the extended reception message is sent to the home appliance using the preset thread, including:

[0065] Start an external broadcast service on the preset thread to broadcast the extended received message in a loop;

[0066] The extended received message is a data packet containing only the MAC address of the home appliance.

[0067] In other words, after the user enters the control page on the mobile app, the mobile device starts a secondary thread to initiate BLE for peripheral broadcasting services, continuously playing an empty Bluetooth packet containing only the MAC address of the air conditioner device as a Bluetooth mode persistent packet. Because of its small size, it can be sent at maximum speed.

[0068] In embodiments of this application, the method includes:

[0069] The first frequency is controlled to be greater than the second frequency, wherein the first frequency is the frequency at which the extended receive message is sent, and the second frequency is the frequency at which the Bluetooth data packet is sent.

[0070] Setting the frequency of sending the extended reception message to be greater than the frequency of sending the Bluetooth data packet allows the home appliance to extend the time for receiving the Bluetooth data packet when it receives the extended reception message, thus reserving sufficient time to ensure successful reception of the Bluetooth data packet.

[0071] This embodiment provides a method for operating a home appliance. It should be noted that the steps shown in the flowchart in the accompanying drawings can be executed in a computer system such as a set of computer-executable instructions. Also, although a logical order is shown in the flowchart, in some cases, the steps shown or described may be executed in a different order than that shown here.

[0072] Figure 3 This is a flowchart illustrating a method for operating a home appliance according to an embodiment of this application. The method is applied to the home appliance, which communicates with a control terminal. The control terminal is used to control the home appliance, such as... Figure 3 As shown, the method includes the following steps:

[0073] Step S301: Determine whether an extended reception message has been received;

[0074] In other words, if the home appliance does not receive an extended reception message, it determines that it is not in Bluetooth control mode at this time;

[0075] Step S302: Upon receiving the extended reception message, the time for receiving Bluetooth data packets is extended, wherein the Bluetooth data packets are sent by the control terminal to the home appliance, and the Bluetooth data packets are used to control the home appliance to perform corresponding operations.

[0076] The method for operating home appliances disclosed in this application determines whether an extended reception message is received, and if the extended reception message is received, extends the time for receiving Bluetooth data packets, thereby improving the success rate of Bluetooth data packet reception.

[0077] In embodiments of this application, after determining whether an extended reception message has been received, the method further includes:

[0078] If the extended reception message is not received, the WIFI scanning mode is activated to prepare for receiving WIFI data packets, wherein the WIFI data packets are used to control the home appliances to perform corresponding operations.

[0079] For devices that are typically controlled via an app and have both Wi-Fi and Bluetooth control modes, if the extended reception message is not received, the Wi-Fi scanning mode is activated to prepare for receiving Wi-Fi data packets.

[0080] To enable those skilled in the art to better understand the technical solution of this application, the implementation process of the method of this application will be described in detail below with reference to specific embodiments.

[0081] This embodiment relates to a specific method for controlling home appliances, such as... Figure 4 As shown, it includes the following steps:

[0082] After the user enters the control page on the mobile app, the mobile app starts a secondary thread to initiate BLE (Browser-to-Earth) broadcast service, continuously playing an empty Bluetooth packet containing only the MAC address of the air conditioner as a Bluetooth mode persistent packet. Because of its small size, it can be sent at maximum speed. When the user issues a control command via the app, and the air conditioner receives this Bluetooth packet information, it extends the Bluetooth mode scan duration T.

[0083] When the user exits the control page or the phone remains inactive for an extended period, the mobile app stops sending Bluetooth mode persistent packets. Once the air conditioner no longer receives new persistent packets, it switches between Wi-Fi and Bluetooth modes for scanning according to the default schedule.

[0084] When a user controls the air conditioner via a mobile app, the app continuously initiates multiple threads to send the same Bluetooth data packets. This utilizes the phone's multi-threading capability to send an additional number of Bluetooth data packets.

[0085] This application utilizes multi-threading capabilities to enable the mobile phone to send more Bluetooth data packets within the same time period, and starts a thread to send a small Bluetooth packet to notify the air conditioner to extend the Bluetooth scanning time.

[0086] It should be noted that the steps shown in the flowchart in the accompanying drawings can be executed in a computer system such as a set of computer-executable instructions, and although a logical order is shown in the flowchart, in some cases the steps shown or described may be executed in a different order than that shown here.

[0087] This application also provides a control terminal. It should be noted that the control terminal of this application can be used to execute the method for controlling home appliances provided in this application. This device is used to implement the above embodiments and preferred embodiments; details already described will not be repeated. As used below, the term "module" can refer to a combination of software and / or hardware that implements a predetermined function. Although the device described in the following embodiments is preferably implemented in software, hardware implementation, or a combination of software and hardware, is also possible and contemplated.

[0088] The control terminal provided in the embodiments of this application will be described below.

[0089] Figure 5 This is a schematic diagram of a control terminal according to an embodiment of this application. Figure 5 As shown, the control terminal includes:

[0090] The first determining unit 51 is used to determine whether the current control mode is Bluetooth control mode;

[0091] The sending unit 52 is configured to send an extended reception message to the home appliance when the current control mode is the Bluetooth control mode, so that the home appliance extends the time for receiving Bluetooth data packets after receiving the extended reception message, wherein the Bluetooth data packets are used to control the home appliance to perform corresponding operations.

[0092] In the control terminal of this application, the first determining unit determines whether the current control mode is Bluetooth control mode. If the current control mode is Bluetooth control mode, the sending unit sends an extended reception message to the home appliance, so that the home appliance extends the time for receiving Bluetooth data packets after receiving the extended reception message, thereby improving the success rate of Bluetooth data packet reception.

[0093] In this embodiment of the application, the control terminal further includes: a control unit, which is used to control the frequency of sending the Bluetooth data packets to be within a preset frequency range when the current control mode is the Bluetooth control mode, so as to increase the frequency of sending the Bluetooth data packets; wherein, the frequency is the number of Bluetooth data packets sent per unit time.

[0094] In other words, while extending the time for receiving Bluetooth data packets, the frequency of sending the Bluetooth data packets is increased, thus ensuring successful reception of Bluetooth data packets from both the sending and receiving dimensions.

[0095] In this embodiment of the application, the control unit includes a first selection module and a first transmission module. The first selection module is used to select multiple alternative threads from multiple threads when the current control mode is the Bluetooth control mode. The first transmission module is used to send the Bluetooth data packets simultaneously using multiple alternative threads, so that the frequency of the Bluetooth data packets is within the preset frequency range.

[0096] As set up above, multiple Bluetooth data packets can be sent in a short period of time by using multiple alternative threads to send packets. That is, multiple alternative threads send the Bluetooth data packets at the same time, which increases the sending frequency of Bluetooth data packets. This mechanism can be used to reduce the impact of long Bluetooth data packet sending time.

[0097] In this embodiment of the application, the sending unit includes a second selection module and a second sending module. The second selection module is used to select a preset thread from multiple threads when the current control mode is the Bluetooth control mode. The second sending module is used to send the extended reception message to the home appliance using the preset thread.

[0098] The preset thread can be regarded as a secondary thread, and the alternative thread can be regarded as the main thread. Using a secondary thread to send the extended reception message to the home appliance does not affect the main control of the home appliance.

[0099] In this embodiment of the application, the Bluetooth control mode is the BLE control mode, and the second sending module includes a broadcast module. The broadcast module is used to start a peripheral broadcast service on the preset thread and broadcast the extended receiving message in a loop. The extended receiving message is a data packet containing only the MAC address of the home appliance.

[0100] In other words, after the user enters the control page on the mobile app, the mobile device starts a secondary thread to initiate BLE for peripheral broadcasting services, continuously playing an empty Bluetooth packet containing only the MAC address of the air conditioner device as a Bluetooth mode persistent packet. Because of its small size, it can be sent at maximum speed.

[0101] In this embodiment of the application, the control terminal further includes a control unit, which is used to control the first frequency to be greater than the second frequency, wherein the first frequency is the frequency for sending the extended reception message, and the second frequency is the frequency for sending the Bluetooth data packets.

[0102] Setting the frequency of sending the extended reception message to be greater than the frequency of sending the Bluetooth data packet allows the home appliance to extend the time for receiving the Bluetooth data packet when it receives the extended reception message, thus reserving sufficient time to ensure successful reception of the Bluetooth data packet.

[0103] This application also provides a home appliance.

[0104] Figure 6 This is a schematic diagram of a household appliance according to an embodiment of this application. Figure 6 As shown, the home appliance includes:

[0105] The second determining unit 61 determines whether an extended reception message has been received.

[0106] The extension unit 62, upon receiving the extended reception message, extends the time for receiving Bluetooth data packets, wherein the Bluetooth data packets are sent by the control terminal to the home appliance, and the Bluetooth data packets are used to control the home appliance to perform corresponding operations.

[0107] In the home appliance of this application, the second determining unit determines whether an extended reception message has been received. If the extended reception message is received, the extending unit extends the time for receiving Bluetooth data packets, thereby improving the success rate of Bluetooth data packet reception.

[0108] The home appliance also includes a start-up unit, which is used to start a WIFI scanning mode to prepare to receive WIFI data packets after determining whether an extended reception message has been received, and if the extended reception message has not been received. The WIFI data packets are used to control the home appliance to perform corresponding operations.

[0109] For devices that are typically controlled via an app and have both Wi-Fi and Bluetooth control modes, if the extended reception message is not received, the Wi-Fi scanning mode is activated to prepare for receiving Wi-Fi data packets.

[0110] This application also provides a system, including:

[0111] A control terminal is used to perform methods for controlling household appliances.

[0112] Home appliances, communicating with the control terminal, are used for the operation method of the home appliances.

[0113] The control terminal in this application system is used to determine whether the current control mode is Bluetooth control mode. If the current control mode is Bluetooth control mode, an extended reception message is sent to the home appliance, so that the home appliance extends the time for receiving Bluetooth data packets after receiving the extended reception message. The home appliance in this application system is used to determine whether it has received the extended reception message. If it has received the extended reception message, it extends the time for receiving Bluetooth data packets. The two are implemented together, and the success rate of Bluetooth data packet reception is improved by extending the time for receiving Bluetooth data packets.

[0114] In this embodiment of the application, the household appliance is an air conditioner.

[0115] This application embodiment also provides a control terminal, including: one or more processors, a memory, and one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the one or more processors, and the one or more programs include a method for performing control of home appliances.

[0116] The control terminal includes a processor and a memory. The first determining unit and the sending unit, etc., are all stored as program units in the memory. The processor executes the program units stored in the memory to achieve the corresponding functions. All of the above modules are located in the same processor; or, the above modules are located in different processors in any combination.

[0117] The home appliance includes a processor and a memory. The aforementioned second determining unit and extension unit are all stored as program units in the memory, and the processor executes the program units stored in the memory to achieve the corresponding functions. All of the above modules are located in the same processor; alternatively, the above modules may be located in different processors in any combination.

[0118] The processor contains a kernel, which retrieves the corresponding program units from memory. One or more kernels can be configured, and adjusting kernel parameters can improve the success rate of Bluetooth data packet reception.

[0119] The memory may include non-permanent memory in computer-readable media, such as random access memory (RAM) and / or non-volatile memory, such as read-only memory (ROM) or flash RAM, and the memory includes at least one memory chip.

[0120] This invention provides a computer-readable storage medium including a stored program, wherein, when the program is executed, it controls the device where the computer-readable storage medium is located to perform the method for controlling a home appliance or the method for operating a home appliance.

[0121] Specifically, methods for controlling household appliances include:

[0122] Step S201: Determine whether the current control mode is Bluetooth control mode;

[0123] Step S202: When the current control mode is the Bluetooth control mode, an extended reception message is sent to the home appliance so that the home appliance extends the time for receiving Bluetooth data packets after receiving the extended reception message, wherein the Bluetooth data packets are used to control the home appliance to perform corresponding operations.

[0124] Specifically, the operating methods of home appliances include:

[0125] Step S301: Determine whether an extended reception message has been received;

[0126] Step S302: Upon receiving the extended reception message, the time for receiving Bluetooth data packets is extended, wherein the Bluetooth data packets are sent by the control terminal to the home appliance, and the Bluetooth data packets are used to control the home appliance to perform corresponding operations.

[0127] This invention provides a processor for running a program, wherein the program executes the method for controlling home appliances or the method for operating home appliances.

[0128] Specifically, methods for controlling household appliances include:

[0129] Step S201: Determine whether the current control mode is Bluetooth control mode;

[0130] Step S202: When the current control mode is the Bluetooth control mode, an extended reception message is sent to the home appliance so that the home appliance extends the time for receiving Bluetooth data packets after receiving the extended reception message, wherein the Bluetooth data packets are used to control the home appliance to perform corresponding operations.

[0131] Specifically, the operating methods of home appliances include:

[0132] Step S301: Determine whether an extended reception message has been received;

[0133] Step S302: Upon receiving the extended reception message, the time for receiving Bluetooth data packets is extended, wherein the Bluetooth data packets are sent by the control terminal to the home appliance, and the Bluetooth data packets are used to control the home appliance to perform corresponding operations.

[0134] This invention provides a device, which includes a processor, a memory, and a program stored in the memory and executable on the processor. When the processor executes the program, it implements the steps of a method for controlling a home appliance or a method for operating a home appliance. The device in this article may be a server, PC, PAD, mobile phone, etc.

[0135] Specifically, methods for controlling household appliances include:

[0136] Step S201: Determine whether the current control mode is Bluetooth control mode;

[0137] Step S202: When the current control mode is the Bluetooth control mode, an extended reception message is sent to the home appliance so that the home appliance extends the time for receiving Bluetooth data packets after receiving the extended reception message, wherein the Bluetooth data packets are used to control the home appliance to perform corresponding operations.

[0138] Specifically, the operating methods of home appliances include:

[0139] Step S301: Determine whether an extended reception message has been received;

[0140] Step S302: Upon receiving the extended reception message, the time for receiving Bluetooth data packets is extended, wherein the Bluetooth data packets are sent by the control terminal to the home appliance, and the Bluetooth data packets are used to control the home appliance to perform corresponding operations.

[0141] This application also provides a computer program product, which, when executed on a data processing device, is suitable for executing an initialization program having at least the following method steps:

[0142] Specifically, methods for controlling household appliances include:

[0143] Step S201: Determine whether the current control mode is Bluetooth control mode;

[0144] Step S202: When the current control mode is the Bluetooth control mode, an extended reception message is sent to the home appliance so that the home appliance extends the time for receiving Bluetooth data packets after receiving the extended reception message, wherein the Bluetooth data packets are used to control the home appliance to perform corresponding operations.

[0145] Specifically, the operating methods of home appliances include:

[0146] Step S301: Determine whether an extended reception message has been received;

[0147] Step S302: Upon receiving the extended reception message, the time for receiving Bluetooth data packets is extended, wherein the Bluetooth data packets are sent by the control terminal to the home appliance, and the Bluetooth data packets are used to control the home appliance to perform corresponding operations.

[0148] It is obvious to those skilled in the art that the modules or steps of the present invention described above can be implemented using general-purpose computing devices. They can be centralized on a single computing device or distributed across a network of multiple computing devices. They can be implemented using computer-executable program code, and thus can be stored in a storage device for execution by a computing device. In some cases, the steps shown or described can be performed in a different order than those described herein, or they can be fabricated as separate integrated circuit modules, or multiple modules or steps can be fabricated as a single integrated circuit module. Thus, the present invention is not limited to any particular combination of hardware and software.

[0149] Those skilled in the art will understand that embodiments of this application can be provided as methods, systems, or computer program products. Therefore, this application can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, this application can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0150] This application is described with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of this application. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, generate instructions for implementing the flowchart... Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.

[0151] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing device to function in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1 One or more processes and / or boxes Figure 1 The function specified in one or more boxes.

[0152] These computer program instructions may also be loaded onto a computer or other programmable data processing equipment to cause a series of operational steps to be performed on the computer or other programmable equipment to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable equipment for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function specified in one or more boxes.

[0153] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.

[0154] Memory may include non-persistent memory in computer-readable media, such as random access memory (RAM) and / or non-volatile memory, like read-only memory (ROM) or flash RAM. Memory is an example of computer-readable media.

[0155] Computer-readable media includes both permanent and non-permanent, removable and non-removable media that can store information using any method or technology. Information can be computer-readable instructions, data structures, modules of programs, or other data. Examples of computer storage media include, but are not limited to, phase-change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technologies, CD-ROM, digital versatile optical disc (DVD) or other optical storage, magnetic tape, magnetic magnetic disk storage or other magnetic storage devices, or any other non-transferable medium that can be used to store information accessible by a computing device. As defined herein, computer-readable media does not include transient computer-readable media, such as modulated data signals and carrier waves.

[0156] It should also be noted that the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such process, method, article, or apparatus. Unless otherwise specified, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes that element.

[0157] As can be seen from the above description, the embodiments of this application achieve the following technical effects:

[0158] 1) The method for controlling home appliances in this application determines whether the current control mode is Bluetooth control mode. If the current control mode is Bluetooth control mode, an extended reception message is sent to the home appliance so that the home appliance extends the time for receiving Bluetooth data packets after receiving the extended reception message. By extending the time for receiving Bluetooth data packets, the success rate of receiving Bluetooth data packets is improved.

[0159] 2) The operating method of the home appliance in this application determines whether an extended reception message is received, and if the extended reception message is received, extends the time for receiving Bluetooth data packets, thereby improving the success rate of Bluetooth data packet reception.

[0160] The above description is merely a preferred embodiment of this application and is not intended to limit this application. Various modifications and variations can be made to this application by those skilled in the art. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this application should be included within the protection scope of this application.

Claims

1. A method for controlling household appliances, characterized in that, The method is applied to a control terminal, which communicates with and controls home appliances, including: Determine if the current control mode is Bluetooth control mode; When the current control mode is the Bluetooth control mode, an extended reception message is sent to the home appliance so that the home appliance extends the time for receiving Bluetooth data packets after receiving the extended reception message, wherein the Bluetooth data packets are used to control the home appliance to perform corresponding operations; When the current control mode is the Bluetooth control mode, sending an extended reception message to the home appliance includes: when the current control mode is the Bluetooth control mode, selecting a preset thread from multiple threads; and using the preset thread to send the extended reception message to the home appliance.

2. The method according to claim 1, characterized in that, The method further includes: When the current control mode is the Bluetooth control mode, the frequency of sending the Bluetooth data packets is controlled to be within a preset frequency range, so as to increase the frequency of sending the Bluetooth data packets; The frequency is the number of Bluetooth data packets sent per unit time.

3. The method according to claim 2, characterized in that, When the current control mode is the Bluetooth control mode, controlling the frequency of sending the Bluetooth data packets to be within a preset frequency range includes: When the current control mode is the Bluetooth control mode, multiple alternative threads are selected from multiple threads; Multiple alternative threads are used to send the Bluetooth data packets simultaneously, so that the frequency of the Bluetooth data packets is within the preset frequency range.

4. The method according to claim 1, characterized in that, The Bluetooth control mode is BLE control mode, and the extended reception message is sent to the home appliance using the preset thread, including: Start an external broadcast service on the preset thread to broadcast the extended received message in a loop; The extended received message is a data packet containing only the MAC address of the home appliance.

5. The method according to any one of claims 1 to 4, characterized in that, The method includes: The first frequency is controlled to be greater than the second frequency, wherein the first frequency is the frequency at which the extended receive message is sent, and the second frequency is the frequency at which the Bluetooth data packet is sent.

6. A method for operating a household appliance, characterized in that, The method is applied to home appliances, which communicate with a control terminal. The control terminal is used to control the home appliances, including: Determine whether an extended reception message has been received. The extended reception message is a message sent by the control terminal to the home appliance by selecting a preset thread from multiple threads and using the preset thread. Upon receiving the extended reception message, the time for receiving Bluetooth data packets is extended, wherein the Bluetooth data packets are sent by the control terminal to the home appliance, and the Bluetooth data packets are used to control the home appliance to perform corresponding operations.

7. The method according to claim 6, characterized in that, After determining whether an extended reception message has been received, the method further includes: If the extended reception message is not received, the WIFI scanning mode is activated to prepare for receiving WIFI data packets, wherein the WIFI data packets are used to control the home appliances to perform corresponding operations.

8. A control terminal, characterized in that, include: The first determining unit is used to determine whether the current control mode is Bluetooth control mode; The sending unit is configured to send an extended reception message to the home appliance when the current control mode is the Bluetooth control mode, so that the home appliance extends the time for receiving Bluetooth data packets after receiving the extended reception message, wherein the Bluetooth data packets are used to control the home appliance to perform corresponding operations; The sending unit includes a second selection module and a second sending module. The second selection module is used to select a preset thread from multiple threads when the current control mode is the Bluetooth control mode. The second sending module is used to send the extended reception message to the home appliance using the preset thread.

9. A system, characterized in that, include: A control terminal for performing the method of controlling a home appliance as described in any one of claims 1 to 5; The home appliance communicates with the control terminal to execute the operating method of the home appliance as described in claim 6 or 7.

10. The system according to claim 9, characterized in that, The household appliance in question is an air conditioner.

11. A computer-readable storage medium, characterized in that, The computer-readable storage medium includes a stored program, wherein, when the program is executed, it controls the device on which the computer-readable storage medium is located to perform the method for controlling a home appliance as described in any one of claims 1 to 5, or the method for operating a home appliance as described in claim 7 or 8.

12. A control terminal, characterized in that, include: One or more processors, a memory, and one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the one or more processors, the one or more programs including a method for performing a control of a home appliance as described in any one of claims 1 to 5.

Citation Information

Patent Citations

  • Intelligent wireless household appliance controlling system and intelligent wireless household appliance controlling method

    CN103237069A

  • Bluetooth connection method and device and vehicle machine

    CN112351404A