Control method for household appliance, household appliance, server and medium

By introducing an offline trigger signal into home appliances and a mechanism for the second home appliance to forward control instructions, the problem of offline state caused by user misoperation is solved, and the control process is simplified and security is improved without perception.

CN114690650BActive Publication Date: 2025-10-03MIDEA GROUP CO LTD +1
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202011613505.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-12-30
Publication Date
2025-10-03
Estimated Expiration
2040-12-30

AI Technical Summary

Technical Problem

User misoperation causes home appliances to switch from a connected state to a disconnected state, resulting in the user terminal being unable to control the home appliances normally, and the re-networking operation is cumbersome and time-consuming.

Method used

The first home appliance obtains an offline trigger signal to enter a non-networked state, and the second home appliance forwards the control instructions generated by the server to control the first home appliance, avoiding manual re-networking by the user.

Benefits of technology

Even if the home appliance is not connected to the Internet, it can still execute the control instructions issued by the user terminal, simplifying the offline control process without the user's awareness, and improving control efficiency and safety.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114690650B_ABST
    Figure CN114690650B_ABST
Patent Text Reader

Abstract

This application discloses a method for controlling a home appliance, the home appliance, a server, and a medium. The method includes the following steps: a first home appliance obtains an offline trigger signal; the first home appliance responds to the offline trigger signal and switches from a connected state to a disconnected state; the first home appliance receives a first control instruction forwarded by a second home appliance; the first control instruction is generated and sent to the second home appliance based on a second control instruction after the server determines that the first home appliance has entered a disconnected state, and the second control instruction is a control instruction for the first home appliance sent to the server by a user terminal; and the first home appliance executes the first control instruction. Through the above-mentioned method, the present application enables the home appliance to be controlled by a user terminal even when it enters a disconnected state.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of smart home technology, and in particular to a control method for a home appliance, the home appliance, a server, and a computer-readable storage medium. Background Art

[0002] Traditional home appliances are gradually being integrated into the Internet of Things (IoT), and the concept of home IoT is becoming increasingly pervasive in people's lives. This new trend is injecting innovative vitality into the traditional home appliance industry. Users can control or obtain the operating status of home appliances through mobile phones, tablets, and other user terminals. This allows users to remotely control the operation or monitor the status of home appliances even when they are not physically near them, bringing convenience to users.

[0003] When users use connected home appliances, they may easily misoperate and cause the home appliances to switch from connected state to disconnected state, making the disconnected home appliances unable to be properly controlled by the user terminal.

[0004] In the related art, re-networking for household appliances that are not in an Internet-connected state is cumbersome and time-consuming, affecting the user's use of the household appliances based on the user terminal. Summary of the Invention

[0005] The present application provides a control method for a home appliance, a home appliance, a server, and a computer-readable storage medium to solve the technical problem in the related art that a home appliance switches from a networked state to a non-networked state, and a user terminal cannot normally control the home appliance.

[0006] To solve the above technical problems, the present application provides a method for controlling a home appliance. The method includes: a first home appliance receives an offline trigger signal; the first home appliance responds to the offline trigger signal and switches from a connected state to a disconnected state; the first home appliance receives a first control instruction forwarded by a second home appliance; the first control instruction is generated and sent to the second home appliance based on a second control instruction after a server determines that the first home appliance has entered the disconnected state, and the second control instruction is a control instruction for the first home appliance sent to the server by a user terminal; and the first home appliance executes the first control instruction.

[0007] To solve the above technical problems, the present application provides a method for controlling a home appliance. The method includes: a server receiving a second control instruction for a first home appliance sent by a user terminal; the server determining that the first home appliance is in a non-networked state; the server generating a first control instruction based on the second control instruction; and the server sending the first control instruction to a second home appliance, so that the second home appliance sends the first control instruction to the first home appliance.

[0008] To solve the above technical problems, the present application provides a home appliance. The home appliance includes a processor and a communication circuit. The processor is coupled to the communication circuit and executes instructions during operation to cooperate with the communication circuit to implement the above control method for the home appliance.

[0009] To solve the above technical problems, the present application provides a server. The server includes a processor, a memory, and a communication circuit. The processor is coupled to the memory and the communication circuit and executes instructions during operation to cooperate with the memory and the communication circuit to implement the above-mentioned control method for the home appliance.

[0010] To solve the above technical problems, the present application provides a computer-readable storage medium. The computer-readable storage medium stores a computer program, which can be executed by a processor to implement the above image processing method.

