CN117872870A - Control method and device of intelligent equipment, electronic equipment and storage medium - Google Patents

Control method and device of intelligent equipment, electronic equipment and storage medium Download PDF

Info

Publication number
CN117872870A
CN117872870A CN202311804412.6A CN202311804412A CN117872870A CN 117872870 A CN117872870 A CN 117872870A CN 202311804412 A CN202311804412 A CN 202311804412A CN 117872870 A CN117872870 A CN 117872870A
Authority
CN
China
Prior art keywords
timing task
end server
intelligent
intelligent device
connection
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.)
Pending
Application number
CN202311804412.6A
Other languages
Chinese (zh)
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.)
Gree Electric Appliances Inc of Zhuhai
Zhuhai Lianyun Technology Co Ltd
Original Assignee
Gree Electric Appliances Inc of Zhuhai
Zhuhai Lianyun Technology 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 Gree Electric Appliances Inc of Zhuhai, Zhuhai Lianyun Technology Co Ltd filed Critical Gree Electric Appliances Inc of Zhuhai
Priority to CN202311804412.6A priority Critical patent/CN117872870A/en
Publication of CN117872870A publication Critical patent/CN117872870A/en
Pending legal-status Critical Current

Links

Abstract

The invention provides a control method and device of intelligent equipment, electronic equipment and a storage medium, wherein the method comprises the following steps: the intelligent equipment receives a first timing task sent by a back-end server and locally stores the first timing task; detecting connection between the intelligent device and a back-end server before the device time of the intelligent device reaches a first execution time corresponding to a first timing task; and when the connection between the intelligent device and the back-end server is abnormal, executing a first timing task at a first execution time. According to the embodiment of the invention, intelligent equipment in the intelligent home system can flexibly operate in different network environments, and the continuity of basic operation can be maintained even in a network-free state, so that the requirements of users are effectively met.

Description

