CN112714051A - Method for realizing multi-control of equipment across gateways, main gateway and intelligent home system - Google Patents

Method for realizing multi-control of equipment across gateways, main gateway and intelligent home system Download PDF

Info

Publication number
CN112714051A
CN112714051A CN202011622064.7A CN202011622064A CN112714051A CN 112714051 A CN112714051 A CN 112714051A CN 202011622064 A CN202011622064 A CN 202011622064A CN 112714051 A CN112714051 A CN 112714051A
Authority
CN
China
Prior art keywords
switch
gateway
identification information
gateways
control
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202011622064.7A
Other languages
Chinese (zh)
Inventor
沈澈
孙波海
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Atte Smart Life Co ltd
Original Assignee
Shenzhen Atte Smart Life 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 Shenzhen Atte Smart Life Co ltd filed Critical Shenzhen Atte Smart Life Co ltd
Priority to CN202011622064.7A priority Critical patent/CN112714051A/en
Publication of CN112714051A publication Critical patent/CN112714051A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/2803Home automation networks
    • H04L12/2816Controlling appliance services of a home automation network by calling their functionalities
    • 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], computer integrated manufacturing [CIM]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/2803Home automation networks
    • H04L12/283Processing of data at an internetworking point of a home automation network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/66Arrangements for connecting between networks having differing types of switching systems, e.g. gateways
    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/2803Home automation networks
    • H04L2012/284Home automation networks characterised by the type of medium used
    • H04L2012/2841Wireless
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Abstract

The invention provides a method for realizing multi-control of equipment across gateways, a main gateway and an intelligent home system, wherein the intelligent home system comprises a plurality of gateways and a plurality of switches, one of the gateways is the main gateway, and the other gateways are slave gateways, the slave gateways are respectively connected with the main gateway and the switches through wireless communication, and the method comprises the following steps: receiving a switching signal uploaded from any slave gateway, wherein the switching signal comprises identification information and a switching state of a current trigger switch; inquiring identification information of a correlation switch corresponding to the identification information of the current trigger switch from local; determining a target slave gateway for performing on-off control on the associated switch according to the identification information of the associated switch; and sending the identification information of the associated switch and the switch state to the target slave gateway so that the target slave gateway sends a switch signal corresponding to the switch state to the associated switch. The invention achieves the purpose of realizing wireless multi-control of the intelligent household equipment across the gateways through the primary-secondary relationship formed by the plurality of gateways and a matched control method.

Description

Method for realizing multi-control of equipment across gateways, main gateway and intelligent home system
Technical Field
The invention relates to the technical field of intelligent home, in particular to a method for realizing multi-control of equipment across gateways, a main gateway and an intelligent home system.
Background
The intelligent home system utilizes advanced computer technology, network communication technology, intelligent cloud control, comprehensive wiring technology and medical electronic technology to integrate individual requirements according to the principle of human engineering, organically combines various subsystems related to home life such as security protection, light control, curtain control, gas valve control, information household appliances, scene linkage, floor heating, health care, epidemic prevention, security protection and the like, and realizes the brand-new home life experience of people-oriented through networked comprehensive intelligent control and management.
In smart home life, multiple controls such as dual control and three control are usually required for smart home devices, and in the case of dual control, dual control is currently realized by purchasing a switch supporting dual control to perform wiring, or short-distance dual control is realized in the same network by using a zigbee gateway as a remote controller.
However, the above-mentioned way of implementing dual control has the following disadvantages: the wiring wastes materials and is troublesome to maintain; the wireless gateway is only effective under the same zigbee gateway, and cross-gateway double control cannot be realized.
Disclosure of Invention
Based on this, the invention aims to provide a method for realizing multi-control of equipment across gateways, a main gateway and an intelligent home system, and aims to solve the technical problem that wireless dual control across gateways cannot be realized at present.
The method for realizing multi-control of equipment across gateways according to the embodiment of the invention is applied to an intelligent home system, the intelligent home system comprises a plurality of gateways and a plurality of switches, one of the gateways is a master gateway, and the other gateways are slave gateways, the method is suitable for the master gateway, the slave gateways are respectively connected with the master gateway and the switches through wireless communication, and the method comprises the following steps:
receiving a switching signal uploaded from any slave gateway, wherein the switching signal comprises identification information and a switching state of a current trigger switch;
inquiring the identification information of the associated switch corresponding to the identification information of the current trigger switch from the local;
determining a target slave gateway for performing switch control on the association switch according to the identification information of the association switch;
and sending the identification information of the associated switch and the switch state to the target slave gateway so that the target slave gateway sends a switch signal corresponding to the switch state to the associated switch.
Preferably, the method further comprises:
acquiring identification information of a plurality of switches which are required to form multi-control and are set by a user;
and storing the identification information of the switches in a local mapping table in an associated manner.
Preferably, the step of locally querying the identification information of the associated switch corresponding to the identification information of the current trigger switch includes:
and inquiring corresponding associated identification information from the local mapping table according to the identification information of the current trigger switch so as to obtain the identification information of the associated switch.
Preferably, after the step of locally querying the identification information of the associated switch corresponding to the identification information of the current trigger switch, the method further includes:
judging whether the identification information of the associated switch is inquired;
and if so, executing a step of determining a target slave gateway for performing switch control on the associated switch according to the identification information of the associated switch.
Preferably, the identification information includes a physical address, a model number, and/or a number.
Preferably, the step of sending the identification information of the associated switch and the switch status to the target slave gateway includes:
judging whether a feedback signal of the target slave gateway is received or not;
and if not, sending the identification information of the association switch to the target slave gateway once every preset time.
Preferably, the step of sending the identification information of the association switch to the target from the gateway once every preset time includes:
acquiring current time, and determining the preset time according to the current time;
and sending the identification information of the association switch to the target slave gateway once every the preset time.
The master gateway according to the embodiment of the invention is applied to an intelligent home system, the intelligent home system comprises a plurality of gateways and a plurality of switches, one of the gateways is a master gateway, and the other gateways are slave gateways, the slave gateways are respectively connected with the master gateway and the switches through wireless communication, and the master gateway comprises:
the signal receiving module is used for receiving any switching signal uploaded from the gateway, wherein the switching signal comprises identification information and a switching state of a current trigger switch;
the information inquiry module is used for inquiring the identification information of the associated switch corresponding to the identification information of the current trigger switch from the local;
the gateway determining module is used for determining a target slave gateway for performing switch control on the association switch according to the identification information of the association switch;
and the information sending module is used for sending the identification information of the associated switch and the switch state to the target slave gateway so that the target slave gateway sends a switch signal corresponding to the switch state to the associated switch.
Preferably, the master gateway further comprises:
the information acquisition module is used for acquiring identification information of a plurality of switches which are required to form multi-control and are set by a user;
and the information storage module is used for storing the identification information of the switches in a local mapping table in an associated manner.
The invention also provides an intelligent home system which comprises a plurality of gateways and a plurality of switches, wherein one of the gateways is a master gateway, and the other gateways are slave gateways, the master gateway is the master gateway, and the master gateway, the slave gateways and the switches are connected through wireless communication.
Compared with the prior art: one or more gateways are selected from a plurality of gateways of the intelligent home system as a master gateway, and the rest are slave gateways, the slave gateways report the identification information and the switch state of the current trigger switch to the master gateway, the master gateway finds a dual-control associated switch formed by the master gateway according to the reported information, and sends the reported information to a target slave gateway of a network where the associated switch is located, so that the target slave gateway controls the associated switch to perform corresponding switch actions, and the purpose of realizing wireless multi-control of the intelligent home equipment across the gateways is achieved.
Drawings
Fig. 1 is a schematic structural diagram of an intelligent home system provided in an embodiment of the present invention;
fig. 2 is a flowchart of a method for implementing device multi-control across gateways according to a first embodiment of the present invention;
fig. 3 is a flowchart of a method for implementing device multi-control across gateways in a second embodiment of the present invention;
fig. 4 is a schematic structural diagram of a master gateway in a third embodiment of the present invention.
The following detailed description will further illustrate the invention in conjunction with the above-described figures.
Detailed Description
To facilitate an understanding of the invention, the invention will now be described more fully with reference to the accompanying drawings. Several embodiments of the invention are presented in the drawings. This invention may, however, be embodied in many different forms and should not be construed as limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete.
It will be understood that when an element is referred to as being "secured to" another element, it can be directly on the other element or intervening elements may also be present. When an element is referred to as being "connected" to another element, it can be directly connected to the other element or intervening elements may also be present. The terms "vertical," "horizontal," "left," "right," and the like as used herein are for illustrative purposes only.
Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs. The terminology used in the description of the invention herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. As used herein, the term "and/or" includes any and all combinations of one or more of the associated listed items.
In the prior art, double control is realized by purchasing a switch supporting double control for wiring, but the wiring in the mode wastes materials and is troublesome to maintain, and the intelligent household requirement is not met; the other mode is that the zigbee gateway is used as a remote controller to realize short-distance double control in the same network, but the zigbee gateway is only effective in the same zigbee gateway and cannot realize cross-gateway double control. Therefore, the invention aims to provide a method for realizing multi-control of equipment across gateways, a main gateway and an intelligent home system, so as to achieve the purpose of realizing wireless multi-control of intelligent home equipment across gateways through a main-secondary relationship formed by a plurality of gateways and a matched control method.
The following embodiments may be applied to the smart home system shown in fig. 1, where the smart home system shown in fig. 1 includes a plurality of gateways and a plurality of switches, and one of the gateways is a master gateway and the others are slave gateways. Specifically, the plurality of gateways may form a primary score and a secondary score through a network, for example, one gateway is determined to be a primary gateway from any of the plurality of gateways, and the other gateways are determined to be secondary gateways.
The switch is a control switch of the intelligent household equipment, and specifically can be an intelligent switch supporting wireless communication. The master gateway and the slave gateway respectively control the switches in the networks where the master gateway and the slave gateway are located. In general, a gateway manages the smart home devices and switches in the network, for example, the gateway, the smart home devices and the switches in the living room form a living room network, and the smart home devices and the switches in the living room network can be managed by the gateway in the living room. During specific implementation, the whole home environment can be subjected to regional management, each region is provided with one gateway, and each region correspondingly forms one network, so that the networks jointly form an intelligent home system.
Specifically, the slave gateway is respectively connected with the master gateway and the switch responsible for control through wireless communication, and in addition, the master gateway is also connected with the switch responsible for control through wireless communication, that is, the slave gateway and the master gateway both have a switch control function. The wireless communication mode may be, but is not limited to, a 4G communication technology, a 5G communication technology, a 4.5G communication technology, a Zigbee protocol Zigbee communication technology, a Controller Area Network (CAN) bus technology, a PLC technology, a WiFi communication technology, a bluetooth communication technology, an IPTV technology, an infrared communication technology, and the like.
It should be noted that the configuration shown in fig. 1 is not intended to limit the smart home system, and in other embodiments, the smart home system may include fewer or more components than those shown, or some components may be combined, or a different arrangement of components may be used. In addition, how to achieve the purpose of realizing wireless multi-control of the smart home devices across the gateways through the primary-secondary relationship formed by the multiple gateways and a matched control method will be described in detail below with reference to specific examples.
Example one
Referring to fig. 2, a method for implementing multiple control of devices across gateways in a first embodiment of the present invention is shown, and is applied to an intelligent home system, where the intelligent home system includes a plurality of gateways and a plurality of switches, one of the gateways is a master gateway, and the others are slave gateways, the method is applied to the side of the master gateway, and the slave gateways are respectively connected with the master gateway and the switches through wireless communication, and the method includes steps S01-S04.
And step S01, receiving any switching signal uploaded from the gateway, wherein the switching signal comprises the identification information and the switching state of the current trigger switch.
It should be noted that the current trigger switch is a switch that is currently triggered to perform an on/off action, for example, when a user manually presses a light switch to turn on light, the light switch is the current trigger switch. The identification information specifically includes a physical address, a model number, a serial number and/or a number (for example, numbering each switch in a home in sequence), and the like. The switch state includes an open state or a closed state.
In specific implementation, because the switch is in communication connection with the slave gateway in the network where the switch is located, the switch can report the identification information and the switch state (on/off) of the switch to the slave gateway in real time or when the switch is triggered, so that the slave gateway can know the identification information and the switch state of the current trigger switch in the network and then report the identification information and the switch state of the current trigger switch to the master gateway. For example, when a user manually presses a light switch to turn on the light, the slave gateway of the network where the light switch is located reports the physical address and the on state of the light switch to the master gateway.
Step S02, the identification information of the associated switch corresponding to the identification information of the current trigger switch is queried locally.
In specific implementation, a user may input identification information of a plurality of switches that need to form multiple controls in the main gateway, and the main gateway may associate and store the currently input identification information of the plurality of switches. After the identification information of the current trigger switch is acquired, the current trigger switch and which switch form the multi-control can be determined, and the identification information of other switches (namely, associated switches) forming the multi-control with the current trigger switch can be determined.
And step S03, determining a target slave gateway for performing switch control on the associated switch according to the identification information of the associated switch.
In specific implementation, identification information of all switches that can be controlled by each gateway (including the slave gateway and the master gateway) may be pre-entered, or a network where each switch is located and a management gateway corresponding to each network may be pre-entered, so that after the identification information of the associated switch is obtained, which gateway (including the slave gateway and the master gateway) can communicate with the associated switch to control the associated switch may be determined, and the determined gateway is the target slave gateway.
Step S04, sending the identification information of the associated switch and the switch state to the target slave gateway, so that the target slave gateway sends a switch signal corresponding to the switch state to the associated switch.
It should be understood that sending the identification information of the associated switch to the target slave gateway is to let the target slave gateway know which switch needs to be controlled, and sending the switch state of the current trigger switch to the target slave gateway is to let the target slave gateway know how control needs to be performed.
By way of example and not limitation, as an application scenario, for example, the main light of the living room needs to be controlled in a double way, a wireless switch a is installed on the wall of the living room, and a wireless switch B is installed at the door edge of the master bedroom, that is, the wireless switch B and the wireless switch a need to form a double control, so that both can control the main light of the living room; assuming that the wireless switch A belongs to a living room network and is controlled by a living room gateway, and the wireless switch B belongs to a master bedroom network and is controlled by a master bedroom gateway, assuming that the living room gateway is determined to be the master gateway and the master bedroom gateway is the slave gateway, a user can input identification information of the wireless switch A and the wireless switch B on the living room gateway so as to finish double control of the wireless switch A and the wireless switch B; when a user presses the wireless switch B at the door of the master bedroom to turn off the main lighting of the living room, the switch state of the wireless switch B is the off state, then the master bedroom gateway sends the identification information and the off state of the wireless switch B to the living room gateway, the object gateway inquires that the wireless switch B and the wireless switch A form double control, the wireless switch A is controlled by the object gateway, the object gateway sends a turn-off instruction to the wireless switch A at the moment to control the wireless switch A to be also in the off state (the states of the two switches forming the double control are kept consistent), and therefore the main lighting of the living room is guaranteed to be successfully turned off, and wireless cross-gateway double control of the main lighting of the living room is achieved.
In summary, in the method for implementing multiple control of devices across gateways in the above embodiments of the present invention, one or more gateways of a plurality of gateways of an intelligent home system are selected as a master gateway, and the other gateways are slave gateways, the slave gateways report identification information and a switch state of a current trigger switch to the master gateway, the master gateway finds a dual-controlled association switch formed by the master gateway according to the reported information, and issues the reported information to a target slave gateway of a network where the association switch is located, so that the target slave gateway controls the association switch to perform a corresponding switching action, thereby achieving the purpose of implementing wireless multiple control of the intelligent home device across gateways.
Example two
Referring to fig. 3, a method for implementing multiple control of devices across gateways in a first embodiment of the present invention is shown, and is applied to an intelligent home system, where the intelligent home system includes a plurality of gateways and a plurality of switches, one of the gateways is a master gateway, and the others are slave gateways, the method is applied to the side of the master gateway, and the slave gateways are respectively connected to the master gateway and the switches through wireless communication, and the method includes steps S11 to S17.
And step S11, receiving any switching signal uploaded from the gateway, wherein the switching signal comprises the identification information and the switching state of the current trigger switch.
Step S12, according to the identification information of the current trigger switch, querying the corresponding associated identification information from the local mapping table to obtain the identification information of the associated switch.
In particular implementations, the method further includes:
acquiring identification information of a plurality of switches which are required to form multi-control and are set by a user;
and storing the identification information of the switches in a local mapping table in an associated manner.
That is, the user may input the identification information of the switches that need to form multiple controls in the main gateway, and the main gateway may store the currently input identification information of the switches in the local mapping table in an associated manner. After the identification information of the current trigger switch is acquired, the current trigger switch and which switch form the multi-control can be determined by looking up the table, and the identification information of other switches (namely, associated switches) forming the multi-control with the current trigger switch can be directly acquired from the table.
Step S13, determine whether the identification information of the associated switch is queried.
When the identification information of the associated switch is inquired, representing that the current trigger switch and other switches form multi-control, executing step S14-step S16; and when the identification information of the associated switch is not inquired, the current trigger switch does not form multi-control with other switches, and the operation is not carried out.
And step S14, determining a target slave gateway for performing switch control on the associated switch according to the identification information of the associated switch.
Step S15, sending the identification information of the associated switch and the switch state to the target slave gateway, so that the target slave gateway sends a switch signal corresponding to the switch state to the associated switch.
And step S16, judging whether a feedback signal of the target slave gateway is received.
In specific implementation, it may be set that the slave gateway receives the signal sent by the master gateway and then feeds back a signal to the master gateway, so that the master gateway knows whether the slave gateway successfully receives the sent signal. Therefore, when the feedback signal of the target slave gateway is not received, which represents that the target slave gateway does not successfully receive the issued signal, which may be caused by a wireless network failure (e.g., no network, poor/unstable network signal, etc.) or a target slave gateway failure (e.g., a wireless communication module is damaged, an MCU failure, etc.), step S17 is executed; and when the feedback signal of the target slave gateway is received, the target slave gateway does not act when successfully receiving the issued signal.
And step S17, sending the identification information of the association switch to the target slave gateway once every preset time.
Specifically, when a feedback signal of the target slave gateway is not received due to a wireless network failure, the present embodiment may send the identification information of the association switch to the target slave gateway every preset time, that is, may continuously and intermittently issue a signal to the target slave gateway until receiving the feedback signal of the target slave gateway, and this is intended to: when the network is recovered, the associated switch can be controlled at the first time, so that the double-control effect can be recovered at the first time. In addition, when the feedback signal is not received for a long time, for example, the number of times that the master gateway sends the identification information of the association switch to the target slave gateway has reached a preset number of times (for example, 50 times), a failure prompt may be sent, and the failure prompt may be sent in a manner of warning the master gateway, flashing light, or the like, or may be sent by pushing a guarantee prompt to the user terminal associated with the master gateway.
In some cases of this embodiment, the step of sending the identification information of the association switch to the target from the gateway once every preset time includes:
acquiring current time, and determining the preset time according to the current time;
and sending the identification information of the association switch to the target slave gateway once every the preset time.
That is, in specific implementation, different signal issuing frequencies can be determined according to different current times, and then signals are continuously issued to the target slave gateway at the determined issuing frequencies. For example, but not limited to, if the current time is late morning (23-5 o 'clock), the current time is determined as a first preset time, if the current time is daytime, the current time is determined as a second preset time, and if the current time is evening (19-23 o' clock, for example), the current time is determined as a third preset time, wherein the first preset time, the second preset time and the third preset time are sequentially decreased, that is, the distribution frequency in the evening is higher than the distribution frequency in the daytime, and the distribution frequency in the daytime is higher than the distribution frequency in the late morning, because the daytime and the evening belong to a high distribution period (the evening is higher than the daytime utilization rate), the double control effect of the equipment needs to be recovered as soon as possible, and the late morning belongs to a low distribution period of the household equipment, and in order to avoid that the main gateway is continuously in the high frequency communication state, the signal distribution frequency is decreased, so that the power consumption of the main gateway is decreased, And the service life is prolonged (particularly the service life of the wireless communication module is prolonged).
EXAMPLE III
Another aspect of the present invention further provides a master gateway, please refer to fig. 4, which shows a master gateway in a third embodiment of the present invention, and is applied to an intelligent home system, where the intelligent home system includes a plurality of gateways and a plurality of switches, one of the gateways is a master gateway, and the others are slave gateways, and the slave gateways are respectively connected to the master gateway and the switches through wireless communications, where the master gateway includes:
the signal receiving module 11 is configured to receive any switching signal uploaded from the gateway, where the switching signal includes identification information and a switching state of a current trigger switch;
the information query module 12 is configured to query, from the local, the identification information of the associated switch corresponding to the identification information of the current trigger switch;
a gateway determining module 13, configured to determine, according to the identifier information of the associated switch, a target slave gateway for performing switch control on the associated switch;
and an information sending module 14, configured to send the identification information of the associated switch and the switch state to the target slave gateway, so that the target slave gateway sends a switch signal corresponding to the switch state to the associated switch.
It should be noted that the current trigger switch is a switch that is currently triggered to perform an on/off action, for example, when a user manually presses a light switch to turn on light, the light switch is the current trigger switch. The identification information specifically includes a physical address, a model number, a serial number and/or a number (for example, numbering each switch in a home in sequence), and the like. The switch state includes an open state or a closed state.
In specific implementation, because the switch is in communication connection with the slave gateway in the network where the switch is located, the slave gateway can know the identification information and the switch state of the current trigger switch in the network, and then report the identification information and the switch state of the current trigger switch to the master gateway. For example, when a user manually presses a light switch to turn on the light, the slave gateway of the network where the light switch is located reports the physical address and the on state of the light switch to the master gateway.
In specific implementation, a user may input identification information of a plurality of switches that need to form multiple controls in the main gateway, and the main gateway may associate and store the currently input identification information of the plurality of switches. After the identification information of the current trigger switch is acquired, the current trigger switch and which switch form the multi-control can be determined, and the identification information of other switches (namely, associated switches) forming the multi-control with the current trigger switch can be determined.
In specific implementation, identification information of all switches that can be controlled by each gateway (including the slave gateway and the master gateway) may be pre-entered, or a network where each switch is located and a management gateway corresponding to each network may be pre-entered, so that after the identification information of the associated switch is obtained, which gateway (including the slave gateway and the master gateway) can communicate with the associated switch to control the associated switch may be determined, and the determined gateway is the target slave gateway.
Further, in some optional embodiments of the present invention, the primary gateway further comprises:
the information acquisition module is used for acquiring identification information of a plurality of switches which are required to form multi-control and are set by a user;
and the information storage module is used for storing the identification information of the switches in a local mapping table in an associated manner.
Further, in some optional embodiments of the present invention, the information query module 12 includes:
and the information query unit is used for querying corresponding associated identification information from the local mapping table according to the identification information of the current trigger switch so as to obtain the identification information of the associated switch.
Further, in some optional embodiments of the present invention, the primary gateway further comprises:
the query judging module is used for judging whether the identification information of the associated switch is queried or not; when the identification information of the associated switch is queried, the gateway determining module 13 determines a target slave gateway for performing switch control on the associated switch according to the identification information of the associated switch.
Further, in some alternative embodiments of the present invention, the identification information includes a physical address, a model number, and/or a number.
Further, in some optional embodiments of the present invention, the primary gateway further comprises:
the signal judgment module is used for judging whether a feedback signal of the target slave gateway is received or not; if the feedback signal of the target slave gateway is not received, the information sending module 14 sends the identification information of the association switch to the target slave gateway once every preset time.
Further, in some optional embodiments of the present invention, the information sending module 14 includes:
the time determining unit is used for acquiring the current time and determining the preset time according to the current time;
and the information sending unit is used for sending the identification information of the association switch to the target slave gateway once every preset time.
The functions or operation steps of the modules and units when executed are substantially the same as those of the method embodiments, and are not described herein again.
In summary, in this embodiment, one or more gateways of the multiple gateways of the smart home system are selected as the master gateway, and the other gateways are the slave gateways, the slave gateways report the identification information and the switch state of the current trigger switch to the master gateway, the master gateway finds the associated switch forming the dual control with the master gateway according to the reported information, and issues the reported information to the target slave gateway of the network where the associated switch is located, so that the target slave gateway controls the associated switch to perform a corresponding switching action, thereby achieving the purpose of implementing wireless multi-control of the smart home device across gateways.
Example four
A fourth embodiment of the present invention further provides an intelligent home system, including a plurality of gateways and a plurality of switches, where one of the gateways is a master gateway and the others are slave gateways, the master gateway is the master gateway described in any of the above embodiments, and the master gateway, the slave gateways and the switches are connected through wireless communication.
In particular, the primary gateway comprises a memory, a processor and a computer program stored on the memory and executable on the processor, which when executed by the processor implements the temperature monitoring method as described above.
The processor may be a Central Processing Unit (CPU), a controller, a microcontroller, a microprocessor or other data Processing chip in some embodiments, and is configured to run program codes stored in the memory or process data, such as executing an access restriction program.
Wherein the memory includes at least one type of readable storage medium including flash memory, hard disks, multimedia cards, card-type memory (e.g., SD or DX memory, etc.), magnetic memory, magnetic disks, optical disks, etc. The memory may in some embodiments be an internal storage unit of the primary gateway, e.g. a hard disk of the primary gateway. The memory may also be an external storage device of the main gateway in other embodiments, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), etc. provided on the main gateway. Further, the memory may also include both an internal storage unit of the primary gateway and an external storage device. The memory may be used not only to store application software installed in the main gateway and various types of data, but also to temporarily store data that has been output or will be output.
To sum up, in the smart home system in this embodiment, one or more gateways of the multiple gateways of the smart home system are selected as a master gateway, and the other gateways are slave gateways, the slave gateways report the identification information and the on-off state of the current trigger switch to the master gateway, the master gateway finds the associated switch forming the dual control with the master gateway according to the reported information, and sends the reported information to the target slave gateway of the network where the associated switch is located, so that the target slave gateway controls the associated switch to perform a corresponding switching action, thereby achieving the purpose of implementing wireless multi-control of the smart home devices across the gateways.
The technical features of the embodiments described above may be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the embodiments described above are not described, but should be considered as being within the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
Those of skill in the art will understand that the logic and/or steps represented in the flowcharts or otherwise described herein, e.g., an ordered listing of executable instructions that can be viewed as implementing logical functions, can be embodied in any computer-readable medium for use by or in connection with an instruction execution system, apparatus, or device, such as a computer-based system, processor-containing system, or other system that can fetch the instructions from the instruction execution system, apparatus, or device and execute the instructions. For the purposes of this description, a "computer-readable medium" can be any means that can contain, store, communicate, propagate, or transport the program for use by or in connection with the instruction execution system, apparatus, or device.
More specific examples (a non-exhaustive list) of the computer-readable medium would include the following: an electrical connection (electronic device) having one or more wires, a portable computer diskette (magnetic device), a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber device, and a portable compact disc read-only memory (CDROM). Additionally, the computer-readable medium could even be paper or another suitable medium upon which the program is printed, as the program can be electronically captured, via for instance optical scanning of the paper or other medium, then compiled, interpreted or otherwise processed in a suitable manner if necessary, and then stored in a computer memory.
It should be understood that portions of the present invention may be implemented in hardware, software, firmware, or a combination thereof. In the above embodiments, the various steps or methods may be implemented in software or firmware stored in memory and executed by a suitable instruction execution system. For example, if implemented in hardware, as in another embodiment, any one or combination of the following techniques, which are known in the art, may be used: a discrete logic circuit having a logic gate circuit for implementing a logic function on a data signal, an application specific integrated circuit having an appropriate combinational logic gate circuit, a Programmable Gate Array (PGA), a Field Programmable Gate Array (FPGA), or the like.
In the description herein, references to the description of the term "one embodiment," "some embodiments," "an example," "a specific example," or "some examples," etc., mean that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the invention. In this specification, the schematic representations of the terms used above do not necessarily refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples.
The above-mentioned embodiments only express several embodiments of the present invention, and the description thereof is more specific and detailed, but not construed as limiting the scope of the present invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the inventive concept, which falls within the scope of the present invention. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (10)

