CN114690650A - Control method of household appliance, server and medium - Google Patents

Control method of household appliance, server and medium Download PDF

Info

Publication number
CN114690650A
CN114690650A CN202011613505.7A CN202011613505A CN114690650A CN 114690650 A CN114690650 A CN 114690650A CN 202011613505 A CN202011613505 A CN 202011613505A CN 114690650 A CN114690650 A CN 114690650A
Authority
CN
China
Prior art keywords
household appliance
control instruction
server
appliance
home
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202011613505.7A
Other languages
Chinese (zh)
Other versions
CN114690650B (en
Inventor
关锦华
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Midea Group Co Ltd
GD Midea Air Conditioning Equipment Co Ltd
Original Assignee
Midea Group Co Ltd
GD Midea Air Conditioning Equipment Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Midea Group Co Ltd, GD Midea Air Conditioning Equipment Co Ltd filed Critical Midea Group Co Ltd
Priority to CN202011613505.7A priority Critical patent/CN114690650B/en
Publication of CN114690650A publication Critical patent/CN114690650A/en
Application granted granted Critical
Publication of CN114690650B publication Critical patent/CN114690650B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B15/00Systems controlled by a computer
    • G05B15/02Systems controlled by a computer electric
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Program-control systems
    • G05B19/02Program-control systems electric
    • G05B19/418Total factory control, i.e. centrally controlling a plurality of machines, e.g. direct or distributed numerical control [DNC], flexible manufacturing systems [FMS], integrated manufacturing systems [IMS] or computer integrated manufacturing [CIM]
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/20Pc systems
    • G05B2219/26Pc applications
    • G05B2219/2642Domotique, domestic, home control, automation, smart house
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Automation & Control Theory (AREA)
  • Manufacturing & Machinery (AREA)
  • Quality & Reliability (AREA)
  • Telephonic Communication Services (AREA)
  • Selective Calling Equipment (AREA)

Abstract

本申请公开了一种家电设备的控制方法、家电设备、服务器及介质。该方法包括如下步骤:第一家电设备获取离线触发信号;第一家电设备响应离线触发信号,由联网状态进入非联网状态;第一家电设备接收第二家电设备转发的第一控制指令;第一控制指令是服务器确定第一家电设备进入非联网状态后,基于第二控制指令生成并发送到第二家电设备的,第二控制指令是用户终端向服务器发出的第一家电设备的控制指令;第一家电设备执行第一控制指令。通过上述方式,本申请能够在家电设备进入非联网状态的情况下仍然能够被用户终端控制。

Figure 202011613505

The present application discloses a control method of a household appliance, a household appliance, a server and a medium. The method includes the following steps: the first household appliance obtains an offline trigger signal; the first household appliance responds to the offline trigger signal and enters a non-networked state from a networked state; the first household appliance receives a first control instruction forwarded by the second household appliance; The control instruction is generated by the server based on the second control instruction and sent to the second household appliance after the server determines that the first household appliance has entered the non-networked state, and the second control instruction is the control instruction of the first household appliance sent by the user terminal to the server; The home appliance executes the first control instruction. In the above manner, the present application can still be controlled by the user terminal even when the home appliance enters the non-networked state.

Figure 202011613505

Description

Control method of household appliance, server and medium
Technical Field
The present application relates to the field of smart home technologies, and in particular, to a control method for a home appliance, a server, and a computer-readable storage medium.
Background
At present, the traditional household appliances are gradually accessed to the field of the internet of things, the concept of the family internet of things is gradually permeated in the life of common people, and the new trend also injects innovation vitality into the traditional household appliance industry. The user can control or acquire the running state of the household appliance through the user terminals such as the mobile phone and the tablet, the running of the household appliance can be remotely controlled or the state of the household appliance can be monitored even if the user is not close to the household appliance, and convenience is brought to the user.
When a user uses networked household appliances, the household appliances are easy to be caused to enter a non-networked state from a networked state by misoperation, and the household appliances in the non-networked state cannot be normally controlled by a user terminal.
In the related art, the operation of re-distributing the network for the household appliance in the non-networking state is complicated, the consumed time is long, and the use of the household appliance by a user based on a user terminal is influenced.
Disclosure of Invention
The application provides a control method of household appliances, the household appliances, a server and a computer readable storage medium, which are used for solving the technical problem that in the related technology, the household appliances enter a non-networking state from a networking state, and a user terminal cannot normally control the household appliances.
In order to solve the technical problem, the present application provides a method for controlling a household appliance. The control method comprises the following steps: the method comprises the steps that a first household appliance device obtains an offline trigger signal; the first household appliance responds to the offline trigger signal and enters a non-networking state from a networking state; the first household appliance receives a first control instruction forwarded by the second household appliance; the first control instruction is generated and sent to the second household appliance based on a second control instruction after the server determines that the first household appliance enters the non-networking state, and the second control instruction is the control instruction of the first household appliance sent to the server by the user terminal; the first household appliance executes the first control instruction.
In order to solve the technical problem, the present application provides a method for controlling a household appliance. The control method comprises the following steps: the server receives a second control instruction of the first household appliance device sent by the user terminal; the server determines that the first household appliance is in a non-networking state; the server generates a first control instruction based on the second control instruction; and the server sends the first control instruction to the second household appliance so that the second household appliance sends the first control instruction to the first household appliance.
In order to solve the technical problem, the application provides a household appliance. The household appliance comprises a processor and a communication circuit, wherein the processor is coupled with the communication circuit and executes instructions in work so as to realize the control method of the household appliance by matching with the communication circuit.
In order to solve the technical problem, the application provides a server. The server comprises a processor, a memory and a communication circuit, wherein the processor is coupled with the memory and the communication circuit and executes instructions during working so as to realize the control method of the household appliance by matching with the memory and the communication circuit.
To solve the above technical problem, the present application provides a computer-readable storage medium. The computer-readable storage medium stores a computer program that can be executed by a processor to implement the image processing method described above.
According to the method and the device, under the condition that the first household appliance device enters the non-networking state from the networking state, the second household appliance device receives the control instruction sent to the first household appliance device from the user terminal. In this way, even if the first household appliance is in the non-networking state, the control instruction initiated by the user terminal can be executed. The user does not need to manually control the first household appliance to re-distribute the network, and the control flow of the first household appliance after being off-line can be simplified, so that the user does not sense the off-line of the first household appliance.
Drawings
Fig. 1 is a schematic structural diagram of an embodiment of a control system of a home appliance provided in the present application;
fig. 2 is an interaction flow diagram of a control system of a home appliance provided in the present application;
fig. 3 is a schematic flowchart of a first embodiment of a method for controlling a home appliance according to the present application;
fig. 4 is a flowchart illustrating a second embodiment of a method for controlling a home appliance according to the present application;
fig. 5 is a schematic flowchart of a third embodiment of a method for controlling a home appliance according to the present application;
fig. 6 is a schematic structural diagram of an embodiment of a home appliance provided in the present application;
FIG. 7 is a schematic block diagram of an embodiment of a server provided in the present application;
FIG. 8 is a schematic structural diagram of an embodiment of a computer-readable storage medium provided in the present application.
Detailed Description
In order to make those skilled in the art better understand the technical solution of the present invention, the method for controlling a home device, the server, and the computer-readable storage medium provided in the present application are described in further detail below with reference to the accompanying drawings and the detailed description.
In the related art, an intelligent household appliance is usually provided with an entity key or a virtual key for a distribution network, and a user presses the distribution network key to enable the household appliance to enter a to-be-distributed mode so as to wait for acquiring distribution network data for networking.
After the household appliance is distributed with a network, the household appliance establishes heartbeat connection with the server, and periodically sends the current state of the household appliance to the server; the user terminal establishes long connection with the server, periodically pulls the state of the household appliance from the server, or receives the running state of the household appliance pushed by the server.
The inventor of the application discovers through long-term research that in the actual use process of the household electrical appliance, a user may mistakenly touch a distribution network key without subjective awareness, or a child or a pet presses the distribution network key under the condition that the user is unaware of the user, so that the networked household electrical appliance enters the off-line state of a network to be distributed again. Therefore, on one hand, the user needs to manually distribute the network for the household electrical appliance again, the program is complicated, the user can be mistaken for automatic offline of the household electrical appliance, and the confidence and the patience of the user on the intelligent household electrical appliance are reduced.
On the other hand, since the home appliance periodically feeds back the current state of the home appliance to the server, the user terminal also periodically obtains the state of the home appliance from the server, the server cannot sense the actual state of the home appliance in time, and the state of the home appliance obtained by the user terminal is delayed from the current actual state of the home appliance, which may cause the state of the home appliance displayed on the user terminal to be asynchronous with the actual state. For example, the household appliance enters the offline state of the network to be distributed due to the fact that the user mistakenly touches the network distribution key, the server senses that the household appliance is offline (one or more heartbeat cycles do not receive heartbeat packets sent by the household appliance) and the user terminal obtains the state of the household appliance, the user terminal still displays the controllable state that the household appliance is online, if the user controls the household appliance through the user terminal during the period, the household appliance cannot respond, for example, the user turns off the air conditioner through the user terminal, and the air conditioner is still in the on state due to the fact that the air conditioner is offline and cannot receive an instruction for turning off the air conditioner, great misunderstanding and inconvenience are brought to the user.
To solve the above technical problem, the present application provides the following embodiments:
referring to fig. 1 and fig. 2, fig. 1 is a schematic structural diagram of an embodiment of a control system of a home appliance provided in the present application; fig. 2 is an interaction flow diagram of a control system of a home appliance provided in the present application.
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 through, for example, a WIFI wireless network, and the user terminal 12 establishes a communication connection with the server 13 through, for example, a WIFI wireless network, a third generation mobile communication technology (3G), a fourth generation mobile communication technology (4G), or a fifth generation mobile communication technology (5G).
The home device 11 includes at least a first home device 111 and a second home device 112. The home device 11 may be an intelligent appliance with a networking function, for example, a communication module (not shown) is installed in the first home device 111 and the second home device 112, and the first home device 111 and the second home device 112 may access the internet based on the communication module and/or perform networking with each other based on the communication module. The first household electrical appliance 111 and the second household electrical appliance 112 may be white household electrical appliances such as a refrigerator, an air conditioner, a washing machine, a range hood, a dish washer or a water heater, black household electrical appliances such as a television or a sound, or any one of small household electrical appliances such as an induction cooker, an electric kettle, a sweeping robot, an electric cooker, an electric fan, a soybean milk machine, a juice extractor, an electric lamp, an intelligent socket or an intelligent curtain.
For example, the first home device 111 and the second home device 112 both belong to the same user, and the first home device 111 and the second home device 112 are both distributed and registered under the user account of the user.
The first and second home devices 111 and 112 may be appliances in the same area. For example, the first home device 111 and the second home device 112 are both located in a living room area, a kitchen area, a room area, a balcony area, a toilet area, or the like. Generally, the home devices in the same area are closer in physical space, and the message transmission efficiency and success rate between the home devices 11 are higher. Of course, the first home device 111 and the second home device 112 may also be appliances in different areas, and the application is not limited thereto.
The user terminal 12 is, for example, a smartphone, a tablet computer, a notebook computer, or a smart wearable device. The user terminal 12 runs, for example, a home appliance control program such as american society APP. The home appliance control program of the user terminal 12 has, for example, a user account registered therein, and the first home appliance device 111 and the second home appliance device 112 are registered under the user account. Based on the home appliance control program logged in to the user account, the user can acquire the operating state of the home appliance 11 and control the home appliance 11 through the user terminal 12.
A user may issue some operation to generate an offline trigger signal while using the first home device 111 or while cleaning the first home device 111. In response to the offline trigger signal, the first home device 111 enters a non-networking state, such as a network to be connected or offline, from the networking state. The offline trigger signal is generated, for example, by the first home device 111 recognizing that the user presses a certain key for a long time or multiple times, combines the keys, and issues a gesture command or a voice command.
Before entering the non-networking state from the networking state, the first home device 111 sends an enter non-networking state message to the server 13 to notify the server 13 to enter the non-networking state. The message entering the non-networking state carries the first identity identifier of the first home device 111. Or, the first home device 111 does not send the message of entering the non-networking state to the server 13, and when the server 13 needs to interact with the first home device, it finds that the first home device 111 is in the non-networking state.
The server 13 maintains, for example, a device operation state table of the home device 11. The operation status table of the home devices 11 includes, for example, a device identifier, a device name, a device status, a device communication address, and the like of each home device 11. Optionally, the device operation status table may further include a region where the device is located, such as a living room region, a kitchen region, a room region, a balcony region, or a toilet region. The area where the equipment is located can be manually added by a user when the user is distributing a network for the household appliance 11, or can be automatically identified by the server 13 according to the appliance type of the household appliance 11, for example, a dishwasher and a range hood are kitchen appliances, and the area where the equipment is located is a kitchen area; the water heater is a bath appliance, and the area of the water heater is a toilet area; the intelligent clothes hanger is an airing electric appliance, and the area is a balcony area and the like.
After acquiring the message that the first home device 111 enters the non-networking state, the server 13 modifies the device state of the first home device 111 in the device operation state table to the non-networking state, and records the time when the first home device 111 enters the non-networking state. In the preset time when the first household appliance 111 enters the non-networking state, the server 13 does not notify the user terminal 12 that the first household appliance 111 enters the non-networking state, during which the first household appliance 111 on the user terminal 12 still displays the online state, and the user can send a control instruction to the first household appliance 111 through the user terminal 12.
The user may not perceive his own operation as causing the first home device 111 to enter the non-networking state and still control the first home device 111 through the user terminal 12. The user terminal 12 recognizes the operation of the user with respect to the first home appliance 111, generates a second control instruction with respect to the first home appliance 111, and then transmits the second control instruction to the server 13.
After receiving the second control instruction, the server 13 analyzes the second control instruction to obtain the first device identifier and the user account of the first home appliance device 111. The server 13 inquires that the first home device 111 has entered the non-networking state according to the first device identifier; alternatively, the server 13 sends the second control command to the first home device 111, but the first home device 111 does not respond after timeout, so as to determine that the first home device 111 is in the non-networking state.
After determining that the first home device 111 is in the non-networking 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 command to obtain the first control command.
The server 13 further stores a binding relationship between a user account and the home devices 11, for example, the server 13 obtains a home device list bound to the user account based on the user account, and selects one or some home devices 11 in a networking state as the second home device 112. Optionally, the server 13 may also preferentially select, as the second home device 112, the home device 11 that is in the same area as the first home device 111 and in the networking state, according to the area to which the first home device 111 belongs. For example, when the first household appliance 111 is a range hood, the area of the first household appliance 111 is a kitchen area, and a dishwasher located in the kitchen area may be selected as the second household appliance 112.
Since the first home device 111 is already in the non-networking state, it cannot receive the first control command directly sent to it by the server 13. The server 13 sends the first control command to the second home device 112, and the second home device 112 sends the first control command to the first home device 111.
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 for itself, and sends the first control instruction to the first home appliance 111.
There are various methods for the second home device 112 to send the first control command to the first home device 111. For example, the second home device 112 may broadcast the first control command in a wireless broadcast manner. To explain that the wireless broadcast is the bluetooth broadcast, the first home appliance 111 scans the bluetooth broadcast and receives a first control instruction carried in the bluetooth broadcast. Also for example, the second home device 112 establishes a peer-to-peer communication connection with the first home device 111. For example, after entering the non-networking state, the first household appliance 111 enters the WIFI AP mode, the second household appliance 112 establishes a WIFI connection with the first household appliance 111 in the WIFI AP mode, and sends the first control instruction to the first household appliance 111 through the WIFI connection.
After receiving the first control command, the first home device 111 executes the first control command. Specifically, the first household appliance 111 parses the first control instruction to obtain the first identification, determines that the first control instruction is legal, and then executes an operation corresponding to the first control instruction. Therefore, even if the first home appliance 111 is in a non-networking state and is inconsistent with the online state displayed by the user terminal, the first control instruction sent by the user can still be executed, so that the actual operation state of the home appliance is kept consistent with the operation state of the home appliance on the user terminal, and the user can still control the home appliance through the user terminal 12 without sensing that the first home appliance 111 is offline. In this period, the user is not informed that the first home appliance 111 is offline, and the user does not need to newly distribute a network for the first home appliance 111, so that user operations can be reduced, and the use efficiency of controlling the first home appliance 111 can be improved.
After entering the non-networking state, the first home device 111 still receives the first control instruction sent by the user through the user terminal, which indicates that the operation of the user that has caused the first home device 111 to go offline may be triggered by an error. Therefore, the first home device 111 can further automatically connect back to the wireless routing device to return from the non-networking state to the networking state. In the process, the user cannot sense the offline of the first home appliance 111, and the influence of the offline of the first home appliance 111 on the user is reduced.
Based on the control system of the household appliance, the application also provides an embodiment of a control method of the household appliance.
Referring to fig. 3, fig. 3 is a schematic flowchart illustrating a first embodiment of a method for controlling a home appliance according to the present application. The execution main body of the embodiment is a first household appliance, and the embodiment includes the following steps:
s310: the first household appliance obtains an offline trigger signal.
When the first household appliance equipment acquires the off-line trigger signal, the first household appliance equipment is still in a networking state.
The offline trigger signal is generated, for example, when the first home appliance recognizes that the user presses a certain key for a long time or for multiple times, combines the keys, and issues a gesture command or a voice command.
S320: and the first household appliance responds to the offline trigger signal and enters a non-networking state from a networking state.
The first household appliance responds to the offline trigger signal, the first household appliance is disconnected from the wireless routing device, and the first household appliance enters the non-networking state from the networking state.
After the first household appliance enters the non-networking state, the first household appliance still maintains a communicable state. The non-networking state may be, for example, the first home device being in a softAP mode, a promiscuous mode, or a wireless broadcast scan mode, such that the first home device is capable of networking with other home devices.
S330: and the first household appliance receives the first control instruction forwarded by the second household appliance.
Since the first home device is already in the non-networking state, the first control instruction directly sent by the server cannot be received. Thus, the server sends the first control command to the second home device, which forwards the first control command to the first home device.
The server stores the binding relationship between the user account and the household appliances, for example, and acquires a household appliance list bound to the user account based on the user account, and selects one or more household appliances in a networking state as second household appliances. Optionally, the server may also preferentially select, as the second home device, one or more home devices that are in the same area as the first home device and are in a networking state, according to the area to which the first home device belongs. For example, when the first household appliance is a range hood, the area of the first household appliance is a kitchen area, and a dishwasher located in the kitchen area can be selected as the second household appliance. The server also stores, for example, a local area network networking status between the home appliances located in the same home (for example, a bluetooth (tm) network is used between the home appliances), and selects a home appliance that is in a networking status and has already formed a local area network with the first home appliance as the second home appliance.
The first control instruction is generated and sent to the second household appliance based on the second control instruction after the server determines that the first household appliance enters the non-networking state. And the second control instruction is a control instruction of the first household appliance sent to the server by the user terminal.
The server determines that the first household appliance is in the non-networking state in various ways, and may be configured to actively send a message of entering the non-networking mode to the server before the first household appliance enters the non-networking state, record a message that the first household appliance enters the non-networking state, and determine that the first household appliance is in the non-networking state based on the non-networking message when the server receives the second control instruction. Or when the server receives the second control instruction, the second control instruction is sent to the first household appliance, and if the first household appliance does not respond after time out, the first household appliance is determined to be in a non-networking state.
The second control instruction is different from the first control instruction in that the first control instruction also carries a first identity identifier of the first household appliance, and the second control instruction does not carry the first identity identifier.
The first household appliance utilizes the first identity identification mark to verify whether the first control instruction is legal or not, so that the first household appliance is prevented from being bound by a distribution network of other user terminals, or being controlled by instructions sent by other user terminals or mistakenly executing instructions for controlling other household appliances when the first household appliance is in a non-networking state.
The method for the server to obtain the first identity identifier is various, and the first household appliance may be sent to the server before entering the non-networking state, or may be generated by the server according to a preset rule.
There are various methods for receiving the first control instruction sent by the second home appliance by the first home appliance.
For example, the second home device may broadcast the first control instruction in a wireless broadcast manner. The wireless broadcast may be a bluetooth broadcast, a ZigBee broadcast, or a LoRa broadcast. The wireless broadcast is used as the bluetooth broadcast for explanation, and the first household appliance can receive the first control instruction carried in the bluetooth broadcast by scanning the bluetooth broadcast.
For example, the second home device establishes a peer-to-peer communication connection with the first home device. For example, after entering the non-networking state, the first household appliance enters the WIFI AP mode, the second household appliance establishes a WIFI connection with the first household appliance in the WIFI AP mode, and sends the first control instruction to the first household appliance through the WIFI connection.
S340: the first household appliance executes the first control instruction.
And after receiving the first control instruction, the first household appliance executes the first control instruction. Specifically, the first home appliance analyzes the first control instruction, and checks whether the first control instruction carries the first identity identifier or whether the first identity identifier is accurate. When the first control instruction carries the first identity identification and the first identity identification is accurate, it can be determined that the first control instruction is legal, and the first household appliance executes the operation corresponding to the first control instruction.
In the event that the server is not actively notified before the first home device enters the non-networked state. The first identity identifier may be generated by the server according to a preset rule. And the first household appliance generates a second identification mark according to the same preset rule, and compares the first identification mark with the second identification mark. If the first identity identifier is consistent with the second identity identifier, it may be determined that the first control command is issued by the bound user account, but not by other user accounts.
The predetermined rule is, for example, a set of random values or a hardware identifier of the first home device is calculated using a specified algorithm, thereby obtaining the first identity or the second identity. The specified algorithm may be a hash algorithm. Specifically, the server uses a first algorithm to calculate a Media Access Control Address (MAC) of the first home appliance device, and adds an obtained value as a first identity identifier to the second Control instruction to obtain the first Control instruction. And the first household appliance uses a second algorithm to calculate the MAC of the first household appliance, and the obtained value is used as a second identity. Or the server generates a group of random numbers, the server uses a first algorithm to calculate the random numbers, the obtained value is used as a first identity identifier and added into a second control instruction, and the random numbers are added into the second control instruction to obtain a first control instruction. The first household appliance analyzes the first control instruction to obtain a first identity and a random number, and the random number is operated by a second algorithm, so that the obtained value is used as a second identity.
If the first identity identifier is consistent with the second identity identifier, it is indicated that the first algorithm and the second algorithm are the same algorithm and the parameters thereof are the same, and it can be proved that the first control instruction is sent based on a trusted user account, and the first household appliance can execute the first control instruction.
The first household appliance receives the first control instruction, and the user is indicated to have the requirement of controlling the first household appliance through the user terminal. Therefore, the first home device can further automatically loop back to the wireless routing device to return from the non-networking state to the networking state. After the first household appliance device recovers the networking state, a message for recovering the networking state can be sent to the server, so that the server modifies the running state of the first household appliance device into the networking state.
In this embodiment, when the first home appliance enters the non-networked state from the networked state, the second home appliance receives a control instruction sent from the user terminal to the first home appliance. Therefore, even if the first household appliance is in a non-networking state and is inconsistent with the online state displayed by the user terminal, the first control instruction sent by the user can still be executed, so that the actual running state of the household appliance is kept consistent with the running state of the household appliance on the user terminal, and the household appliance can still be controlled by the user terminal under the condition that the user does not sense the offline state of the first household appliance. The user does not need to manually control the first household appliance to redistribute the network, the control flow of the first household appliance after being off-line can be simplified, and the user can not sense the off-line of the first household appliance. And moreover, the first control instruction carries the first identity identification, so that the safety of the first household appliance can be improved.
In some embodiments, to improve the efficiency of obtaining the first control instruction by the first home device, the first home device sends a message of entering a non-networked state to the server before entering the non-networked state. Therefore, when the server receives the second control instruction, the first household appliance can be rapidly judged to be in the non-networking state, and the communication time with the first household appliance and the time for waiting for the response of the first household appliance are saved.
Referring to fig. 4, fig. 4 is a flowchart illustrating a second embodiment of a method for controlling a home appliance according to the present application. The execution main body of this embodiment is the first home appliance, and this embodiment is the first embodiment of the home appliance-based control method, so the same steps are not described herein again. The embodiment comprises the following steps:
s410: the first household appliance device acquires an offline trigger signal.
S420: and the first household appliance responds to the offline trigger signal and enters a non-networking state from a networking state.
S430: the first home device sends a message of entering a non-networking state to the server.
The first household appliance device actively sends a message of entering the non-networking state to the server so as to inform the server that the first household appliance device enters the non-networking state. The first household appliance enters a non-networking state, and the first household appliance cannot establish communication connection with the server.
Wherein the non-networked message includes a first identity identifier of the first home device. The first identification is generated by the first home device in response to an event that the first home device will enter a non-networking state.
Optionally, after receiving the message of entering the non-networking state of the first home appliance, the server records the time of entering the non-networking state of the first home appliance, so as to count the time of the first home appliance in the non-networking state. In the preset time period when the first household appliance is in the non-networking state, the server does not inform the user terminal that the first household appliance is in the non-networking state, so that the first household appliance is still displayed in the online state on the user terminal, and a user can send a control instruction to the first household appliance through the user terminal. The server determines that the first household appliance still does not receive a second control instruction sent by the user terminal after the first household appliance exceeds the preset time, or does not recover to a networking state after the first household appliance exceeds the preset time, and the fact that the first household appliance is powered off is indicated, or an offline trigger signal sent by the first household appliance is that a user subjectively wants the first household appliance to be offline, the server sends an offline message of the first household appliance to the user terminal, so that the user terminal displays the offline of the first household appliance, at the moment, the user cannot control the first household appliance through the user terminal, and inconvenience brought to the user due to the fact that the user cannot control the first household appliance through the user terminal is reduced.
Optionally, the first home device also records the time when the first home device enters the non-networking state, and counts the time when the first home device is in the non-networking state. And when the first household appliance determines that the first household appliance enters the non-networking state for the preset time, the first household appliance is connected back to the wireless routing device and accesses the Internet again to recover the networking state. Specifically, the first household appliance stores the distribution network information, for example, and when the first household appliance determines that the first household appliance has entered the non-networking state for a preset time, the first household appliance accesses the wireless routing device by using the distribution network information to re-network, and the non-networking state is recovered to the networking state.
The preset time is, for example, 10 minutes, 15 minutes, 30 minutes, 60 minutes, or 120 minutes, and may be 1 day, 2 days, or one week.
S440: and the first household appliance receives the first control instruction forwarded by the second household appliance.
The first control instruction carries a first identity identification.
The first control instruction is obtained by the server receiving a second control instruction from the user terminal to the first household appliance, determining that the time of the first household appliance in the non-networking state is within the preset time according to the message of entering the non-networking state, and adding the first identification mark into the second control instruction.
The method for receiving the first control command by the first home device is the same as S330, and therefore, the description thereof is omitted.
S450: the first household appliance executes the first control instruction.
And after the first household appliance verifies that the first control instruction is legal, executing the first control instruction.
Specifically, the first household appliance analyzes the first control instruction, and checks whether the control instruction carries the first identity identification. And if the first control instruction carries the first identity identification, the first household appliance executes the first control instruction.
S460: the first home device loops back to the wireless routing device to restore the networking state.
The present application does not limit the execution sequence of S450 and S460, and S450 may be executed first and S460 is executed later, S460 may be executed first and S450 is executed later, or S450 and S460 may be executed simultaneously.
The first home device of this embodiment sends a message of entering a non-networking state to the server before entering the non-networking state. Therefore, when the server receives the second control instruction, the first household appliance can be rapidly judged to be in a non-networking state, and the communication time with the first household appliance and the time for waiting for the response of the first household appliance are saved.
Referring to fig. 5, fig. 5 is a schematic flowchart illustrating a method for controlling a home appliance according to a third embodiment of the present application. The execution subject of this embodiment is a server, and this embodiment is based on the first embodiment of the control method of the home appliance and the second embodiment of the control method of the home appliance, so the same steps are not described herein again. The embodiment comprises the following steps:
s510: and the server receives a second control instruction of the first household appliance sent by the user terminal.
The user terminal is logged in a user account, and household appliances bound with the user account are displayed on the user terminal. The household appliances bound with the user account at least comprise a first household appliance and a second household appliance. The second control instruction is generated by the user terminal through operations of recognizing user voice, gestures, clicking corresponding positions of a screen or pressing corresponding keys and the like.
The second control instruction may be an instruction for controlling the first household appliance to be turned on or off, to be shifted up or down, or to change the operating mode of the first household appliance.
And after the user terminal generates a second control instruction, sending the second control instruction to the server.
And the server receives a second control instruction sent by the user terminal, analyzes the second control instruction and obtains a target household appliance of the second control instruction, namely the first household appliance.
S520: the server determines that the first home device is in a non-networking state.
The server determines that the first household appliance is in the non-networking state in various ways, and may be configured to actively send a message of entering the non-networking mode to the server before the first household appliance enters the non-networking state, record a message that the first household appliance enters the non-networking state, and determine that the first household appliance is in the non-networking state based on the non-networking message when the server receives the second control instruction. Or when the server receives the second control instruction, the second control instruction is sent to the first household appliance, and if the first household appliance does not respond after time out, the first household appliance is determined to be in a non-networking state.
S530: the server generates a first control instruction based on the second control instruction.
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 control method of the home appliance.
S540: and the server sends the first control instruction to the second household appliance so that the second household appliance sends the first control instruction to the first household appliance.
The specific process of the server sending the first control instruction to the second home device may refer to the first embodiment S330 or the second embodiment S440 of the control method of the home device.
The first embodiment and the second embodiment of the method for controlling a home appliance are implemented by a home appliance, so that the present application further provides a home appliance, please refer to fig. 6, where fig. 6 is a schematic structural diagram of an embodiment of a home appliance provided in the present application. The home device 600 of the present embodiment may include a processor 601 and a communication circuit 602 connected to each other. The communication circuit 602 is configured to be in communication connection with a second home appliance, receive a first control instruction forwarded by the second home appliance, and acquire an offline trigger signal. The processor 601 is configured to enter a non-networking state from a networking state in response to the offline trigger signal, and execute the first control instruction.
The processor 601 may be an integrated circuit chip having signal processing capability. 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, discrete gate or transistor logic, discrete hardware components. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The third embodiment of the method for controlling a home appliance is implemented by a server, and therefore the present application further provides a server, please refer to fig. 7, where fig. 7 is a schematic structural diagram of an embodiment of the server provided in the present application. The server 700 of the present embodiment may include a processor 701, a memory 702, and a communication circuit 703 connected to each other. The communication circuit 703 is configured to establish a communication connection with the user terminal and the second home appliance, receive a second control instruction sent by the user terminal to the first home appliance, and send the first control instruction to the second home appliance. The processor 701 is configured to determine that the first home device is in a non-networking state, generate a first control instruction based on the second control instruction, and control to send the first control instruction to the second home device, so that the second home device sends the first control instruction to the first home device, and the memory 702 is configured to store the second control instruction.
The processor 701 may be an integrated circuit chip having signal processing capability. 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, discrete gate or transistor logic, discrete hardware components. A general purpose processor may be a microprocessor or the processor 701 may be any conventional processor or the like.
For the method of the above embodiment, it may exist in the form of a computer program, so that the present application provides a computer readable storage medium, please refer to fig. 8, and fig. 8 is a schematic structural diagram of an embodiment of the computer readable storage medium provided in the present application. The computer-readable storage medium 800 of the present embodiment stores therein a computer program 801 that can be executed to implement the method in the above-described embodiments.
The computer-readable storage medium 800 may be a medium that can store program instructions, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, or may also be a server that stores the program instructions, and the server may send the stored program instructions to other devices for operation, or may self-execute the stored program instructions.
In the several embodiments provided in the present application, it should be understood that the disclosed method and apparatus may be implemented in other manners. For example, the above-described apparatus embodiments are merely illustrative, and for example, a division of a module or a unit is merely a logical division, and an actual implementation may have another division, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
Units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application may be substantially implemented or contributed to by the prior art, or all or part of the technical solution may be embodied in a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, a network device, or the like) or a processor (processor) to execute all or part of the steps of the method according to the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
The above description is only for the purpose of illustrating embodiments of the present application and is not intended to limit the scope of the present application, and all modifications of equivalent structures and equivalent processes, which are made by the contents of the specification and the drawings of the present application or are directly or indirectly applied to other related technical fields, are also included in the scope of the present application.

Claims (14)

1. A control method of a home appliance, the control method comprising:
the method comprises the steps that a first household appliance device obtains an offline trigger signal;
the first household appliance responds to the offline trigger signal and enters a non-networking state from a networking state;
the first household appliance receives a first control instruction forwarded by a second household appliance; the first control instruction is generated based on a second control instruction and sent to the second household appliance after the server determines that the first household appliance enters the non-networking state, and the second control instruction is the control instruction of the first household appliance sent to the server by the user terminal;
and the first household appliance executes the first control instruction.
2. The control method of claim 1, wherein before the first home device enters the non-networking state from the networking state in response to the offline trigger signal, the method comprises:
the first household appliance device sends a message of entering a non-networking state to the server, wherein the non-networking message comprises a first identity identification mark of the first household appliance device, so that the server can determine that the first household appliance device enters the non-networking state according to the non-networking message, and the first control instruction is generated based on the second control instruction and the first identity identification mark.
3. The control method of claim 2, wherein the first home device executing the first control instruction comprises:
the first household appliance analyzes the first control instruction and checks whether the first control instruction carries the first identity identification;
and responding to the first control instruction carrying the first identity identification, and executing the first control instruction by the first household appliance.
4. The control method of claim 1, wherein the first home device executing the first control instruction comprises:
the first household appliance equipment acquires a second identification mark, and the second identification mark is generated based on a preset rule;
the first household appliance device analyzes the first control instruction to obtain a first identity identification;
the first household appliance compares whether the second identification mark is consistent with the first identification mark;
and the first household appliance executes the control command in response to the second identification being consistent with the first identification.
5. The control method according to claim 1, characterized by further comprising:
responding to the first control instruction, and enabling the first household appliance to loop back the wireless routing device so as to recover the networking state.
6. The control method according to claim 1, wherein the receiving, by the first home device, the first control instruction forwarded by the second home device comprises:
the first household appliance scans and receives the first control instruction wirelessly broadcasted by the second household appliance; or
And the first household appliance equipment and the second household appliance equipment establish wireless connection, and the first household appliance equipment receives the first control instruction through the wireless connection.
7. A control method of a home appliance, the control method comprising:
the server receives a second control instruction of the first household appliance device sent by the user terminal;
the server determines that the first household appliance is in a non-networking state;
the server generates a first control instruction based on the second control instruction;
and the server sends the first control instruction to second household electrical appliance equipment, so that the second household electrical appliance equipment sends the first control instruction to the first household electrical appliance equipment.
8. The method of claim 7, wherein the server determines that the first home device enters the non-networking state before entering the non-networking state, comprising:
the server receives a message of entering a non-networking state sent by the first household appliance;
the server determines that the first household appliance is in a non-networking state, and the method comprises the following steps:
and the server determines that the first household appliance is in the non-networking state according to the message of entering the non-networking state.
9. The method of claim 8, wherein the message entering the non-networking state comprises a first identity identifier of the first home device, and wherein the server generates a first control command based on the second control command, comprising:
and the server adds the first identity identification mark into the second control instruction to obtain the first control instruction.
10. The method of claim 7, wherein the server determining that the first home device is in a non-networked state comprises:
the server sends the second control instruction to the first household appliance;
and the server monitors that the first household appliance is overtime and does not respond, and determines that the first household appliance is in the non-networking state.
11. The method according to claim 7, wherein before the server sends the first control command to the second home device, the method comprises:
the server acquires a household appliance list corresponding to the user account bound with the first household appliance;
and the server screens the household appliances in the networking state in the household appliance list as the second household appliance.
12. An electrical home appliance comprising a processor and a communication circuit, wherein the processor is coupled to the communication circuit and executes instructions in operation to cooperate with the communication circuit to implement the method of controlling an electrical home appliance according to any one of claims 1 to 6.
13. A server, comprising a processor, a memory, and a communication circuit, wherein the processor is coupled to the memory and the communication circuit and is configured to execute instructions in operation to implement the method for controlling an electrical home device of any one of claims 7 to 11 in cooperation with the memory and the communication circuit.
14. A computer-readable storage medium, characterized in that it stores a computer program executable by a processor to implement the method of controlling an electric home appliance according to any one of claims 1 to 11.
CN202011613505.7A 2020-12-30 2020-12-30 Control method for household appliance, household appliance, server and medium Active CN114690650B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011613505.7A CN114690650B (en) 2020-12-30 2020-12-30 Control method for household appliance, household appliance, server and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011613505.7A CN114690650B (en) 2020-12-30 2020-12-30 Control method for household appliance, household appliance, server and medium

Publications (2)

Publication Number Publication Date
CN114690650A true CN114690650A (en) 2022-07-01
CN114690650B CN114690650B (en) 2025-10-03

Family

ID=82131661

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011613505.7A Active CN114690650B (en) 2020-12-30 2020-12-30 Control method for household appliance, household appliance, server and medium

Country Status (1)

Country Link
CN (1) CN114690650B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116208643A (en) * 2023-02-28 2023-06-02 云镝智慧科技有限公司 Equipment state data acquisition method, industrial Internet of things platform and related devices
TWI857604B (en) * 2023-05-12 2024-10-01 蕭進興 Method and system for increasing the number of members of a specific website by using a range hood
CN120808775A (en) * 2025-07-15 2025-10-17 深圳市集贤科技有限公司 Intelligent switching-based pet equipment voice control method and system

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106961658A (en) * 2017-03-09 2017-07-18 广东美的制冷设备有限公司 Internet of things home appliance equipment off-line restoration methods and networking module
CN207301673U (en) * 2017-10-20 2018-05-01 成都六零加信息技术有限公司 Control device and intelligent home control system
CN108183844A (en) * 2018-02-06 2018-06-19 四川虹美智能科技有限公司 A kind of intelligent home appliance voice control method, apparatus and system
CN110687811A (en) * 2019-10-25 2020-01-14 青岛海信智慧家居系统股份有限公司 Method and device for scene configuration of smart home offline voice equipment
CN111243589A (en) * 2020-01-14 2020-06-05 佛山市顺德区美的洗涤电器制造有限公司 Control method of household appliance, household appliance and computer readable storage medium
CN111722534A (en) * 2019-03-19 2020-09-29 佛山市顺德区美的电热电器制造有限公司 Equipment control method, device, equipment and storage medium
CN111983928A (en) * 2019-05-22 2020-11-24 广东美的制冷设备有限公司 Household appliance control method and device, electronic equipment and storage medium

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106961658A (en) * 2017-03-09 2017-07-18 广东美的制冷设备有限公司 Internet of things home appliance equipment off-line restoration methods and networking module
CN207301673U (en) * 2017-10-20 2018-05-01 成都六零加信息技术有限公司 Control device and intelligent home control system
CN108183844A (en) * 2018-02-06 2018-06-19 四川虹美智能科技有限公司 A kind of intelligent home appliance voice control method, apparatus and system
CN111722534A (en) * 2019-03-19 2020-09-29 佛山市顺德区美的电热电器制造有限公司 Equipment control method, device, equipment and storage medium
CN111983928A (en) * 2019-05-22 2020-11-24 广东美的制冷设备有限公司 Household appliance control method and device, electronic equipment and storage medium
CN110687811A (en) * 2019-10-25 2020-01-14 青岛海信智慧家居系统股份有限公司 Method and device for scene configuration of smart home offline voice equipment
CN111243589A (en) * 2020-01-14 2020-06-05 佛山市顺德区美的洗涤电器制造有限公司 Control method of household appliance, household appliance and computer readable storage medium

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116208643A (en) * 2023-02-28 2023-06-02 云镝智慧科技有限公司 Equipment state data acquisition method, industrial Internet of things platform and related devices
TWI857604B (en) * 2023-05-12 2024-10-01 蕭進興 Method and system for increasing the number of members of a specific website by using a range hood
CN120808775A (en) * 2025-07-15 2025-10-17 深圳市集贤科技有限公司 Intelligent switching-based pet equipment voice control method and system