Control method and device of intelligent equipment, electronic equipment and storage medium
Technical Field
The present invention relates to the technical field of intelligent device control, and in particular, to a control method of an intelligent device, a control apparatus of an intelligent device, an electronic device, and a computer readable storage medium.
Background
With the development of intelligent home technology, more and more intelligent devices (such as intelligent lighting, intelligent air conditioner, intelligent security system, etc.) are controlled through internet connection. However, when the network connection is unstable or broken, these smart devices cannot receive instructions from the central control system, resulting in limited automation management.
Disclosure of Invention
In view of the above problems, it is proposed to provide a control method of an intelligent device, a control apparatus of an intelligent device, an electronic device and a computer-readable storage medium, which overcome or at least partially solve the above problems, comprising:
the control method of the intelligent device is applied to the intelligent device, the intelligent device is in communication connection with a back-end server, and the back-end server is used for sending control instructions to the intelligent device, and the method comprises the following steps:
receiving a first timing task sent by the back-end server, and locally storing the first timing task;
detecting connection between the intelligent device and the back-end server before the device time of the intelligent device reaches a first execution time corresponding to the first timing task;
And when the connection between the intelligent equipment and the back-end server is abnormal, executing the first timing task at the first execution time.
Optionally, the method further comprises:
when the equipment time of the intelligent equipment reaches the first execution time and a second timing task which is sent by the back-end server and conflicts with the first timing task is received, deleting the locally stored first timing task;
and formulating the second timing task at a second execution time corresponding to the second timing task.
Optionally, the detecting the connection between the smart device and the backend server includes:
sending a status packet to the backend server;
when the response of the back-end server to the state packet is not received within a preset time period, judging that the connection between the intelligent device and the back-end server is abnormal;
and when the response of the back-end server to the state packet is received within a preset time period, judging that the connection between the intelligent equipment and the back-end server is not abnormal.
Optionally, the response of the backend server to the status packet is received within a preset duration, and the method further includes:
Judging whether the response of the back-end server to the state packet is abnormal or not;
and when the response of the back-end server to the state packet is abnormal, judging that the connection of the intelligent equipment and the back-end server is abnormal.
Optionally, the method further comprises:
generating an execution log of the timing task of the intelligent device; the execution log comprises execution times and execution time;
and when the connection between the intelligent equipment and the back-end server is not abnormal, sending the execution log to the back-end server.
The embodiment of the invention also provides a control method of the intelligent equipment, which is applied to a back-end server in communication connection with the intelligent equipment, wherein the back-end server is used for sending a control instruction to the intelligent equipment, and the method comprises the following steps:
judging whether the equipment time of the back-end server reaches the time of sending repeated timing tasks or not;
when the equipment time of the back-end server reaches the time of sending repeated timing tasks, sending a first timing task in the repeated timing tasks to the intelligent equipment;
the intelligent device is used for locally storing a first timing task sent by the back-end server after receiving the first timing task; detecting connection between the intelligent device and the back-end server before the device time of the intelligent device reaches a first execution time corresponding to the first timing task; and when the connection between the intelligent equipment and the back-end server is abnormal, executing the first timing task at the first execution time.
Optionally, the method further comprises:
sending a second timing task which conflicts with the first timing task to the intelligent equipment; and the intelligent equipment is used for deleting the first timing task stored locally when receiving the second timing task, and making the second timing task at a second execution time corresponding to the second timing task.
Optionally, the method further comprises:
and receiving a state packet sent by the intelligent equipment, and responding to the state packet to respond to the intelligent equipment.
Optionally, the method further comprises:
receiving an execution log sent by the intelligent equipment; the execution log is generated by the intelligent device for a timing task, and comprises execution times and execution time;
and sending the execution log to the mobile terminal of the user.
Optionally, the method further comprises:
and when detecting that the connection between the intelligent equipment and the back-end server is abnormal, prompting the intelligent equipment to be offline to the mobile terminal of the user.
The embodiment of the invention also provides a control device of the intelligent equipment, which is applied to the intelligent equipment, wherein the intelligent equipment is in communication connection with a back-end server, the back-end server is used for sending a control instruction to the intelligent equipment, and the device comprises:
The storage module is used for receiving a first timing task sent by the back-end server and locally storing the first timing task;
the connection detection module is used for detecting connection between the intelligent equipment and the back-end server before the equipment time of the intelligent equipment reaches the first execution time corresponding to the first timing task;
and the first execution module is used for executing the first timing task at the first execution time when the connection between the intelligent equipment and the back-end server is abnormal.
Optionally, the apparatus further comprises:
the second execution module is used for deleting the locally stored first timing task when the second timing task which is sent by the back-end server and conflicts with the first timing task is received before the equipment time of the intelligent equipment reaches the first execution time; and formulating the second timing task at a second execution time corresponding to the second timing task.
Optionally, the connection detection module is configured to send a status packet to the backend server; when the response of the back-end server to the state packet is not received within a preset time period, judging that the connection between the intelligent device and the back-end server is abnormal; and when the response of the back-end server to the state packet is received within a preset time period, judging that the connection between the intelligent equipment and the back-end server is not abnormal.
Optionally, the connection detection module is further configured to determine whether an abnormality exists in a response of the backend server to the status packet; and when the response of the back-end server to the state packet is abnormal, judging that the connection of the intelligent equipment and the back-end server is abnormal.
Optionally, the apparatus further comprises:
the recording module is used for generating an execution log of the timing task of the intelligent equipment; the execution log comprises execution times and execution time; and when the connection between the intelligent equipment and the back-end server is not abnormal, sending the execution log to the back-end server.
The embodiment of the invention also provides a control device of the intelligent equipment, which is applied to a back-end server in communication connection with the intelligent equipment, wherein the back-end server is used for sending a control instruction to the intelligent equipment, and the device comprises:
the judging module is used for judging whether the equipment time of the back-end server reaches the time of sending repeated timing tasks or not;
the first sending module is used for sending a first timing task in the repeated timing tasks to the intelligent equipment when the equipment time of the back-end server reaches the time for sending the repeated timing tasks;
The intelligent device is used for locally storing a first timing task sent by the back-end server after receiving the first timing task; detecting connection between the intelligent device and the back-end server before the device time of the intelligent device reaches a first execution time corresponding to the first timing task; and when the connection between the intelligent equipment and the back-end server is abnormal, executing the first timing task at the first execution time.
Optionally, the apparatus further comprises:
the second sending module is used for sending a second timing task which conflicts with the first timing task to the intelligent equipment; and the intelligent equipment is used for deleting the first timing task stored locally when receiving the second timing task, and making the second timing task at a second execution time corresponding to the second timing task.
Optionally, the apparatus further comprises:
and the response module is used for receiving the state packet sent by the intelligent equipment and responding to the operation of responding to the intelligent equipment by the state packet.
Optionally, the apparatus further comprises:
the third sending module is used for receiving the execution log sent by the intelligent equipment; the execution log is generated by the intelligent device for a timing task, and comprises execution times and execution time; and sending the execution log to the mobile terminal of the user.
Optionally, the apparatus further comprises:
and the prompt module is used for prompting the intelligent equipment offline to the mobile terminal of the user when detecting that the connection between the intelligent equipment and the back-end server is abnormal.
The embodiment of the invention also provides electronic equipment, which comprises a processor, a memory and a computer program stored on the memory and capable of running on the processor, wherein the computer program realizes the control method of the intelligent equipment when being executed by the processor.
The embodiment of the invention also provides a computer readable storage medium, wherein the computer readable storage medium stores a computer program, and the computer program realizes the control method of the intelligent device when being executed by a processor.
The embodiment of the invention has the following advantages:
in the embodiment of the invention, the intelligent equipment receives a first timing task sent by the back-end server and locally stores the first timing task; detecting connection between the intelligent device and a back-end server before the device time of the intelligent device reaches a first execution time corresponding to a first timing task; and when the connection between the intelligent device and the back-end server is abnormal, executing a first timing task at a first execution time. According to the embodiment of the invention, intelligent equipment in the intelligent home system can flexibly operate in different network environments, and the continuity of basic operation can be maintained even in a network-free state, so that the requirements of users are effectively met.
Drawings
In order to more clearly illustrate the technical solutions of the present invention, the drawings that are needed in the description of the present invention will be briefly described below, it being obvious that the drawings in the following description are only some embodiments of the present invention, and that other drawings may be obtained according to these drawings without inventive effort to a person skilled in the art.
FIG. 1 is a flow chart of steps of a method for controlling an intelligent device according to an embodiment of the present invention;
FIG. 2 is a flow chart of steps of another method for controlling a smart device according to an embodiment of the present invention;
FIG. 3 is a flow chart of steps of another method for controlling a smart device according to an embodiment of the present invention;
FIG. 4 is a flow chart of steps of another method for controlling a smart device according to an embodiment of the present invention;
FIG. 5 is a flow chart of steps of another method for controlling a smart device according to an embodiment of the present invention;
FIG. 6 is a flowchart of the steps for controlling a smart device in accordance with an embodiment of the present invention;
fig. 7 is a schematic structural diagram of a control device of an intelligent device according to an embodiment of the present invention;
fig. 8 is a schematic structural diagram of a control device of another intelligent device according to an embodiment of the present invention.
Detailed Description
In order that the above-recited objects, features and advantages of the present invention will become more readily apparent, a more particular description of the invention will be rendered by reference to the appended drawings and appended detailed description. It will be apparent that the described embodiments are some, but not all, embodiments of the invention. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
Referring to fig. 1, a flowchart illustrating steps of a method for controlling an intelligent device according to an embodiment of the present invention may be applied to an intelligent device, where the intelligent device is communicatively connected to a back-end server, and the back-end server is configured to send a control instruction to the intelligent device.
Specifically, the control method of the intelligent device may include the following steps:
and step 101, receiving a first timing task sent by a back-end server, and locally storing the first timing task.
In some possible embodiments, the smart device may refer to a device with intelligent automatic operation capability in a furniture home appliance, for example: intelligent air conditioners, intelligent curtains, intelligent desk lamps and the like; the user can send the instruction to the intelligent device through the mobile terminal, and the intelligent device can automatically execute the corresponding task after receiving the instruction.
In embodiments of the present invention, a user may need a smart device to perform timed tasks, such as: the curtain is opened at regular time, the air conditioner is opened at regular time, the desk lamp is opened at regular time, and the like; for such scenarios, a user may first perform operations on the mobile terminal that generate timing tasks; in response to this operation, the mobile terminal may generate a timing task, send the timing task to the backend server, and then forward the timing task to the intelligent device for execution by the backend server.
In some possible embodiments, the timing task may be a repetitive timing task, such as: opening curtains at 7 a day, opening air conditioner at 7 a day at night, etc.; when a user needs to set a repeated timing task for the intelligent device, an operation of generating the repeated timing task can be performed on the mobile terminal, and the repeated timing task can be a task aiming at repeated time in a period of time; for example: timed tasks performed at 7 points per day.
After generating the repeated timing task, the mobile terminal can send the repeated timing task to the back-end server; the back-end server, upon receiving the repeated timed task, may send the timed task to the intelligent device before the execution time of the repeated timed task.
In some possible embodiments, the backend server may repeatedly send repeated timing tasks to the smart device; for example, the repeated timed task may be sent to the smart device before the execution time corresponding to the repeated timed task.
The time for transmitting the timing task may be set according to actual conditions, for example: the timing tasks may be sent to the smart device at 00:00 a day with execution time of 07:00 a day.
Specifically, when the device time of the backend server reaches the time of sending the repeated timing tasks, the backend server may send a first timing task of the repeated timing tasks to the intelligent device; the first timing task may be the timing task to be executed by the repeated timing task in the current time period.
After receiving the first timing task, the intelligent device can firstly store the first timing task locally; specifically, the first timing task may be stored locally, so that when the connection between the intelligent device and the backend server is abnormal, the timing task may also be automatically executed based on the locally stored first timing task.
Step 102, detecting connection between the intelligent device and the backend server before the device time of the intelligent device reaches a first execution time corresponding to the first timing task.
In some possible embodiments, before detecting that the device time of the intelligent device reaches the first execution time corresponding to the first timing task, the intelligent device may detect a connection condition between the intelligent device and the backend server;
for example, the connection condition of the intelligent device and the back-end server may be detected within a period of time before the first execution time; the "one-end application" may be set according to actual conditions, for example: the first minute, the first five minutes, etc. of the first execution time, to which embodiments of the present invention are not limited.
And 103, executing a first timing task at a first execution time when the connection between the intelligent device and the back-end server is abnormal.
In some possible embodiments, before the device time of the intelligent device reaches the first execution time corresponding to the first timing task, if an abnormality is detected in connection between the intelligent device and the backend server, the intelligent device may automatically execute the first timing task at the first execution time, so that the intelligent device maintains the continuity of the basic operation in the network-free state, and the requirement of the user can be effectively met.
In other possible embodiments, before the device time of the intelligent device reaches the first execution time corresponding to the first timing task, if it is detected that no abnormality exists in connection between the intelligent device and the backend server, the intelligent device may first keep normal operation; when the device time of the intelligent device reaches the first execution time, the intelligent device can directly execute the first timing task when the intelligent device does not receive other timing tasks which conflict with the first timing task.
In an embodiment of the present invention, the method may further include the following steps:
generating an execution log of the timing task of the intelligent device; the execution log comprises execution times and execution time; and when the connection between the intelligent device and the back-end server is not abnormal, sending an execution log to the back-end server.
In some possible embodiments, to make it possible for a user to know the condition of the intelligent device to perform timing tasks in the off-network state and the on-network state, the intelligent device may generate an execution log of the timing tasks of the intelligent device, which may include the execution times and the execution times.
After the execution log is generated, when the intelligent device detects that the connection between the intelligent device and the back-end server is not abnormal, the execution log can be sent to the back-end server and forwarded to the mobile terminal of the user for display by the back-end server.
In the embodiment of the invention, the intelligent equipment receives a first timing task sent by the back-end server and locally stores the first timing task; detecting connection between the intelligent device and a back-end server before the device time of the intelligent device reaches a first execution time corresponding to a first timing task; and when the connection between the intelligent device and the back-end server is abnormal, executing a first timing task at a first execution time. According to the embodiment of the invention, intelligent equipment in the intelligent home system can flexibly operate in different network environments, and the continuity of basic operation can be maintained even in a network-free state, so that the requirements of users are effectively met.
Referring to fig. 2, a flowchart illustrating steps of another method for controlling an intelligent device according to an embodiment of the present invention may include the steps of:
step 201, receiving a first timing task sent by a back-end server, and locally storing the first timing task.
In some possible embodiments, the user may need the smart device to perform a timed task; for such scenarios, a user may first perform operations on the mobile terminal that generate timing tasks; in response to this operation, the mobile terminal may generate a timing task, send the timing task to the backend server, and then forward the timing task to the intelligent device for execution by the backend server.
The timed task may be a repeated timed task such as: opening curtains at 7 a day, opening air conditioner at 7 a day at night, etc.; when a user needs to set a repeated timing task for the intelligent device, an operation of generating the repeated timing task can be performed on the mobile terminal, and the repeated timing task can be a task aiming at repeated time in a period of time; for example: timed tasks performed at 7 points per day.
After generating the repeated timing task, the mobile terminal can send the repeated timing task to the back-end server; the back-end server, upon receiving the repeated timed task, may send the timed task to the intelligent device before the execution time of the repeated timed task.
In some possible embodiments, the backend server may repeatedly send repeated timing tasks to the smart device; for example, the repeated timed task may be sent to the smart device before the execution time corresponding to the repeated timed task.
The time for sending the timing tasks may be set according to the actual situation, specifically, when the device time of the back-end server reaches the time for sending the repeated timing tasks, the back-end server may send the first timing task of the repeated timing tasks to the intelligent device.
After receiving the first timing task, the intelligent device may first locally store the first timing task.
Step 202, before the device time of the intelligent device reaches the first execution time corresponding to the first timing task, sending a status packet to the backend server.
In some possible embodiments, before detecting that the device time of the intelligent device reaches the first execution time corresponding to the first timing task, the intelligent device may detect a connection condition between the intelligent device and the backend server.
For example, the connection of the smart device to the backend server may be detected for a period of time prior to the first execution time.
Specifically, before the device time of the intelligent device reaches the first execution time corresponding to the first timing task, the intelligent device may send a status packet to the backend server; the status package may be used for operations by the backend server to respond to the smart device, such as: the back-end server is enabled to send information to the intelligent device, so that the intelligent device can determine whether the connection between the intelligent device and the back-end server is abnormal or not.
And 203, judging that the connection between the intelligent device and the back-end server is abnormal when no response of the back-end server to the state packet is received within a preset time period.
In some possible embodiments, if the smart device does not receive the response of the back-end server to the status packet within a preset period of time, it may be determined that there is an abnormality in the connection of the smart device to the back-end server. It may be determined that the backend server may have sent other timed tasks to the smart device, possibly due to a connection anomaly, but that the smart device cannot receive the other timed tasks due to the connection anomaly.
And 204, receiving a response of the back-end server to the state packet within a preset time period, and judging that the connection between the intelligent device and the back-end server is not abnormal.
Otherwise, if the intelligent device receives the response of the back-end server to the state packet within the preset time, the intelligent device can determine that the connection between the intelligent device and the back-end server is abnormal. That is, the smart device may normally receive information from the backend server.
Step 205, executing a first timing task at a first execution time when an abnormality exists in the connection between the intelligent device and the backend server.
In some possible embodiments, when it is determined that there is an abnormality in the connection between the smart device and the backend server, in order that the smart device may maintain continuity of basic operation in a network-free state, the smart device may automatically perform the first timing task in such a case when the device time of the smart device reaches the first execution time.
In the embodiment of the invention, the intelligent equipment can receive the first timing task sent by the back-end server and locally store the first timing task; when the equipment time of the intelligent equipment reaches a first execution time corresponding to a first timing task, sending a state packet to a back-end server; judging that the connection between the intelligent equipment and the back-end server is abnormal if the response of the back-end server to the state packet is not received within a preset time period; when a response of the back-end server to the state packet is received within a preset time period, judging that no abnormality exists in connection between the intelligent equipment and the back-end server; and when the connection between the intelligent device and the back-end server is abnormal, executing a first timing task at a first execution time. According to the embodiment of the invention, intelligent equipment in the intelligent home system can flexibly operate in different network environments, and the continuity of basic operation can be maintained even in a network-free state, so that the requirements of users are effectively met.
Referring to fig. 3, a flowchart illustrating steps of another method for controlling an intelligent device according to an embodiment of the present invention may include the steps of:
Step 301, receiving a first timing task sent by a back-end server, and locally storing the first timing task.
In some possible embodiments, the user may need the smart device to perform a timed task; for such scenarios, a user may first perform operations on the mobile terminal that generate timing tasks; in response to this operation, the mobile terminal may generate a timing task, send the timing task to the backend server, and then forward the timing task to the intelligent device for execution by the backend server.
The timed task may be a repeated timed task such as: opening curtains at 7 a day, opening air conditioner at 7 a day at night, etc.; when a user needs to set a repeated timing task for the intelligent device, an operation of generating the repeated timing task can be performed on the mobile terminal, and the repeated timing task can be a task aiming at repeated time in a period of time; for example: timed tasks performed at 7 points per day.
After generating the repeated timing task, the mobile terminal can send the repeated timing task to the back-end server; the back-end server, upon receiving the repeated timed task, may send the timed task to the intelligent device before the execution time of the repeated timed task.
In some possible embodiments, the backend server may repeatedly send repeated timing tasks to the smart device; for example, the repeated timed task may be sent to the smart device before the execution time corresponding to the repeated timed task.
The time for sending the timing tasks may be set according to the actual situation, specifically, when the device time of the back-end server reaches the time for sending the repeated timing tasks, the back-end server may send the first timing task of the repeated timing tasks to the intelligent device.
After receiving the first timing task, the intelligent device may first locally store the first timing task.
Step 302, when the device time of the intelligent device reaches the first execution time corresponding to the first timing task, sending a status packet to the backend server.
In some possible embodiments, before detecting that the device time of the intelligent device reaches the first execution time corresponding to the first timing task, the intelligent device may detect a connection condition between the intelligent device and the backend server.
For example, the connection of the smart device to the backend server may be detected for a period of time prior to the first execution time.
Specifically, before the device time of the intelligent device reaches the first execution time corresponding to the first timing task, the intelligent device may send a status packet to the backend server.
Step 303, determining that an abnormality exists in connection between the intelligent device and the back-end server when no response of the back-end server to the status packet is received within a preset period of time.
In some possible embodiments, if the smart device does not receive the response of the back-end server to the status packet within a preset period of time, it may be determined that there is an abnormality in the connection of the smart device to the back-end server. It may be determined that the backend server may have sent other timed tasks to the smart device, possibly due to a connection anomaly, but that the smart device cannot receive the other timed tasks due to the connection anomaly.
And 304, receiving a response of the back-end server to the state packet within a preset time period, and judging that the connection between the intelligent equipment and the back-end server is not abnormal.
Otherwise, if the intelligent device receives the response of the back-end server to the state packet within the preset time, the intelligent device can determine that the connection between the intelligent device and the back-end server is abnormal. That is, the smart device may normally receive information from the backend server.
And 305, when a response of the back-end server to the state packet is received within a preset time period, judging whether the response of the back-end server to the state packet is abnormal or not.
In some possible embodiments, if the response of the back-end server to the status packet is received within the preset time period, the intelligent device may further determine whether the response of the back-end server to the status packet is abnormal.
For example, the connection of the smart device to the backend server may also be abnormal beyond a broken network, for example: delay, packet loss, etc.; these other anomalies may also cause the intelligent device to not normally receive the timing tasks sent by the backend server. Based on the above, when the response of the back-end server to the status packet is received within the preset time, it may be firstly determined whether the response of the back-end server to the status packet is abnormal, that is, whether other anomalies except for network disconnection such as delay and packet loss exist.
And 306, when the response of the back-end server to the state packet is abnormal, judging that the connection between the intelligent device and the back-end server is abnormal.
In some possible embodiments, if other anomalies, such as delay, packet loss, and the like, of the response of the back-end server to the status packet are detected, the connection between the intelligent device and the back-end server may also be determined to be abnormal.
Step 307, executing a first timing task at a first execution time when there is an abnormality in the connection between the smart device and the backend server.
Based on the abnormal connection between the intelligent device and the backend server determined in step 303 and step 306, in order to enable the intelligent device to maintain continuity of basic operation in a state without network or in a state with poor network quality, the intelligent device may automatically execute the first timing task when the device time of the intelligent device reaches the first execution time.
In the embodiment of the invention, a first timing task sent by a back-end server is received, and the first timing task is locally stored; when the equipment time of the intelligent equipment reaches a first execution time corresponding to a first timing task, sending a state packet to a back-end server; judging that the connection between the intelligent equipment and the back-end server is abnormal if the response of the back-end server to the state packet is not received within a preset time period; when a response of the back-end server to the state packet is received within a preset time period, judging that no abnormality exists in connection between the intelligent equipment and the back-end server; when a response of the back-end server to the state packet is received within a preset time period, judging whether the response of the back-end server to the state packet is abnormal or not; when the response of the back-end server to the state packet is abnormal, judging that the connection between the intelligent equipment and the back-end server is abnormal; and when the connection between the intelligent device and the back-end server is abnormal, executing a first timing task at a first execution time. According to the embodiment of the invention, intelligent equipment in the intelligent home system can flexibly operate in different network environments, and the continuity of basic operation can be maintained even in a network-free state, so that the requirements of users are effectively met.
Referring to fig. 4, a flowchart illustrating steps of another method for controlling an intelligent device according to an embodiment of the present invention may include the steps of:
step 401, receiving a first timing task sent by a back-end server, and locally storing the first timing task.
In some possible embodiments, the user may need the smart device to perform a timed task; for such scenarios, a user may first perform operations on the mobile terminal that generate timing tasks; in response to this operation, the mobile terminal may generate a timing task, send the timing task to the backend server, and then forward the timing task to the intelligent device for execution by the backend server.
The timed task may be a repeated timed task such as: opening curtains at 7 a day, opening air conditioner at 7 a day at night, etc.; when a user needs to set a repeated timing task for the intelligent device, an operation of generating the repeated timing task can be performed on the mobile terminal, and the repeated timing task can be a task aiming at repeated time in a period of time; for example: timed tasks performed at 7 points per day.
After generating the repeated timing task, the mobile terminal can send the repeated timing task to the back-end server; the back-end server, upon receiving the repeated timed task, may send the timed task to the intelligent device before the execution time of the repeated timed task.
In some possible embodiments, the backend server may repeatedly send repeated timing tasks to the smart device; for example, the repeated timed task may be sent to the smart device before the execution time corresponding to the repeated timed task.
The time for sending the timing tasks may be set according to the actual situation, specifically, when the device time of the back-end server reaches the time for sending the repeated timing tasks, the back-end server may send the first timing task of the repeated timing tasks to the intelligent device.
After receiving the first timing task, the intelligent device may first locally store the first timing task.
Step 402, detecting connection between the intelligent device and the backend server before the device time of the intelligent device reaches a first execution time corresponding to the first timing task.
In some possible embodiments, before detecting that the device time of the intelligent device reaches the first execution time corresponding to the first timing task, the intelligent device may detect a connection condition between the intelligent device and the backend server.
For example, the connection of the smart device to the backend server may be detected for a period of time prior to the first execution time.
Specifically, before the device time of the intelligent device reaches the first execution time corresponding to the first timing task, the intelligent device may send a status packet to the backend server.
Step 403, executing a first timing task at a first execution time when there is an abnormality in connection between the smart device and the backend server.
In some possible embodiments, before the device time of the intelligent device reaches the first execution time corresponding to the first timing task, if an abnormality is detected in connection between the intelligent device and the backend server, the intelligent device may automatically execute the first timing task at the first execution time, so that the intelligent device maintains the continuity of the basic operation in the network-free state, and the requirement of the user can be effectively met.
And step 404, deleting the locally stored first timing task when the second timing task which is transmitted by the back-end server and conflicts with the first timing task is received before the equipment time of the intelligent equipment reaches the first execution time.
In some possible embodiments, if the user needs to make the smart device not execute the first timing task, but execute other timing tasks, an operation of generating a second timing task that conflicts with the first timing task may be executed at the mobile terminal, and in response to the operation, the mobile terminal may generate the second timing task and send the second timing task to the backend server.
The backend server may send the second timed task to the intelligent device after receiving the second timed task.
Before the device time of the intelligent device reaches the first execution time, if a second timing task which is sent by the back-end server and conflicts with the first timing task is received, the intelligent device can delete the locally stored first timing task and locally store the second timing task.
Step 405, executing the second timing task at a second execution time corresponding to the second timing task.
In some possible embodiments, the second timed task may be executed when the device time of the smart device reaches a second execution time corresponding to the second timed task.
In the embodiment of the invention, a first timing task sent by a back-end server is received, and the first timing task is locally stored; detecting connection between the intelligent device and a back-end server before the device time of the intelligent device reaches a first execution time corresponding to a first timing task; when the connection between the intelligent equipment and the back-end server is abnormal, executing a first timing task at a first execution time; and when the equipment time of the intelligent equipment reaches the first execution time and a second timing task which is transmitted by the back-end server and conflicts with the first timing task is received, deleting the locally stored first timing task. According to the embodiment of the invention, intelligent equipment in the intelligent home system can flexibly operate in different network environments, and the continuity of basic operation can be maintained even in a network-free state, so that the requirements of users are effectively met.
In an embodiment of the present invention, a control method of an intelligent device applied to a backend server communicatively connected to the intelligent device is also provided; specifically, referring to fig. 5, a step flowchart of another method for controlling an intelligent device according to an embodiment of the present invention is shown, where the method for controlling an intelligent device may include the following steps:
step 501, it is determined whether the device time of the backend server reaches the time of sending the repeated timing tasks.
In embodiments of the present invention, a user may need a smart device to perform timed tasks, such as: the curtain is opened at regular time, the air conditioner is opened at regular time, the desk lamp is opened at regular time, and the like; for such scenarios, a user may first perform operations on the mobile terminal that generate timing tasks; in response to this operation, the mobile terminal may generate a timing task, send the timing task to the backend server, and then forward the timing task to the intelligent device for execution by the backend server.
In some possible embodiments, the timing task may be a repetitive timing task, such as: opening curtains at 7 a day, opening air conditioner at 7 a day at night, etc.; when a user needs to set a repeated timing task for the intelligent device, an operation of generating the repeated timing task can be performed on the mobile terminal, and the repeated timing task can be a task aiming at repeated time in a period of time; for example: timed tasks performed at 7 points per day.
After generating the repeated timing task, the mobile terminal can send the repeated timing task to the back-end server; the back-end server, upon receiving the repeated timed task, may send the timed task to the intelligent device before the execution time of the repeated timed task.
In some possible embodiments, the backend server may repeatedly send repeated timing tasks to the smart device; for example, the repeated timed task may be sent to the smart device before the execution time corresponding to the repeated timed task.
The time for transmitting the timing task may be set according to actual conditions, for example: the timing tasks may be sent to the smart device at 00:00 a day with execution time of 07:00 a day.
Specifically, the backend server may first determine whether the device time of the backend server reaches the time to send the repeated timing tasks.
Step 502, when the device time of the back-end server reaches the time of sending the repeated timing tasks, sending a first timing task of the repeated timing tasks to the intelligent device. The intelligent device is used for locally storing the first timing task after receiving the first timing task sent by the back-end server; detecting connection between the intelligent device and a back-end server before the device time of the intelligent device reaches a first execution time corresponding to a first timing task; and when the connection between the intelligent device and the back-end server is abnormal, executing a first timing task at a first execution time.
When the device time of the back-end server reaches the time of sending the repeated timing tasks, the back-end server may send a first timing task of the repeated timing tasks to the intelligent device.
After receiving the first timing task, the intelligent device can firstly store the first timing task locally; specifically, the first timing task may be stored locally, so that when the connection between the intelligent device and the backend server is abnormal, the timing task may also be automatically executed based on the locally stored first timing task.
In some possible embodiments, before detecting that the device time of the intelligent device reaches the first execution time corresponding to the first timing task, the intelligent device may detect a connection condition between the intelligent device and the backend server;
for example, the connection condition of the intelligent device and the back-end server may be detected within a period of time before the first execution time; the "one-end application" may be set according to actual conditions, for example: the first minute, the first five minutes, etc. of the first execution time, to which embodiments of the present invention are not limited.
In some possible embodiments, before the device time of the intelligent device reaches the first execution time corresponding to the first timing task, if an abnormality is detected in connection between the intelligent device and the backend server, the intelligent device may automatically execute the first timing task at the first execution time, so that the intelligent device maintains the continuity of the basic operation in the network-free state, and the requirement of the user can be effectively met.
In other possible embodiments, before the device time of the intelligent device reaches the first execution time corresponding to the first timing task, if it is detected that no abnormality exists in connection between the intelligent device and the backend server, the intelligent device may first keep normal operation; when the device time of the intelligent device reaches the first execution time, the intelligent device can directly execute the first timing task when the intelligent device does not receive other timing tasks which conflict with the first timing task.
In an embodiment of the present invention, the steps may further include the following steps:
sending a second timing task conflicting with the first timing task to the intelligent device; the intelligent device is used for deleting the first timing task stored locally when the second timing task is received, and executing the second timing task at a second execution time corresponding to the second timing task.
In some possible embodiments, if the user needs to make the smart device not execute the first timing task, but execute other timing tasks, an operation of generating a second timing task that conflicts with the first timing task may be executed at the mobile terminal, and in response to the operation, the mobile terminal may generate the second timing task and send the second timing task to the backend server.
The backend server may send the second timed task to the intelligent device after receiving the second timed task.
Before the device time of the intelligent device reaches the first execution time, if a second timing task which is sent by the back-end server and conflicts with the first timing task is received, the intelligent device can delete the locally stored first timing task and locally store the second timing task.
In some possible embodiments, the second timed task may be executed when the device time of the smart device reaches a second execution time corresponding to the second timed task.
In an embodiment of the present invention, the steps may further include the following steps:
and receiving a state packet sent by the intelligent equipment, and responding to the state packet to respond to the intelligent equipment.
In some possible embodiments, before detecting that the device time of the intelligent device reaches the first execution time corresponding to the first timing task, the intelligent device may detect a connection condition between the intelligent device and the backend server.
For example, the connection of the smart device to the backend server may be detected for a period of time prior to the first execution time.
Specifically, before the device time of the intelligent device reaches the first execution time corresponding to the first timing task, the intelligent device may send a status packet to the backend server; the status package may be used for operations by the backend server to respond to the smart device, such as: the back-end server is enabled to send information to the intelligent device, so that the intelligent device can determine whether the connection between the intelligent device and the back-end server is abnormal or not.
In an embodiment of the present invention, the steps may further include the following steps:
receiving an execution log sent by intelligent equipment; the execution log is generated by the intelligent device aiming at the timing task and comprises execution times and execution time; and sending the execution log to the mobile terminal of the user.
In some possible embodiments, the intelligent device may send the generated execution log to the backend server when there is no exception in the backend server connection; the candidate server, upon receiving the execution log, may forward to the user's mobile terminal.
For example, after receiving the execution log, the mobile terminal of the user may display the execution log in the interface of the corresponding software, so that the user may view the task execution situation of the intelligent device.
In an embodiment of the present invention, the steps may further include the following steps:
and when detecting that the connection between the intelligent equipment and the back-end server is abnormal, prompting the intelligent equipment to be offline to the mobile terminal of the user.
In some possible embodiments, when the back-end server detects that the connection between the intelligent device and the back-end server is abnormal, the back-end server may also prompt the mobile terminal of the user that the intelligent device is offline, so that the user can know the network connection condition of the intelligent device through the mobile device.
For example, the prompt may correspond to an abnormal time so that the user can know when there is an abnormality in the network connection of the smart device with the backend server.
For example, as shown in fig. 6, a user may first configure a scene for a system of the smart device; the back-end server may then schedule commands (corresponding to the timed tasks) and the intelligent device may store the commands.
In the using process, the intelligent equipment can detect the network state of the intelligent equipment and the back-end server; when in a network-free state (i.e., network connection is abnormal), the intelligent device can directly execute the stored command; otherwise, if the intelligent device is in a network state (i.e. no abnormality exists in network connection), the intelligent device can receive and execute the real-time command sent by the back-end server; the real-time command may be sent by a backend server of the APP (application).
Corresponding information can be fed back to and interacted with by the user whether the network state exists or does not exist.
In some possible embodiments, the user may also set linkage rules between different smart devices, such as: when the safety camera detects the picture change, the bulb is automatically opened, and the embodiment of the invention is not limited to the picture change.
In the embodiment of the invention, the back-end server can judge whether the equipment time of the back-end server reaches the time of sending repeated timing tasks; and when the equipment time of the back-end server reaches the time for sending the repeated timing tasks, sending a first timing task in the repeated timing tasks to the intelligent equipment. The intelligent device is used for locally storing the first timing task after receiving the first timing task sent by the back-end server; detecting connection between the intelligent device and a back-end server before the device time of the intelligent device reaches a first execution time corresponding to a first timing task; and when the connection between the intelligent device and the back-end server is abnormal, executing a first timing task at a first execution time. According to the embodiment of the invention, intelligent equipment in the intelligent home system can flexibly operate in different network environments, and the continuity of basic operation can be maintained even in a network-free state, so that the requirements of users are effectively met.
It should be noted that, for simplicity of description, the method embodiments are shown as a series of acts, but it should be understood by those skilled in the art that the embodiments are not limited by the order of acts, as some steps may occur in other orders or concurrently in accordance with the embodiments. Further, those skilled in the art will appreciate that the embodiments described in the specification are presently preferred embodiments, and that the acts are not necessarily required by the embodiments of the invention.
Referring to fig. 7, a schematic structural diagram of a control device of an intelligent device according to an embodiment of the present invention is applied to the intelligent device, where the intelligent device is communicatively connected to a back-end server, and the back-end server is configured to send a control instruction to the intelligent device, where the control device of the intelligent device may include the following modules:
the storage module 701 is configured to receive a first timing task sent by the back-end server, and store the first timing task locally;
the connection detection module 702 is configured to detect, when a device time of the intelligent device reaches a first execution time corresponding to a first timing task, connection between the intelligent device and a backend server;
The first execution module 703 is configured to execute a first timing task at a first execution time when there is an abnormality in a connection between the smart device and the backend server.
In an alternative embodiment of the present invention, the apparatus further comprises:
the second execution module is used for deleting the locally stored first timing task when receiving a second timing task which is sent by the back-end server and conflicts with the first timing task before the equipment time of the intelligent equipment reaches the first execution time; and executing the second timing task at a second execution time corresponding to the second timing task.
In an alternative embodiment of the present invention, the connection detection module 702 is configured to send a status packet to the backend server; judging that the connection between the intelligent equipment and the back-end server is abnormal if the response of the back-end server to the state packet is not received within a preset time period; and when a response of the back-end server to the state packet is received within a preset time period, judging that the connection between the intelligent equipment and the back-end server is not abnormal.
In an alternative embodiment of the present invention, the connection detection module 702 is further configured to determine whether the response of the backend server to the status packet is abnormal; when the response of the back-end server to the state package is abnormal, judging that the connection of the intelligent device and the back-end server is abnormal.
In an alternative embodiment of the present invention, the apparatus further comprises:
the recording module is used for generating an execution log of the timing task of the intelligent equipment; the execution log comprises execution times and execution time; and when the connection between the intelligent device and the back-end server is not abnormal, sending an execution log to the back-end server.
In the embodiment of the invention, the intelligent equipment receives a first timing task sent by the back-end server and locally stores the first timing task; detecting connection between the intelligent device and a back-end server before the device time of the intelligent device reaches a first execution time corresponding to a first timing task; and when the connection between the intelligent device and the back-end server is abnormal, executing a first timing task at a first execution time. According to the embodiment of the invention, intelligent equipment in the intelligent home system can flexibly operate in different network environments, and the continuity of basic operation can be maintained even in a network-free state, so that the requirements of users are effectively met.
Referring to fig. 8, a schematic structural diagram of a control device of another intelligent device according to an embodiment of the present invention is applied to a back-end server communicatively connected to the intelligent device, where the back-end server is configured to send a control instruction to the intelligent device, and the control device of the intelligent device may include the following modules:
A judging module 801, configured to judge whether a device time of the backend server reaches a time of sending the repeated timing task;
a first sending module 802, configured to send a first timing task of the repeated timing tasks to the intelligent device when the device time of the back-end server reaches the time of sending the repeated timing tasks;
the intelligent device is used for locally storing the first timing task after receiving the first timing task sent by the back-end server; detecting connection between the intelligent device and a back-end server before the device time of the intelligent device reaches a first execution time corresponding to a first timing task; and when the connection between the intelligent device and the back-end server is abnormal, executing a first timing task at a first execution time.
In an alternative embodiment of the present invention, the apparatus further comprises:
the second sending module is used for sending a second timing task which conflicts with the first timing task to the intelligent equipment; the intelligent device is used for deleting the first timing task stored locally when the second timing task is received, and executing the second timing task at a second execution time corresponding to the second timing task.
In an alternative embodiment of the present invention, the apparatus further comprises:
And the response module is used for receiving the state packet sent by the intelligent equipment and responding to the operation of responding to the intelligent equipment by the state packet.
In an alternative embodiment of the present invention, the apparatus further comprises:
the third sending module is used for receiving the execution log sent by the intelligent equipment; the execution log is generated by the intelligent device aiming at the timing task and comprises execution times and execution time; and sending the execution log to the mobile terminal of the user.
In an alternative embodiment of the present invention, the apparatus further comprises:
and the prompt module is used for prompting the user's mobile terminal offline of the intelligent device when detecting that the connection between the intelligent device and the back-end server is abnormal.
In the embodiment of the invention, the intelligent equipment receives a first timing task sent by the back-end server and locally stores the first timing task; detecting connection between the intelligent device and a back-end server before the device time of the intelligent device reaches a first execution time corresponding to a first timing task; and when the connection between the intelligent device and the back-end server is abnormal, executing a first timing task at a first execution time. According to the embodiment of the invention, intelligent equipment in the intelligent home system can flexibly operate in different network environments, and the continuity of basic operation can be maintained even in a network-free state, so that the requirements of users are effectively met.
The embodiment of the invention also provides electronic equipment, which comprises a processor, a memory and a computer program which is stored in the memory and can run on the processor, wherein the computer program realizes the control method of the intelligent equipment when being executed by the processor.
The embodiment of the invention also provides a computer readable storage medium, wherein the computer readable storage medium stores a computer program, and the computer program realizes the control method of the intelligent device when being executed by a processor.
For the device embodiments, since they are substantially similar to the method embodiments, the description is relatively simple, and reference is made to the description of the method embodiments for relevant points.
In this specification, each embodiment is described in a progressive manner, and each embodiment is mainly described by differences from other embodiments, and identical and similar parts between the embodiments are all enough to be referred to each other.
It will be apparent to those skilled in the art that embodiments of the present invention may be provided as a method, apparatus, or computer program product. Accordingly, embodiments of the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, embodiments of the invention may take the form of a computer program product on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) having computer-usable program code embodied therein.
Embodiments of the present invention are described with reference to flowchart illustrations and/or block diagrams of methods, terminal devices (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing terminal device to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing terminal device, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While preferred embodiments of the present invention have been described, additional variations and modifications in those embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. It is therefore intended that the following claims be interpreted as including the preferred embodiment and all such alterations and modifications as fall within the scope of the embodiments of the invention.
Finally, it is further noted that relational terms such as first and second, and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Moreover, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or terminal that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or terminal. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or terminal device comprising the element.
The foregoing has described in detail the principles and embodiments of the present invention with specific examples applied thereto, the foregoing examples being provided to assist in understanding the methods and core concepts thereof; meanwhile, as those skilled in the art will vary in the specific embodiments and application scope according to the idea of the present invention, the present disclosure should not be construed as limiting the present invention in summary.

Claims (14)

1. The control method of the intelligent device is characterized by being applied to the intelligent device, wherein the intelligent device is in communication connection with a back-end server, and the back-end server is used for sending a control instruction to the intelligent device, and the method comprises the following steps:
receiving a first timing task sent by the back-end server, and locally storing the first timing task;
detecting connection between the intelligent device and the back-end server before the device time of the intelligent device reaches a first execution time corresponding to the first timing task;
And when the connection between the intelligent equipment and the back-end server is abnormal, executing the first timing task at the first execution time.
2. The method according to claim 1, wherein the method further comprises:
when the equipment time of the intelligent equipment reaches the first execution time and a second timing task which is sent by the back-end server and conflicts with the first timing task is received, deleting the locally stored first timing task;
and executing the second timing task at a second execution time corresponding to the second timing task.
3. The method of claim 1, wherein the detecting the connection of the smart device to the backend server comprises:
sending a status packet to the backend server;
when the response of the back-end server to the state packet is not received within a preset time period, judging that the connection between the intelligent device and the back-end server is abnormal;
and when the response of the back-end server to the state packet is received within a preset time period, judging that the connection between the intelligent equipment and the back-end server is not abnormal.
4. The method of claim 3, wherein the response of the backend server to the status packet is received within a preset time period, the method further comprising:
Judging whether the response of the back-end server to the state packet is abnormal or not;
and when the response of the back-end server to the state packet is abnormal, judging that the connection of the intelligent equipment and the back-end server is abnormal.
5. The method according to claim 1, wherein the method further comprises:
generating an execution log of the timing task of the intelligent device; the execution log comprises execution times and execution time;
and when the connection between the intelligent equipment and the back-end server is not abnormal, sending the execution log to the back-end server.
6. The control method of the intelligent device is characterized by being applied to a back-end server in communication connection with the intelligent device, wherein the back-end server is used for sending a control instruction to the intelligent device, and the method comprises the following steps:
judging whether the equipment time of the back-end server reaches the time of sending repeated timing tasks or not;
when the equipment time of the back-end server reaches the time of sending repeated timing tasks, sending a first timing task in the repeated timing tasks to the intelligent equipment;
the intelligent device is used for locally storing a first timing task sent by the back-end server after receiving the first timing task; detecting connection between the intelligent device and the back-end server before the device time of the intelligent device reaches a first execution time corresponding to the first timing task; and when the connection between the intelligent equipment and the back-end server is abnormal, executing the first timing task at the first execution time.
7. The method of claim 6, wherein the method further comprises:
sending a second timing task which conflicts with the first timing task to the intelligent equipment; and the intelligent equipment is used for deleting the first timing task stored locally when receiving the second timing task, and making the second timing task at a second execution time corresponding to the second timing task.
8. The method of claim 6, wherein the method further comprises:
and receiving a state packet sent by the intelligent equipment, and responding to the state packet to respond to the intelligent equipment.
9. The method of claim 6, wherein the method further comprises:
receiving an execution log sent by the intelligent equipment; the execution log is generated by the intelligent device for a timing task, and comprises execution times and execution time;
and sending the execution log to the mobile terminal of the user.
10. The method of claim 6, wherein the method further comprises:
and when detecting that the connection between the intelligent equipment and the back-end server is abnormal, prompting the intelligent equipment to be offline to the mobile terminal of the user.
11. The utility model provides a controlling means of smart machine, its characterized in that is applied to in the smart machine, smart machine and backend server communication connection, backend server is used for to the smart machine sends control command, the device includes:
the storage module is used for receiving a first timing task sent by the back-end server and locally storing the first timing task;
the connection detection module is used for detecting connection between the intelligent equipment and the back-end server before the equipment time of the intelligent equipment reaches the first execution time corresponding to the first timing task;
and the first execution module is used for executing the first timing task at the first execution time when the connection between the intelligent equipment and the back-end server is abnormal.
12. A control device of an intelligent device, which is applied to a back-end server in communication connection with the intelligent device, wherein the back-end server is used for sending a control instruction to the intelligent device, and the device comprises:
the judging module is used for judging whether the equipment time of the back-end server reaches the time of sending repeated timing tasks or not;
The first sending module is used for sending a first timing task in the repeated timing tasks to the intelligent equipment when the equipment time of the back-end server reaches the time for sending the repeated timing tasks;
the intelligent device is used for locally storing a first timing task sent by the back-end server after receiving the first timing task; detecting connection between the intelligent device and the back-end server before the device time of the intelligent device reaches a first execution time corresponding to the first timing task; and when the connection between the intelligent equipment and the back-end server is abnormal, executing the first timing task at the first execution time.
13. An electronic device comprising a processor, a memory and a computer program stored on the memory and capable of running on the processor, which computer program, when executed by the processor, implements the method of controlling a smart device according to any one of claims 1 to 10.
14. A computer readable storage medium, characterized in that the computer readable storage medium has stored thereon a computer program which, when executed by a processor, implements a control method of a smart device according to any of claims 1 to 10.
CN202311804412.6A 2023-12-25 2023-12-25 Control method and device of intelligent equipment, electronic equipment and storage medium Pending CN117872870A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311804412.6A CN117872870A (en) 2023-12-25 2023-12-25 Control method and device of intelligent equipment, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311804412.6A CN117872870A (en) 2023-12-25 2023-12-25 Control method and device of intelligent equipment, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN117872870A true CN117872870A (en) 2024-04-12

Family

ID=90594015

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311804412.6A Pending CN117872870A (en) 2023-12-25 2023-12-25 Control method and device of intelligent equipment, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN117872870A (en)

Similar Documents

Publication Publication Date Title
US11782590B2 (en) Scene-operation method, electronic device, and non-transitory computer readable medium
CN109587018A (en) Method, apparatus, network system and the mobile terminal of device configuration
CN111031565B (en) Method and device for identifying off-line state of ZigBee device
CN107370644B (en) Linkage control method and device, computer readable storage medium and computer equipment
US20230289198A1 (en) Configuring application scene
WO2016165242A1 (en) Method of adjusting number of nodes in system and device utilizing same
US10495336B2 (en) Energy operations across domains
EP3171552A1 (en) Energy operations across domains
CN104065526A (en) Server fault alarming method and device thereof
CN111399459A (en) Intelligent household equipment control method, device, equipment and storage medium
CN105471678A (en) Method and system for detecting networking failure reason of household appliance and mobile terminal
CN112415901A (en) Method and device for managing intelligent equipment, computer readable medium and equipment
CN117872870A (en) Control method and device of intelligent equipment, electronic equipment and storage medium
WO2020078355A1 (en) Device state monitoring method and apparatus
CN115190147B (en) Intelligent device control method, device and system
CN115309062A (en) Device control method, device, storage medium, and electronic apparatus
CN104991527B (en) A kind of KNX gateways, control system and control method
CN113412684B (en) Improving automation rules by determining relationships between events and control commands
CN109996100B (en) Control method of intelligent remote controller, storage medium and remote controller
CN112532608B (en) Data processing method and device based on information management system
CN114125010B (en) Centralized controller control method, system and equipment based on MQTT protocol
EP3925418B1 (en) Determining a reachability of an electronic device over multiple wireless communication protocols
CN107562418B (en) Sticker state management method and device
CN117714224A (en) Instruction processing method and device, electronic equipment and storage medium
CN115314531A (en) Information processing method and device and vehicle

Legal Events

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