1. A method for realizing multi-control of equipment across gateways is characterized by being applied to an intelligent home system, wherein the intelligent home system comprises a plurality of gateways and a plurality of switches, one of the gateways is a master gateway, and the other gateways are slave gateways, the method is suitable for the master gateway, the slave gateways are respectively connected with the master gateway and the switches through wireless communication, and the method comprises the following steps:
receiving a switching signal uploaded from any slave gateway, wherein the switching signal comprises identification information and a switching state of a current trigger switch;
inquiring the identification information of the associated switch corresponding to the identification information of the current trigger switch from the local;
determining a target slave gateway for performing switch control on the association switch according to the identification information of the association switch;
and sending the identification information of the associated switch and the switch state to the target slave gateway so that the target slave gateway sends a switch signal corresponding to the switch state to the associated switch.
2. The method for realizing multi-control of equipment across gateways according to claim 1, further comprising:
acquiring identification information of a plurality of switches which are required to form multi-control and are set by a user;
and storing the identification information of the switches in a local mapping table in an associated manner.
3. The method for realizing multi-control of equipment across gateways according to claim 2, wherein the step of locally querying the identification information of the associated switch corresponding to the identification information of the current trigger switch comprises:
and inquiring corresponding associated identification information from the local mapping table according to the identification information of the current trigger switch so as to obtain the identification information of the associated switch.
4. The method for implementing multi-control of equipment across gateways according to claim 1, wherein after the step of locally querying the identification information of the associated switch corresponding to the identification information of the current trigger switch, the method further comprises:
judging whether the identification information of the associated switch is inquired;
and if so, executing a step of determining a target slave gateway for performing switch control on the associated switch according to the identification information of the associated switch.
5. The method for implementing multi-control of devices across gateways according to any one of claims 1-4, wherein the identification information comprises a physical address, model, and/or number.
6. The method of claim 1, wherein the step of sending the identification information of the associated switch and the switch status to the target slave gateway comprises:
judging whether a feedback signal of the target slave gateway is received or not;
and if not, sending the identification information of the association switch to the target slave gateway once every preset time.
7. The method for realizing multi-control of equipment across gateways according to claim 6, wherein the step of sending the identification information of the association switch once to the target slave gateway at preset time intervals comprises:
acquiring current time, and determining the preset time according to the current time;
and sending the identification information of the association switch to the target slave gateway once every the preset time.
8. The utility model provides a main gateway, its characterized in that is applied to among the intelligent home systems, intelligent home systems includes a plurality of gateways and a plurality of switch, one among a plurality of gateways is main gateway, all the other slave gateways that are, slave gateway respectively with main gateway with the switch passes through wireless communication and connects, main gateway includes:
the signal receiving module is used for receiving any switching signal uploaded from the gateway, wherein the switching signal comprises identification information and a switching state of a current trigger switch;
the information inquiry module is used for inquiring the identification information of the associated switch corresponding to the identification information of the current trigger switch from the local;
the gateway determining module is used for determining a target slave gateway for performing switch control on the association switch according to the identification information of the association switch;
and the information sending module is used for sending the identification information of the associated switch and the switch state to the target slave gateway so that the target slave gateway sends a switch signal corresponding to the switch state to the associated switch.
9. A primary gateway as claimed in claim 8, further comprising:
the information acquisition module is used for acquiring identification information of a plurality of switches which are required to form multi-control and are set by a user;
and the information storage module is used for storing the identification information of the switches in a local mapping table in an associated manner.
10. An intelligent home system, comprising a plurality of gateways and a plurality of switches, wherein one of the plurality of gateways is a master gateway, and the other gateways are slave gateways, the master gateway is the master gateway according to any one of claims 8 to 9, and the master gateway, the slave gateways and the switches are connected through wireless communication.
CN202011622064.7A 2020-12-30 2020-12-30 Method for realizing multi-control of equipment across gateways, main gateway and intelligent home system Pending CN112714051A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011622064.7A CN112714051A (en) 2020-12-30 2020-12-30 Method for realizing multi-control of equipment across gateways, main gateway and intelligent home system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011622064.7A CN112714051A (en) 2020-12-30 2020-12-30 Method for realizing multi-control of equipment across gateways, main gateway and intelligent home system

