CN112152892A - Method for controlling gateway, intelligent gateway and intelligent home system - Google Patents
Method for controlling gateway, intelligent gateway and intelligent home system Download PDFInfo
- Publication number
- CN112152892A CN112152892A CN202010804872.9A CN202010804872A CN112152892A CN 112152892 A CN112152892 A CN 112152892A CN 202010804872 A CN202010804872 A CN 202010804872A CN 112152892 A CN112152892 A CN 112152892A
- Authority
- CN
- China
- Prior art keywords
- gateway
- scene
- slave
- control information
- configuration information
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 86
- 238000010586 diagram Methods 0.000 description 24
- 230000006870 function Effects 0.000 description 7
- 230000008569 process Effects 0.000 description 7
- 238000004891 communication Methods 0.000 description 6
- 238000013500 data storage Methods 0.000 description 5
- 238000004590 computer program Methods 0.000 description 4
- 230000003993 interaction Effects 0.000 description 4
- 230000009471 action Effects 0.000 description 3
- 230000008878 coupling Effects 0.000 description 3
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 238000007726 management method Methods 0.000 description 3
- 230000003247 decreasing effect Effects 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 238000012545 processing Methods 0.000 description 2
- 238000011144 upstream manufacturing Methods 0.000 description 2
- 230000002159 abnormal effect Effects 0.000 description 1
- 230000002776 aggregation Effects 0.000 description 1
- 238000004220 aggregation Methods 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
- 230000006855 networking Effects 0.000 description 1
- 230000002441 reversible effect Effects 0.000 description 1
- 239000000523 sample Substances 0.000 description 1
- 238000012546 transfer Methods 0.000 description 1
- 230000001052 transient effect Effects 0.000 description 1
- 238000005406 washing Methods 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/2803—Home automation networks
- H04L12/2816—Controlling appliance services of a home automation network by calling their functionalities
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B15/00—Systems controlled by a computer
- G05B15/02—Systems controlled by a computer electric
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B19/00—Programme-control systems
- G05B19/02—Programme-control systems electric
- G05B19/418—Total 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]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/2803—Home automation networks
- H04L12/2807—Exchanging configuration information on appliance services in a home automation network
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/66—Arrangements for connecting between networks having differing types of switching systems, e.g. gateways
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/10—Protocols in which an application is distributed across nodes in the network
- H04L67/1095—Replication or mirroring of data, e.g. scheduling or transport for data synchronisation between network nodes
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/14—Session management
- H04L67/146—Markers for unambiguous identification of a particular session, e.g. session cookie or URL-encoding
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B2219/00—Program-control systems
- G05B2219/20—Pc systems
- G05B2219/26—Pc applications
- G05B2219/2642—Domotique, domestic, home control, automation, smart house
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Automation & Control Theory (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Manufacturing & Machinery (AREA)
- Quality & Reliability (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The application relates to the technical field of smart home and discloses a method for controlling a gateway. The method for controlling the gateway comprises the following steps: the master gateway receives the scene ID sent by the server, sends the scene ID to the slave gateway, obtains the device control information corresponding to the scene ID from the slave gateway, and sends the device control information to the household equipment connected with the slave gateway. The method for controlling the gateway can reduce network delay and improve control efficiency. The application also discloses an intelligent gateway and an intelligent home system.
Description
Technical Field
The application relates to the technical field of smart home, for example, to a method for controlling a gateway, a smart gateway and a smart home system.
Background
At present, in the method for controlling the smart home scenes in the market, a server controls equipment one by one according to description in a configuration file, and a control instruction reaches a gateway side and is then serially transmitted through a ZigBee protocol (ZigBee) module.
In the process of implementing the embodiments of the present disclosure, it is found that at least the following problems exist in the related art:
when a plurality of devices are controlled, the intelligent home network is seriously congested, so that the control delay is high, and the control efficiency is reduced.
Disclosure of Invention
The following presents a simplified summary in order to provide a basic understanding of some aspects of the disclosed embodiments. This summary is not an extensive overview nor is intended to identify key/critical elements or to delineate the scope of such embodiments but rather as a prelude to the more detailed description that is presented later.
The embodiment of the disclosure provides a method for controlling a gateway, an intelligent gateway and an intelligent home system, so as to solve the technical problem of serious congestion of an intelligent home network.
In some embodiments, a method for controlling a gateway is applied to a primary gateway, the method for controlling a gateway comprising: receiving a scene Identity Identification (ID) number sent by a server; transmitting the scene ID to the slave gateway.
Optionally, before receiving the scene ID sent by the server, the method further includes: receiving scene configuration information sent by a server; sending the scene configuration information to the slave gateway; the scene configuration information includes a scene ID and device control information corresponding to the scene ID.
Optionally, after receiving the scene configuration information sent by the server, the method further includes: and configuring the self according to the scene configuration information.
Optionally, after receiving the scene ID sent by the server, the method further includes: obtaining device control information corresponding to the scene ID based on the scene configuration information; and sending the equipment control information to the household equipment connected with the main gateway.
In some embodiments, a method for controlling a gateway is applied to a slave gateway, the method for controlling a gateway comprising: receiving a scene ID sent by a main gateway; obtaining device control information corresponding to the scene ID; and sending the equipment control information to the household equipment connected with the slave gateway.
Optionally, obtaining the device control information corresponding to the scene ID includes: acquiring device control information corresponding to the scene ID based on pre-stored scene configuration information; the scene configuration information includes a scene ID and device control information corresponding to the scene ID.
Optionally, before receiving the scene ID sent by the primary gateway, the method further includes: receiving scene configuration information sent by a main gateway; and configuring the self according to the scene configuration information.
Optionally, after the device control information is sent to the home device connected to the slave gateway, the method further includes; receiving an operation result fed back by the household equipment connected with the slave gateway; and sending the operation result to the main gateway.
In some embodiments, the intelligent gateway comprises a processor and a memory storing program instructions, the processor being configured to, when executing the program instructions, perform the method for controlling the gateway as provided in the previous embodiments.
In some embodiments, the smart home system includes a server, a home device, and the smart gateway provided in the foregoing embodiments; the main gateway receives a scene ID sent by the server; the master gateway sending the scene ID to the slave gateway; the slave gateway obtaining device control information corresponding to the scene ID; and the slave gateway sends the equipment control information to the household equipment connected with the slave gateway.
The method for controlling the gateway, the intelligent gateway and the intelligent home system provided by the embodiment of the disclosure can realize the following technical effects:
the server sends the scene ID to the master gateway, the master gateway synchronizes the scene ID to the slave gateway, and the slave gateway controls the household equipment according to the scene ID, so that the intelligent household scene can be changed. Therefore, in the intelligent home network, when a scene needs to be changed, the master gateway only needs to send the scene ID to the slave gateway without sending specific equipment control information, so that the data volume transmitted in the intelligent home network is reduced, the network delay is reduced, and the control efficiency is improved.
The foregoing general description and the following description are exemplary and explanatory only and are not restrictive of the application.
Drawings
One or more embodiments are illustrated in drawings corresponding to, and not limiting to, embodiments in which elements having the same reference number designation are identified as similar elements, and in which:
fig. 1 is an environment schematic diagram of an implementation environment of a method for controlling a gateway according to an embodiment of the present disclosure;
fig. 2 is a schematic diagram of a method for controlling a gateway according to an embodiment of the present disclosure;
fig. 3 is a schematic diagram of a method for controlling a gateway according to an embodiment of the present disclosure;
fig. 4 is a schematic diagram of a method for controlling a gateway according to an embodiment of the present disclosure;
fig. 5 is a schematic diagram of a method for controlling a gateway according to an embodiment of the present disclosure;
fig. 6 is a schematic diagram of a method for controlling a gateway according to an embodiment of the present disclosure;
fig. 7 is a schematic diagram of a method for controlling a gateway according to an embodiment of the present disclosure;
fig. 8 is an interaction diagram of an intelligent home system provided by the embodiment of the present disclosure;
fig. 9 is an interaction diagram of an intelligent home system provided by the embodiment of the present disclosure;
fig. 10 is a schematic diagram of an intelligent gateway provided by an embodiment of the present disclosure.
Detailed Description
So that the manner in which the features and elements of the disclosed embodiments can be understood in detail, a more particular description of the disclosed embodiments, briefly summarized above, may be had by reference to the embodiments, some of which are illustrated in the appended drawings. In the following description of the technology, for purposes of explanation, numerous details are set forth in order to provide a thorough understanding of the disclosed embodiments. However, one or more embodiments may be practiced without these details. In other instances, well-known structures and devices may be shown in simplified form in order to simplify the drawing.
The terms "first," "second," and the like in the description and in the claims, and the above-described drawings of embodiments of the present disclosure, are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It should be understood that the data so used may be interchanged under appropriate circumstances such that embodiments of the present disclosure described herein may be made. Furthermore, the terms "comprising" and "having," as well as any variations thereof, are intended to cover non-exclusive inclusions.
The term "plurality" means two or more unless otherwise specified.
In the embodiment of the present disclosure, the character "/" indicates that the preceding and following objects are in an or relationship. For example, A/B represents: a or B.
The term "and/or" is an associative relationship that describes objects, meaning that three relationships may exist. For example, a and/or B, represents: a or B, or A and B.
Fig. 1 is an environment schematic diagram of an implementation environment of a method for controlling a gateway according to an embodiment of the present disclosure. As shown in fig. 1, the smart home system includes a server 100, a master gateway 210, a slave gateway 220, and a home device 300. The server 100 sends the scene ID to the smart gateway, and the smart gateway determines the device control information corresponding to the scene ID according to the pre-stored scene configuration information, and then sends the device control information to the home device 300.
The server 100 may be a server, a server cluster composed of several servers, or a cloud computing service center.
The household device 300 may be a mobile phone, a computer, a camera, a television, a telephone, a washing machine, an air conditioner, a refrigerator, an entrance guard device, a probe, a sensor, a detector, an electric lamp, an electric curtain, an electric window, a fire sprinkler device, an alarm device, and other intelligent products.
The master gateway 210 is an access center and a network service center of the system, and can be in communication connection with an external network, for example, the master gateway is connected to an operator in an upstream manner through a Passive Optical Network (PON), and the slave gateway 220 can be connected in a downstream manner to provide an upstream path for the slave gateway 220 to perform network data transceiving; meanwhile, the downlink can also directly provide internet access, video and telephone services and corresponding network management functions for internet access equipment, video equipment and telephone equipment in the household equipment 300.
The slave gateway 220 can receive the network data from the master gateway 210 and forward the network data to the home devices 300, and receive the network data from the home devices 300 and transmit the network data through the master gateway 210.
The master gateway 210 may also be an interconnection center, a data center, a management center, and a distributed control center of the system, and manages and controls the slave gateway 220 through an application protocol, including distributed networking, device management, data aggregation and exchange, status monitoring, and the like. The slave gateway 220 receives the management and control of the master gateway 210 in an uplink mode, provides network service for the smart home devices 300 in a downlink mode, and can intelligently manage and control the smart home devices 300 through application protocols.
In the disclosed embodiment, the number of slave gateways 220 is one or more.
Fig. 2 is a schematic diagram of a method for controlling a gateway according to an embodiment of the present disclosure. The method for controlling the gateway is applied to the main gateway shown in fig. 1, and in conjunction with fig. 2, the method for controlling the gateway includes:
s201, receiving the scene ID sent by the server.
In a smart home, a plurality of life scenarios are often set, for example:
life scene 1, night home scene: the user pushes the home at night, and the hallway or the living room and the like are automatically opened;
life scene 2, user away scene: the camera monitors the window and the gate, and alarms when the window and the gate are abnormal;
life scenario 3, sleep scenario: the air conditioner adjusts the indoor temperature to 26 ℃, and the electric curtain is automatically closed;
life scenario 4, getting up scenario: the motorized window treatment automatically opens and the air conditioner lowers the room temperature (compared to a sleeping scene).
The 4 life scenes are listed exemplarily, in practical application, more life scenes are set in the smart home, and different life scenes correspond to different scene IDs.
When the server judges that the life scene needs to be changed, the scene ID of the target life scene is sent to the main gateway, for example, after sunset time, the server judges that a scene returning to home at night needs to be started, and sends the scene ID of the scene returning to home at night to the main gateway; or, the user sends the life scene required by the user to the server through the intelligent terminal, the server sends the scene ID of the life scene required by the user to the main gateway, for example, after sunset, the user needs to work and cannot get home in time, the user sends the scene of the user leaving home to the server through the intelligent terminal, and the server sends the scene ID of the scene of the user leaving home to the main gateway.
S202, the scene ID is sent to the slave gateway.
The scene ID corresponds to the control information of the plurality of household devices one by one.
The scene ID corresponds to the life scene one by one, and in different life scenes, the home equipment has different actions and different control targets. For example, in a getting up scenario, the motorized window treatment automatically opens, and in a falling asleep scenario, the motorized window treatment automatically closes; in the falling asleep scenario, the control target of the air conditioner is to adjust the indoor temperature to 26 ℃, and in the getting up scenario, the control target of the air conditioner is to reduce the indoor temperature (below 26 ℃) or adjust the indoor temperature to a user-set temperature.
The scene ID is used for obtaining the equipment control information corresponding to the scene ID from the gateway and sending the equipment control information to the household equipment connected with the slave gateway. And after receiving the scene ID from the gateway, obtaining the equipment control information corresponding to the scene ID, and sending the equipment control information from the gateway to the household equipment connected with the slave gateway. Therefore, the control of the household equipment connected with the slave gateway is realized.
The server sends the scene ID to the master gateway, the master gateway synchronizes the scene ID to the slave gateway, and the slave gateway controls the household equipment according to the scene ID, so that the intelligent household scene can be changed. Therefore, in the intelligent home network, when a scene needs to be changed, the master gateway only needs to send the scene ID to the slave gateway without sending specific equipment control information, so that the data volume transmitted in the intelligent home network is reduced, the network delay is reduced, and the control efficiency is improved.
Fig. 3 is a schematic diagram of a method for controlling a gateway according to an embodiment of the present disclosure. The method for controlling the gateway is applied to the main gateway shown in fig. 1, and in conjunction with fig. 3, the method for controlling the gateway includes:
s301, scene configuration information sent by the server is received.
The scene configuration information includes a scene ID and device control information corresponding to the scene ID
The server stores a plurality of life scenes and scene IDs corresponding to the life scenes, and each scene ID corresponds to the action and control target of the household equipment.
S302, scene configuration information is sent to the slave gateway.
The scene configuration information is used for configuring the gateway, for example, the scene configuration information is stored in the data storage area from the gateway; the device control information corresponding to the scene ID can be obtained from the gateway after the configuration, and the device control information corresponding to the scene ID can be obtained by retrieving the scene ID from the data storage area, for example, from the gateway. In the case where the number of the slave gateways is two or more, the master gateway transmits scene configuration information to all the slave gateways.
The configuration of the slave gateway can be realized through the steps, so that the slave gateway can obtain the device control information corresponding to the scene ID based on the scene configuration information.
When the intelligent home system is operated for the first time, the master gateway receives the scene configuration information sent by the server, and then the master gateway sends the scene configuration information to the slave gateway; or when the household equipment of the intelligent household system is increased or decreased, the master gateway receives the scene configuration information sent by the server, and then the master gateway sends the scene configuration information to the slave gateway. The device control information corresponding to the scene ID is consistent with the home equipment actually connected with the slave gateway, so that the slave gateway can accurately control the home equipment, and the control efficiency is improved.
And under the condition that the household equipment is not changed and the intelligent household system normally operates, the slave gateway is not reconfigured any more.
S303, receiving a scene ID sent by the server;
s304, the scene ID is sent to the slave gateway.
The master gateway synchronizes the scene configuration information to the slave gateways, so that each slave gateway can obtain the device control information corresponding to the scene ID based on the scene configuration information, when the life scene needs to be changed, the master gateway only needs to store the scene ID to the slave gateways, specific device control information does not need to be sent, and the like, the data volume transmitted by the intelligent home system network is reduced, the network delay is reduced, and the control efficiency is improved.
Fig. 4 is a schematic diagram of a method for controlling a gateway according to an embodiment of the present disclosure. The method for controlling the gateway is applied to the main gateway shown in fig. 1, and in conjunction with fig. 4, the method for controlling the gateway includes:
s401, scene configuration information sent by the server is received.
The scene configuration information includes a scene ID and device control information corresponding to the scene ID.
S402, sending scene configuration information to the slave gateway.
And S403, configuring the self according to the scene configuration information.
For example, the main gateway stores the scene configuration information in the data storage area of the main gateway, and thus the main gateway can also obtain the device control information corresponding to the scene ID based on the configuration information.
The step of configuring the master gateway according to the scene configuration information may be performed after the master gateway transmits the scene configuration information to the slave gateway, or before the master gateway transmits the scene configuration information to the slave gateway.
S404, receiving the scene ID sent by the server.
S405, the slave gateway transmits the scene ID.
And S406, acquiring the device control information corresponding to the scene ID based on the scene configuration information.
For example, the main gateway searches the data storage area for a scene ID, and obtains device control information corresponding to the scene ID.
The step of the master gateway obtaining the device control information corresponding to the scene ID may be performed after the step of the master gateway transmitting the scene ID to the slave gateway or before the step of the master gateway transmitting the scene ID to the slave gateway.
S407, sending the equipment control information to the household equipment connected with the main gateway.
The step of the master gateway transmitting the device control information to the home devices may be performed after the step of the master gateway transmitting the scene ID to the slave gateway or before the step of the master gateway transmitting the scene ID to the slave gateway.
Through the steps, the main gateway can also control the connection with the main gateway according to the scene ID.
Optionally, when the method for controlling a gateway is applied to a primary gateway, the method for controlling a gateway further includes: and the main gateway receives the operation result fed back by the household equipment connected with the main gateway, and sends the operation result fed back by the household equipment connected with the main gateway to the server.
Optionally, when the method for controlling a gateway is applied to a primary gateway, the method for controlling a gateway further includes: and the master gateway receives the operation result fed back by the household equipment connected with the slave gateway, which is sent by the slave gateway, and sends the operation result fed back by the household equipment connected with the slave gateway to the server.
The server can conveniently obtain the actual running condition of the household equipment in time, so that the server can obtain the implementation process of the life scene corresponding to the scene ID.
For the above method applied to the control gateway of the main gateway, the explanations of each step and each term can be referred to each other, and the explanations of the same step and term are not repeated.
Fig. 5 is a schematic diagram of a method for controlling a gateway according to an embodiment of the present disclosure. The method for controlling the gateway is applied to the slave gateway shown in fig. 1, and in combination with fig. 5, the method for controlling the gateway includes:
s501, receiving the scene ID sent by the main gateway.
The scene ID is received by the primary gateway at the server. The server stores a plurality of life scenes and scene IDs corresponding to the life scenes, and each scene ID corresponds to the action and control target of the household equipment.
And S502, acquiring the device control information corresponding to the scene ID.
Optionally, obtaining the device control information corresponding to the scene ID includes: acquiring device control information corresponding to a scene ID based on pre-stored scene configuration information; the scene configuration information includes a scene ID and device control information corresponding to the scene ID.
And S503, sending the equipment control information to the household equipment connected with the slave gateway.
The server sends the scene ID to the master gateway, the master gateway synchronizes the scene ID to the slave gateway, and the slave gateway controls the household equipment according to the scene ID, so that the intelligent household scene can be changed. Therefore, in the intelligent home network, when a scene needs to be changed, the master gateway only needs to send the scene ID to the slave gateway without sending specific equipment control information, so that the data volume transmitted in the intelligent home network is reduced, the network delay is reduced, and the control efficiency is improved.
Fig. 6 is a schematic diagram of a method for controlling a gateway according to an embodiment of the present disclosure. The method for controlling the gateway is applied to the slave gateway shown in fig. 1, and in combination with fig. 6, the method for controlling the gateway includes:
s601, receiving the scene configuration information sent by the main gateway.
The scene configuration information includes a scene ID and its corresponding device control information.
And S602, configuring the self according to the scene configuration information.
For example, the slave gateway stores the scene configuration information in a data storage area of the slave gateway, so that the slave gateway can obtain the device control information corresponding to the scene ID based on the scene configuration information.
When the intelligent home system operates for the first time, the slave gateway receives scene configuration information sent by the main gateway, and configures the slave gateway according to the scene configuration information; or when the household equipment in the intelligent household system is increased or decreased, the slave gateway receives the scene configuration information sent by the master gateway, and the slave gateway configures the slave gateway according to the scene configuration information. And updating the scene configuration information in the slave gateway in time, so that the corresponding relation between the scene ID in the slave gateway and the equipment control information accords with the actual operation condition of the intelligent home system, the slave gateway can conveniently and accurately control the home equipment, and the control efficiency is improved.
S603, receiving the scene ID sent by the main gateway.
And S604, acquiring the equipment control information corresponding to the scene ID.
And S605, sending the equipment control information to the household equipment connected with the slave gateway.
Fig. 7 is a schematic diagram of a method for controlling a gateway according to an embodiment of the present disclosure. The method for controlling the gateway is applied to the slave gateway shown in fig. 1, and in combination with fig. 7, the method for controlling the gateway includes:
s701, scene configuration information sent by a main gateway is received.
And S702, configuring the self according to the scene configuration information.
S703, receiving the scene ID sent by the main gateway.
S704, device control information corresponding to the scene ID is obtained.
S705, the equipment control information is sent to the household equipment connected with the slave gateway.
And S706, receiving an operation result fed back by the household equipment connected with the slave gateway.
And S707, sending the operation result to the main gateway.
The operation result is used for being sent to the server by the main gateway. Therefore, the server can obtain the actual operation condition of the home equipment, and the server can conveniently obtain the implementation process of the life scene corresponding to the scene ID.
The embodiment of the disclosure provides an intelligent home system, which comprises a server, home equipment and an intelligent gateway provided by the embodiment. The server sends a scene ID to the intelligent gateway, and the intelligent gateway sends equipment control information corresponding to the scene ID to the household equipment.
The server sends the scene ID to the master gateway, the master gateway synchronizes the scene ID to the slave gateway, and the slave gateway controls the household equipment according to the scene ID, so that the intelligent household scene can be changed. Therefore, in the intelligent home network, when a scene needs to be changed, the master gateway only needs to send the scene ID to the slave gateway without sending specific equipment control information, so that the data volume transmitted in the intelligent home network is reduced, the network delay is reduced, and the control efficiency is improved.
Fig. 8 is an interaction diagram of an intelligent home system provided by the embodiment of the disclosure. The intelligent home system comprises a server, a master gateway, a slave gateway and home equipment, wherein:
s801, the main gateway receives the scene ID sent by the server.
S802, the master gateway sends the scene ID to the slave gateway.
S803, the device control information corresponding to the scene ID is obtained from the gateway.
And S804, the slave gateway sends the equipment control information to the household equipment connected with the slave gateway.
The server sends the scene ID to the master gateway, the master gateway synchronizes the scene ID to the slave gateway, and the slave gateway controls the household equipment according to the scene ID, so that the intelligent household scene can be changed. Therefore, in the intelligent home network, when a scene needs to be changed, the master gateway only needs to send the scene ID to the slave gateway without sending specific equipment control information, so that the data volume transmitted in the intelligent home network is reduced, the network delay is reduced, and the control efficiency is improved.
Fig. 9 is an interaction diagram of an intelligent home system provided in an embodiment of the present disclosure, wherein,
s901, the main gateway receives the scene configuration information sent by the server.
S902, the master gateway sends scene configuration information to the slave gateway; the scene configuration information includes a scene ID and device control information corresponding to the scene ID.
And S903, the main gateway configures the main gateway according to the scene configuration information.
And S904, the slave gateway configures itself according to the scene configuration information.
S905, the main gateway receives the scene ID sent by the server.
S906, the master gateway transmits the scene ID to the slave gateway.
S907, the slave gateway obtains device control information corresponding to the scene ID based on the scene configuration information.
And S908, the slave gateway sends the equipment control information to the household equipment connected with the slave gateway.
S909, the master gateway obtains device control information corresponding to the scene ID based on the scene configuration information.
S910, the main gateway sends the equipment control information to the household equipment connected with the main gateway.
And S911, receiving the operation result fed back by the household equipment connected with the slave gateway from the gateway.
S912, the slave gateway sends the operation result fed back by the household equipment connected with the slave gateway to the master gateway.
S913, the main gateway receives the operation result fed back by the household equipment connected with the main gateway.
S914, the main gateway sends the operation result to a server; the operation result comprises an operation result fed back by the household equipment connected with the slave gateway and/or an operation result fed back by the household equipment connected with the master gateway.
In some embodiments, the intelligent gateway comprises a processor and a memory storing program instructions, the processor being configured to, when executing the program instructions, perform the method for controlling the gateway as provided by the previous embodiments.
Fig. 10 is a schematic diagram of an intelligent gateway provided by an embodiment of the present disclosure. The intelligent gateway may be the master gateway shown in fig. 1, or may be the slave gateway shown in fig. 1. In the case where the smart gateway performs the control method applied to the master gateway, the smart gateway is the master gateway shown in fig. 1; the smart gateway is the slave gateway shown in fig. 1 when the smart gateway performs a control method applied to the slave gateway. As shown in fig. 10, an intelligent gateway provided in the implementation of the present disclosure includes:
a processor (processor)101 and a memory (memory)102, and may further include a Communication Interface 103 and a bus 104. The processor 101, the communication interface 103, and the memory 102 may communicate with each other via the bus 104. The communication interface 103 may be used for information transfer. The processor 101 may invoke logic instructions in the memory 102 to perform the methods for controlling a gateway provided by the foregoing embodiments.
Furthermore, the logic instructions in the memory 102 may be implemented in software functional units and stored in a computer readable storage medium when the logic instructions are sold or used as independent products.
The memory 102 is a computer-readable storage medium, and can be used for storing software programs, computer-executable programs, such as program instructions/modules corresponding to the methods in the embodiments of the present disclosure. The processor 101 executes the functional application and data processing by executing the software program, instructions and modules stored in the memory 102, that is, implements the method in the above-described method embodiments.
The memory 102 may include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function; the storage data area may store data created according to the use of the terminal device, and the like. Further, the memory 102 may include high speed random access memory and may also include non-volatile memory.
The embodiment of the disclosure provides a computer-readable storage medium, which stores computer-executable instructions configured to execute the method for controlling a gateway provided by the foregoing embodiment.
The disclosed embodiments provide a computer program product comprising a computer program stored on a computer readable storage medium, the computer program comprising program instructions which, when executed by a computer, cause the computer to perform the method for controlling a gateway provided by the aforementioned embodiments.
The computer-readable storage medium described above may be a transitory computer-readable storage medium or a non-transitory computer-readable storage medium.
The technical solution of the embodiments of the present disclosure may be embodied in the form of a software product, where the computer software product is stored in a storage medium and includes one or more instructions to enable a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method in the embodiments of the present disclosure. And the aforementioned storage medium may be a non-transitory storage medium comprising: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes, and may also be a transient storage medium.
The above description and drawings sufficiently illustrate embodiments of the disclosure to enable those skilled in the art to practice them. Other embodiments may incorporate structural, logical, electrical, process, and other changes. The examples merely typify possible variations. Individual components and functions are optional unless explicitly required, and the sequence of operations may vary. Portions and features of some embodiments may be included in or substituted for those of others. Furthermore, the words used in the specification are words of description only and are not intended to limit the claims. As used in the description of the embodiments and the claims, the singular forms "a", "an" and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. Furthermore, the terms "comprises" and/or "comprising," when used in this application, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method or device comprising the element. In this document, each embodiment may be described with emphasis on differences from other embodiments, and the same and similar parts between the respective embodiments may be referred to each other. For methods, products, etc. of the embodiment disclosures, reference may be made to the description of the method section for relevance if it corresponds to the method section of the embodiment disclosure.
Those of skill in the art would appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software may depend upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the disclosed embodiments. It can be clearly understood by those skilled in the art that, for convenience and brevity of description, the specific working processes of the system, the apparatus and the unit described above may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the embodiments disclosed herein, the disclosed methods, products (including but not limited to devices, apparatuses, etc.) may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, a division of a unit may be merely a division of a logical function, and an actual implementation may have another division, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form. Units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to implement the present embodiment. In addition, functional units in the embodiments of the present disclosure may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit.
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). In some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. Each block of the block diagrams and/or flowchart illustrations, and combinations of blocks in the block diagrams and/or flowchart illustrations, can be implemented by special purpose hardware-based systems that perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
Claims (10)
1. A method for controlling a gateway, applied to a primary gateway, the method comprising:
receiving a scene ID sent by a server;
transmitting the scene ID to the slave gateway.
2. The method of claim 1, wherein before receiving the scene ID sent by the server, the method further comprises:
receiving scene configuration information sent by a server;
sending the scene configuration information to the slave gateway;
the scene configuration information includes a scene ID and device control information corresponding to the scene ID.
3. The method of claim 2, after receiving the scene configuration information sent by the server, further comprising:
and configuring the self according to the scene configuration information.
4. The method according to claim 3, further comprising, after receiving the scene ID sent by the server:
obtaining device control information corresponding to the scene ID based on the scene configuration information;
and sending the equipment control information to the household equipment connected with the main gateway.
5. A method for controlling a gateway, applied to a slave gateway, the method comprising:
receiving a scene ID sent by a main gateway;
obtaining device control information corresponding to the scene ID;
and sending the equipment control information to the household equipment connected with the slave gateway.
6. The method of claim 5, wherein obtaining device control information corresponding to the scene ID comprises:
acquiring device control information corresponding to the scene ID based on pre-stored scene configuration information;
the scene configuration information includes a scene ID and device control information corresponding to the scene ID.
7. The method of claim 6, further comprising, before receiving the scene ID sent by the primary gateway:
receiving scene configuration information sent by a main gateway;
and configuring the self according to the scene configuration information.
8. The method according to claim 5, wherein after sending the device control information to the home device connected to the slave gateway, further comprising;
receiving an operation result fed back by the household equipment connected with the slave gateway;
and sending the operation result to the main gateway.
9. An intelligent gateway comprising a processor and a memory storing program instructions, wherein the processor is configured to perform the method for controlling a gateway of any one of claims 1 to 8 when executing the program instructions.
10. An intelligent home system is characterized by comprising a server, a master gateway, slave gateways and home equipment; wherein,
the main gateway receives the scene ID sent by the server;
the master gateway sending the scene ID to the slave gateway;
the slave gateway obtaining device control information corresponding to the scene ID;
and the slave gateway sends the equipment control information to the household equipment connected with the slave gateway.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010804872.9A CN112152892A (en) | 2020-08-12 | 2020-08-12 | Method for controlling gateway, intelligent gateway and intelligent home system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010804872.9A CN112152892A (en) | 2020-08-12 | 2020-08-12 | Method for controlling gateway, intelligent gateway and intelligent home system |
Publications (1)
Publication Number | Publication Date |
---|---|
CN112152892A true CN112152892A (en) | 2020-12-29 |
Family
ID=73887964
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010804872.9A Pending CN112152892A (en) | 2020-08-12 | 2020-08-12 | Method for controlling gateway, intelligent gateway and intelligent home system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112152892A (en) |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113777939A (en) * | 2021-09-01 | 2021-12-10 | 珠海太川云社区技术股份有限公司 | Intelligent household scene setting method and system |
CN113885349A (en) * | 2021-11-04 | 2022-01-04 | 深圳海智创科技有限公司 | Local area network autonomous distributed intelligent home management method and system |
CN114629923A (en) * | 2022-03-21 | 2022-06-14 | 北京小米移动软件有限公司 | Method, device and equipment for synchronizing data and storage medium |
CN115174293A (en) * | 2022-05-30 | 2022-10-11 | 青岛海尔科技有限公司 | Scene information synchronization method and device, storage medium and electronic device |
CN115296945A (en) * | 2022-06-28 | 2022-11-04 | 青岛海尔科技有限公司 | Method, system and device for controlling equipment, storage medium and electronic device |
CN115695171A (en) * | 2021-07-30 | 2023-02-03 | 青岛海尔科技有限公司 | Scene configuration method and device of panel equipment, storage medium and electronic device |
CN115883287A (en) * | 2021-09-29 | 2023-03-31 | 青岛海尔科技有限公司 | Method and device for determining scene operation gateway, storage medium and electronic device |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1599344A (en) * | 2003-09-15 | 2005-03-23 | 电视电声研究所 | Architecture structure and realizing method of home network system |
CN104796444A (en) * | 2014-01-21 | 2015-07-22 | 广州海图克计算机技术有限公司 | Digital household scene control management system and method |
CN104950823A (en) * | 2014-03-26 | 2015-09-30 | 广州合立正通信息科技有限公司 | Method for realizing scene control of a plurality of sets of wireless controlled equipment |
CN111913450A (en) * | 2020-08-04 | 2020-11-10 | 青岛海信日立空调系统有限公司 | Control method of intelligent household equipment, intelligent household system and gateway thereof |
-
2020
- 2020-08-12 CN CN202010804872.9A patent/CN112152892A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1599344A (en) * | 2003-09-15 | 2005-03-23 | 电视电声研究所 | Architecture structure and realizing method of home network system |
CN104796444A (en) * | 2014-01-21 | 2015-07-22 | 广州海图克计算机技术有限公司 | Digital household scene control management system and method |
CN104950823A (en) * | 2014-03-26 | 2015-09-30 | 广州合立正通信息科技有限公司 | Method for realizing scene control of a plurality of sets of wireless controlled equipment |
CN111913450A (en) * | 2020-08-04 | 2020-11-10 | 青岛海信日立空调系统有限公司 | Control method of intelligent household equipment, intelligent household system and gateway thereof |
Cited By (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115695171A (en) * | 2021-07-30 | 2023-02-03 | 青岛海尔科技有限公司 | Scene configuration method and device of panel equipment, storage medium and electronic device |
CN113777939A (en) * | 2021-09-01 | 2021-12-10 | 珠海太川云社区技术股份有限公司 | Intelligent household scene setting method and system |
CN115883287A (en) * | 2021-09-29 | 2023-03-31 | 青岛海尔科技有限公司 | Method and device for determining scene operation gateway, storage medium and electronic device |
CN113885349A (en) * | 2021-11-04 | 2022-01-04 | 深圳海智创科技有限公司 | Local area network autonomous distributed intelligent home management method and system |
CN114629923A (en) * | 2022-03-21 | 2022-06-14 | 北京小米移动软件有限公司 | Method, device and equipment for synchronizing data and storage medium |
US12079241B2 (en) | 2022-03-21 | 2024-09-03 | Beijing Xiaomi Mobile Software Co., Ltd. | Method and device for synchronizing data, and storage medium |
CN115174293A (en) * | 2022-05-30 | 2022-10-11 | 青岛海尔科技有限公司 | Scene information synchronization method and device, storage medium and electronic device |
CN115174293B (en) * | 2022-05-30 | 2024-03-22 | 青岛海尔科技有限公司 | Scene information synchronization method and device, storage medium and electronic device |
CN115296945A (en) * | 2022-06-28 | 2022-11-04 | 青岛海尔科技有限公司 | Method, system and device for controlling equipment, storage medium and electronic device |
CN115296945B (en) * | 2022-06-28 | 2024-03-22 | 青岛海尔科技有限公司 | Control method, system and device of equipment, storage medium and electronic device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN112152892A (en) | Method for controlling gateway, intelligent gateway and intelligent home system | |
CN107710689B (en) | Cloud synchronization architecture for home automation systems | |
KR102350430B1 (en) | Over-the-air provisioning and configuration of hardware elements in a home automation system | |
EP3111621A1 (en) | Rules engine combined with message routing | |
US10320605B2 (en) | Rapid gateway swap | |
CN111526606B (en) | Method and device for data transmission, smart home equipment and storage medium | |
US20170192796A1 (en) | Methods and systems for configuring a device using a firmware configuration block | |
WO2023024617A1 (en) | Method and apparatus for network distribution of device, server, smart household appliance, and terminal device | |
CN110769033A (en) | Intelligent networking method and system | |
CA2883612C (en) | Cloud-enhanced traffic controller | |
CN113436631B (en) | Voice information processing method and system and device for voice information processing | |
CN110602221A (en) | Notification level processing method and device and readable storage medium | |
WO2024103608A1 (en) | Method and apparatus for provisioning device, and storage medium | |
CN105207866B (en) | Communication method of control terminal based on air conditioner control network and air conditioner control network | |
JP2004158988A (en) | Data transmitting device, method therefor, and data communication system | |
CN112702751A (en) | Method for training and upgrading wireless communication model, network equipment and storage medium | |
EP2849163B1 (en) | Security system with point bus abstraction and partitioning | |
US12045041B2 (en) | Wireless communication for industrial automation | |
US10263915B2 (en) | Method for processing event between controller and network device | |
CN109218049A (en) | A kind of control method, relevant device and system | |
CN108616433B (en) | State synchronization method, device, gateway equipment and storage medium | |
CN113311745A (en) | Method, system, device and equipment for product monitoring | |
CN114095351A (en) | Method, device and system for configuring device functions | |
CN112751706A (en) | Target data transmission method and device | |
CN111865739B (en) | Method and device for displaying state of household appliance |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |