CN106227055B - Method for controlling intelligent household equipment, server and gateway - Google Patents

Method for controlling intelligent household equipment, server and gateway Download PDF

Info

Publication number
CN106227055B
CN106227055B CN201610791947.8A CN201610791947A CN106227055B CN 106227055 B CN106227055 B CN 106227055B CN 201610791947 A CN201610791947 A CN 201610791947A CN 106227055 B CN106227055 B CN 106227055B
Authority
CN
China
Prior art keywords
scene mode
controlled
gateway
control type
smart home
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201610791947.8A
Other languages
Chinese (zh)
Other versions
CN106227055A (en
Inventor
王艳青
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hisense Co Ltd
Original Assignee
Hisense 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 Hisense Co Ltd filed Critical Hisense Co Ltd
Priority to CN201610791947.8A priority Critical patent/CN106227055B/en
Publication of CN106227055A publication Critical patent/CN106227055A/en
Application granted granted Critical
Publication of CN106227055B publication Critical patent/CN106227055B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B15/00Systems controlled by a computer
    • G05B15/02Systems controlled by a computer electric
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/418Total factory control, i.e. centrally controlling a plurality of machines, e.g. direct or distributed numerical control [DNC], flexible manufacturing systems [FMS], integrated manufacturing systems [IMS] or computer integrated manufacturing [CIM]
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/20Pc systems
    • G05B2219/26Pc applications
    • G05B2219/2642Domotique, domestic, home control, automation, smart house

Landscapes

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

Abstract

The invention discloses a method for controlling intelligent household equipment, a server and a gateway, and belongs to the technical field of intelligent household. The method comprises the following steps: when a triggering condition of a first scene mode is reached, determining controlled intelligent household equipment corresponding to the first scene mode according to a pre-stored corresponding relation between the scene mode and the controlled intelligent household equipment; and if the controlled intelligent home equipment corresponding to the first scene mode comprises the controlled intelligent home equipment of the server control type, sending a control instruction to the controlled intelligent home equipment of the server control type, wherein the control instruction carries control information of the controlled intelligent home equipment of the server control type in the first scene mode. By adopting the invention, network resources can be saved.

Description

Method for controlling intelligent household equipment, server and gateway
Technical Field
The invention relates to the technical field of intelligent home, in particular to a method, a server and a gateway for controlling intelligent home equipment.
Background
With the continuous development of electronic technology, smart homes based on electronic technology are increasingly popularized in the lives of people. The smart home can contain a plurality of smart home devices, such as smart fans, smart air conditioners, smart lights, and the like. The user can control and manage the intelligent household devices through the cloud server so as to improve the intelligent living standard.
The intelligent home can be preset with a plurality of scene modes, and each scene mode can comprise a plurality of controlled intelligent home devices and control information of each controlled intelligent home device in the scene mode. The method includes that a user can select a scene mode to be used in a control terminal (such as a mobile phone) of the smart home, the control terminal can send a starting request corresponding to the scene mode to a server of the smart home, the server can determine controlled smart home devices corresponding to the scene mode and control information of each controlled smart home device in the scene mode, and then control instructions are sent to the controlled smart home devices respectively. For example, after the user selects the first scene, the server may send an open command to the air conditioner, a close command to the window, and an open command to the lamp.
In the process of implementing the invention, the inventor finds that the prior art has at least the following problems:
the number of controlled smart home devices corresponding to the scene mode is usually large, and correspondingly, the number of control instructions to be sent by the cloud server is also large, which may occupy a large amount of network resources.
Disclosure of Invention
In order to solve the problems in the prior art, embodiments of the present invention provide a method, a server, and a gateway for controlling an intelligent home device. The technical scheme is as follows:
in a first aspect, a method for controlling smart home devices is provided, where the method includes:
when a triggering condition of a first scene mode is reached, determining controlled intelligent household equipment corresponding to the first scene mode according to a pre-stored corresponding relation between the scene mode and the controlled intelligent household equipment;
and if the controlled intelligent home equipment corresponding to the first scene mode comprises the controlled intelligent home equipment of the server control type, sending a control instruction to the controlled intelligent home equipment of the server control type, wherein the control instruction carries control information of the controlled intelligent home equipment of the server control type in the first scene mode.
Optionally, the method further includes:
if the controlled intelligent home equipment corresponding to the first scene mode contains the controlled intelligent home equipment of the gateway control type, sending a starting instruction of the first scene mode to a gateway so that the gateway sends a control instruction to the controlled intelligent home equipment of the gateway control type, wherein the control instruction carries control information of the controlled intelligent home equipment of the gateway control type in the first scene mode.
Optionally, when the trigger condition of the first scene mode is met, determining the controlled smart home devices corresponding to the first scene mode according to the pre-stored correspondence between the scene mode and the controlled smart home devices, including:
when a starting request corresponding to a first scene mode is received, according to a pre-stored corresponding relation between the scene mode and the controlled intelligent household equipment, determining the controlled intelligent household equipment corresponding to the first scene mode.
Optionally, when the trigger condition of the first scene mode is met, determining the controlled smart home devices corresponding to the first scene mode according to the pre-stored correspondence between the scene mode and the controlled smart home devices, including:
when the starting time of the first scene mode is reached, determining controlled intelligent household equipment corresponding to the first scene mode according to the corresponding relation between the prestored scene mode and the controlled intelligent household equipment.
Optionally, when the trigger condition of the first scene mode is met, determining the controlled smart home devices corresponding to the first scene mode according to the pre-stored correspondence between the scene mode and the controlled smart home devices, including:
acquiring state information of conditional intelligent household equipment in a first scene mode;
and if the state information of the conditional smart home equipment meets the preset state condition, determining the controlled smart home equipment corresponding to the first scene mode according to the corresponding relation between the prestored scene mode and the controlled smart home equipment.
Optionally, the obtaining of the state information of the conditional smart home device in the first scene mode includes: receiving state information sent by the conditional intelligent household equipment; or,
the method for acquiring the state information of the conditional smart home devices in the first scene mode comprises the following steps: and receiving the state information of the conditional intelligent household equipment sent by the gateway.
Optionally, after the sending the control instruction to the server-controlled smart home device, the method further includes:
receiving state information of the controlled intelligent home equipment of the gateway control type corresponding to the first scene mode, which is sent by a gateway, and acquiring the state information of the controlled intelligent home equipment of the server control type corresponding to the first scene mode;
and sending the state information of the controlled intelligent home equipment of the gateway control type corresponding to the first scene mode and the state information of the controlled intelligent home equipment of the server control type corresponding to the first scene mode to a user terminal.
In a second aspect, a method for controlling smart home devices is provided, where the method includes:
when a triggering condition of a first scene mode is reached, determining controlled intelligent household equipment of a gateway control type corresponding to the first scene mode according to a pre-stored corresponding relation between the scene mode and the controlled intelligent household equipment of the gateway control type;
and sending a control instruction to the controlled intelligent home equipment of the gateway control type corresponding to the first scene mode, wherein the control instruction carries control information of the controlled intelligent home equipment of the gateway control type corresponding to the first scene mode in the first scene mode.
Optionally, when the trigger condition of the first scene mode is reached, determining, according to a pre-stored correspondence between the scene mode and the controlled smart home device of the gateway control type, the controlled smart home device of the gateway control type corresponding to the first scene mode, includes:
receiving a starting instruction corresponding to a first scene mode sent by a server, and determining controlled intelligent household equipment of a gateway control type corresponding to the first scene mode according to a pre-stored corresponding relation between the scene mode and the controlled intelligent household equipment of the gateway control type.
Optionally, when the trigger condition of the first scene mode is reached, determining, according to a pre-stored correspondence between the scene mode and the controlled smart home device of the gateway control type, the controlled smart home device of the gateway control type corresponding to the first scene mode, includes:
when the starting time of the first scene mode is reached, determining the controlled intelligent household equipment of the gateway control type corresponding to the first scene mode according to the corresponding relation between the prestored scene mode and the controlled intelligent household equipment of the gateway control type.
Optionally, when the trigger condition of the first scene mode is reached, determining, according to a pre-stored correspondence between the scene mode and the controlled smart home device of the gateway control type, the controlled smart home device of the gateway control type corresponding to the first scene mode, includes:
receiving state information sent by conditional intelligent household equipment in a first scene mode, wherein the conditional intelligent household equipment is controlled intelligent household equipment in a gateway control type;
and if the state information of the conditional intelligent household equipment meets the preset state condition, determining the controlled intelligent household equipment of the gateway control type corresponding to the first scene mode according to the corresponding relation between the prestored scene mode and the controlled intelligent household equipment of the gateway control type.
Optionally, the method further includes:
and sending the state information of the conditional smart home equipment to a server, so that when the state information of the conditional smart home equipment meets a preset state condition, the server determines the controlled smart home equipment corresponding to the first scene mode according to the corresponding relation between the prestored scene mode and the controlled smart home equipment.
Optionally, after the control instruction is sent to the controlled smart home device of the gateway control type, the method further includes:
and acquiring the state information of the controlled intelligent household equipment of the gateway control type corresponding to the first scene mode, and sending the acquired state information to a server.
In a third aspect, a server is provided, which includes:
the determining module is used for determining the controlled intelligent household equipment corresponding to the first scene mode according to the corresponding relation between the prestored scene mode and the controlled intelligent household equipment when the triggering condition of the first scene mode is reached;
the first sending module is configured to send a control instruction to the controlled smart home device of the server control type if the controlled smart home device corresponding to the first scene mode includes the controlled smart home device of the server control type, where the control instruction carries control information of the controlled smart home device of the server control type in the first scene mode.
Optionally, the server further includes:
and the second sending module is configured to send a starting instruction of the first scene mode to a gateway if the controlled smart home devices corresponding to the first scene mode include controlled smart home devices of a gateway control type, so that the gateway sends a control instruction to the controlled smart home devices of the gateway control type, where the control instruction carries control information of the controlled smart home devices of the gateway control type in the first scene mode.
Optionally, the determining module is configured to:
when a starting request corresponding to a first scene mode is received, according to a pre-stored corresponding relation between the scene mode and the controlled intelligent household equipment, determining the controlled intelligent household equipment corresponding to the first scene mode.
Optionally, the determining module is configured to:
when the starting time of the first scene mode is reached, determining controlled intelligent household equipment corresponding to the first scene mode according to the corresponding relation between the prestored scene mode and the controlled intelligent household equipment.
Optionally, the determining module includes:
the obtaining submodule is used for obtaining state information of the conditional intelligent household equipment in the first scene mode;
and the determining submodule is used for determining the controlled intelligent household equipment corresponding to the first scene mode according to the corresponding relation between the prestored scene mode and the controlled intelligent household equipment if the state information of the conditional intelligent household equipment meets the preset state condition.
Optionally, the conditional smart home device is a server control type controlled smart home device, and the obtaining sub-module is configured to: receiving state information sent by the conditional intelligent household equipment; or,
the conditional smart home device is a gateway control type controlled smart home device, and the obtaining submodule is configured to: and receiving the state information of the conditional intelligent household equipment sent by the gateway.
Optionally, the server further includes:
the receiving module is used for receiving the state information of the controlled intelligent home equipment of the gateway control type corresponding to the first scene mode, which is sent by the gateway, and acquiring the state information of the controlled intelligent home equipment of the server control type corresponding to the first scene mode;
and the third sending module is used for sending the state information of the controlled intelligent home equipment of the gateway control type corresponding to the first scene mode and the state information of the controlled intelligent home equipment of the server control type corresponding to the first scene mode to the user terminal.
In a fourth aspect, there is provided a gateway, comprising:
the determining module is used for determining the controlled intelligent household equipment of the gateway control type corresponding to the first scene mode according to the corresponding relation between the prestored scene mode and the controlled intelligent household equipment of the gateway control type when the triggering condition of the first scene mode is reached;
the first sending module is configured to send a control instruction to the controlled smart home device of the gateway control type corresponding to the first scene mode, where the control instruction carries control information of the controlled smart home device of the gateway control type corresponding to the first scene mode in the first scene mode.
Optionally, the determining module is configured to:
receiving a starting instruction corresponding to a first scene mode sent by a server, and determining controlled intelligent household equipment of a gateway control type corresponding to the first scene mode according to a pre-stored corresponding relation between the scene mode and the controlled intelligent household equipment of the gateway control type.
Optionally, the determining module is configured to:
when the starting time of the first scene mode is reached, determining the controlled intelligent household equipment of the gateway control type corresponding to the first scene mode according to the corresponding relation between the prestored scene mode and the controlled intelligent household equipment of the gateway control type.
Optionally, the determining module includes:
the receiving submodule is used for receiving state information sent by conditional intelligent household equipment in a first scene mode, and the conditional intelligent household equipment is controlled intelligent household equipment in a gateway control type;
and the determining submodule is used for determining the controlled intelligent household equipment corresponding to the first scene mode according to the corresponding relation between the prestored scene mode and the controlled intelligent household equipment if the state information of the conditional intelligent household equipment meets the preset state condition.
Optionally, the gateway further includes:
and the second sending module is used for sending the state information of the conditional smart home equipment to the server so that the server determines the controlled smart home equipment corresponding to the first scene mode according to the corresponding relation between the prestored scene mode and the controlled smart home equipment when the state information of the conditional smart home equipment meets the preset state condition.
Optionally, the gateway further includes:
and the third sending module is used for obtaining the state information of the controlled intelligent household equipment of the gateway control type corresponding to the first scene mode and sending the obtained state information to the server.
The technical scheme provided by the embodiment of the invention has the following beneficial effects:
in the embodiment of the invention, when the triggering condition of the first scene mode is reached, the controlled intelligent home equipment corresponding to the first scene mode is determined according to the pre-stored corresponding relationship between the scene mode and the controlled intelligent home equipment, if the controlled intelligent home equipment corresponding to the first scene mode contains the controlled intelligent home equipment of the server control type, a control instruction is sent to the controlled intelligent home equipment of the server control type, the control instruction carries the control information of the controlled intelligent home equipment of the server control type in the first scene mode, and based on the processing, the server does not need to send the control instruction to the controlled intelligent home equipment of the non-server control type, so that the number of the control instructions sent by the server can be reduced, and network resources are saved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
FIG. 1 is a system framework diagram provided by an embodiment of the present invention;
fig. 2 is a flowchart of a method for controlling smart home devices according to an embodiment of the present invention;
fig. 3 is a flowchart of a method for controlling smart home devices according to an embodiment of the present invention;
fig. 4 is a flowchart of a method for controlling smart home devices according to an embodiment of the present invention;
fig. 5 is a flowchart of a method for controlling smart home devices according to an embodiment of the present invention;
fig. 6 is a flowchart of a method for controlling smart home devices according to an embodiment of the present invention;
fig. 7 is a schematic structural diagram for controlling smart home devices according to an embodiment of the present invention;
fig. 8 is a schematic structural diagram of a server according to an embodiment of the present invention;
fig. 9 is a schematic structural diagram of a server according to an embodiment of the present invention;
fig. 10 is a schematic structural diagram of a server according to an embodiment of the present invention;
fig. 11 is a schematic structural diagram of a server according to an embodiment of the present invention;
fig. 12 is a schematic structural diagram of a gateway according to an embodiment of the present invention;
fig. 13 is a schematic structural diagram of a gateway according to an embodiment of the present invention;
fig. 14 is a schematic structural diagram of a gateway according to an embodiment of the present invention;
fig. 15 is a schematic structural diagram of a gateway according to an embodiment of the present invention;
fig. 16 is a schematic structural diagram of a server according to an embodiment of the present invention;
fig. 17 is a schematic structural diagram of a gateway according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, embodiments of the present invention will be described in detail with reference to the accompanying drawings.
The embodiment of the invention provides a method for controlling intelligent household equipment. The server can be a background server of the smart home, such as a cloud server. The server may include a processor, a memory, and a transceiver. The processor may be configured to determine whether a trigger condition of the first scene mode is met, the memory may store the controlled smart home devices corresponding to the scene modes and control information of each controlled smart home device in the scene modes, and the transceiver may be configured to send a control instruction to the controlled smart home devices and send an opening instruction of the first scene mode to the gateway. In addition, the server may also include components such as a communication interface and a power supply. As shown in fig. 1, the system framework diagram of the embodiment of the present invention includes a server, a gateway, and a controlled smart home device, where the controlled smart home device includes a smart refrigerator, a smart air conditioner, and a smart lamp, where the smart refrigerator and the smart air conditioner are controlled smart home devices controlled by the server, and the smart lamp is controlled smart home devices controlled by the gateway, which is only an example, and is not intended to limit the system framework of the embodiment of the present invention.
It should be noted that the smart home devices according to the embodiments of the present invention include one or more home appliances selected from a smart television, a smart air conditioner, a smart toilet, a smart window magnet, a smart refrigerator, a smart washing machine, a smart audio, a smart electric cooker, a smart alarm clock, and a smart lighting device, which are not limited in the embodiments of the present invention.
As shown in fig. 2, the processing flow of the method may include the following steps:
step 201, when a trigger condition of the first scene mode is reached, determining the controlled smart home devices corresponding to the first scene mode according to a pre-stored corresponding relationship between the scene mode and the controlled smart home devices.
In implementation, the server may store a plurality of scene modes of the smart home in advance, each scene mode may include a plurality of controlled smart home devices and control information of each controlled smart home device in the scene mode, and the information may be stored in a form of a correspondence table, as shown in tables 1 to 5 in this embodiment. The controlled smart home devices in the smart home can be at least divided into controlled smart home devices of a server control type and controlled smart home devices of a gateway control type based on the difference of the control devices. The server control type controlled intelligent household equipment can be controlled by the server, and correspondingly, encapsulation and analysis of control information and state information of the server control type controlled intelligent household equipment are finished by the server, such as white-light controlled intelligent household equipment of a refrigerator, an air conditioner and the like; the gateway control type controlled intelligent home equipment can be controlled by the gateway, and correspondingly, the encapsulation and analysis of control information and state information of the gateway control type controlled intelligent home equipment are finished by the gateway, such as an intelligent lamp, an intelligent window, an intelligent curtain and the like.
It should be noted that the controlled smart home devices corresponding to a certain scene mode may all be controlled smart home devices of a server control type, may also all be controlled smart home devices of a gateway control type, may also include both the controlled smart home devices of the server control type and the controlled smart home devices of the gateway control type, and the specific situation may be set by a technician or a user at will.
The server may further store the trigger conditions of each scene mode, and when the trigger conditions of a certain scene mode (which may be referred to as a first scene mode) are reached, the server may determine the controlled smart home device corresponding to the first scene mode according to a pre-stored correspondence between the scene mode and the controlled smart home device. The trigger condition of the scene mode can be set by a user or a technician. The trigger condition of the scene mode may be various, and the category of the scene mode may include at least a click-through scene mode, a timing scene mode, and a conditional scene mode, based on the difference in the trigger condition. The embodiment provides a processing procedure for starting a scene mode by a server under different types of scene modes, which is specifically as follows:
in case one, the first scene mode is a click-to-click scene mode, and accordingly, the processing procedure of step 201 may be as follows: when a starting request corresponding to the first scene mode is received, the controlled intelligent household equipment corresponding to the first scene mode is determined according to the corresponding relation between the prestored scene mode and the controlled intelligent household equipment.
The click-type scene mode may be a scene mode triggered to be opened by a user clicking an option corresponding to the scene mode.
In implementation, the user may click an option corresponding to the first scene mode on the user terminal to start the first scene mode. The user terminal may be a mobile terminal such as a mobile phone or a tablet computer, or may be a PC (personal computer), which is not limited in this embodiment. The user terminal may be installed with an application program for controlling the smart home, the user may start the application program on the user terminal, the user terminal may display a scene mode list of the smart home, the user may select a desired scene mode (i.e., a first scene mode) in the scene mode list, the user terminal may receive a selection instruction corresponding to the first scene mode, and then may send a start request corresponding to the first scene mode to the server, where the start request may carry an identifier of the first scene mode. After receiving the opening request, the server can determine the controlled intelligent home equipment corresponding to the first scene mode according to the corresponding relationship between the prestored scene mode and the controlled intelligent home equipment, so as to control the controlled intelligent home equipment corresponding to the first scene mode.
In case two, the first scenario mode is a timing scenario mode, and accordingly, the processing procedure in step 201 may be as follows: and when the starting time of the first scene mode is reached, determining the controlled intelligent household equipment corresponding to the first scene mode according to the pre-stored corresponding relation between the scene mode and the controlled intelligent household equipment.
Wherein the timed scene mode may be a scene mode that is turned on when a specified turn-on time is reached.
In implementation, the on-time corresponding to the first scene mode may be set by a user or a technician. The server can obtain current time information in real time, and when the starting time corresponding to the first scene mode is reached, the server can determine the controlled intelligent home equipment corresponding to the first scene mode according to the corresponding relation between the prestored scene mode and the controlled intelligent home equipment so as to control the controlled intelligent home equipment corresponding to the first scene mode.
In case three, the first scenario mode is a conditional scenario mode, and accordingly, the processing procedure of step 201 may be as follows: acquiring state information of conditional intelligent household equipment in a first scene mode; and if the state information of the intelligent household equipment meets the preset state condition, determining the controlled intelligent household equipment corresponding to the first scene mode according to the corresponding relation between the prestored scene mode and the controlled intelligent household equipment.
The conditional scene mode may be a scene mode that is started when the conditional smart home device corresponding to the scene mode is in a specific state.
In implementation, for the condition scene modes, a user or a technician may set the condition smart home device corresponding to each condition scene mode and the specific state corresponding to each condition smart home device, and the server may store the condition smart home device corresponding to each condition scene mode and the specific state corresponding to each condition smart home device, where a specific storage form may refer to table 4. When the server acquires the state information of the conditional smart home device, the server can determine a scene mode (namely a first scene mode) corresponding to the conditional smart home device, and can judge whether the state information of the conditional smart home device meets a preset state condition, if the state information of the conditional smart home device meets the preset state condition, the controlled smart home device corresponding to the first scene mode can be determined according to a corresponding relation between the prestored scene mode and the controlled smart home device, so that the controlled smart home device corresponding to the first scene mode can be controlled. For example, the condition smart home device is an air conditioner, and the preset state condition may be that the air conditioner is in an on state.
The method for acquiring the state information of the conditional smart home device by the server can be various, and the embodiment provides two feasible processing methods:
in a first mode, for the condition that the conditional smart home device is a server-controlled type controlled smart home device, the server may receive the state information sent by the conditional smart home device.
In implementation, the conditional smart home device may obtain current state information of the conditional smart home device, and then may directly send the state information to the server through the network, and the server may receive the state information sent by the conditional smart home device.
And in a second mode, for the condition that the conditional smart home equipment is controlled by the gateway control type controlled smart home equipment, the server can receive the state information of the conditional smart home equipment sent by the gateway.
In implementation, after acquiring the current state information of the conditional smart home device, the conditional smart home device may send the state information to the gateway, and the gateway may report the state information of the conditional smart home device to the server.
Step 202, if the controlled smart home devices corresponding to the first scene mode include the controlled smart home devices of the server control type, sending a control instruction to the controlled smart home devices of the server control type, where the control instruction carries control information of the controlled smart home devices of the server control type in the first scene mode.
In implementation, after the server determines the controlled smart home devices corresponding to the first scene mode, the server may obtain the control types of the smart home devices, and then determine whether the determined controlled smart home devices include the controlled smart home devices of the server control type. If the determined controlled smart home devices include the controlled smart home devices of the server control type, the server may obtain control information of the controlled smart home devices of each server control type in the first scene mode, and then send a control instruction to the controlled smart home devices of each server control type, where the control instruction carries the control information of the controlled smart home devices of the server control type in the first scene mode, so that the controlled smart home devices of the server control type adjust their states according to the control information. Control information of the server control type controlled smart home device in the first scene mode may be determined based on table 3, where the control information may include a control parameter and a parameter value of the control parameter.
Optionally, if the controlled smart home device corresponding to the first scene mode includes the controlled smart home device of the gateway control type, the server may send the start instruction of the first scene mode to the gateway, so that the gateway sends the control instruction to the controlled smart home device of the gateway control type, where the control instruction carries the control information of the controlled smart home device of the gateway control type in the first scene mode.
In implementation, the server may further determine whether the determined controlled smart home devices include controlled smart home devices of a gateway control type. If the controlled intelligent household equipment corresponding to the first scene mode comprises the controlled intelligent household equipment of the gateway control type, the server may send a start instruction of the first scene mode to the gateway, where the start instruction may carry an identifier of the first scene mode, such as an ID of the first scene mode, so that the gateway can determine the controlled intelligent home equipment of the gateway control type corresponding to the first scene mode according to the corresponding relationship between the prestored scene mode and the controlled intelligent home equipment of the gateway control type, and further send a control instruction to the controlled intelligent home equipment of the determined gateway control type, the control instruction may carry control information of the gateway control type controlled smart home device in the first scene mode, and the controlled intelligent household equipment of the gateway control type can adjust the state of the controlled intelligent household equipment according to the control information. The processing of the gateway will be described in detail later. The control information of the controlled smart home device of the gateway control type in the first scene mode may be determined based on table 3.
Optionally, the server may further collect control results of the smart home devices, and send the control results to the user terminal, where the corresponding processing procedure may be as follows: receiving state information of controlled intelligent home equipment of a gateway control type corresponding to a first scene mode sent by a gateway, and acquiring state information of controlled intelligent home equipment of a server control type corresponding to the first scene mode; and sending the state information of the controlled intelligent home equipment of the gateway control type corresponding to the first scene mode and the state information of the controlled intelligent home equipment of the server control type corresponding to the first scene mode to the user terminal.
In implementation, for the situation that the controlled smart home devices corresponding to the first scene mode include the controlled smart home devices of the gateway control type, the controlled smart home devices of the gateway control type may adjust their states according to the control information, and then send the adjusted state information to the gateway, the gateway reports the received state information to the server, and the server may receive the state information of the controlled smart home devices of the gateway control type corresponding to the first scene mode, which is sent by the gateway. In addition, after the controlled smart home devices of the server control type adjust the states of the controlled smart home devices according to the control information, the adjusted state information can be sent to the server, and the server can receive the state information sent by the controlled smart home devices of the server control type, so that the server can obtain the state information of each smart home device corresponding to the first scene mode, and then can send the obtained state information to the user terminal, so that the user can obtain the state information of each smart home device corresponding to the first scene mode after the first scene mode is started.
The embodiment further provides an information table stored by the server, which is exemplified as follows:
TABLE 1 Equipment Table
DevID DevType Type DevName
0001 001 1 Air conditioner
0002 002 2 Lamp with a light source
0003 003 2 Window curtain
0004 004 2 Infrared device 1
0005 005 2 Window
The system comprises a DevType, a DevID and an air conditioner, wherein the DevType and the DevID are identifications of intelligent household equipment, the Devname is the name of the intelligent household equipment, and 001 is the air conditioner; 002 is a lamp; 003 is a curtain; 004 is an infrared device; 005 is a window.
The Type is the control Type of the intelligent household equipment, and 1 represents the control Type of the server; and 2 denotes a gateway control type.
TABLE 2 scene Table
SceneID SceneType IsSynchronized SceneName
1 1 1 Scenel
2 1 1 Scene2
3 2 1 Scene3
4 2 1 Scene4
5 3 1 Scene5
Wherein, SceneID is a scene mode ID, i.e. an identifier of a scene mode, and SceneType is a type of the scene mode, for example, 1 is a click-type scene mode; 2 is a conditional scene mode; and 3 is a timing scene mode.
Table 3 scene content table
index DevID OperationCode OperationValue SceneID
1 0001 01 26 1
2 0001 01 26 2
3 0002 01 01 2
4 0003 01 2
5 0005 01 01 3
6 0002 01 01 4
7 0001 01 26 5
8 0005 01 01 5
The operation code represents a control parameter corresponding to the smart home device, and the operation value represents a parameter value of the parameter. For example, operation code 01 indicates that the control parameter is temperature, and operation value indicates that the temperature value is 26 degrees.
TABLE 4 scene condition Table
index DevID StatusCode StatusValue SceneID
1 0001 02 3
2 0004 01 01 4
Wherein, index is index, DevID is identification of conditional smart home device, scene id is scene mode corresponding to the conditional smart home device, StatusCode is preset state condition corresponding to the conditional smart home device, StatusValue is status
For example, StatusCode 02 may indicate that the air conditioner is on. (status code 01 in scene conditions table, status value for infrared device indicating alarm state)
TABLE 5 scene time Condition Table
index minute hour week date SceneID LoopType
1 10 15 01 5 1
Where LoopType is a repeating pattern, for example, 0 may mean no repetition; 1 may represent a daily repetition; 2 may mean repeated weekly.
In addition, the embodiment also provides a method for controlling the smart home device, and an execution subject of the method is a gateway. The gateway can be a gateway of a smart home.
As shown in fig. 3, the processing flow of the method may include the following steps:
step 301, when a trigger condition of the first scene mode is reached, determining the controlled smart home devices of the gateway control type corresponding to the first scene mode according to the pre-stored corresponding relationship between the scene mode and the controlled smart home devices of the gateway control type.
In implementation, one or more scene modes may be pre-stored in the gateway, and these scene modes may be scene modes of the controlled smart home devices including the gateway control type. The gateway can store the control information of all the controlled intelligent home devices, and also can only store the control information of the controlled intelligent home devices of the gateway control type.
The gateway can also store the trigger conditions of each scene mode, and when the trigger conditions of a certain scene mode (which can be called as a first scene mode) are met, the gateway can determine the controlled intelligent household equipment of the gateway control type corresponding to the first scene mode according to the corresponding relationship between the pre-stored scene mode and the controlled intelligent household equipment of the gateway control type. The trigger condition of the scene mode can be set by a user or a technician. The trigger condition of the scene mode may be various, and the category of the scene mode may include at least a click-through scene mode, a timing scene mode, and a conditional scene mode, based on the difference in the trigger condition. The embodiment provides a processing procedure for a gateway to start a scene mode in different types of scene modes, which is specifically as follows:
in case one, the first scene mode is a click-to-click scene mode, and accordingly, the processing procedure in step 301 may be as follows: and receiving a starting instruction corresponding to the first scene mode sent by the server, and determining the controlled intelligent household equipment of the gateway control type corresponding to the first scene mode according to the corresponding relation between the prestored scene mode and the controlled intelligent household equipment of the gateway control type.
The click-through scene mode may be a scene mode triggered to be opened by an option corresponding to the click-through scene mode.
In implementation, a user may start an application program for controlling the smart home on a user terminal, the user terminal may display a scene mode list of the smart home, the user may select a desired scene mode (i.e., a first scene mode) in the scene mode list, the user terminal may receive the scene mode corresponding to the first scene mode, and then may send a start request corresponding to the first scene mode to the server, where the start request may carry an identifier of the first scene mode. After the server receives the opening request, the controlled intelligent home devices corresponding to the first scene mode and the control types of each intelligent home device can be determined according to the corresponding relationship between the prestored scene mode and the controlled intelligent home devices, and then whether the controlled intelligent home devices corresponding to the first scene mode contain the controlled intelligent home devices of the gateway control type or not can be judged. If the controlled smart home devices corresponding to the first scene mode include the controlled smart home devices of the gateway control type, the server may send a start instruction of the first scene mode to the gateway, where the start instruction may carry an identifier of the first scene mode, such as an ID of the first scene mode, and after the gateway receives the start instruction, the controlled smart home devices of the gateway control type corresponding to the first scene mode may be determined according to a correspondence between the prestored scene mode and the controlled smart home devices of the gateway control type, so as to control the controlled smart home devices of the gateway control type corresponding to the first scene mode.
In case two, the first scenario mode is a timing scenario mode, and accordingly, the processing procedure in step 301 may be as follows: and when the starting time of the first scene mode is reached, determining the controlled intelligent household equipment of the gateway control type corresponding to the first scene mode according to the corresponding relation between the prestored scene mode and the controlled intelligent household equipment of the gateway control type.
Wherein the timed scene mode may be a scene mode that is turned on up to a specified turn-on time.
In implementation, the on-time corresponding to the first scene mode may be set by a user or a technician. The gateway can obtain the current time information in real time, and when the opening time corresponding to the first scene mode is reached, the gateway can determine the controlled intelligent home devices of the gateway control type corresponding to the first scene mode according to the corresponding relation between the prestored scene mode and the controlled intelligent home devices of the gateway control type, so that the controlled intelligent home devices of the gateway control type can be controlled.
In case three, the first scenario mode is a conditional scenario mode, and accordingly, the processing procedure of step 201 may be as follows: receiving state information sent by conditional intelligent household equipment; and if the state information of the conditional intelligent household equipment meets the preset state condition, determining the controlled intelligent household equipment of the gateway control type corresponding to the first scene mode according to the corresponding relation between the prestored scene mode and the controlled intelligent household equipment of the gateway control type.
The condition scene mode can be a scene mode which is started when the condition intelligent household equipment corresponding to the scene mode is in a specific state; the conditional intelligent household equipment is controlled intelligent household equipment of a gateway control type.
In implementation, the gateway may store a specific state corresponding to a conditional smart home device of a gateway control type and a scene mode corresponding to the conditional smart home device. When the gateway acquires the state information of the conditional smart home device, the gateway can determine a first scene mode corresponding to the conditional smart home device, and can judge whether the state information of the conditional smart home device meets a preset state condition, if the state information of the conditional smart home device meets the preset state condition, the gateway control type controlled smart home device corresponding to the first scene mode can be determined according to the corresponding relationship between the prestored scene mode and the gateway control type controlled smart home device, so that the gateway control type controlled smart home device corresponding to the first scene mode can be controlled, and the first scene mode can be started.
In addition, when the conditional smart home device is a server control type controlled smart home device, the processing procedure of the gateway may be the same as that in the case one, and is not described again.
Optionally, the gateway may report the state information of the conditional smart home device to the server, and the corresponding processing procedure may be as follows: and sending the state information of the conditional intelligent household equipment to a server, so that when the state information of the conditional intelligent household equipment meets a preset state condition, the server determines controlled intelligent household equipment corresponding to the first scene mode according to the corresponding relation between the prestored scene mode and the controlled intelligent household equipment.
In implementation, after receiving the state information sent by the conditional smart home device, the gateway may report the state information of the conditional smart home device to the server, and after receiving the state information, the server may execute the relevant processing in step 201.
Step 302, sending a control instruction to the controlled smart home device of the gateway control type corresponding to the first scene mode, where the control instruction carries control information of the controlled smart home device of the gateway control type corresponding to the first scene mode in the first scene mode.
In implementation, after the gateway determines the controlled smart home devices of the gateway control types corresponding to the first scene mode, the gateway may obtain control information of the controlled smart home devices of each gateway control type in the first scene mode, and then send a control instruction to the controlled smart home devices of each gateway control type, where the control instruction carries the control information of the controlled smart home devices of the gateway control types in the first scene mode, so that the controlled smart home devices of the gateway control types adjust their states according to the control information.
Optionally, after the gateway sends the control instruction to the controlled smart home devices of the gateway control type, the state information of the controlled smart home devices of each gateway control type may be reported to the server, and the corresponding processing procedure may be as follows: and acquiring the state information of the controlled intelligent household equipment of the gateway control type corresponding to the first scene mode, and sending the acquired state information to the server.
In implementation, after the controlled smart home device of the gateway control type adjusts its own state according to the control information, the adjusted state information may be sent to the gateway, the gateway reports the received state information to the server, and then the server may perform the relevant processing in step 202.
In addition, the embodiment also provides a method for setting a scene mode by a user, and the processing procedure may be as follows:
in implementation, a user may create a scene mode through a user terminal, or edit a preset scene mode. The present embodiment takes the example of creating a scene mode by a user, and the process of editing the scene mode by the user is similar to the above. The user can input an identifier of a scene mode to be created, the controlled smart home devices corresponding to the scene mode, and control information of each smart home device in the scene mode at the user terminal, and then can click the sending option, the user terminal can send a creation request corresponding to the scene mode to the server, and the creation request can carry the identifier of the created scene mode, the controlled smart home devices corresponding to the scene mode, and the control information of each smart home device in the scene mode. After receiving the creation request, the server may store the information carried in the creation request. The server can judge whether the controlled intelligent home devices of the gateway control type exist in the controlled intelligent home devices corresponding to the scene mode, and if so, can send the synchronization instruction corresponding to the scene mode to the gateway, and then can send the identification of the scene mode, the controlled intelligent home devices of the gateway control type corresponding to the scene mode, and the control information of the controlled intelligent home devices of each gateway control type in the scene mode to the gateway for storage. After the gateway successfully stores the data, a synchronization success notification can be sent to the server. If the gateway fails to synchronize, for example, the server does not receive a synchronization success notification sent by the gateway, or receives a synchronization failure notification sent by the gateway, a synchronization instruction may be periodically sent to the gateway, so that the gateway performs scene mode synchronization. Thereby ensuring the consistency of the scene modes of the server and the gateway. In addition, the gateway may also synchronize after each network reconnection, or after each reboot.
In addition, this embodiment further provides an example of a method for controlling smart home devices, where the first scene mode in this example is a click-type scene mode, and as shown in fig. 4, a specific processing procedure may include the following steps:
step 401, the server receives a start request corresponding to a first scene mode sent by the user terminal.
Step 402, the server judges whether the controlled intelligent household equipment corresponding to the first scene mode contains the controlled intelligent household equipment of the server control type, if so, the steps 403-404 are executed, and if not, the step 405 is executed.
Step 403, the server sends a control instruction to the controlled smart home device of the server control type, where the control instruction carries control information of the controlled smart home device of the server control type in the first scene mode.
In step 404, the server receives the state information sent by the controlled smart home device of the server control type.
And 405, the server judges whether the controlled intelligent household equipment corresponding to the first scene mode contains the controlled intelligent household equipment of the gateway control type, if so, the steps 406 to 408 are executed, and if not, the step 409 is executed.
In step 406, the server sends a start command of the first scene mode to the gateway.
Step 407, the gateway sends a control instruction to the controlled smart home device of the gateway control type, where the control instruction carries control information of the controlled smart home device of the gateway control type in the first scene mode.
And step 408, the gateway receives the state information sent by the controlled intelligent household equipment of the gateway control type and sends the state information to the server.
And step 409, the server sends the state information of each intelligent household device in the first scene mode to the user terminal.
The execution sequence of the step 402 and the step 405 may not be sequential.
For example, in the click-type scene mode with the scene ID of 1, the corresponding controlled smart home device is an air conditioner, and the control information sets the temperature of the air conditioner to 26 degrees. After the user clicks the option of the scene mode scene1, the user terminal sends an identifier (for example, ID 1) of the scene mode to the server, the server queries the controlled smart home device corresponding to the scene mode of ID 1, and determines that the smart home device only includes the air conditioner of the server control type, and then the server may send a control instruction to the air conditioner to instruct the air conditioner to execute the processing of setting the temperature to 26 degrees.
For another example, in the click-type scene mode with the scene ID of 2, the controlled smart home devices include an air conditioner, a lamp and a curtain, where the air conditioner is a server control type of controlled smart home devices, and the lamp and the curtain are gateway control type of controlled smart home devices. After the user clicks the option of the scene mode scene2, the user terminal sends the identifier (for example, ID 2) of the scene mode to the server, the server queries the controlled smart home device corresponding to the scene mode of ID 2, determines that the air conditioner is the controlled smart home device of the server control type, and directly sends a control instruction to the air conditioner, where the corresponding control information may be determined based on table 3. The server can determine that the lamp and the curtain are controlled intelligent household equipment controlled by the gateway, then can send the identifier (such as ID 2) of the scene mode to the gateway, and the gateway controls the lamp and the curtain to send control instructions respectively.
In addition, this embodiment also provides an example of a method for controlling smart home devices, where in this example, the first scene mode is a conditional scene mode, and the conditional smart home devices are controlled smart home devices of a server control type, and as shown in fig. 5, a specific processing procedure may include the following steps:
step 501, the server receives state information sent by the conditional smart home device.
Step 502, the server judges whether the state information sent by the conditional smart home device meets a preset state condition, if so, step 503 is executed, and if not, the subsequent processing is not performed.
The conditional smart home devices may be conditional smart home devices corresponding to the first scene mode.
Step 503, the server determines whether the controlled smart home device corresponding to the first scene mode includes a server control type controlled smart home device, if yes, step 504-505 is executed, and if not, step 506 is executed.
Step 504, the server sends a control instruction to the controlled smart home device of the server control type, where the control instruction carries control information of the controlled smart home device of the server control type in the first scene mode.
And 505, the server receives the state information sent by the controlled intelligent household equipment of the server control type.
Step 506, the server judges whether the controlled intelligent household equipment corresponding to the first scene mode contains the controlled intelligent household equipment of the gateway control type, if so, the steps 507-509 are executed, and if not, the step 510 is executed.
In step 507, the server sends a start instruction of the first scene mode to the gateway.
And step 508, the gateway sends a control instruction to the controlled intelligent home device of the gateway control type, where the control instruction carries control information of the controlled intelligent home device of the gateway control type in the first scene mode.
In step 509, the gateway receives the state information sent by the controlled smart home device of the gateway control type, and sends the state information to the server.
Step 510, the server sends the state information of each smart home device in the first scene mode to the user terminal.
The processing sequence of step 503 and step 506 may not be sequential.
For example, for a scene mode with a scene ID of 3, as can be seen from table 4, the condition smart home device corresponding to the scene mode is an air conditioner, the air conditioner is a controlled smart home device of a server control type, the corresponding preset state condition is that the air conditioner is turned on, the controlled smart home device corresponding to the scene mode is a window, and the control information is that the window is closed. When the air conditioner is opened, the air conditioner reports an opened state to the server, the server can inquire that a scene mode corresponding to the opened state of the air conditioner is a scene mode 3, further, it is determined that a controlled smart home device corresponding to the scene mode 3 is a window, the window is a controlled smart home device of a gateway control type, then, an identifier of the scene mode 3 can be sent to the gateway, the gateway sends a corresponding control instruction to the window, and the control instruction can carry control information for closing the window.
In addition, this embodiment also provides an example of a method for controlling smart home devices, where in this example, the first scene mode is a conditional scene mode, and the conditional smart home devices are controlled smart home devices of a gateway control type, and as shown in fig. 6, a specific processing procedure may include the following steps:
step 601, the gateway receives the state information sent by the conditional smart home device and reports the state information to the server.
The conditional smart home devices may be conditional smart home devices corresponding to the first scene mode.
Step 602, the gateway determines whether the state information sent by the conditional smart home device meets a preset state condition, if so, step 603 is executed, and if not, step 603 is not executed.
And 603, the gateway judges whether the controlled intelligent household equipment corresponding to the first scene mode contains the controlled intelligent household equipment of the gateway control type, if so, the steps 604 to 605 are executed, and if not, the steps 604 to 605 are not executed.
Step 604, the gateway sends a control instruction to the controlled smart home device of the gateway control type, where the control instruction carries control information of the controlled smart home device of the gateway control type in the first scene mode.
Step 605, the gateway receives the state information sent by the controlled smart home device of the gateway control type, and sends the state information to the server.
In step 606, the server determines whether the state information sent by the conditional smart home device meets a preset state condition, if so, step 607 is executed, and if not, step 607 is not executed.
Step 607, the server determines whether the controlled smart home device corresponding to the first scene mode includes the controlled smart home device of the server control type, if so, the steps 608 to 609 are executed, and if not, the steps 608 to 609 are not executed.
Step 608, the server sends a control instruction to the controlled smart home device of the server control type, where the control instruction carries control information of the controlled smart home device of the server control type in the first scene mode.
And step 609, the server receives the state information sent by the controlled intelligent household equipment of the server control type.
And step 610, the server sends the state information of each intelligent household device in the first scene mode to the user terminal.
The processing sequence of step 603 and step 606 may not be sequential.
For example, for a scene mode with a scene mode ID of 4, as can be seen from table 4, the smart home device corresponding to the scene mode is an infrared device, the infrared device is a gateway control type controlled smart home device, and the scene action is turned on as a light with a device ID of 0002. When the scene is executed, when the infrared device gives an alarm, reporting alarm state information to the gateway, reporting the state information to the server by the gateway, determining that the corresponding scene mode is the scene mode 4, further determining that the corresponding controlled smart home device of the scene mode 4 is a lamp, and the lamp is a controlled smart home device of a gateway control type, and sending a turn-on control instruction to the lamp if the control information is that the lamp is turned on. After receiving the state information, the server may determine that the corresponding scene mode is scene mode 4, and further determine that the controlled smart home device corresponding to the scene mode 4 is a lamp, and the lamp is a controlled smart home device of a gateway control type, and then may not perform processing.
In addition, this embodiment further provides an example of a method for controlling smart home devices, where the first scene mode in this example is a timing scene mode, and as shown in fig. 7, a specific processing procedure may include the following steps:
step 701, when the starting time of the first scene mode is reached, the gateway determines the controlled intelligent home equipment of the gateway control type corresponding to the first scene mode according to the corresponding relationship between the prestored scene mode and the controlled intelligent home equipment of the gateway control type.
And 702, the gateway judges whether the controlled intelligent household equipment corresponding to the first scene mode contains the controlled intelligent household equipment of the gateway control type, if so, the steps 703-705 are executed, and if not, the processing is not carried out.
Step 703, the gateway sends a control instruction to the controlled smart home device of the gateway control type, where the control instruction carries control information of the controlled smart home device of the gateway control type in the first scene mode.
And 704, the gateway receives the state information sent by the controlled intelligent household equipment of the gateway control type and sends the state information to the server.
Step 705, when the starting time of the first scene mode is reached, the server determines the controlled smart home devices corresponding to the first scene mode according to the pre-stored corresponding relationship between the scene mode and the controlled smart home devices.
In step 706, the server determines whether the controlled smart home device corresponding to the first scene mode includes a server control type controlled smart home device, if so, steps 707 to 708 are executed, and if not, step 709 is executed.
And 707, the server sends a control instruction to the controlled smart home device of the server control type, where the control instruction carries control information of the controlled smart home device of the server control type in the first scene mode.
In step 708, the server receives the state information sent by the controlled smart home device of the server control type.
And step 709, the server sends the state information of each intelligent household device in the first scene mode to the user terminal.
The processing sequence of the step 701 and the step 705 may not be sequential.
For example, the scene mode with the scene ID of 5 is a timing scene mode, and in the controlled smart home devices corresponding to the timing scene mode, the controlled smart home devices of the server control type are air conditioners, and the controlled smart home devices of the gateway control type are windows. The scene mode is executed 15 o' clock and 10 min per day. Then at 15 o' clock 10 minutes each day the server and gateway will respectively execute the timed scene mode, the server controls the air conditioner to set the temperature to 26 degrees and the gateway controls the window to close.
In the embodiment of the invention, when the triggering condition of the first scene mode is reached, the controlled intelligent household equipment corresponding to the first scene mode is determined according to the pre-stored corresponding relation between the scene mode and the controlled intelligent household equipment, if the controlled intelligent household equipment corresponding to the first scene mode comprises the controlled intelligent household equipment of the server control type, sending a control instruction to the controlled intelligent home devices of the server control type, wherein the control instruction carries control information of the controlled intelligent home devices of the server control type in the first scene mode, and based on the processing, for the controlled intelligent household equipment of the non-server control type, the server does not need to send a control instruction, therefore, the number of control instructions sent by the server can be reduced, network resources are saved, and meanwhile, the reliability and efficiency of intelligent household equipment control are improved.
Based on the same technical concept, an embodiment of the present invention further provides a server, as shown in fig. 8, where the server includes:
the determining module 810 is configured to determine, when a trigger condition of a first scene mode is met, a controlled smart home device corresponding to the first scene mode according to a pre-stored correspondence between the scene mode and the controlled smart home device;
a first sending module 820, configured to send a control instruction to the controlled smart home device of the server control type if the controlled smart home device corresponding to the first scene mode includes the controlled smart home device of the server control type, where the control instruction carries control information of the controlled smart home device of the server control type in the first scene mode.
Optionally, as shown in fig. 9, the server further includes:
the second sending module 830 is configured to send, if the controlled smart home device corresponding to the first scene mode includes a controlled smart home device of a gateway control type, a start instruction of the first scene mode to a gateway, so that the gateway sends a control instruction to the controlled smart home device of the gateway control type, where the control instruction carries control information of the controlled smart home device of the gateway control type in the first scene mode.
Optionally, the determining module 810 is configured to:
when a starting request corresponding to a first scene mode is received, according to a pre-stored corresponding relation between the scene mode and the controlled intelligent household equipment, determining the controlled intelligent household equipment corresponding to the first scene mode.
Optionally, the determining module 810 is configured to:
when the starting time of the first scene mode is reached, determining controlled intelligent household equipment corresponding to the first scene mode according to the corresponding relation between the prestored scene mode and the controlled intelligent household equipment.
Optionally, as shown in fig. 10, the determining module 810 includes:
the obtaining submodule 811 is used for obtaining the state information of the conditional smart home device in the first scene mode;
a determining submodule 812, configured to determine, if the state information of the conditional smart home device meets a preset state condition, a controlled smart home device corresponding to the first scene mode according to a correspondence between a pre-stored scene mode and the controlled smart home device.
Optionally, the conditional smart home device is a server control type controlled smart home device, and the obtaining submodule 811 is configured to: receiving state information sent by the conditional intelligent household equipment; or,
the conditional smart home device is a controlled smart home device of a gateway control type, and the obtaining submodule 811 is configured to: and receiving the state information of the conditional intelligent household equipment sent by the gateway.
Optionally, as shown in fig. 11, the server further includes:
the receiving module 840 is configured to receive the state information of the controlled smart home device of the gateway control type corresponding to the first scene mode, which is sent by the gateway, and obtain the state information of the controlled smart home device of the server control type corresponding to the first scene mode;
a third sending module 850, configured to send the state information of the controlled smart home device of the gateway control type corresponding to the first scene mode and the state information of the controlled smart home device of the server control type corresponding to the first scene mode to the user terminal.
Based on the same technical concept, an embodiment of the present invention further provides a gateway, as shown in fig. 12, where the gateway includes:
the determining module 1210 is configured to determine, when a trigger condition of a first scene mode is met, a controlled smart home device of a gateway control type corresponding to the first scene mode according to a pre-stored correspondence between the scene mode and the controlled smart home device of the gateway control type;
the first sending module 1220 is configured to send a control instruction to the controlled smart home device of the gateway control type corresponding to the first scene mode, where the control instruction carries control information of the controlled smart home device of the gateway control type corresponding to the first scene mode in the first scene mode.
Optionally, the determining module 1210 is configured to:
receiving a starting instruction corresponding to a first scene mode sent by a server, and determining controlled intelligent household equipment of a gateway control type corresponding to the first scene mode according to a pre-stored corresponding relation between the scene mode and the controlled intelligent household equipment of the gateway control type.
Optionally, the determining module 1210 is configured to:
when the starting time of the first scene mode is reached, determining the controlled intelligent household equipment of the gateway control type corresponding to the first scene mode according to the corresponding relation between the prestored scene mode and the controlled intelligent household equipment of the gateway control type.
Optionally, as shown in fig. 13, the determining module 1210 includes:
a receiving submodule 1211, configured to receive state information sent by a conditional smart home device, where the conditional smart home device is a controlled smart home device of a gateway control type;
the determining submodule 1212 is configured to determine, if the state information of the conditional smart home device meets a preset state condition, a controlled smart home device of the gateway control type corresponding to the first scene mode according to a correspondence between a pre-stored scene mode and the controlled smart home device of the gateway control type.
Optionally, as shown in fig. 14, the gateway further includes:
the second sending module 1230 is configured to send the state information of the conditional smart home device to a server, so that when the state information of the conditional smart home device meets a preset state condition, the server determines a controlled smart home device corresponding to the first scene mode according to a correspondence between a pre-stored scene mode and the controlled smart home device.
Optionally, as shown in fig. 15, the gateway further includes:
the third sending module 1240 is configured to obtain the state information of the controlled smart home device of the gateway control type corresponding to the first scene mode, and send the obtained state information to the server.
In the embodiment of the invention, when the triggering condition of the first scene mode is reached, the controlled intelligent home equipment corresponding to the first scene mode is determined according to the pre-stored corresponding relationship between the scene mode and the controlled intelligent home equipment, if the controlled intelligent home equipment corresponding to the first scene mode contains the controlled intelligent home equipment of the server control type, a control instruction is sent to the controlled intelligent home equipment of the server control type, the control instruction carries the control information of the controlled intelligent home equipment of the server control type in the first scene mode, and based on the processing, the server does not need to send the control instruction to the controlled intelligent home equipment of the non-server control type, so that the number of the control instructions sent by the server can be reduced, and network resources are saved.
Fig. 16 is a schematic structural diagram of a server according to an embodiment of the present invention. The server 600 may vary significantly due to configuration or performance, and may include one or more Central Processing Units (CPUs) 622 (e.g., one or more processors) and memory 632, one or more storage media 630 (e.g., one or more mass storage devices) storing applications 642 or data 644. Memory 632 and storage medium 630 may be, among other things, transient or persistent storage. The program stored in the storage medium 630 may include one or more modules (not shown), each of which may include a series of instruction operations for the server. Still further, the central processor 622 may be configured to communicate with the storage medium 630 and execute a series of instruction operations in the storage medium 630 on the server 600.
The server 600 may also include one or more power supplies 626, one or more wired or wireless network interfaces 650, one or more input-output interfaces 658, one or more keyboards 656, and/or one or more operating systems 641, such as Windows Server, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM, etc.
The server 600 may include memory, and one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the one or more processors, the one or more programs including instructions for:
when a triggering condition of a first scene mode is reached, determining controlled intelligent household equipment corresponding to the first scene mode according to a pre-stored corresponding relation between the scene mode and the controlled intelligent household equipment;
and if the controlled intelligent home equipment corresponding to the first scene mode comprises the controlled intelligent home equipment of the server control type, sending a control instruction to the controlled intelligent home equipment of the server control type, wherein the control instruction carries control information of the controlled intelligent home equipment of the server control type in the first scene mode.
Optionally, the method further includes:
if the controlled intelligent home equipment corresponding to the first scene mode contains the controlled intelligent home equipment of the gateway control type, sending a starting instruction of the first scene mode to a gateway so that the gateway sends a control instruction to the controlled intelligent home equipment of the gateway control type, wherein the control instruction carries control information of the controlled intelligent home equipment of the gateway control type in the first scene mode.
Optionally, when the trigger condition of the first scene mode is met, determining the controlled smart home devices corresponding to the first scene mode according to the pre-stored correspondence between the scene mode and the controlled smart home devices, including:
when a starting request corresponding to a first scene mode is received, according to a pre-stored corresponding relation between the scene mode and the controlled intelligent household equipment, determining the controlled intelligent household equipment corresponding to the first scene mode.
Optionally, when the trigger condition of the first scene mode is met, determining the controlled smart home devices corresponding to the first scene mode according to the pre-stored correspondence between the scene mode and the controlled smart home devices, including:
when the starting time of the first scene mode is reached, determining controlled intelligent household equipment corresponding to the first scene mode according to the corresponding relation between the prestored scene mode and the controlled intelligent household equipment.
Optionally, when the trigger condition of the first scene mode is met, determining the controlled smart home devices corresponding to the first scene mode according to the pre-stored correspondence between the scene mode and the controlled smart home devices, including:
acquiring state information of conditional intelligent household equipment in a first scene mode;
and if the state information of the conditional smart home equipment meets the preset state condition, determining the controlled smart home equipment corresponding to the first scene mode according to the corresponding relation between the prestored scene mode and the controlled smart home equipment.
Optionally, the obtaining of the state information of the conditional smart home device in the first scene mode includes: receiving state information sent by the conditional intelligent household equipment; or,
the method for acquiring the state information of the conditional smart home devices in the first scene mode comprises the following steps: and receiving the state information of the conditional intelligent household equipment sent by the gateway.
Optionally, after the sending the control instruction to the server-controlled smart home device, the method further includes:
receiving state information of the controlled intelligent home equipment of the gateway control type corresponding to the first scene mode, which is sent by a gateway, and acquiring the state information of the controlled intelligent home equipment of the server control type corresponding to the first scene mode;
and sending the state information of the controlled intelligent home equipment of the gateway control type corresponding to the first scene mode and the state information of the controlled intelligent home equipment of the server control type corresponding to the first scene mode to a user terminal.
Yet another exemplary embodiment of the present disclosure provides a schematic structural diagram of a gateway. Referring to fig. 17, gateway 800 may include one or more of the following components: processing component 802, memory 804, power component 806, multimedia component 808, audio component 810, input/output (I/O) interface 812, sensor component 814, and communication component 816.
The processing component 802 generally controls the overall operation of the gateway 800, such as operations associated with display, data communication, camera operations, and recording operations. The processing elements 802 may include one or more processors 820 to execute instructions to perform all or a portion of the steps of the methods described above. Further, the processing component 802 can include one or more modules that facilitate interaction between the processing component 802 and other components. For example, the processing component 802 can include a multimedia module to facilitate interaction between the multimedia component 808 and the processing component 802.
Memory 804 is configured to store various types of data to support operations at gateway 800. Examples of such data include instructions for any application or method operating on gateway 800. The memory 804 may be implemented by any type or combination of volatile or non-volatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks.
Power component 806 provides power to the various components of gateway 800. Power components 806 may include a power management system, one or more power sources, and other components associated with generating, managing, and distributing power for audio output device 800.
The multimedia component 808 includes a screen that provides an output interface between the gateway 800 and the user. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive an input signal from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 808 includes a front facing camera and/or a rear facing camera. The front camera and/or the rear camera may receive external multimedia data when the gateway 800 is in an operation mode, such as a photographing mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
The audio component 810 is configured to output and/or input audio signals. For example, the audio component 810 includes a Microphone (MIC) configured to receive external audio signals when the audio output device 800 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals may further be stored in the memory 804 or transmitted via the communication component 816.
The I/O interface 812 provides an interface between the processing component 802 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to: a home button, a volume button, a start button, and a lock button.
The sensor component 814 includes one or more sensors for providing various aspects of state assessment for the gateway 800. For example, the sensor component 814 may detect the open/closed status of the gateway 800, the relative positioning of components, such as a display and keypad of the gateway 800, the sensor component 814 may also detect a change in the location of the gateway 800 or a component of the gateway 800, the presence or absence of user contact with the gateway 800, orientation or acceleration/deceleration of the gateway 800, and a change in the temperature of the gateway 800. Sensor assembly 814 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 814 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 814 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 816 is configured to facilitate communications between the gateway 800 and other devices in a wired or wireless manner. The gateway 800 may access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 816 receives a broadcast signal or broadcast associated information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communications component 816 further includes a Near Field Communication (NFC) module to facilitate short-range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, Ultra Wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the gateway 800 may be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, micro-controllers, microprocessors or other electronic components for performing the above-described methods.
In an exemplary embodiment, a non-transitory computer-readable storage medium comprising instructions, such as the memory 804 comprising instructions, executable by the processor 820 of the gateway 800 to perform the above-described method is also provided. For example, the non-transitory computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
A non-transitory computer readable storage medium, instructions in the storage medium, when executed by a processor of a gateway, enable the gateway to perform the above method, the method comprising:
when a triggering condition of a first scene mode is reached, determining controlled intelligent household equipment of a gateway control type corresponding to the first scene mode according to a pre-stored corresponding relation between the scene mode and the controlled intelligent household equipment of the gateway control type;
and sending a control instruction to the controlled intelligent home equipment of the gateway control type, wherein the control instruction carries control information of the controlled intelligent home equipment of the gateway control type in the first scene mode.
Optionally, when the trigger condition of the first scene mode is met, determining, according to a pre-stored correspondence between the scene mode and the controlled smart home device of the gateway control type, the controlled smart home device of the gateway control type corresponding to the first scene mode includes:
receiving a starting instruction corresponding to a first scene mode sent by a server, and determining controlled intelligent household equipment of a gateway control type corresponding to the first scene mode according to a pre-stored corresponding relation between the scene mode and the controlled intelligent household equipment of the gateway control type.
Optionally, when the trigger condition of the first scene mode is met, determining, according to a pre-stored correspondence between the scene mode and the controlled smart home device of the gateway control type, the controlled smart home device of the gateway control type corresponding to the first scene mode includes:
when the starting time of the first scene mode is reached, determining the controlled intelligent household equipment of the gateway control type corresponding to the first scene mode according to the corresponding relation between the prestored scene mode and the controlled intelligent household equipment of the gateway control type.
Optionally, when the trigger condition of the first scene mode is met, determining, according to a pre-stored correspondence between the scene mode and the controlled smart home device of the gateway control type, the controlled smart home device of the gateway control type corresponding to the first scene mode includes:
receiving state information sent by conditional intelligent home equipment, wherein the conditional intelligent home equipment is controlled intelligent home equipment of a gateway control type;
and if the state information of the conditional intelligent household equipment meets the preset state condition, determining the controlled intelligent household equipment of the gateway control type corresponding to the first scene mode according to the corresponding relation between the prestored scene mode and the controlled intelligent household equipment of the gateway control type.
Optionally, the method further includes:
and sending the state information of the conditional smart home equipment to a server, so that when the state information of the conditional smart home equipment meets a preset state condition, the server determines the controlled smart home equipment corresponding to the first scene mode according to the corresponding relation between the prestored scene mode and the controlled smart home equipment.
Optionally, after the control instruction is sent to the controlled smart home device of the gateway control type, the method further includes:
and acquiring the state information of the controlled intelligent household equipment of the gateway control type corresponding to the first scene mode, and sending the acquired state information to a server.
In the embodiment of the invention, when the triggering condition of the first scene mode is reached, the controlled intelligent home equipment corresponding to the first scene mode is determined according to the pre-stored corresponding relationship between the scene mode and the controlled intelligent home equipment, if the controlled intelligent home equipment corresponding to the first scene mode contains the controlled intelligent home equipment of the server control type, a control instruction is sent to the controlled intelligent home equipment of the server control type, the control instruction carries the control information of the controlled intelligent home equipment of the server control type in the first scene mode, and based on the processing, the server does not need to send the control instruction to the controlled intelligent home equipment of the non-server control type, so that the number of the control instructions sent by the server can be reduced, and network resources are saved.
It will be understood by those skilled in the art that all or part of the steps for implementing the above embodiments may be implemented by hardware, or may be implemented by a program instructing relevant hardware, where the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a magnetic disk or an optical disk, etc.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents, improvements and the like that fall within the spirit and principle of the present invention are intended to be included therein.

Claims (7)

1. A method for controlling intelligent household equipment is applied to a server, and the method comprises the following steps:
when a trigger condition of a first scene mode is reached, determining controlled intelligent household equipment corresponding to the first scene mode according to a pre-stored corresponding relationship between the scene mode and the controlled intelligent household equipment, wherein the controlled intelligent household equipment is at least divided into controlled intelligent household equipment of a server control type controlled by a server and controlled intelligent household equipment of a gateway control type controlled by a gateway, and the corresponding relationship between the scene mode and the controlled intelligent household equipment comprises: the method comprises the following steps that a plurality of scene modes, triggering conditions of each scene mode, a plurality of controlled intelligent home devices included in each scene mode and control information of each controlled intelligent home device in the scene modes are provided, the control information comprises control parameters and parameter values of the control parameters, the types of the scene modes comprise a click-type scene mode and a timing scene mode, the click-type scene mode refers to a scene mode which is triggered to be started by receiving options corresponding to the click-type scene mode, and the timing scene mode refers to a scene mode which is triggered to be started when specified starting time is reached;
acquiring a control type of controlled intelligent home equipment corresponding to the first scene mode, and judging whether the controlled intelligent home equipment corresponding to the first scene mode contains controlled intelligent home equipment of the server control type and controlled intelligent home equipment of the gateway control type or not based on the control type;
if the controlled intelligent home equipment corresponding to the first scene mode is judged to contain the controlled intelligent home equipment of the server control type, sending a control instruction to the controlled intelligent home equipment of the server control type, wherein the control instruction carries control information of the controlled intelligent home equipment of the server control type in the first scene mode;
if the controlled intelligent home equipment corresponding to the first scene mode is judged to contain the controlled intelligent home equipment of the gateway control type, sending a starting instruction of the first scene mode to a gateway, wherein the starting instruction only carries an identifier of the first scene mode, so that the gateway determines the controlled intelligent home equipment of the gateway control type corresponding to the first scene mode according to a corresponding relation between the scene mode prestored in the gateway and the controlled intelligent home equipment of the gateway control type, and sends a control instruction to the determined controlled intelligent home equipment of the gateway control type, wherein the control instruction carries control information of the controlled intelligent home equipment of the gateway control type in the first scene mode;
receiving state information of the controlled intelligent home equipment of the gateway control type corresponding to the first scene mode, sent by a gateway, acquiring the state information of the controlled intelligent home equipment of the server control type corresponding to the first scene mode, and sending the state information of the controlled intelligent home equipment of the gateway control type corresponding to the first scene mode and the state information of the controlled intelligent home equipment of the server control type corresponding to the first scene mode to a user terminal;
the control information and the state information of the controlled intelligent home equipment of the server control type are packaged and analyzed by the server, and the control information and the state information of the controlled intelligent home equipment of the gateway control type are packaged and analyzed by the gateway.
2. The method according to claim 1, wherein the first scene mode is the click-to-click scene mode, and when a trigger condition of the first scene mode is met, determining the controlled smart home devices corresponding to the first scene mode according to a pre-stored correspondence between the scene mode and the controlled smart home devices comprises:
when a starting request corresponding to a first scene mode is received, according to a pre-stored corresponding relation between the scene mode and the controlled intelligent household equipment, determining the controlled intelligent household equipment corresponding to the first scene mode.
3. The method according to claim 1, wherein the first scene mode is the timing scene mode, and when a trigger condition of the first scene mode is met, determining the controlled smart home devices corresponding to the first scene mode according to a pre-stored correspondence between the scene mode and the controlled smart home devices comprises:
when the starting time of the first scene mode is reached, determining controlled intelligent household equipment corresponding to the first scene mode according to the corresponding relation between the prestored scene mode and the controlled intelligent household equipment.
4. The method according to claim 1, wherein the types of the scene modes further include a conditional scene mode, the conditional scene mode is a scene mode that is triggered to be started when a conditional smart home device corresponding to the scene mode is in a specific state, and when the first scene mode is the conditional scene mode, and when a triggering condition of the first scene mode is reached, the controlled smart home device corresponding to the first scene mode is determined according to a pre-stored correspondence between the scene mode and the controlled smart home device, including:
acquiring state information of conditional intelligent household equipment in a first scene mode;
and if the state information of the conditional smart home equipment meets the preset state condition, determining the controlled smart home equipment corresponding to the first scene mode according to the corresponding relation between the prestored scene mode and the controlled smart home equipment.
5. The method according to claim 4, wherein the conditional smart home device is a server-controlled type controlled smart home device, and the obtaining of the state information of the conditional smart home device in the first scene mode includes: receiving state information sent by the conditional intelligent household equipment; or,
the method for acquiring the state information of the conditional smart home devices in the first scene mode comprises the following steps: and receiving the state information of the conditional intelligent household equipment sent by the gateway.
6. The method according to claim 1, wherein before determining the controlled smart home device corresponding to the first scene mode according to the pre-stored correspondence between the scene mode and the controlled smart home device, the method further comprises:
receiving a scene mode creating request, and storing information carried in the creating request, wherein the information carried in the creating request comprises an identifier of a created scene mode, controlled intelligent home equipment corresponding to the scene mode, and a control signal of each controlled intelligent home equipment in the scene mode;
and judging whether the controlled intelligent home equipment of the gateway control type is contained in the controlled intelligent home equipment corresponding to the scene mode, if so, sending a synchronous instruction corresponding to the scene mode to the gateway, and sending the identifier of the scene mode, the controlled intelligent home equipment of the gateway control type corresponding to the scene mode and the control information of the controlled intelligent home equipment of each gateway control type in the scene mode to the gateway so as to be stored by the gateway.
7. A server, characterized in that the server comprises:
the determining module is configured to determine, when a trigger condition of a first scene mode is met, a controlled smart home device corresponding to the first scene mode according to a pre-stored correspondence between the scene mode and the controlled smart home device, where the controlled smart home device is at least divided into a server control type controlled by a server and a gateway control type controlled by a gateway, and the correspondence between the scene mode and the controlled smart home device includes: the method comprises the following steps that a plurality of scene modes, triggering conditions of each scene mode, a plurality of controlled intelligent home devices included in each scene mode and control information of each controlled intelligent home device in the scene modes are provided, the control information comprises control parameters and parameter values of the control parameters, the types of the scene modes comprise a click-type scene mode and a timing scene mode, the click-type scene mode refers to a scene mode which is triggered to be started by receiving options corresponding to the click-type scene mode, and the timing scene mode refers to a scene mode which is triggered to be started when specified starting time is reached;
the first sending module is used for acquiring the control type of the controlled intelligent home equipment corresponding to the first scene mode, and judging whether the controlled intelligent home equipment corresponding to the first scene mode contains the controlled intelligent home equipment of the server control type and the controlled intelligent home equipment of the gateway control type based on the control type; and the control module is configured to send a control instruction to the controlled smart home device of the server control type if it is determined that the controlled smart home device corresponding to the first scene mode includes the controlled smart home device of the server control type, where the control instruction carries control information of the controlled smart home device of the server control type in the first scene mode;
the server further comprises:
a second sending module, configured to send, if it is determined that the controlled smart home device corresponding to the first scene mode includes the controlled smart home device of the gateway control type, a start instruction of the first scene mode to a gateway, where the start instruction only carries an identifier of the first scene mode, so that the gateway determines, according to a correspondence between a scene mode stored in advance in the gateway and the controlled smart home device of the gateway control type, the controlled smart home device of the gateway control type corresponding to the first scene mode, and sends a control instruction to the determined controlled smart home device of the gateway control type, where the control instruction carries control information of the controlled smart home device of the gateway control type in the first scene mode;
the server further comprises:
the receiving module is used for receiving the state information of the controlled intelligent home equipment of the gateway control type corresponding to the first scene mode, which is sent by the gateway, and acquiring the state information of the controlled intelligent home equipment of the server control type corresponding to the first scene mode;
the third sending module is used for sending the state information of the controlled intelligent home equipment of the gateway control type corresponding to the first scene mode and the state information of the controlled intelligent home equipment of the server control type corresponding to the first scene mode to the user terminal;
the control information and the state information of the controlled intelligent home equipment of the server control type are packaged and analyzed by the server, and the control information and the state information of the controlled intelligent home equipment of the gateway control type are packaged and analyzed by the gateway.
CN201610791947.8A 2016-08-31 2016-08-31 Method for controlling intelligent household equipment, server and gateway Active CN106227055B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610791947.8A CN106227055B (en) 2016-08-31 2016-08-31 Method for controlling intelligent household equipment, server and gateway

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610791947.8A CN106227055B (en) 2016-08-31 2016-08-31 Method for controlling intelligent household equipment, server and gateway

Publications (2)

Publication Number Publication Date
CN106227055A CN106227055A (en) 2016-12-14
CN106227055B true CN106227055B (en) 2020-10-09

Family

ID=58073703

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610791947.8A Active CN106227055B (en) 2016-08-31 2016-08-31 Method for controlling intelligent household equipment, server and gateway

Country Status (1)

Country Link
CN (1) CN106227055B (en)

Families Citing this family (30)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106814716B (en) * 2017-01-03 2019-11-22 芜湖美智空调设备有限公司 The reserving method and system to link between a kind of household electrical appliances
CN106773772A (en) * 2017-02-10 2017-05-31 杭州极智科技有限公司 A kind of ZigBee intelligent domestic gateways scene inter-linked controlling method
CN107121971A (en) * 2017-05-22 2017-09-01 广东芬尼克兹节能设备有限公司 A kind of intelligent home furnishing control method and system based on scene mode
WO2018223910A1 (en) * 2017-06-08 2018-12-13 美的智慧家居科技有限公司 Scene configuration method and apparatus for home device, and smart home system and gateway
CN109039677A (en) * 2017-06-08 2018-12-18 美的智慧家居科技有限公司 Intelligent household scene update method, equipment, intelligent domestic gateway and system
CN109039835B (en) * 2017-06-08 2020-12-04 美的智慧家居科技有限公司 Intelligent household scene configuration method, gateway, system and machine readable storage medium
CN109150672B (en) * 2017-06-13 2021-08-10 美的智慧家居科技有限公司 Intelligent household configuration method, device and system and machine-readable storage medium
CN107171911A (en) * 2017-06-29 2017-09-15 青岛海信智慧家居***股份有限公司 The control method and device of intelligent home device
CN107342084A (en) * 2017-07-10 2017-11-10 绵阳美菱软件技术有限公司 A kind of intelligent refrigerator and communication means and system based on intelligent refrigerator
CN108683574B (en) * 2018-04-13 2020-12-08 青岛海信智慧家居***股份有限公司 Equipment control method, server and intelligent home system
CN109218085B (en) * 2018-09-04 2021-10-19 深圳绿米联创科技有限公司 Equipment automation and scene configuration management method and device and mobile terminal
CN109240111B (en) * 2018-10-15 2022-04-01 深圳市欧瑞博科技股份有限公司 Intelligent home control method, device and system and intelligent gateway
CN111083180B (en) * 2018-10-19 2022-04-26 北京奇虎科技有限公司 Internet of things system and Internet of things equipment linkage method and device
CN109164713B (en) * 2018-10-23 2020-08-04 珠海格力电器股份有限公司 Intelligent household control method and device
CN109669360A (en) * 2018-12-19 2019-04-23 南京遍宇联动科技有限公司 The working method and device of smart home
CN109936489A (en) * 2019-03-25 2019-06-25 美的智慧家居科技有限公司 The control method and system, gateway and storage medium of scene linkage
CN110505304A (en) * 2019-08-23 2019-11-26 深圳市丰润达科技有限公司 Terminal execution, application method, device, Cloud Server and the system of scene mode
CN112445139A (en) * 2019-08-30 2021-03-05 珠海格力电器股份有限公司 Intelligent magic cube controller
CN110794693B (en) * 2019-09-30 2023-09-26 深圳绿米联创科技有限公司 Device configuration method, device, electronic device and storage medium
CN110715418B (en) * 2019-10-29 2021-06-18 广东美的制冷设备有限公司 Temperature control method and device for air-conditioning robot
CN110805991A (en) * 2019-10-30 2020-02-18 青岛海信智慧家居***股份有限公司 Method and device for synchronizing states of control terminal and central air conditioner
CN110955465A (en) * 2019-12-16 2020-04-03 宁波奥克斯电气股份有限公司 Equipment state acquisition method
CN111176133A (en) * 2020-02-11 2020-05-19 青岛海信智慧家居***股份有限公司 Method and device for determining smart home scene
CN112327763A (en) * 2020-09-08 2021-02-05 深圳Tcl新技术有限公司 Intelligent scene control method, device, gateway and storage medium
CN112180757B (en) * 2020-11-03 2022-10-25 哈尔滨工程大学 Intelligent household system and strategy management method thereof
CN112469174B (en) * 2020-12-07 2023-06-30 深圳市海洋王照明工程有限公司 Lighting control device based on scene management
CN113341757A (en) * 2021-07-02 2021-09-03 佛山市淇特科技有限公司 Smart home equipment linkage method, device, equipment and storage medium
CN114200848A (en) * 2021-12-02 2022-03-18 北京小米移动软件有限公司 Remote control method, system and device of household equipment and storage medium
WO2023151704A1 (en) * 2022-02-14 2023-08-17 深圳绿米联创科技有限公司 Device control method and apparatus, and electronic device and storage medium
CN114637219A (en) * 2022-05-05 2022-06-17 广州河东科技有限公司 Intelligent household equipment control method based on regional grouping

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104796444A (en) * 2014-01-21 2015-07-22 广州海图克计算机技术有限公司 Digital household scene control management system and method
CN205015712U (en) * 2015-05-23 2016-02-03 深圳市尚吉电子有限公司 Zigbee switch of taking scene control function of intelligence house
CN105487394A (en) * 2015-11-30 2016-04-13 青岛海尔智能家电科技有限公司 Intelligent household appliance control method and device and gateway

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7440809B2 (en) * 2004-07-14 2008-10-21 York International Corporation HTML driven embedded controller
CN103647810A (en) * 2013-11-28 2014-03-19 深圳市六合未来科技有限公司 A scene control system and a scene control method based on Z-Wave technology
CN104157115A (en) * 2013-12-26 2014-11-19 浙江工商大学 Cloud service based networked all-purpose remote control device and method
CN104950823B (en) * 2014-03-26 2016-09-21 广州合立正通信息科技有限公司 A kind of scenery control method realizing multiple wireless control apparatus
CN104460328B (en) * 2014-10-29 2019-05-10 小米科技有限责任公司 Smart machine control method and device based on set scene mode
CN104880957A (en) * 2015-06-03 2015-09-02 维融集团有限公司 Setting method for scenarios mode and intelligent control device
CN105629752A (en) * 2015-12-30 2016-06-01 深圳众乐智府科技有限公司 Intelligent household equipment access method and intelligent household system
CN105897527A (en) * 2016-05-30 2016-08-24 海信集团有限公司 Method and device for setting running parameter of smart home device in smart scene

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104796444A (en) * 2014-01-21 2015-07-22 广州海图克计算机技术有限公司 Digital household scene control management system and method
CN205015712U (en) * 2015-05-23 2016-02-03 深圳市尚吉电子有限公司 Zigbee switch of taking scene control function of intelligence house
CN105487394A (en) * 2015-11-30 2016-04-13 青岛海尔智能家电科技有限公司 Intelligent household appliance control method and device and gateway

Also Published As

Publication number Publication date
CN106227055A (en) 2016-12-14

Similar Documents

Publication Publication Date Title
CN106227055B (en) Method for controlling intelligent household equipment, server and gateway
CN109379261B (en) Control method, device, system, equipment and storage medium of intelligent equipment
CN105471628B (en) Smart machine grouping system, method and device
EP3144915B1 (en) Method and apparatus for controlling device, and terminal device
CN107294793B (en) Replacement method, device and equipment of intelligent household equipment and storage medium
EP3136793B1 (en) Method and apparatus for awakening electronic device
KR101842379B1 (en) Working method and woking device of intelligent electric apparatus
EP3145125A1 (en) Method and apparatus for controlling devices
US10324707B2 (en) Method, apparatus, and computer-readable storage medium for upgrading a ZigBee device
CN104407592B (en) A kind of method and device adjusting smart home device operating status
CN108449241B (en) Configuration method and device of smart home scene and terminal
CN112019616B (en) Equipment management method and device in Internet of things
CN106603350B (en) Information display method and device
EP3099017B1 (en) A method and a device for controlling a smart home power supply
CN105392251B (en) A kind of methods, devices and systems of management intelligent lamp
CN106357721B (en) Timing method and device
CN105281994B (en) Working mode switching method and device
EP3119037A1 (en) Method and apparatus for downloading control program
CN106933111B (en) Method and device for controlling equipment
EP3291489B1 (en) Method and apparatus for device identification
US20170180148A1 (en) Method, device and system for intelligent household appliance to access multiple servers
CN111025921A (en) Local automation control method, local automation control device and electronic equipment
CN109040220B (en) Remote control method and device of intelligent equipment and readable storage medium
CN109328471B (en) Access control limiting method and device
CN112911066A (en) Device control method, device and medium

Legal Events

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