[0011] In the present application, when a first home appliance switches from a networked state to a non-networked state, a control command sent from a user terminal to the first home appliance is received by a second home appliance. This allows the execution of control commands initiated by the user terminal even when the first home appliance is in a non-networked state. This simplifies the control process after the first home appliance goes offline, eliminating the need for the user to manually control the first home appliance to reconnect to the network. This allows the user to be unaware of the first appliance's offline state. BRIEF DESCRIPTION OF THE DRAWINGS

[0012] Figure 1 This is a structural diagram of an embodiment of a control system for a household appliance provided by this application;

[0013] Figure 2 This is a schematic diagram of the interactive flow of the control system of the home appliance provided by this application;

[0014] Figure 3 This is a flow chart of the first embodiment of the control method for household appliances provided by the present application;

[0015] Figure 4 This is a flow chart of a second embodiment of the method for controlling a household appliance provided by the present application;

[0016] Figure 5 This is a flow chart of a third embodiment of the method for controlling a household appliance provided by the present application;

[0017] Figure 6 This is a structural diagram of an embodiment of a household appliance provided by the present application;

[0018] Figure 7 This is a schematic diagram of the structure of an embodiment of a server provided by this application;

[0019] Figure 8It is a structural diagram of an embodiment of a computer-readable storage medium provided by this application. DETAILED DESCRIPTION

[0020] In order to enable those skilled in the art to better understand the technical solution of the present invention, the control method of the home appliance, the home appliance, the server and the computer-readable storage medium provided in this application are further described in detail below in combination with the accompanying drawings and specific implementation methods.

[0021] In the related art, smart home appliances are usually provided with a physical button or a virtual button for network configuration. When the user presses the network configuration button, the home appliance enters the waiting mode for network configuration, waiting to obtain network configuration data for networking.

[0022] After the home appliance is connected to the network, it establishes a heartbeat connection with the server and periodically sends the current status of the home appliance to the server; the user terminal establishes a long connection with the server and periodically pulls the status of the home appliance from the server, or receives the operating status of the home appliance pushed by the server.

[0023] After extensive research, the inventors of this application discovered that during the actual use of home appliances, users may accidentally press the network connection button without their knowledge, or children or pets may press the connection button without the user's knowledge, causing the connected home appliance to go back into an offline state, waiting for network connection. This not only requires users to manually reconnect the home appliance, which is a cumbersome process, but also may cause users to mistakenly believe that the home appliance has automatically gone offline, reducing their confidence and patience in smart home appliances.

[0024] On the other hand, since the home appliance periodically feeds back its current status to the server, the user terminal also periodically obtains the status of the home appliance from the server. The server cannot perceive the actual status of the home appliance in a timely manner, and the status of the home appliance obtained by the user terminal is also delayed compared to the current actual status of the home appliance, which may cause the status of the home appliance displayed on the user terminal to be out of sync with the actual status. For example, the home appliance enters the offline state to be networked due to the user accidentally touching the network configuration key. During the period when the server perceives that the home appliance is offline (one or several heartbeat cycles have not received the heartbeat packet sent by the home appliance) and the user terminal obtains the status of the home appliance, the user terminal still displays the home appliance as being online and controllable. If the user controls the home appliance through the user terminal during this period and the home appliance fails to respond, for example, the user turns off the air conditioner through the user terminal, because the air conditioner is offline and cannot receive the command to turn off the air conditioner, the air conditioner is still in the on state, which will cause great misunderstanding and inconvenience to the user.

[0025] To solve the above technical problems, this application provides the following embodiments:

[0026] See also Figure 1 and Figure 2 , Figure 1 This is a structural diagram of an embodiment of a control system for a household appliance provided by this application; Figure 2 This is a schematic diagram of the interactive flow of the control system of the home appliance provided in this application.

[0027] The control system 10 of the home appliance includes a home appliance 11, a user terminal 12, and a server 13. The home appliance 11 establishes a communication connection with the server 13 via, for example, a WIFI wireless network, and the user terminal 12 establishes a communication connection with the server 13 via, for example, a WIFI wireless network, third-generation mobile communication technology (3G), fourth-generation mobile communication technology (4G), or fifth-generation mobile communication technology (5G).

[0028] The home appliance 11 includes at least a first home appliance 111 and a second home appliance 112. The home appliance 11 can be a smart appliance with networking capabilities. For example, a communication module (not shown) is installed in the first home appliance 111 and the second home appliance 112. The first home appliance 111 and the second home appliance 112 can access the Internet based on the communication module and / or form a network with each other based on the communication module. The first home appliance 111 and the second home appliance 112 can specifically be white appliances such as refrigerators, air conditioners, washing machines, range hoods, dishwashers, or water heaters, or black appliances such as televisions or stereos, or any small appliances such as induction cookers, electric kettles, robot vacuums, rice cookers, electric fans, soybean milk makers, juicers, electric lights, smart sockets, or smart curtains.

[0029] For example, the first home appliance 111 and the second home appliance 112 both belong to the same user, and both the first home appliance 111 and the second home appliance 112 are network-connected and registered under the user account of the user.

[0030] The first home appliance 111 and the second home appliance 112 can be located in the same area. For example, the first home appliance 111 and the second home appliance 112 can both be placed in the living room, kitchen, bedroom, balcony, or bathroom. Generally speaking, home appliances located in the same area are physically closer, resulting in higher efficiency and success rates for message transmission between the appliances. Of course, the first home appliance 111 and the second home appliance 112 can also be located in different areas, and this application does not impose any restrictions on this.

[0031] The user terminal 12 is, for example, a smartphone, tablet computer, laptop computer, or smart wearable device. The user terminal 12 runs, for example, a home appliance control program, such as the Midea Home app. The home appliance control program on the user terminal 12 is logged into a user account, and the first home appliance 111 and the second home appliance 112 are registered under that user account. Using the home appliance control program logged into the user account, the user can obtain the operating status of the home appliance 11 and control the home appliance 11 through the user terminal 12.

[0032] When using or cleaning the first home appliance 111, the user may initiate certain operations that generate an offline trigger signal. In response to the offline trigger signal, the first home appliance 111 switches from a connected state to a non-connected state, such as waiting for network connection or offline. The offline trigger signal is generated, for example, when the first home appliance 111 recognizes a user operation such as a long press or multiple presses of a button, a combination of buttons, a gesture command, or a voice command.

[0033] Before switching from a connected state to a disconnected state, the first home appliance 111 sends a disconnected state message to the server 13 to notify the server 13 of the change. The disconnected state message carries the first identity identifier of the first home appliance 111. Alternatively, the first home appliance 111 does not send the disconnected state message to the server 13, and when the server 13 needs to interact with the first home appliance, it discovers that the first home appliance 111 is in the disconnected state.

[0034] For example, the server 13 maintains a device operation status table of the home appliance 11. The operation status table of the home appliance 11 includes, for example, the device identification, device name, device status, and device communication address of each home appliance 11. Optionally, the device operation status table may also include the area where the device is located, such as the living room area, kitchen area, room area, balcony area, or bathroom area. The area where the device is located may be manually added by the user when configuring the network for the home appliance 11, or it may be automatically identified by the server 13 based on the appliance type of the home appliance 11. For example, a dishwasher and a range hood are kitchen appliances, and their area is the kitchen area; a water heater is a bathing appliance, and its area is the bathroom area; a smart clothes drying rack is a drying appliance, and its area is the balcony area, etc.

[0035] After receiving the message that the first home appliance 111 has entered the offline state, the server 13 changes the device state of the first home appliance 111 in the device operation status table to the offline state and records the time when the first home appliance 111 entered the offline state. During the preset time period during which the first home appliance 111 enters the offline state, the server 13 does not notify the user terminal 12 of the entry of the first home appliance 111 into the offline state. During this time, the first home appliance 111 still appears online on the user terminal 12, and the user can issue control commands to the first home appliance 111 through the user terminal 12.

[0036] The user may not realize that their operation has caused the first home appliance 111 to enter a non-networked state, and may still control the first home appliance 111 through the user terminal 12. The user terminal 12 identifies the user's operation on the first home appliance 111, generates a second control instruction for the first home appliance 111, and sends the second control instruction to the server 13.

[0037] After receiving the second control instruction, the server 13 parses the second control instruction to obtain the first device identifier and user account of the first home appliance 111. Based on the first device identifier, the server 13 determines that the first home appliance 111 has entered a disconnected state. Alternatively, the server 13 sends the second control instruction to the first home appliance 111, but the first home appliance 111 times out and fails to respond, thereby determining that the first home appliance 111 is disconnected from the network.

[0038] After determining that the first household appliance 111 is in a non-networked state, the server 13 generates a first control instruction based on the second control instruction. Specifically, the server 13 adds the first identity identifier to the second control instruction to obtain the first control instruction.

[0039] For example, server 13 also stores the binding relationship between the user account and home appliance 11. Based on the user account, server 13 obtains a list of home appliances bound to the user account and selects one or more home appliances 11 that are connected to the network as the second home appliance 112. Optionally, server 13 may also prioritize home appliances 11 that are located in the same area as first home appliance 111 and are connected to the network as the second home appliance 112 based on the area to which first home appliance 111 belongs. For example, if first home appliance 111 is a range hood and the area designated by first home appliance 111 is the kitchen area, a dishwasher, also located in the kitchen area, may be selected as the second home appliance 112.

[0040] Since the first home appliance 111 is offline, it cannot receive the first control instruction sent directly to it by the server 13. The server 13 sends the first control instruction to the second home appliance 112, which then sends the first control instruction to the first home appliance 111.

[0041] After receiving the first control instruction, the second home appliance 112 parses the first control instruction, determines that the first control instruction is not initiated to itself, and sends the first control instruction to the first home appliance 111 .

[0042] There are multiple ways for the second home appliance 112 to send the first control instruction to the first home appliance 111. For example, the second home appliance 112 can broadcast the first control instruction via wireless broadcast. Assuming that the wireless broadcast is Bluetooth broadcast, the first home appliance 111 scans the Bluetooth broadcast and receives the first control instruction carried in the Bluetooth broadcast. For another example, the second home appliance 112 establishes a point-to-point communication connection with the first home appliance 111. For example, after entering the non-networked state, the first home appliance 111 enters the WIFI AP mode. The second home appliance 112 establishes a WIFI connection with the first home appliance 111 in the WIFI AP mode and sends the first control instruction to the first home appliance 111 via the WIFI connection.

[0043] After receiving the first control instruction, the first home appliance 111 executes the first control instruction. Specifically, the first home appliance 111 parses the first control instruction, obtains the first identity identification, determines that the first control instruction is legal, and then executes the operation corresponding to the first control instruction. Therefore, even if the first home appliance 111 is in an offline state and inconsistent with the online state displayed by the user terminal, it can still execute the first control instruction issued by the user, thereby keeping the actual operating state of the home appliance consistent with the operating state of the home appliance on the user terminal, so that the user can still control the home appliance through the user terminal 12 without realizing that the first home appliance 111 is offline. During this period, the user will not be informed that the first home appliance 111 is offline, and the user does not need to re-connect the network for the first home appliance 111, which can reduce user operations and improve the efficiency of controlling the first home appliance 111.

[0044] After entering the offline state, the first home appliance 111 still receives the first control command sent by the user through the user terminal, indicating that the user's previous operation that caused the first home appliance 111 to go offline may have been triggered by mistake. Therefore, the first home appliance 111 can further automatically reconnect to the wireless router to restore the offline state to the online state. During this process, the user is unaware of the offline state of the first home appliance 111, reducing the impact of the offline state on the user.

[0045] Based on the above-mentioned control system of the household appliance, the present application also provides an embodiment of a control method of the household appliance.

[0046] See also Figure 3 , Figure 3This is a flow chart of the first embodiment of the control method for a home appliance provided by this application. The execution subject of this embodiment is the first home appliance, and this embodiment includes the following steps:

[0047] S310: The first household appliance obtains an offline trigger signal.

[0048] When the first household appliance receives the offline trigger signal, it is still in an online state.

[0049] The offline trigger signal is generated, for example, when the first household appliance recognizes that the user has long pressed or repeatedly pressed a certain key, pressed a key combination, issued a gesture command, or issued a voice command.

[0050] S320: The first household appliance responds to the offline trigger signal and switches from the networked state to the non-networked state.

[0051] The first household appliance responds to the offline trigger signal, disconnects from the wireless routing device, and enters a non-networked state from a networked state.

[0052] After the first home appliance enters a non-networked state, it still maintains a communicative state. The non-networked state, for example, the first home appliance is in softAP mode, promiscuous mode, or wireless broadcast scanning mode, so that the first home appliance can form a network with other home appliances.

[0053] S330: The first household appliance receives the first control instruction forwarded by the second household appliance.

[0054] Since the first home appliance is in a non-networked state, it cannot receive the first control instruction sent directly to it by the server. Therefore, the server sends the first control instruction to the second home appliance, which then forwards it to the first home appliance.

[0055] For example, the server stores the binding relationship between the user account and the home appliance. Based on the user account, the server obtains a list of home appliances bound to the user account, and selects one or more home appliances that are in a networked state as the second home appliance. Optionally, the server can also give priority to selecting one or more home appliances that are in the same area as the first home appliance and are in a networked state as the second home appliance based on the area to which the first home appliance belongs. For example, when the first home appliance is a range hood, the area of ​​the first home appliance is the kitchen area, and a dishwasher that is also in the kitchen area can be selected as the second home appliance. For example, the server also stores the local area network networking status between the home appliances in the same family (for example, the home appliances are networked via Bluetooth meth), so as to select the home appliance that is in a networked state and has formed a local area network with the first home appliance as the second home appliance.

[0056] The first control instruction is generated based on the second control instruction and sent to the second home appliance after the server determines that the first home appliance has entered a non-networked state. The second control instruction is a control instruction for the first home appliance sent by the user terminal to the server.

[0057] There are multiple ways for the server to determine that the first home appliance is in the offline state. For example, before entering the offline state, the first home appliance proactively sends a message indicating it has entered the offline mode to the server. The server then records the message indicating that the first home appliance has entered the offline state. Upon receiving the second control instruction, the server can determine that the first home appliance is in the offline state based on the offline message. Alternatively, upon receiving the second control instruction, the server sends the second control instruction to the first home appliance. If the first home appliance fails to respond after a timeout, the server determines that the first home appliance is in the offline state.

[0058] Compared with the first control instruction, the second control instruction has the same instruction content that the first household appliance needs to execute. The difference is that the first control instruction also carries the first identity identification identifier of the first household appliance, while the second control instruction does not carry the first identity identification identifier.

[0059] The first household appliance uses the first identity identification to verify whether the first control instruction is legal, thereby preventing the first household appliance from being bound to the network of other user terminals, being controlled by instructions issued by other user terminals, or erroneously executing instructions used to control other household appliances when the first household appliance is in a non-networked state.

[0060] There are many methods for the server to obtain the first identity identification. The first home appliance may send the first identity identification to the server before entering the offline state, or the first identity identification may be generated by the server according to a preset rule.

[0061] There are multiple methods for the first household appliance to receive the first control instruction sent by the second household appliance.

[0062] For example, the second home appliance can broadcast the first control instruction via wireless broadcast. The wireless broadcast can be a Bluetooth broadcast, a ZigBee broadcast, or a LoRa broadcast. For example, if the wireless broadcast is a Bluetooth broadcast, the first home appliance can scan for the Bluetooth broadcast and receive the first control instruction carried in the Bluetooth broadcast.

[0063] For another example, the second home appliance establishes a point-to-point communication connection with the first home appliance. For example, after the first home appliance enters a non-networked state, it enters a Wi-Fi AP mode. The second home appliance establishes a Wi-Fi connection with the first home appliance in the Wi-Fi AP mode and sends the first control instruction to the first home appliance via the Wi-Fi connection.

[0064] S340: The first household appliance executes the first control instruction.

[0065] After receiving the first control instruction, the first household appliance executes the first control instruction. Specifically, the first household appliance parses the first control instruction and checks whether the first control instruction carries the first identity identification identifier, or whether the first identity identification identifier is accurate. If the first control instruction carries the first identity identification identifier and the first identity identification identifier is accurate, the first control instruction can be determined to be legal, and the first household appliance then executes the operation corresponding to the first control instruction.

[0066] If the first household appliance does not proactively notify the server before entering the offline state, the first identity identification identifier may be generated by the server according to a preset rule. The first household appliance generates a second identity identification identifier according to the same preset rule and compares the first identity identification identifier with the second identity identification identifier. If the first identity identification identifier and the second identity identification identifier are consistent, it can be determined that the first control instruction was issued by the bound user account, rather than by another user account.

[0067] The preset rule is, for example, to use a specified algorithm to calculate a set of random values ​​or the hardware identifier of the first home appliance to obtain a first identity or a second identity. The specified algorithm can be a hash algorithm. Specifically, the server uses the first algorithm to calculate the MAC (Media Access Control Address) of the first home appliance, and the obtained value is added to the second control instruction as the first identity to obtain the first control instruction. The first home appliance uses the second algorithm to calculate the MAC of the first home appliance, and the obtained value is used as the second identity. Alternatively, the server generates a set of random numbers, and the server uses the first algorithm to calculate the random number, and the obtained value is added to the second control instruction as the first identity, and the random number is added to the second control instruction to obtain the first control instruction. The first home appliance parses the first control instruction to obtain the first identity and the random number, and uses the second algorithm to calculate the random number, and the obtained value is used as the second identity.

[0068] If the first identity identifier and the second identity identifier are consistent, it means that the first algorithm and the second algorithm are the same algorithm and their parameters are the same, which can prove that the first control instruction is issued based on a trusted user account and the first home appliance can execute the first control instruction.

[0069] When the first home appliance receives the first control instruction, it indicates that the user desires to control the first home appliance via the user terminal. Therefore, the first home appliance can further automatically reconnect to the wireless router to restore the connection from an offline state. After the first home appliance restores the connection, it can send a message to the server to restore the connection, causing the server to modify the operating state of the first home appliance to a connected state.

[0070] In this embodiment, when the first home appliance switches from a networked state to a non-networked state, the control instruction sent from the user terminal to the first home appliance is received through the second home appliance. In this way, even if the first home appliance is in a non-networked state and inconsistent with the online state displayed by the user terminal, the first control instruction issued by the user can still be executed, thereby keeping the actual operating state of the home appliance consistent with the operating state of the home appliance on the user terminal. This allows the user to control the home appliance through the user terminal without being aware that the first home appliance is offline. The user does not need to manually control the first home appliance to reconnect to the network, which can simplify the control process after the first home appliance goes offline and make the user unaware of the offline state of the first home appliance. In addition, the first control instruction carries a first identity identification identifier, which can improve the security of the first home appliance.

[0071] In some embodiments, to improve the efficiency of the first home appliance receiving the first control instruction, the first home appliance sends a message to the server indicating that it has entered a disconnected state before entering the disconnected state. This allows the server to quickly determine that the first home appliance is disconnected upon receiving the second control instruction, saving both communication time with the first home appliance and waiting time for a response from the first home appliance.

[0072] See also Figure 4 , Figure 4 This is a flow chart of the second embodiment of the control method for a home appliance provided by this application. The execution subject of this embodiment is the first home appliance. This embodiment is based on the first embodiment of the control method for a home appliance, so the same steps are not repeated here. This embodiment includes the following steps:

[0073] S410: The first household appliance obtains an offline trigger signal.

[0074] S420: The first household appliance responds to the offline trigger signal and switches from the networked state to the non-networked state.

[0075] S430: The first household appliance sends a message to the server indicating that it has entered a non-networked state.

[0076] The first home appliance actively sends a message to the server that it has entered a non-networked state, so as to notify the server that the first home appliance has entered a non-networked state. When the first home appliance enters a non-networked state, the first home appliance cannot establish a communication connection with the server.

[0077] The offline message includes a first identity identifier of the first household appliance, which is generated by the first household appliance in response to an event that the first household appliance is about to enter an offline state.

[0078] Optionally, after receiving a message indicating that the first home appliance has entered an offline state, the server records the time the first home appliance entered the offline state, thereby counting the time the first home appliance has been offline. During a preset time period while the first home appliance is offline, the server does not notify the user terminal of the offline state, thereby displaying the first home appliance as online on the user terminal, allowing the user to issue control commands to the first home appliance via the user terminal. If the server determines that the first home appliance has not received a second control command from the user terminal or has not returned to an online state after a preset time period, indicating that the first home appliance may have experienced a power outage or that the offline trigger signal issued to the first home appliance was a subjective desire by the user to take the first home appliance offline, the server will send a message to the user terminal indicating that the first home appliance is offline, causing the user terminal to display the first home appliance as offline. At this point, the user cannot control the first home appliance via the user terminal, thereby alleviating the inconvenience caused by the user's inability to control the first home appliance through the user terminal.

[0079] Optionally, the first home appliance also records the time it entered the offline state and counts the time it remained in the offline state. When the first home appliance determines that it has been in the offline state for a preset time, it reconnects to the wireless router and reconnects to the Internet to restore the online state. Specifically, the first home appliance, for example, stores network configuration information. When the first home appliance determines that it has been in the offline state for a preset time, it uses the network configuration information to access the wireless router to reconnect to the Internet and restore the online state from the offline state.

[0080] The preset time may be, for example, 10 minutes, 15 minutes, 30 minutes, 60 minutes, or 120 minutes, or may be 1 day, 2 days, or a week.

[0081] S440: The first household appliance receives the first control instruction forwarded by the second household appliance.

[0082] The first control instruction carries a first identity identification mark.

[0083] The first control instruction is obtained by adding the first identity identification identifier to the second control instruction after the server receives the second control instruction for the first household appliance from the user terminal, and determining that the time when the first household appliance is in the non-networked state is within a preset time based on the message of entering the non-networked state.

[0084] The method for the first household appliance to receive the first control instruction is the same as S330, so it will not be repeated here.

[0085] S450: The first household appliance executes the first control instruction.

[0086] After verifying that the first control instruction is legal, the first household appliance executes the first control instruction.

[0087] Specifically, the first home appliance parses the first control instruction and checks whether the control instruction carries the first identity identification identifier. If the first control instruction carries the first identity identification identifier, the first home appliance executes the first control instruction.

[0088] S460: The first home appliance connects back to the wireless routing device to restore the network connection.

[0089] This application does not limit the execution order of S450 and S460. S450 may be executed first and then S460, or S460 may be executed first and then S450, or S450 and S460 may be executed simultaneously.

[0090] In this embodiment, before entering the offline state, the first home appliance sends a message to the server indicating that it has entered the offline state. Thus, upon receiving the second control instruction, the server can quickly determine that the first home appliance is in the offline state, saving both communication time with the first home appliance and waiting time for a response from the first home appliance.

[0091] See also Figure 5 , Figure 5 This is a flow chart of the third embodiment of the control method for home appliances provided by this application. The execution subject of this embodiment is a server. This embodiment is based on the first embodiment and the second embodiment of the control method for home appliances, so the same steps are not repeated here. This embodiment includes the following steps:

[0092] S510: The server receives a second control instruction for the first household appliance sent by the user terminal.

[0093] For example, the user terminal has logged into a user account, and the home appliances bound to the user account are displayed on the user terminal. The home appliances bound to the user account include at least a first home appliance and a second home appliance. The second control instruction is generated by the user terminal recognizing a user's voice, gesture, clicking a corresponding position on the screen, or pressing a corresponding button.

[0094] The second control instruction may be an instruction for controlling the first household appliance to turn on, turn off, increase or decrease the gear, or change the working mode of the first household appliance.

[0095] After generating the second control instruction, the user terminal sends the second control instruction to the server.

[0096] The server receives the second control instruction sent by the user terminal, parses the second control instruction, and obtains the target home appliance of the second control instruction, that is, the first home appliance.

[0097] S520: The server determines that the first household appliance is in an offline state.

[0098] There are multiple ways for the server to determine that the first home appliance is in the offline state. For example, before entering the offline state, the first home appliance proactively sends a message indicating it has entered the offline mode to the server. The server then records the message indicating that the first home appliance has entered the offline state. Upon receiving the second control instruction, the server can determine that the first home appliance is in the offline state based on the offline message. Alternatively, upon receiving the second control instruction, the server sends the second control instruction to the first home appliance. If the first home appliance fails to respond after a timeout, the server determines that the first home appliance is in the offline state.

[0099] S530: The server generates a first control instruction based on the second control instruction.

[0100] The specific process of the server generating the first control instruction may refer to the first embodiment S330 or the second embodiment S440 of the method for controlling a household appliance.

[0101] S540: The server sends the first control instruction to the second home appliance, so that the second home appliance sends the first control instruction to the first home appliance.

[0102] The specific process of the server sending the first control instruction to the second home appliance can be referred to the first embodiment S330 or the second embodiment S440 of the method for controlling the home appliance.

[0103] The first embodiment and the second embodiment of the control method of the above-mentioned household appliance are implemented by the household appliance. Therefore, the present application also proposes a household appliance. Figure 6 , Figure 66 is a schematic diagram of the structure of an embodiment of a household appliance provided herein. In this embodiment, household appliance 600 may include a processor 601 and a communication circuit 602, which are interconnected. Communication circuit 602 is configured to communicate with a second household appliance, receive a first control instruction forwarded by the second household appliance, and obtain an offline trigger signal. Processor 601 is configured to respond to the offline trigger signal, switch from a connected state to a disconnected state, and execute the first control instruction.

[0104] The processor 601 may be an integrated circuit chip with signal processing capabilities. The processor 601 may also be a general-purpose processor, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA), or other programmable logic device, a discrete gate or transistor logic device, or a discrete hardware component. The general-purpose processor may be a microprocessor or any conventional processor.

[0105] The third embodiment of the above-mentioned method for controlling household appliances is implemented by a server, so this application also proposes a server, see Figure 7 , Figure 7 : is a structural diagram of an embodiment of a server provided in the present application. The server 700 of this embodiment may include a processor 701, a memory 702, and a communication circuit 703 that are interconnected. Among them, the communication circuit 703 is used to establish a communication connection with the user terminal and the second home appliance, receive the second control instruction for the first home appliance sent by the user terminal, and send the first control instruction to the second home appliance. The processor 701 is used to determine that the first home appliance is in a non-networked state, generate a first control instruction based on the second control instruction, and control the sending of the first control instruction to the second home appliance, so that the second home appliance sends the first control instruction to the first home appliance, and the memory 702 is used to store the second control instruction.

[0106] The processor 701 may be an integrated circuit chip with signal processing capabilities. The processor 701 may also be a general-purpose processor, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA), or other programmable logic device, a discrete gate or transistor logic device, or a discrete hardware component. The general-purpose processor may be a microprocessor, or the processor 701 may be any conventional processor.

[0107] The method of the above embodiment may exist in the form of a computer program, so the present application proposes a computer readable storage medium, see Figure 8 , Figure 8The computer-readable storage medium 800 of this embodiment stores a computer program 801 that can be executed to implement the method of the above embodiment.

[0108] The computer-readable storage medium 800 in this embodiment can be a medium that can store program instructions, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk, or it can also be a server that stores the program instructions. The server can send the stored program instructions to other devices for execution, or it can also execute the stored program instructions itself.

[0109] In the several embodiments provided in this application, it should be understood that the disclosed methods and devices can be implemented in other ways. For example, the device implementation methods described above are only schematic. For example, the division of modules or units is only a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.

[0110] Units described as separate components may or may not be physically separate, and components shown as units may or may not be physical units, that is, they may be located in one place or distributed across multiple network units. Some or all of these units may be selected to achieve the purpose of this embodiment according to actual needs.

[0111] In addition, the functional units in the various embodiments of the present application may be integrated into a single processing unit, or each unit may exist physically separately, or two or more units may be integrated into a single unit. The aforementioned integrated units may be implemented in the form of hardware or software functional units.

[0112] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for enabling a computer device (which can be a personal computer, server, or network device, etc.) or a processor to execute all or part of the steps of each embodiment method of the present application. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.

[0113] The above description is only an implementation method of the present application and does not limit the patent scope of the present application. Any equivalent structure or equivalent process transformation made using the contents of the description and drawings of this application, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present application.

Claims

1. A method for controlling a household appliance, characterized in that: The control method includes: The first household appliance obtains an offline trigger signal; The first household appliance responds to the offline trigger signal and switches from an online state to an offline state; The first household appliance sends a message for entering a non-networked state to the server, where the non-networked message includes a first identity identifier of the first household appliance, so that the server can determine that the first household appliance has entered a non-networked state according to the non-networked message; The first home appliance receives a first control instruction forwarded by the second home appliance; the first control instruction is generated by the server based on the second control instruction and the first identity identification after the server determines that the first home appliance has entered a non-networked state and is sent to the second home appliance; the second control instruction is a control instruction for the first home appliance sent by the user terminal to the server; The first household appliance executes the first control instruction.

2. The control method according to claim 1, characterized in that: The first household appliance executing the first control instruction includes: The first household appliance parses the first control instruction and checks whether the first control instruction carries the first identity identification identifier; In response to the first control instruction carrying the first identity identification identifier, the first household appliance executes the first control instruction.

3. The control method according to claim 1, characterized in that: The first household appliance executing the first control instruction includes: The first household appliance obtains a second identity identification identifier, where the second identity identification identifier is generated based on a preset rule; The first household appliance parses the first control instruction to obtain a first identity identification mark; comparing, by the first household appliance, the second identity identification identifier and the first identity identification identifier to determine whether they are consistent; In response to the second identity identification being consistent with the first identity identification, the first household appliance executes the control instruction.

4. The control method according to claim 1, wherein: The control method further includes: In response to the first control instruction, the first household appliance reconnects to the wireless routing device to restore the networking state.

5. The control method according to claim 1, characterized in that: The first household appliance receiving the first control instruction forwarded by the second household appliance includes: The first household appliance scans and receives the first control instruction broadcast by the second household appliance via wireless broadcast; or The first home appliance establishes a wireless connection with the second home appliance, and the first home appliance receives the first control instruction through the wireless connection.

6. A method for controlling a household appliance, characterized in that: The control method includes: The server receives a message from the first household appliance indicating that the appliance has entered a non-networked state; The server receives a second control instruction for the first household appliance sent by the user terminal; The server determines that the first household appliance is in a non-networked state according to the message of entering a non-networked state; the message of entering a non-networked state includes a first identity identification identifier of the first household appliance; The server adds the first identity identification identifier to the second control instruction to obtain a first control instruction; The server sends the first control instruction to the second home appliance, so that the second home appliance sends the first control instruction to the first home appliance.

7. The control method according to claim 6, characterized in that: The server determines that the first household appliance is in a non-networked state, including: The server sends the second control instruction to the first household appliance; The server detects that the first household appliance times out and does not respond, and determines that the first household appliance is in the offline state.

8. The control method according to claim 6, characterized in that: Before the server sends the first control instruction to the second household appliance, the server includes: The server obtains a list of home appliances corresponding to the user account bound to the first home appliance; The server selects home appliances in the home appliance list that are in a networked state as the second home appliances.

9. A household appliance, characterized in that: The household appliance includes a processor and a communication circuit. The processor is coupled to the communication circuit and executes instructions when working to cooperate with the communication circuit to implement the control method of the household appliance according to any one of claims 1 to 5.

10. A server, characterized in that: The server includes a processor, a memory and a communication circuit. The processor is coupled to the memory and the communication circuit and executes instructions when working to cooperate with the memory and the communication circuit to implement the control method of the household appliance according to any one of claims 6 to 8.

11. A computer-readable storage medium, characterized in that The computer-readable storage medium stores a computer program, and the computer program can be executed by a processor to implement the method for controlling a household appliance according to any one of claims 1 to 8.

Citation Information

Patent Citations

  • Internet-of-things household appliance off-line recovery method and networking module

    CN106961658A

  • Scene configuration method and device for smart home offline voice equipment

    CN110687811A

  • Household appliance control method and device, electronic equipment and storage medium

    CN111983928A