Also Published As

Publication number Publication date
CN114690650B (en) 2025-10-03

Similar Documents

Publication Publication Date Title
CN105830397B (en) Method, portable operating device, system for switching household appliances between at-home mode and away-from-home mode
CN103916982B (en) Intelligent appliance equipment accesses the method and apparatus of wireless router
CN114690650B (en) Control method for household appliance, household appliance, server and medium
WO2017129124A1 (en) Smart appliance control method and smart appliance
CN105634887B (en) Network control method for kitchen household appliance
CN104539504B (en) An event triggering method and device
US20140379860A1 (en) Method for communicating data between a domestic appliance and a user terminal, a domestic appliance, and a system comprising a domestic appliance and a user terminal
CN108011726A (en) A kind of household electrical appliances distribution method and system
CN104765291A (en) Method, device and gateway for controlling intelligent device
CN103237056A (en) Equipment terminal, control terminal, server and equipment terminal controlling method
CN111614523A (en) Control method of household appliance, intelligent terminal and household appliance
CN107204902A (en) Intelligent domestic system and its control method, Centralized Controller
CN111241921B (en) Message reminder method and device for Internet of Things operating system
CN112867041B (en) Network distribution method of household appliance, mobile terminal and medium
CN106707978A (en) Method of transferring intelligent household control right through address book and the address book
CN112558762A (en) Household appliance control method, household appliance, management system and storage medium
CN115175152B (en) Smart device binding method and device, storage medium and electronic device
CN107517145A (en) The Internet of things system of the network equipment and intelligent appliance
CN104601909B (en) TV set control method, television set and intelligent home network
CN106521868A (en) Washing machine, household appliance system and control method thereof
CN114808363A (en) NFC household appliance system
US20250088415A1 (en) Electrical device network configuration method and apparatus, and computer-readable storage medium
CN105788229A (en) An electric appliance remote control method and device and a remove controller
WO2024016539A1 (en) Device control method and apparatus, and storage medium and electronic apparatus
CN115001887A (en) Method and device for sending login identification, storage medium and electronic device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant