CN114650191B - Off-network control method, intelligent gateway and computer readable storage medium - Google Patents
Off-network control method, intelligent gateway and computer readable storage medium Download PDFInfo
- Publication number
- CN114650191B CN114650191B CN202011496517.6A CN202011496517A CN114650191B CN 114650191 B CN114650191 B CN 114650191B CN 202011496517 A CN202011496517 A CN 202011496517A CN 114650191 B CN114650191 B CN 114650191B
- Authority
- CN
- China
- Prior art keywords
- area network
- intelligent
- local area
- intelligent gateway
- network
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 58
- 230000006854 communication Effects 0.000 claims description 16
- 238000004891 communication Methods 0.000 claims description 15
- 230000008569 process Effects 0.000 claims description 8
- 230000002159 abnormal effect Effects 0.000 claims description 6
- 238000010295 mobile communication Methods 0.000 claims description 4
- 238000005406 washing Methods 0.000 claims description 4
- 230000006870 function Effects 0.000 description 8
- 238000005516 engineering process Methods 0.000 description 7
- 238000012545 processing Methods 0.000 description 4
- 230000000007 visual effect Effects 0.000 description 4
- 238000001816 cooling Methods 0.000 description 2
- 238000010438 heat treatment Methods 0.000 description 2
- 230000003993 interaction Effects 0.000 description 2
- 239000004973 liquid crystal related substance Substances 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 238000012544 monitoring process Methods 0.000 description 2
- 206010033799 Paralysis Diseases 0.000 description 1
- 241000700605 Viruses Species 0.000 description 1
- 238000013459 approach Methods 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 238000004590 computer program Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 230000000977 initiatory effect Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000004044 response Effects 0.000 description 1
- 238000000926 separation method Methods 0.000 description 1
- 238000009423 ventilation Methods 0.000 description 1
- XLYOFNOQVPJJNP-UHFFFAOYSA-N water Substances O XLYOFNOQVPJJNP-UHFFFAOYSA-N 0.000 description 1
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/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/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/283—Processing of data at an internetworking point of a home automation network
Landscapes
- Engineering & Computer Science (AREA)
- Automation & Control Theory (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computing Systems (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The invention discloses a network disconnection control method, an intelligent gateway and a computer readable storage medium, wherein the method comprises the following steps: the intelligent gateway is connected with a local area network in a home through a network, and the intelligent gateway sends a control instruction of a client to intelligent home equipment through the local area network; the intelligent gateway monitors whether the local area network is disconnected in real time, and if the local area network is confirmed to be disconnected, the intelligent gateway switches network connection to be connected with a wide area network; and the intelligent gateway sends the control instruction of the client to the intelligent household equipment through the wide area network so as to control the intelligent household equipment to execute the control instruction. According to the invention, under the condition that the local area network is disconnected, the intelligent gateway switches network connection into connection with the wide area network, and the control instruction of the client is sent to the intelligent household equipment through the wide area network, so that the control of the client on the intelligent household equipment can still be realized under the condition that the local area network is disconnected.
Description
Technical Field
The present invention relates to the field of network communications technologies, and in particular, to a network disconnection control method, an intelligent gateway, and a computer readable storage medium.
Background
The smart home (home automation) takes a home as a platform, integrates facilities related to home life by utilizing a comprehensive wiring technology, a network communication technology, a security technology, an automatic control technology and an audio-video technology, builds an efficient management system of home facilities and family schedule matters, improves home safety, convenience, comfort and artistry, and realizes an environment-friendly and energy-saving living environment. The intelligent home is connected with various devices (such as audio and video equipment, a lighting system, curtain control, air conditioner control, a security system, a digital cinema system, an audio and video server, a video cabinet system, network household appliances and the like) in the home through the internet of things technology, and various functions and means such as household appliance control, lighting control, telephone remote control, indoor and outdoor remote control, anti-theft alarm, environment monitoring, heating ventilation control, infrared forwarding and programmable timing control are provided.
The intelligent gateway is also called as an intelligent home gateway, and is a home intelligent heart, and functions of system information acquisition, information input, information output, centralized control, remote control, linkage control and the like are realized through the intelligent gateway. The intelligent home gateway has two functions of an intelligent home control hub and wireless routing, one side is responsible for specific security alarm, home appliance control and power consumption information acquisition, and performs data interaction with products such as intelligent interaction terminals in a wireless mode.
The intelligent gateway plays a very important role in an intelligent home, can connect intelligent devices through a local area network (LAN for short, which means a computer group formed by interconnecting a plurality of computers in a certain area, and a certain area means the same office, the same building, the same company, the same school, etc., and is generally within thousands of meters), and realizes the control of the intelligent devices by users. Under the traditional condition, the response condition of the equipment is greatly associated with the local area network, and the situation that the local area network is disconnected often occurs due to various reasons in life, so that a user cannot control the intelligent equipment under the condition, and the use of the user is affected.
Accordingly, the prior art is still in need of improvement and development.
Disclosure of Invention
The invention mainly aims to provide a network disconnection control method, an intelligent gateway and a computer readable storage medium, and aims to solve the problem that in the prior art, intelligent household equipment cannot be controlled after a local area network is disconnected.
In order to achieve the above object, the present invention provides a method for controlling a disconnection, the method comprising the steps of:
The intelligent gateway is connected with a local area network in a home through a network, and the intelligent gateway sends a control instruction of a client to intelligent home equipment through the local area network;
The intelligent gateway monitors whether the local area network is disconnected in real time, and if the local area network is confirmed to be disconnected, the intelligent gateway switches network connection to be connected with a wide area network;
And the intelligent gateway sends the control instruction of the client to the intelligent household equipment through the wide area network so as to control the intelligent household equipment to execute the control instruction.
Optionally, in the network disconnection control method, the intelligent gateway is connected with a local area network in a home, and the intelligent gateway sends a control instruction of a client to an intelligent home device through the local area network, specifically including:
Initializing the intelligent gateway after starting up, and after the initialization is completed, the intelligent gateway defaults to initiate network connection pairing with the local area network in the home;
After the intelligent gateway and the local area network are successfully connected, the intelligent gateway receives the control instruction sent to the intelligent household equipment by the client, and then sends the control instruction to the intelligent household equipment through the local area network.
Optionally, in the method for controlling disconnection, the intelligent gateway monitors whether the local area network is disconnected in real time, and if the local area network is confirmed to be disconnected, the intelligent gateway switches network connection to be connected with a wide area network, which specifically includes:
in the process of real-time communication between the intelligent gateway and the intelligent home equipment, the intelligent gateway monitors whether the local area network is disconnected in real time;
and when the local area network is disconnected, the intelligent gateway pauses sending the control instruction to the intelligent household equipment, and switches the connection with the local area network to the connection with the wide area network.
Optionally, in the network disconnection control method, the intelligent gateway sends a control instruction of a client to the intelligent home device through the wide area network, so as to control the intelligent home device to execute the control instruction, and specifically includes:
after the intelligent gateway switches network connection to be connected with a wide area network, the intelligent gateway acquires the control instruction which is sent temporarily and a new control instruction sent by the client;
And the intelligent gateway correspondingly transmits all the acquired control instructions to the intelligent household equipment through the wide area network and is used for correspondingly controlling the intelligent household equipment to execute the control instructions.
Optionally, the network disconnection control method further includes:
And when the intelligent gateway detects that the local area network is recovered to be normal, the intelligent gateway switches the connection with the wide area network back to the connection with the local area network, and continuously sends the control instruction to the intelligent household equipment through the local area network.
Optionally, the network disconnection control method further includes:
After the intelligent gateway sends the control instruction of the client to the intelligent household equipment, the intelligent gateway receives the data information fed back by the intelligent household equipment and feeds the data information back to the client.
Optionally, the network disconnection control method further includes:
the intelligent gateway monitors the safety state of the intelligent home equipment in real time through the local area network or through the wide area network when the local area network is disconnected;
When the intelligent gateway detects that the intelligent household equipment is abnormal, the intelligent gateway gives an alarm, and the alarm information is pushed to the client through the local area network or the wide area network when the local area network is disconnected.
Optionally, in the off-network control method, the client is a mobile communication terminal or a tablet computer or a personal computer; the intelligent household equipment comprises: intelligent television, intelligent washing machine, intelligent refrigerator, intelligent air conditioner, intelligent audio amplifier and intelligent lock.
In addition, to achieve the above object, the present invention further provides an intelligent gateway, where the intelligent gateway includes: the network disconnection control method comprises a memory, a processor and a network disconnection control program which is stored in the memory and can run on the processor, wherein the network disconnection control program realizes the steps of the network disconnection control method when being executed by the processor.
In addition, to achieve the above object, the present invention also provides a computer-readable storage medium storing a disconnection control program which, when executed by a processor, implements the steps of the disconnection control method described above.
The intelligent gateway is connected with a local area network in a home through the intelligent gateway, and the intelligent gateway sends a control instruction of a client to intelligent home equipment through the local area network; the intelligent gateway monitors whether the local area network is disconnected in real time, and if the local area network is confirmed to be disconnected, the intelligent gateway switches network connection to be connected with a wide area network; and the intelligent gateway sends the control instruction of the client to the intelligent household equipment through the wide area network so as to control the intelligent household equipment to execute the control instruction. According to the invention, under the condition that the local area network is disconnected, the intelligent gateway switches network connection into connection with the wide area network, and the control instruction of the client is sent to the intelligent household equipment through the wide area network, so that the control of the client on the intelligent household equipment can still be realized under the condition that the local area network is disconnected, and the control of the user on the intelligent household equipment is facilitated.
Drawings
FIG. 1 is a flow chart of a preferred embodiment of the off-grid control method of the present invention;
FIG. 2 is a flowchart of step S10 in a preferred embodiment of the off-grid control method of the present invention;
FIG. 3 is a flowchart of step S20 in a preferred embodiment of the off-grid control method of the present invention;
FIG. 4 is a flowchart of step S30 in a preferred embodiment of the off-grid control method of the present invention;
FIG. 5 is a schematic diagram of an operating environment of a preferred embodiment of the intelligent gateway of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more clear and clear, the present invention will be further described in detail below with reference to the accompanying drawings and examples. It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the invention.
The network disconnection control method according to the preferred embodiment of the present invention, as shown in fig. 1, comprises the following steps:
and step S10, the intelligent gateway is connected with a local area network in a home through a network, and the intelligent gateway sends a control instruction of the client to the intelligent home equipment through the local area network.
Fig. 2 is a flowchart of step S10 in the network disconnection control method according to the present invention.
As shown in fig. 2, the step S10 includes:
S11, initializing the intelligent gateway after starting up, and after the initialization is completed, the intelligent gateway defaults to initiate network connection pairing with the local area network in the home;
And S12, after the intelligent gateway and the local area network are successfully connected, the intelligent gateway receives the control instruction sent to the intelligent household equipment by the client, and then sends the control instruction to the intelligent household equipment through the local area network.
Specifically, the intelligent gateway performs a startup operation after acquiring a startup instruction, performs an initialization operation after completing startup, and performs default initiation pairing with the local area network in the home after completing the initialization operation, that is to say, the intelligent gateway performs default searching for the local area network in the home after completing initialization, if the local area network in the home is searched, the intelligent gateway initiates connection with the local area network, and when the intelligent gateway and the local area network are successfully paired, namely, the intelligent gateway and the local area network successfully establish network connection.
In addition, the intelligent network may establish communication connection with the client (the client is a mobile communication terminal, a tablet computer or a personal computer, or other control terminals of course) in advance, that is, the intelligent gateway may receive a related control instruction sent by the client; further, the intelligent gateway may also be in communication with the smart home devices (the smart home devices include a smart television, a smart washing machine, a smart refrigerator, a smart air conditioner, a smart sound box and a smart door lock, and of course, may also be other smart home devices, such as a smart water heater), and the intelligent gateway may send related instructions (such as a cooling and heating function of the air conditioner, a cooling function of the refrigerator, a playing function of the television, etc.) to the smart home devices; therefore, after receiving the control instruction sent by the client to the smart home device, the smart gateway may send the control instruction to the smart home device through the local area network, for example, when the client (for example, a smart phone of a user) wants to send a control instruction (for example, a startup instruction or a temperature adjustment instruction for controlling a smart air conditioner) to the smart home device (for example, a smart air conditioner), the smart gateway first receives the control instruction (for example, a startup instruction or a temperature adjustment instruction for controlling a smart air conditioner) sent by the client (smart phone), and then sends the control instruction to the smart home device (smart air conditioner) through the local area network, thereby completing transmission of the control instruction.
The gateway signals transmitted by the intelligent gateway can be Ethernet communication signals, GPRS communication signals, 3G/4G communication signals and WIFI communication signals.
And step S20, the intelligent gateway monitors whether the local area network is disconnected in real time, and if the local area network is confirmed to be disconnected, the intelligent gateway switches network connection to be connected with a wide area network.
Fig. 3 is a flowchart of step S20 in the network disconnection control method according to the present invention.
As shown in fig. 3, the step S20 includes:
s21, in the process of real-time communication between the intelligent gateway and the intelligent household equipment, the intelligent gateway monitors whether the local area network is disconnected in real time;
s22, when the local area network is disconnected, the intelligent gateway pauses sending the control instruction to the intelligent home equipment, and switches connection with the local area network to connection with a wide area network.
The local area network can realize the functions of file management, application software sharing, printer sharing and the like, and in the using process, the security of the local area network can be maintained, so that the security of data can be effectively protected, and the local area network can normally and stably run; the local area network is a closed network, can prevent information leakage and external network virus attack to a certain extent, has higher security, but once events such as hacking attack occur, the whole local area network is extremely likely to be paralyzed, and all work in the network can not be performed, so that the local area network has the risk of network disconnection.
Specifically, as the local area network in the home has the risk of disconnection, once the local area network is disconnected, the control of the client on the intelligent home equipment is affected, so that the client cannot control or adjust the intelligent home equipment in time, and inconvenience is caused to a user, so that in order to avoid the influence on the user when the local area network is disconnected, in the real-time communication process of the intelligent gateway and the intelligent home equipment, the intelligent gateway needs to monitor whether the local area network is disconnected in real time, and when the intelligent gateway monitors that the local area network is not disconnected, the intelligent gateway continues to transmit data through the local area network; when the intelligent gateway monitors that the local area network is disconnected, the intelligent gateway sends an instruction to the client to inform the client to pause sending the control instruction to the intelligent home equipment, but in order to ensure that normal traffic can be continued, the intelligent gateway switches connection with the local area network to connection with a wide area network.
The wide area network (Wide Area Network, WAN), also known as extranet, public network, is a remote network connecting computers in metropolitan area networks of different areas, usually spans a large physical range, ranging from tens of kilometers to thousands of kilometers, and can connect multiple areas, cities and countries, or span several continents and provide long-distance communication, forming an international remote network.
And step S30, the intelligent gateway sends a control instruction of the client to the intelligent household equipment through the wide area network so as to control the intelligent household equipment to execute the control instruction.
Fig. 4 is a flowchart of step S30 in the network disconnection control method according to the present invention.
As shown in fig. 4, the step S30 includes:
S31, after the intelligent gateway switches network connection to be connected with a wide area network, the intelligent gateway acquires the control instruction which is sent temporarily and a new control instruction sent by the client;
s32, the intelligent gateway correspondingly transmits all the acquired control instructions to the intelligent household equipment through the wide area network, and the intelligent gateway is used for correspondingly controlling the intelligent household equipment to execute the control instructions.
Specifically, when the intelligent gateway monitors that the local area network is disconnected, the intelligent gateway switches connection with the local area network to be connected with a wide area network, after the intelligent gateway network is successfully switched, the intelligent gateway establishes communication connection with the wide area network, so that communication between the client and the intelligent home equipment is recovered to be normal, the intelligent gateway acquires the control instructions which are temporarily transmitted (the control instructions are not transmitted to the intelligent home equipment by the client when the local area network is disconnected, and the new control instructions which are transmitted to the intelligent home equipment by the client) and are transmitted by the client (namely, after switching to the wide area network connection, the new control instructions are transmitted to the intelligent home equipment by the client when the client needs to transmit the new control instructions) are transmitted through the wide area network; after the intelligent gateway acquires the control instruction which is sent temporarily and the new control instruction sent by the client, the intelligent gateway correspondingly sends all acquired control instructions to the intelligent household equipment through the wide area network, and the intelligent gateway is used for correspondingly controlling the intelligent household equipment to execute the control instructions.
Further, after the local area network is disconnected, the intelligent gateway also starts a function of monitoring whether the local area network is recovered to be normal in real time, namely, when the intelligent gateway detects that the local area network is recovered to be normal, the intelligent gateway switches the connection with the wide area network back to the connection with the local area network, and continuously sends the control instruction to the intelligent home equipment through the local area network, because the intelligent gateway is preferentially connected with the local area network.
Further, after the intelligent gateway sends the control instruction of the client to the intelligent home equipment, the intelligent gateway receives data information fed back by the intelligent home equipment and feeds the data information back to the client, so that the client can know the relevant state of the intelligent home equipment in time.
Further, the intelligent gateway monitors the safety state of the intelligent home equipment in real time through the local area network or through the wide area network when the local area network is disconnected; when the intelligent gateway detects that the intelligent household equipment is abnormal, the intelligent gateway gives an alarm, and the alarm information is pushed to the client through the local area network or the wide area network when the local area network is disconnected, so that a user can know the information and timely take relevant measures, and the situation that the intelligent household equipment cannot be processed timely when the abnormal situation occurs is avoided.
For example, the intelligent gateway performs local audible and visual alarm, and performs message pushing in a broadcast mode through the local area network or the wide area network when the local area network is disconnected, and after receiving the message, the software of the client side prompts the user in a mobile phone short message mode. For example, for an intelligent door lock (intelligent entrance guard), the door and window state is perceived through the approach and separation of a sensor main body and a magnet on the intelligent door lock, when abnormal conditions occur, local audible and visual alarm is carried out through an intelligent gateway, message pushing is carried out in a broadcasting mode through a local area network or through the wide area network when the local area network is disconnected, and after receiving the information, mobile phone terminal software prompts a user in a mobile phone short message mode; for example, for a gas cooker only, the concentration of combustible gas in the air is detected in real time, once the concentration reaches an early warning value, local audible and visual alarm is carried out through an intelligent gateway, message pushing is carried out in a broadcast mode through a local area network or through the wide area network when the local area network is disconnected, and after receiving, mobile phone terminal software prompts a user in a mobile phone short message mode.
Further, as shown in fig. 5, based on the above-mentioned off-line control method, the present invention further provides an intelligent gateway, which includes a processor 10, a memory 20 and a display 30. Fig. 5 shows only some of the components of the intelligent gateway, but it should be understood that not all of the illustrated components are required to be implemented and that more or fewer components may be implemented instead.
The memory 20 may in some embodiments be an internal storage unit of the smart gateway, such as a hard disk or a memory of the smart gateway. The memory 20 may also be an external storage device of the smart gateway in other embodiments, such as a plug-in hard disk provided on the smart gateway, a smart memory card (SMART MEDIA CARD, SMC), a Secure Digital (SD) card, a flash memory card (FLASH CARD), etc. Further, the memory 20 may also include both an internal storage unit and an external storage device of the intelligent gateway. The memory 20 is used for storing application software installed on the intelligent gateway and various data, such as program codes for installing the intelligent gateway. The memory 20 may also be used to temporarily store data that has been output or is to be output. In one embodiment, the memory 20 stores a network disconnection control program 40, and the network disconnection control program 40 is executable by the processor 10, so as to implement the network disconnection control method of the present application.
The processor 10 may in some embodiments be a central processing unit (Central Processing Unit, CPU), microprocessor or other data processing chip for executing program code or processing data stored in the memory 20, for example, for performing the off-grid control method, etc.
The display 30 may be an LED display, a liquid crystal display, a touch-sensitive liquid crystal display, an OLED (Organic Light-Emitting Diode) touch, or the like in some embodiments. The display 30 is used for displaying information at the intelligent gateway and for displaying a visual user interface. The components 10-30 of the intelligent gateway communicate with each other via a system bus.
In one embodiment, the following steps are implemented when the processor 10 executes the memory 20 interrupt network control program 40:
The intelligent gateway is connected with a local area network in a home through a network, and the intelligent gateway sends a control instruction of a client to intelligent home equipment through the local area network;
The intelligent gateway monitors whether the local area network is disconnected in real time, and if the local area network is confirmed to be disconnected, the intelligent gateway switches network connection to be connected with a wide area network;
And the intelligent gateway sends the control instruction of the client to the intelligent household equipment through the wide area network so as to control the intelligent household equipment to execute the control instruction.
The intelligent gateway is connected with a local area network in a home through the local area network, and sends a control instruction of a client to intelligent home equipment, and the intelligent gateway specifically comprises:
Initializing the intelligent gateway after starting up, and after the initialization is completed, the intelligent gateway defaults to initiate network connection pairing with the local area network in the home;
After the intelligent gateway and the local area network are successfully connected, the intelligent gateway receives the control instruction sent to the intelligent household equipment by the client, and then sends the control instruction to the intelligent household equipment through the local area network.
The intelligent gateway monitors whether the local area network is disconnected in real time, and if the local area network is disconnected, the intelligent gateway switches network connection to be connected with a wide area network, and specifically comprises the following steps:
in the process of real-time communication between the intelligent gateway and the intelligent home equipment, the intelligent gateway monitors whether the local area network is disconnected in real time;
and when the local area network is disconnected, the intelligent gateway pauses sending the control instruction to the intelligent household equipment, and switches the connection with the local area network to the connection with the wide area network.
The intelligent gateway sends a control instruction of a client to the intelligent home equipment through the wide area network so as to control the intelligent home equipment to execute the control instruction, and the method specifically comprises the following steps:
after the intelligent gateway switches network connection to be connected with a wide area network, the intelligent gateway acquires the control instruction which is sent temporarily and a new control instruction sent by the client;
And the intelligent gateway correspondingly transmits all the acquired control instructions to the intelligent household equipment through the wide area network and is used for correspondingly controlling the intelligent household equipment to execute the control instructions.
The network disconnection control method further comprises the following steps:
And when the intelligent gateway detects that the local area network is recovered to be normal, the intelligent gateway switches the connection with the wide area network back to the connection with the local area network, and continuously sends the control instruction to the intelligent household equipment through the local area network.
The network disconnection control method further comprises the following steps:
After the intelligent gateway sends the control instruction of the client to the intelligent household equipment, the intelligent gateway receives the data information fed back by the intelligent household equipment and feeds the data information back to the client.
The network disconnection control method further comprises the following steps:
the intelligent gateway monitors the safety state of the intelligent home equipment in real time through the local area network or through the wide area network when the local area network is disconnected;
When the intelligent gateway detects that the intelligent household equipment is abnormal, the intelligent gateway gives an alarm, and the alarm information is pushed to the client through the local area network or the wide area network when the local area network is disconnected.
The client is a mobile communication terminal, a tablet computer or a personal computer; the intelligent household equipment comprises: intelligent television, intelligent washing machine, intelligent refrigerator, intelligent air conditioner, intelligent audio amplifier and intelligent lock.
The present invention also provides a computer-readable storage medium storing a disconnection control program which, when executed by a processor, implements the steps of the disconnection control method described above.
In summary, the present invention provides a method for controlling off-line, an intelligent gateway, and a computer readable storage medium, where the method includes: the intelligent gateway is connected with a local area network in a home through a network, and the intelligent gateway sends a control instruction of a client to intelligent home equipment through the local area network; the intelligent gateway monitors whether the local area network is disconnected in real time, and if the local area network is confirmed to be disconnected, the intelligent gateway switches network connection to be connected with a wide area network; and the intelligent gateway sends the control instruction of the client to the intelligent household equipment through the wide area network so as to control the intelligent household equipment to execute the control instruction. According to the invention, under the condition that the local area network is disconnected, the intelligent gateway switches network connection into connection with the wide area network, and the control instruction of the client is sent to the intelligent household equipment through the wide area network, so that the control of the client on the intelligent household equipment can still be realized under the condition that the local area network is disconnected, and the control of the user on the intelligent household equipment is facilitated.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
Of course, those skilled in the art will appreciate that implementing all or part of the above described methods may be accomplished by a computer program for instructing relevant hardware (e.g., processor, controller, etc.), the program may be stored on a computer readable storage medium, and the program may include the above described methods when executed. The computer readable storage medium may be a memory, a magnetic disk, an optical disk, etc.
It is to be understood that the invention is not limited in its application to the examples described above, but is capable of modification and variation in light of the above teachings by those skilled in the art, and that all such modifications and variations are intended to be included within the scope of the appended claims.
Claims (6)
1. The network disconnection control method is characterized by comprising the following steps of:
The intelligent gateway is connected with a local area network in a home through a network, and the intelligent gateway sends a control instruction of a client to intelligent home equipment through the local area network;
The intelligent gateway is connected with a local area network in a household in a network mode, and the intelligent gateway sends a control instruction of a client to intelligent household equipment through the local area network specifically comprises the following steps:
Initializing the intelligent gateway after starting up, and after the initialization is completed, the intelligent gateway defaults to initiate network connection pairing with the local area network in the home;
After the intelligent gateway and the local area network are successfully connected, the intelligent gateway receives the control instruction sent to the intelligent household equipment by the client, and then sends the control instruction to the intelligent household equipment through the local area network; the intelligent gateway monitors whether the local area network is disconnected in real time, and if the local area network is confirmed to be disconnected, the intelligent gateway switches network connection to be connected with a wide area network;
the intelligent gateway monitors whether the local area network is disconnected in real time, and if the local area network is disconnected, the intelligent gateway switches network connection to be connected with a wide area network, and specifically comprises the following steps:
in the process of real-time communication between the intelligent gateway and the intelligent home equipment, the intelligent gateway monitors whether the local area network is disconnected in real time;
when the local area network is disconnected, the intelligent gateway pauses sending the control instruction to the intelligent home equipment and switches the connection with the local area network to the connection with the wide area network;
the local area network is a closed network, so that information leakage and external network attack are prevented, and safety is improved;
The intelligent gateway sends a control instruction of a client to the intelligent household equipment through the wide area network so as to control the intelligent household equipment to execute the control instruction;
the intelligent gateway sends a control instruction of a client to the intelligent home equipment through the wide area network so as to control the intelligent home equipment to execute the control instruction, and the method specifically comprises the following steps:
after the intelligent gateway switches network connection to be connected with a wide area network, the intelligent gateway acquires the control instruction which is sent temporarily and a new control instruction sent by the client;
The intelligent gateway correspondingly transmits all acquired control instructions to the intelligent household equipment through the wide area network and is used for correspondingly controlling the intelligent household equipment to execute the control instructions;
When the intelligent gateway detects that the local area network is recovered to be normal, the intelligent gateway is connected with the local area network preferentially, the intelligent gateway switches the connection with the wide area network back to the connection with the local area network, and the intelligent gateway continues to send the control instruction to the intelligent household equipment through the local area network.
2. The off-grid control method according to claim 1, characterized in that the off-grid control method further comprises:
After the intelligent gateway sends the control instruction of the client to the intelligent household equipment, the intelligent gateway receives the data information fed back by the intelligent household equipment and feeds the data information back to the client.
3. The off-grid control method according to claim 1, characterized in that the off-grid control method further comprises:
the intelligent gateway monitors the safety state of the intelligent home equipment in real time through the local area network or through the wide area network when the local area network is disconnected;
When the intelligent gateway detects that the intelligent household equipment is abnormal, the intelligent gateway gives an alarm, and the alarm information is pushed to the client through the local area network or the wide area network when the local area network is disconnected.
4. The off-network control method according to claim 1, wherein the client is a mobile communication terminal or a tablet computer or a personal computer; the intelligent household equipment comprises: intelligent television, intelligent washing machine, intelligent refrigerator, intelligent air conditioner, intelligent audio amplifier and intelligent lock.
5. An intelligent gateway, the intelligent gateway comprising: a memory, a processor and a off-grid control program stored on the memory and executable on the processor, which off-grid control program, when executed by the processor, implements the steps of the off-grid control method as claimed in any one of claims 1 to 4.
6. A computer readable storage medium, characterized in that the computer readable storage medium stores a disconnection control program, which when executed by a processor, implements the steps of the disconnection control method according to any of claims 1-4.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011496517.6A CN114650191B (en) | 2020-12-17 | 2020-12-17 | Off-network control method, intelligent gateway and computer readable storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011496517.6A CN114650191B (en) | 2020-12-17 | 2020-12-17 | Off-network control method, intelligent gateway and computer readable storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN114650191A CN114650191A (en) | 2022-06-21 |
CN114650191B true CN114650191B (en) | 2024-07-05 |
Family
ID=81990150
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202011496517.6A Active CN114650191B (en) | 2020-12-17 | 2020-12-17 | Off-network control method, intelligent gateway and computer readable storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114650191B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115174300B (en) * | 2022-07-06 | 2023-11-14 | 合肥品冠科技有限公司 | Intelligent household equipment control method, intelligent gateway and intelligent equipment |
CN115499258B (en) * | 2022-08-03 | 2023-10-03 | 深圳市宇创兴业科技有限公司 | Control method, device, medium and computer equipment of intelligent home central control system |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105357727A (en) * | 2015-10-16 | 2016-02-24 | 深圳市安拓浦科技有限公司 | Method for automatically switching between mobile network and local area network |
CN106789468A (en) * | 2016-12-22 | 2017-05-31 | Tcl集团股份有限公司 | A kind of appliances equipment control method and system based on intelligent terminal |
CN109218098A (en) * | 2018-09-20 | 2019-01-15 | 武汉指针科技有限公司 | A kind of connection and configuration method of home gateway |
CN110570621A (en) * | 2019-05-08 | 2019-12-13 | 邦奇智能科技(上海)股份有限公司 | Household safety monitoring system |
Family Cites Families (25)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7920689B2 (en) * | 2005-05-25 | 2011-04-05 | Radziewicz Clifford J | Ringback replacement insertion system |
US9578182B2 (en) * | 2009-01-28 | 2017-02-21 | Headwater Partners I Llc | Mobile device and service management |
WO2012007063A1 (en) * | 2010-07-16 | 2012-01-19 | Alcatel Lucent | Control capabilities for information recording sessions |
CN103019197B (en) * | 2012-12-03 | 2014-10-29 | 海信集团有限公司 | Method and system for conducting long-range control on intelligent terminal device |
CN103048961A (en) * | 2012-12-06 | 2013-04-17 | 四川长虹电器股份有限公司 | Control method of intelligent household appliance |
CN105637819B (en) * | 2013-10-28 | 2019-08-27 | 柏思科技有限公司 | It is used for transmission the method and system of broadcast data |
US9408142B2 (en) * | 2014-03-27 | 2016-08-02 | Intel Corporation | Power saving and device traffic offload |
WO2015165006A1 (en) * | 2014-04-28 | 2015-11-05 | 华为技术有限公司 | Handover processing method and apparatus |
CN107306212B (en) * | 2016-04-25 | 2020-01-07 | 中兴通讯股份有限公司 | Intelligent household alarm method and device, intelligent prevention and control terminal and household intelligent gateway |
WO2017219184A1 (en) * | 2016-06-20 | 2017-12-28 | 易晓阳 | Method for controlling internet of things device based on wide area network |
CN106027342A (en) * | 2016-06-28 | 2016-10-12 | 中国联合网络通信集团有限公司 | Method for controlling intelligent home appliance and home gateway |
CN106411665A (en) * | 2016-09-14 | 2017-02-15 | 深圳市丰巨泰科电子有限公司 | Method for judging owner is at home in smart home |
CN106487584B (en) * | 2016-09-30 | 2019-07-05 | 北京小米移动软件有限公司 | Management method, router and the mobile terminal of router |
CN106789475A (en) * | 2016-12-29 | 2017-05-31 | Tcl集团股份有限公司 | Household electric appliance control method and device |
CN108882262B (en) * | 2017-05-09 | 2022-03-01 | 深圳市Tcl高新技术开发有限公司 | Equipment state synchronization method and system, intelligent terminal and readable storage medium |
CN109428800A (en) * | 2017-06-20 | 2019-03-05 | 无锡新思联信息技术有限公司 | A kind of emergency things-internet gateway equipment and Internet of Things group network system of meeting an urgent need |
CN107483301A (en) * | 2017-08-28 | 2017-12-15 | 四川长虹电器股份有限公司 | The control method of intelligent domestic system |
CN109561329A (en) * | 2017-09-27 | 2019-04-02 | Tcl集团股份有限公司 | Control method, mobile terminal and the computer readable storage medium of smart television |
CN110519323B (en) * | 2018-05-21 | 2024-09-06 | 极光物联科技(深圳)有限公司 | Energy Internet of things equipment, energy Internet of things system and operation method thereof |
EP3915226A1 (en) * | 2019-01-25 | 2021-12-01 | Thor Tech, Inc. | Mobile device tools for smart vehicle features operation and automatic wireless routing selection and methods of use |
CN109884911A (en) * | 2019-03-21 | 2019-06-14 | 珠海格力电器股份有限公司 | Household appliance controller, control method and device thereof, and storage medium |
CN210274112U (en) * | 2019-07-05 | 2020-04-07 | 连云港市气象局 | Meteorological emergency backup transmission system based on 4G |
CN110620824A (en) * | 2019-10-11 | 2019-12-27 | 深圳心跳智能科技有限公司 | Network environment self-adaptive intelligent household control method |
CN210983497U (en) * | 2019-11-25 | 2020-07-10 | 宁波聚信智能科技有限公司 | TD-L TE, WiFi and GSM three-in-one version Internet of things equipment mobile payment controller |
CN117320093A (en) * | 2023-10-27 | 2023-12-29 | 珠海格力电器股份有限公司 | Network switching method, device, equipment and storage medium |
-
2020
- 2020-12-17 CN CN202011496517.6A patent/CN114650191B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105357727A (en) * | 2015-10-16 | 2016-02-24 | 深圳市安拓浦科技有限公司 | Method for automatically switching between mobile network and local area network |
CN106789468A (en) * | 2016-12-22 | 2017-05-31 | Tcl集团股份有限公司 | A kind of appliances equipment control method and system based on intelligent terminal |
CN109218098A (en) * | 2018-09-20 | 2019-01-15 | 武汉指针科技有限公司 | A kind of connection and configuration method of home gateway |
CN110570621A (en) * | 2019-05-08 | 2019-12-13 | 邦奇智能科技(上海)股份有限公司 | Household safety monitoring system |
Also Published As
Publication number | Publication date |
---|---|
CN114650191A (en) | 2022-06-21 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11373514B2 (en) | Network device management technology | |
EP2988185B1 (en) | Smart home system and control method | |
CN204350030U (en) | Based on the multi-functional household things-internet gateway device of Set Top Box | |
CN103345211B (en) | Intelligent home control system and control method | |
WO2019205134A1 (en) | Smart home voice control method, apparatus, device and system | |
KR102252258B1 (en) | Method and apparatus for controlling a group of home devices in a home network system | |
WO2015076609A1 (en) | Method and apparatus for controlling home devices on group basis in a home network system | |
CN106452989B (en) | method and device for establishing intelligent scene | |
US20070174382A1 (en) | Home code setting method for home network system | |
CN204009520U (en) | Intelligent home control device | |
CN114650191B (en) | Off-network control method, intelligent gateway and computer readable storage medium | |
CN109799716B (en) | Scene pushing method and device and intelligent home system | |
CN110557448A (en) | Control method and system for smart home | |
CN104168182A (en) | Intelligent home gateway and community management system | |
CN112136297A (en) | Intelligent light switch/thermostat for control and energy management | |
CN104363179A (en) | Intelligent router, intelligent control device and intelligent home control system | |
CN103971428A (en) | Door control monitoring method and door control monitoring system | |
CN105242558A (en) | Control method and equipment for household electric appliance, household electric appliance and client equipment | |
CN104880955A (en) | Method for controlling intelligent household device, and intelligent household control device | |
EP3101775A1 (en) | Operating device and operating method | |
CN103575053A (en) | Method for remotely operating wine cabinet | |
GB2523167A (en) | Remote control system for electrical appliances | |
EP3101774B1 (en) | Control device and control method | |
WO2024016539A1 (en) | Device control method and apparatus, and storage medium and electronic apparatus | |
WO2016101544A1 (en) | Method and device for installing intelligent hardware equipment |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |