Search

CN-121978976-A - Control method and device of intelligent household equipment, electronic equipment and storage medium

CN121978976ACN 121978976 ACN121978976 ACN 121978976ACN-121978976-A

Abstract

The invention discloses a control method and device of intelligent household equipment, electronic equipment and a storage medium, and belongs to the field of intelligent household control. When the connection between the cloud and the home host is interrupted, a temporary center is selected from at least one intelligent home device, a user instruction is received through the temporary center, the corresponding intelligent home device is controlled according to the instruction, log data of the intelligent home device are recorded and stored through the temporary center, when the connection is restored to be normal, the log data are uploaded to the cloud through the temporary center for data synchronization, and after the synchronization is completed, the control authority of the temporary center is released. By lowering the intelligent decision-making capability to the local intelligent home equipment, the equipment automatically establishes a temporary control network for coordination cooperation through election, so that the host can control the intelligent home equipment to execute key equipment operation and automatic linkage in an off-line state, automatically synchronizes the state after the network is restored and returns control rights, and a user does not need manual intervention in the off-line and restoration stages.

Inventors

  • Zhong Aolin
  • LI SHAOBIN
  • TANG JIE
  • CHEN DAOYUAN
  • LI YU

Assignees

  • 珠海格力电器股份有限公司
  • 珠海联云科技有限公司

Dates

Publication Date
20260505
Application Date
20251224

Claims (10)

  1. 1. The control method of the intelligent household equipment is characterized by comprising the following steps of: When the connection between the cloud and the home host is interrupted, selecting a temporary center from at least one intelligent home device; receiving a user instruction through the temporary center, and controlling corresponding intelligent household equipment according to the user instruction; Recording log data of the intelligent home equipment through the temporary center and storing the log data; When the connection between the cloud end and the home host is recovered to be normal, uploading the log data to the cloud end through the temporary center, synchronizing the data through the cloud end, and releasing the control authority of the temporary center after the synchronization is completed.
  2. 2. The method for controlling smart home devices according to claim 1, wherein the electing a temporary hub from at least one smart home device comprises: acquiring state parameters of the at least one intelligent home device, wherein the state parameters comprise at least one of a device power supply type, available computing resources and a network topology position; and selecting a temporary center from the at least one intelligent home device according to the state parameters of the at least one intelligent home device.
  3. 3. The method for controlling smart home devices according to claim 1, wherein the controlling the corresponding smart home device according to the user instruction includes: Determining that the user instruction is a simple control instruction or a complex scene instruction; when the type of the user instruction is a simple control instruction, a control command is issued to the corresponding intelligent household equipment through the temporary center so as to control the corresponding intelligent household equipment; When the type of the user instruction is a complex scene instruction, controlling a plurality of corresponding intelligent home devices to execute linkage operation through the temporary center according to a preset scene logic rule and the user instruction.
  4. 4. The control method of smart home devices according to claim 3, further comprising: the preset scene logic rule is configured through the cloud when the cloud is normally connected with the home host, and is sent to the at least one intelligent home device through the home host.
  5. 5. The method for controlling an intelligent home device according to claim 3, wherein the determining that the user command is a simple control command or a complex scene command comprises: if the user instruction is a voice instruction, the voice instruction is recognized through intelligent home equipment with an offline voice recognition function, and an instruction text is obtained; and determining the user instruction as a simple control instruction or a complex scene instruction according to the instruction text.
  6. 6. The control method of the smart home device according to claim 1, wherein the log data includes content of an execution instruction of the smart home device, an execution time stamp, and status change information of the smart home device.
  7. 7. The method for controlling an intelligent home device according to claim 6, wherein the performing data synchronization through the cloud comprises: comparing the stored first state data of the intelligent home equipment with the second state data of the intelligent home equipment recorded in the log data through a cloud; And if the first state data is inconsistent with the second state data, synchronizing with the state data with the nearest timestamp.
  8. 8. An apparatus for controlling smart home devices, comprising: The election module is used for electing a temporary center from at least one intelligent home device when the connection between the cloud and the home host is interrupted; the control module is used for receiving a user instruction through the temporary center and controlling corresponding intelligent household equipment according to the user instruction; The recording module is used for recording log data of the intelligent household equipment through the temporary center and storing the log data; And the synchronization module is used for uploading the log data to the cloud through the temporary center when the connection between the cloud and the home host is recovered to be normal, synchronizing the data through the cloud, and releasing the control authority of the temporary center after the synchronization is completed.
  9. 9. An electronic device comprising a processor, a memory and a program or instruction stored on the memory and executable on the processor, which when executed by the processor, implements the steps of the method of controlling a smart home device as claimed in claims 1-7.
  10. 10. A readable storage medium, characterized in that the readable storage medium has stored thereon a program or instructions which, when executed by a processor, implement the steps of the control method of a smart home device according to claims 1-7.