Publications (1)

Publication Number Publication Date
CN112714051A true CN112714051A (en) 2021-04-27

Family

ID=75547565

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011622064.7A Pending CN112714051A (en) 2020-12-30 2020-12-30 Method for realizing multi-control of equipment across gateways, main gateway and intelligent home system

Country Status (1)

Country Link
CN (1) CN112714051A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113507401A (en) * 2021-06-11 2021-10-15 杭州控客信息技术有限公司 Linkage switch state synchronization method of multiple control units in whole-house intelligent system
CN114338256A (en) * 2021-11-29 2022-04-12 广州河东科技有限公司 Intelligent home gateway configuration method and device, terminal equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104811375A (en) * 2015-05-08 2015-07-29 三星电子(中国)研发中心 Smart home gateway and networking method thereof
CN106094754A (en) * 2016-07-12 2016-11-09 腾讯科技(深圳)有限公司 Apparatus control system, method and device
CN107689903A (en) * 2017-08-17 2018-02-13 深圳市艾特智能科技有限公司 Intelligent home equipment control method, system, storage medium and computer equipment
CN108366121A (en) * 2018-02-13 2018-08-03 广州云湾信息技术有限公司 The group network system and apparatus control method of the more intelligent gateways of Internet of Things
CN110489312A (en) * 2019-06-27 2019-11-22 苏宁云计算有限公司 Data correlation method and device for control trigger data acquisition

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104811375A (en) * 2015-05-08 2015-07-29 三星电子(中国)研发中心 Smart home gateway and networking method thereof
CN106094754A (en) * 2016-07-12 2016-11-09 腾讯科技(深圳)有限公司 Apparatus control system, method and device
CN107689903A (en) * 2017-08-17 2018-02-13 深圳市艾特智能科技有限公司 Intelligent home equipment control method, system, storage medium and computer equipment
CN108366121A (en) * 2018-02-13 2018-08-03 广州云湾信息技术有限公司 The group network system and apparatus control method of the more intelligent gateways of Internet of Things
CN110489312A (en) * 2019-06-27 2019-11-22 苏宁云计算有限公司 Data correlation method and device for control trigger data acquisition

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113507401A (en) * 2021-06-11 2021-10-15 杭州控客信息技术有限公司 Linkage switch state synchronization method of multiple control units in whole-house intelligent system
CN114338256A (en) * 2021-11-29 2022-04-12 广州河东科技有限公司 Intelligent home gateway configuration method and device, terminal equipment and storage medium
CN114338256B (en) * 2021-11-29 2023-10-03 广州河东科技有限公司 Intelligent home gateway configuration method, device, terminal equipment and storage medium

Similar Documents

Publication Publication Date Title
CN208079102U (en) A kind of intelligent home control system based on bluetooth Mesh and voice control
US6990379B2 (en) Method and apparatus for providing a dynamic resource role model for subscriber-requester based protocols in a home automation and control system
CN112714051A (en) Method for realizing multi-control of equipment across gateways, main gateway and intelligent home system
US20220141944A1 (en) Systems and methods to allow for a smart device
CN103365279A (en) State detecting device and system and method for feeding back states of intelligent home system
WO2010095087A1 (en) Lighting control network
CN205301842U (en) Intelligence refrigerator for house
US9836521B2 (en) Device classification method, device classification system, and device
CN110113232A (en) Apparatus control method, device, system, electronic equipment and storage medium
US7784677B2 (en) Apparatus for reducing energy consumption within an unoccupied room
CN108196461A (en) Control method, device and the intelligent domestic system of smart home device
CN108303905B (en) Household equipment control system and control method
CN112291373B (en) Control method and device of Internet of things equipment, controller and storage medium
CN203909514U (en) Switch system based on manual and wireless double control
CN110398900B (en) Remote control method, device, medium and server for intelligent lighting equipment
CN104238392A (en) Remote control power supply device, remote control lamp assembly thereof and code matching method thereof
CN204423116U (en) Intelligent domestic system
CN111338220A (en) Linkage control method and system between multiple heterogeneous devices
CN110213384A (en) Customized multifunction wireless intelligent switch, system and implementation method based on Internet of Things
CN114900826A (en) Equipment binding method and device, storage medium and electronic device
CN111586792B (en) Relay setting method, device, equipment and storage medium of mesh lighting system
CN110113837B (en) Distributed control method for intelligent lighting control system
CN210534547U (en) Intelligent household control system
CN101976065A (en) Wireless switch system and wireless switch for complex network control
CN104102180B (en) Intelligent switch, control method and apparatus thereof, and intelligent control network

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20210427

RJ01 Rejection of invention patent application after publication