Description

Control method and device of intelligent household equipment, electronic equipment and storage medium Technical Field The invention belongs to the technical field of intelligent home control, and particularly relates to a control method of intelligent home equipment, a control device of the intelligent home equipment, electronic equipment and a computer readable storage medium. Background The current intelligent home system severely depends on cloud service, a home host is used as a home hub, the work flow is mainly that user instructions (central control and APP) are sent to the home host and the cloud server are sent to home host issuing equipment, the current flow has a great defect, when the home network is in a broken network state, the following problems exist, logic judgment and execution such as scene linkage, voice control and automation rules depend on the cloud, when the cloud and the host cannot be normally connected, the functions are directly disabled, namely, once the home network is disconnected or the home host fails, the system falls into paralysis, any automation scene, linkage control or emergency operation cannot be executed, and single-point fault risks and usability bottlenecks exist. Disclosure of Invention The embodiment of the invention aims to provide a control method of intelligent household equipment, a control device of the intelligent household equipment, electronic equipment and a corresponding computer readable storage medium, which can solve the problem of functional failure of an intelligent household system in an off-line state of a home host or a network. In order to solve the technical problems, the invention is realized as follows: in a first aspect, an embodiment of the present invention provides a method for controlling an intelligent home device, where the method includes: When the connection between the cloud and the home host is interrupted, selecting a temporary center from at least one intelligent home device; receiving a user instruction through the temporary center, and controlling corresponding intelligent household equipment according to the user instruction; Recording log data of the intelligent home equipment through the temporary center and storing the log data; When the connection between the cloud end and the home host is recovered to be normal, uploading the log data to the cloud end through the temporary center, synchronizing the data through the cloud end, and releasing the control authority of the temporary center after the synchronization is completed. Optionally, the selecting a temporary hub from at least one smart home device includes: acquiring state parameters of the at least one intelligent home device, wherein the state parameters comprise at least one of a device power supply type, available computing resources and a network topology position; and selecting a temporary center from the at least one intelligent home device according to the state parameters of the at least one intelligent home device. Optionally, the controlling the corresponding smart home device according to the user instruction includes: Determining that the user instruction is a simple control instruction or a complex scene instruction; when the type of the user instruction is a simple control instruction, a control command is issued to the corresponding intelligent household equipment through the temporary center so as to control the corresponding intelligent household equipment; When the type of the user instruction is a complex scene instruction, controlling a plurality of corresponding intelligent home devices to execute linkage operation through the temporary center according to a preset scene logic rule and the user instruction. Optionally, the method further comprises: the preset scene logic rule is configured through the cloud when the cloud is normally connected with the home host, and is sent to the at least one intelligent home device through the home host. Optionally, the determining that the user instruction is a simple control instruction or a complex scene instruction includes: if the user instruction is a voice instruction, the voice instruction is recognized through intelligent home equipment with an offline voice recognition function, and an instruction text is obtained; and determining the user instruction as a simple control instruction or a complex scene instruction according to the instruction text. Optionally, the log data includes content of the intelligent home device execution instruction, an execution time stamp, and status change information of the intelligent home device. Optionally, the performing data synchronization through the cloud includes: comparing the stored first state data of the intelligent home equipment with the second state data of the intelligent home equipment recorded in the log data through a cloud; And if the first state data is inconsistent with the second state data, synchronizing with the state data with the nearest times