Method and device for improving the stability of intelligent system based on cloud and multi-gateway detection

By performing multi -point interconnection and starting the fault detection mechanism with multiple terminal gateways at the cloud server, the problem of all -house intelligent system paralysis caused by the failure of the single center gateway, and realized the intelligent control and automatic switching of the fault between the terminal gateway. Improve the stability of the system.

CN116208471BActive Publication Date: 2025-01-28HARBIN SAISI TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202310148086.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-02-21
Publication Date
2025-01-28
Estimated Expiration
2043-02-21

AI Technical Summary

Technical Problem

In the prior art, a single central gateway serves the whole house intelligent system. Once the central gateway fails, it will cause the whole house intelligent system to be paralyzed.

Method used

By obtaining the relevant data information of the terminal gateway, the cloud server uses the cloud server with all terminal gateways to conduct multi -point interconnection, starts the fault detection mechanism, conducts fault detection of related equipment controlled by each terminal gateway, and communicates through the interoperability between the terminal gateway. Interconnection and mutual monitoring management to achieve intelligent control.

Benefits of technology

Improve the stability of the all -house intelligent system, avoid system paralysis caused by the failure of a single center gateway, and realize the intelligent control and automatic switching of the fault between the terminal gateway.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116208471B_ABST
    Figure CN116208471B_ABST
Patent Text Reader

Abstract

The present application relates to the field of network communication technology, and in particular to a method for improving the stability of intelligent systems based on cloud and multi-gateway detection, and a method and device for improving the stability of intelligent systems based on cloud and multi-gateway detection. It includes: obtaining relevant data information of terminal gateways; using the relevant data information of the terminal gateways to conduct multi-point interconnection with all the terminal gateways through a cloud server; using the results of the multi-point interconnection to start a fault detection mechanism to detect faults of related equipment controlled by each terminal gateway; using the relevant data information of the terminal gateways and the results of fault detection to interconnect and monitor each other between the terminal gateways, and realize intelligent control of related equipment under the terminal gateways. The present application helps solve the problem of a single central gateway serving the whole house intelligent system. Once the central gateway fails, it will cause the paralysis of the whole house intelligent system, thereby improving the stability of the whole house intelligent system.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of network communication technology, and in particular to a method and device for improving the stability of an intelligent system based on cloud and multi-gateway detection. Background Art

[0002] At present, most of the whole-house smart home devices in the industry are connected to the whole-house gateway through a mobile phone APP. By identifying the MAC address of the gateway and establishing communication with the gateway, the control of all the devices in the room can be achieved. In addition to control through local wall switches, when a mobile terminal (such as a tablet or mobile phone) is required, the control code is sent through the APP interface. The data is sent to the gateway of the house through the router of the house, and the gateway then sends the execution command to complete the action through the actuator or the control actuator in the room. Once there is a problem with the gateway in this control link, the equipment in the whole house will not be able to be controlled by the mobile phone or tablet, and the entire smart system of the whole house will be paralyzed.

[0003] That is, in the prior art, a single central gateway serves the entire house smart system. Once the central gateway fails, the entire house smart system will be paralyzed. Summary of the invention

[0004] In order to at least overcome the problem in the related art that a single central gateway serves the whole house smart system, and once the central gateway fails, the whole house smart system will be paralyzed, the present application provides a method and device for improving the stability of the smart system based on cloud and multi-gateway detection.

[0005] The scheme of this application is as follows:

[0006] In a first aspect, the present application provides a method for improving the stability of an intelligent system based on cloud and multi-gateway detection, the method comprising:

[0007] Obtain relevant data information of the terminal gateway;

[0008] Utilize the relevant data information of the terminal gateway to establish multi-point interconnection with all the terminal gateways through the cloud server;

[0009] Using the result of the multi-point interconnection, a fault detection mechanism is started to detect faults of related devices controlled by each terminal gateway;

[0010] The relevant data information and fault detection results of the terminal gateways are used to perform interconnection and mutual monitoring management between the terminal gateways, thereby realizing intelligent control of relevant equipment under the terminal gateways.

[0011] Furthermore, the obtaining of relevant data information of the terminal gateway includes:

[0012] The relevant data information of the terminal gateway includes: relevant information of the equipment under the terminal gateway, the MAC address of the terminal gateway, and relevant information of the heartbeat packet of the terminal gateway.

[0013] Furthermore, before the multi-point interconnection between the cloud server and all the terminal gateways using the relevant data information of the terminal gateway, the method further includes:

[0014] Monitor the heartbeat packet related information of the terminal gateway to determine whether all the terminal gateways are online. If any of the terminal gateways is offline, trigger the exception handling mechanism;

[0015] Otherwise, the terminal gateway is added to the online terminal gateway data set.

[0016] Furthermore, if any of the terminal gateways is offline, an exception handling mechanism is triggered, including:

[0017] Using the device related information under the terminal gateway, the cloud server searches for all the terminal gateways in the online terminal gateway data set based on the preset gateway takeover restriction, and obtains the first terminal gateway that matches the preset gateway takeover restriction;

[0018] Using the MAC address of the terminal gateway, the first terminal gateway takes over the offline terminal gateway, including: taking over the device control authority of the offline mobile terminal and the management authority of the device.

[0019] Furthermore, the use of the result of the multi-point interconnection to start a fault detection mechanism to perform fault detection on related devices controlled by each terminal gateway includes:

[0020] When receiving a control command sent by a mobile terminal, determining whether the mobile terminal and the cloud server receive a feedback signal;

[0021] If the mobile terminal and the cloud server do not receive the feedback signal, the cloud server notifies the nearest terminal gateway to re-forward the control command based on the multi-gateway linkage mechanism;

[0022] Based on the result after re-forwarding the control command, continue to determine whether the mobile terminal and the cloud server receive the feedback signal. If the mobile terminal and the cloud server do not receive the feedback signal, send the fault information of the relevant equipment.

[0023] Furthermore, the use of the relevant data information and fault detection results of the terminal gateways to perform interconnection and mutual monitoring management between the terminal gateways to achieve intelligent control of related devices under the terminal gateways includes:

[0024] Using the relevant data information of the terminal gateway and the result of the fault detection, the cloud server uses the relevant information of the devices under the terminal gateway in the relevant data information of the terminal gateway to select the terminal gateway with the largest number of controlled devices under the terminal device as the main gateway;

[0025] By utilizing the execution result of the main gateway and connecting each terminal gateway in a multi-media connection mode, intelligent control of related equipment under the terminal gateway is realized.

[0026] In a second aspect, the present application provides a device for improving the stability of an intelligent system based on cloud and multi-gateway detection, the device comprising:

[0027] An acquisition module is used to obtain relevant data information of the terminal gateway;

[0028] A connection module, used to utilize the relevant data information of the terminal gateway to establish multi-point interconnection with all the terminal gateways through a cloud server;

[0029] A fault detection module is used to use the result of the multi-point interconnection to start a fault detection mechanism to perform fault detection on related devices controlled by each terminal gateway;

[0030] The execution module is used to utilize the relevant data information and fault detection results of the terminal gateway to perform interconnection and mutual monitoring management between the terminal gateways, so as to realize intelligent control of the relevant equipment under the terminal gateway.

[0031] The technical solution provided by this application may have the following beneficial effects:

[0032] This application obtains relevant data information of terminal gateways; uses the relevant data information of the terminal gateways to establish multi-point interconnection with all the terminal gateways through a cloud server; uses the results of the multi-point interconnection to start a fault detection mechanism to detect faults of related devices controlled by each terminal gateway; uses the relevant data information of the terminal gateways and the results of fault detection to interconnect and monitor each other between the terminal gateways, thereby realizing intelligent control of related devices under the terminal gateways. This application helps solve the problem of a single central gateway serving the whole house smart system. Once the central gateway fails, it will cause the whole house smart system to be paralyzed, thereby improving the stability of the whole house smart system.

[0033] It should be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present application. BRIEF DESCRIPTION OF THE DRAWINGS

[0034] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.

[0035] Figure 1 This is a flow chart of a method for improving the stability of an intelligent system based on cloud and multi-gateway detection provided by an embodiment of the present application;

[0036] Figure 2 It is a composition diagram of a device for improving the stability of an intelligent system based on cloud and multi-gateway detection provided by another embodiment of the present application;

[0037] Figure 3 This is a flow chart of data transmission between a terminal gateway and a cloud server provided by an embodiment of the present application;

[0038] Figure 4 This is a flowchart of a method for improving the stability of an intelligent system based on cloud and multi-gateway detection provided by an embodiment of the present application;

[0039] Figure 5 It is a method flow diagram of a first mode of a multi-gateway networking mode of a gateway for improving the stability of an intelligent system based on cloud and multi-gateway detection provided by an embodiment of the present application;

[0040] Figure 6 It is a method flow chart of the second mode of a multi-gateway networking method for improving the stability of an intelligent system based on cloud and multi-gateway detection provided by an embodiment of the present application;

[0041] Figure 7 It is a method flow diagram of a third mode of a multi-gateway networking method for improving the stability of an intelligent system based on cloud and multi-gateway detection provided by an embodiment of the present application;

[0042] Figure 8 This is a flow chart of a method design for improving the stability of an intelligent system based on cloud and multi-gateway detection provided by an embodiment of the present application. DETAILED DESCRIPTION

[0043] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the following exemplary embodiments do not represent all implementations consistent with the present application. Instead, they are merely examples of devices and methods consistent with some aspects of the present application as detailed in the appended claims.

[0044] Embodiment 1

[0045] See also Figure 1 , Figure 4 , Figure 1 This is a flow chart of a method for improving the stability of an intelligent system based on cloud and multi-gateway detection provided by an embodiment of the present application, the method comprising:

[0046] S1. Obtain relevant data information of the terminal gateway;

[0047] S2. Using the relevant data information of the terminal gateway, multi-point interconnection with all the terminal gateways through the cloud server;

[0048] S3. Using the results of the multi-point interconnection, start the fault detection mechanism to detect faults in the related devices controlled by each terminal gateway;

[0049] S4. Using the relevant data information and fault detection results of the terminal gateway, the terminal gateways are interconnected and monitored with each other to achieve intelligent control of the relevant equipment under the terminal gateway.

[0050] In one embodiment, as described in step S1, the relevant data information of the terminal gateway is obtained, see Figure 3 ,include:

[0051] After the terminal gateway is powered on, it will automatically inspect all devices under the terminal gateway, obtain information about the device type, device status and device quantity, and automatically upload the obtained data to the cloud server.

[0052] When automatically connecting to the cloud server, the MAC address will be uploaded, and the MAC address is used for cloud server identification; the heartbeat packet is automatically uploaded to the cloud server within a fixed time to ensure that the terminal gateway is always connected, so that the cloud server can automatically monitor whether the terminal gateway is online.

[0053] The relevant data information of the terminal gateway includes: information related to the devices under the terminal gateway, the MAC address of the terminal gateway, and information related to the heartbeat packet of the terminal gateway.

[0054] In one embodiment, a gateway is also called an internetwork connector or a protocol converter. A gateway realizes network interconnection above the network layer and is a complex network interconnection device that is only used for interconnection between two networks with different high-level protocols. A gateway can be used for both wide area network interconnection and local area network interconnection. A gateway is a computer system or device that performs the important task of conversion. A gateway is a translator used between two systems with different communication protocols, data formats or languages, or even completely different architectures. Unlike a bridge that simply transmits information, a gateway repackages the received information to meet the needs of the destination system. The role of a gateway is to translate and convert data in two network segments that use different transmission protocols.

[0055] In one embodiment, before the use of the relevant data information of the terminal gateway to perform multi-point interconnection with all the terminal gateways through the cloud server, it also includes:

[0056] Monitor the heartbeat packet related information of the terminal gateway to determine whether all the terminal gateways are online. If any of the terminal gateways is offline, trigger the exception handling mechanism;

[0057] Otherwise, the terminal gateway is added to the online terminal gateway data set.

[0058] Specifically, if any of the terminal gateways is offline, the exception handling mechanism is triggered, including:

[0059] Using the device related information under the terminal gateway, the cloud server searches for all the terminal gateways in the online terminal gateway data set based on the preset gateway takeover restriction, and obtains the first terminal gateway that matches the preset gateway takeover restriction;

[0060] Using the MAC address of the terminal gateway, the first terminal gateway takes over the offline terminal gateway, including: taking over the device control authority of the offline mobile terminal and the management authority of the device.

[0061] In the specific implementation, when the cloud server detects that a terminal gateway device is offline, it will trigger the exception handling mechanism. The cloud server will automatically calculate and find the optimal terminal gateway to replace the offline gateway to avoid the phenomenon of uncontrollable equipment. At the same time, it will push the abnormal device data to the customer via SMS or official account. The exception handling mechanism includes: the cloud server will automatically determine which terminal gateway is more suitable to replace the abnormal terminal gateway based on the device-related data uploaded by the terminal gateway, and take over all device control and management permissions under the abnormal terminal gateway.

[0062] It should be noted that when the terminal gateway is abnormal, that is, when the terminal gateway is offline, the cloud server confirms the online terminal gateway through the heartbeat packet, and then finds the terminal gateway through the MAC address, and selects the optimal terminal gateway through the device information to take over the management of other abnormal terminal gateways. The abnormal network care jump packet will be lost, and the server can automatically detect the abnormal gateway and start the abnormal handling mechanism.

[0063] In one embodiment, as described in step S3, using the result of the multi-point interconnection to start a fault detection mechanism to perform fault detection on related devices controlled by each terminal gateway includes:

[0064] When receiving a control command sent by a mobile terminal, determining whether the mobile terminal and the cloud server receive a feedback signal;

[0065] If the mobile terminal and the cloud server do not receive the feedback signal, the cloud server notifies the nearest terminal gateway to re-forward the control command based on the multi-gateway linkage mechanism;

[0066] Based on the result after re-forwarding the control command, continue to determine whether the mobile terminal and the cloud server receive the feedback signal. If the mobile terminal and the cloud server do not receive the feedback signal, send the fault information of the relevant equipment.

[0067] In specific implementation, the multi-gateway linkage mechanism of the whole house intelligence can be used to determine the fault status of the terminal execution device. When the mobile terminal sends a control command, neither the terminal gateway nor the cloud server receives a feedback signal. The cloud server will re-forward the previous control command through another nearby terminal gateway. If no feedback signal is received, it means that the terminal execution device is in a faulty state at this time, and the system will automatically notify the service provider to replace the equipment.

[0068] In one embodiment, as described in step S4, the use of the relevant data information and fault detection results of the terminal gateway to perform interconnection and mutual monitoring management between the terminal gateways to achieve intelligent control of related devices under the terminal gateway includes:

[0069] Using the relevant data information of the terminal gateway and the result of the fault detection, the cloud server uses the relevant information of the devices under the terminal gateway in the relevant data information of the terminal gateway to select the terminal gateway with the largest number of controlled devices under the terminal device as the main gateway;

[0070] By utilizing the execution result of the main gateway and connecting each terminal gateway in a multi-media connection mode, intelligent control of related equipment under the terminal gateway is realized.

[0071] In the specific implementation, the cloud automatically determines and selects the terminal gateway as the main gateway based on the number of online terminal gateways and regional devices to control data transmission. This avoids problems such as data switching delays and low efficiency caused by repeated judgments.

[0072] In normal use, the terminal gateway with the most regional devices in the system should be selected as the main gateway, so that the control efficiency can be improved and the local forwarding data will be reduced. The cloud automatically determines these relevant information.

[0073] The terminal gateways are connected in a multi-media manner, and different methods are selected according to different applications, such as network, bus, power carrier, wireless, etc. The terminal gateways can monitor and control each other. If one terminal gateway is abnormal, the adjacent terminal gateway will take over the management to improve the stability of the system; the takeover management is carried out in a grid manner, and the terminal gateway is automatically selected through the algorithm to take over the management.

[0074] It should be noted that the cloud server automatically calculates and judges the relevant information uploaded by the terminal gateway, selects the optimal terminal gateway path, and realizes mobile terminal control.

[0075] In the embodiment of the present application, a partition management method is adopted, that is, terminal gateways are set at floors, rooms or nodes. The terminal gateways are diversified, and different types of terminal gateway products are selected according to different applications; and each terminal gateway will automatically bind to the cloud through the network. The cloud management host and each terminal gateway use handshake commands to manage each terminal gateway and monitor whether it is online. Cloud control can be achieved by any terminal gateway. The cloud selects the terminal gateway path, which is automatically calculated by the cloud and randomly selects an online terminal gateway to achieve network control; and each terminal gateway is locally interconnected to achieve data interaction and management within the system.

[0076] Specifically, the terminal gateways (including floor gateways, node gateways or room gateways) locally cross media to achieve mutual data monitoring and management of each terminal gateway; any abnormal terminal gateway will be managed by the adjacent gateway, and the abnormal gateway will be reported to the server to prompt the customer to replace it in time. The cross-media algorithm is used between terminal gateways to achieve optimal data processing.

[0077] During the specific implementation, since the terminal adopts a partitioned management method, and each regional management gateway can directly exchange data and manage each other, the failure of a certain device will not affect other devices, and the faulty area will be taken over by the adjacent terminal gateway. At the same time, the fault point will be reported to the cloud server to notify the customer to replace it.

[0078] It should be noted that due to the use of the multi-machine hot standby mechanism of the whole-house intelligent system, the cloud can establish a connection with the terminal gateway through multiple channels. Even if a terminal gateway is abnormal, it will not affect the cloud control and data management. The cloud uses an automatic random algorithm to achieve data communication with any terminal gateway.

[0079] In one embodiment, whether it is a wired system, a wireless system, or a hybrid system, or the transmission of media such as international standard bus, wireless radio frequency or Bluetooth, ZIGBEE or even WIFI, and power lines using power carrier transmission, basically a central controller or gateway is used to realize the control of the whole house system; take our current field bus solution as an example: the wall-mounted switch controller sends a control signal to the box-mounted actuator in the electric well through the field bus, and all the strong electric live wires enter the box. The central controller or central gateway in the box receives the control signal and immediately issues a command to the guide rail actuator. After the actuator receives the command, its internal relay attracts the live wire and the light turns on. At the same time, the actuator sends a feedback signal to the bus. After receiving the feedback signal, the central controller immediately notifies the network (the network includes the local area network and the wide area network), and the feedback signal is displayed on the mobile terminal interface, and the light icon becomes brighter;

[0080] A single central gateway serves the entire house smart system. Once the central gateway fails, the entire house smart system will be paralyzed.

[0081] In the embodiment of the present application, by obtaining the relevant data information of the terminal gateway; using the relevant data information of the terminal gateway, multi-point interconnection is performed with all the terminal gateways through the cloud server; using the result of the multi-point interconnection, the fault detection mechanism is started to detect the faults of the related equipment controlled by each terminal gateway; using the relevant data information of the terminal gateway and the result of the fault detection, the terminal gateways are interconnected and monitored each other to realize the intelligent control of the related equipment under the terminal gateway. This application helps to solve the problem that a single central gateway serves the whole house intelligent system. Once the central gateway fails, it will cause the paralysis of the whole house intelligent system.

[0082] In one embodiment, even if multiple gateways are networked to form a main gateway + regional gateway, once the main gateway fails, the regional gateway will not automatically take over the control of the entire house intelligence, and manual setting of the replacement MAC address is required to achieve the handover of control. This application monitors the heartbeat packet related information of the terminal gateway to determine whether all terminal gateways are online. If any of the terminal gateways is offline, the exception handling mechanism is triggered to take over and replace the abnormal gateway.

[0083] In one embodiment, most fault detection methods use device self-testing, which requires continuous sending of detection data to the bus for judgment by the gateway, which seriously occupies bus resources or has high configuration requirements for terminal devices, thereby increasing the cost of the entire system. The present application utilizes the results of the multi-point interconnection to start the fault detection mechanism and perform fault detection on related devices controlled by each terminal gateway, as shown in the above step S3, which opens up a new solution for fault detection of the whole-house smart system.

[0084] In the embodiments of the present application, Figure 5 As shown, a socket-type central manager can be connected to a wireless router in the living room, and the wall gateways in each room are connected to wireless networks such as WIFI, zigbee, zi-wave, Bluetooth, or LORA radio frequency, and communicate with the socket-type central gateway in the whole house to realize networking; for wireless networking, the wall gateway is used as the room gateway, and a room gateway is designated as the central gateway to manage the whole house intelligence. The same principle is used to perform fault detection and ensure the continuous operation of the system.

[0085] In specific implementation, Figure 6As shown, the power lines of the original sockets in each room can be used to transmit signals through the power carrier. The socket gateway in each room and the whole-house socket central manager in the living room are networked through the power lines. The same is true for the power carrier networking solution of the socket gateway. When the whole-house gateway fails, the gateways in other rooms automatically take over.

[0086] In specific implementation, Figure 7 As shown, the original LAN, POE power supply switch + wireless AP are used, and the wireless AP in each room is connected to the wall gateway in the room through the Saisi rail-type central manager to realize networking; the above three solutions respectively use different architectures and transmission media, all of which are based on the same principle, and achieve high reliability and high stability, as well as automatic monitoring and repair of faults through the multi-point connection method between the original server and the gateway; the hybrid gateway of the hybrid solution of the above three solutions is also suitable for the method of this invention.

[0087] Embodiment 2

[0088] See also Figure 2 , Figure 2 : is a composition diagram of a device for improving the stability of an intelligent system based on cloud and multi-gateway detection provided by another embodiment of the present application, the device comprising:

[0089] The acquisition module 101 is used to acquire relevant data information of the terminal gateway;

[0090] The connection module 102 is used to utilize the relevant data information of the terminal gateway to establish multi-point interconnection with all the terminal gateways through the cloud server;

[0091] The fault detection module 103 is used to start the fault detection mechanism by using the result of the multi-point interconnection to perform fault detection on the related devices controlled by each terminal gateway;

[0092] The execution module 104 is used to utilize the relevant data information and fault detection results of the terminal gateways to perform interconnection and mutual monitoring management between the terminal gateways, thereby realizing intelligent control of relevant equipment under the terminal gateways.

[0093] Specifically, Figure 8As shown, for office buildings, villas or houses, a set of box equipment can be used on each floor. All home center gateway modules are connected to the router through a network switch. The WAN port of the router communicates with the cloud server. The cloud server and the terminal gateway on each floor realize multi-point connection. The system will automatically determine the status of each terminal gateway and automatically select one of the terminal gateways as the main communication gateway for whole-house control. When the system detects an abnormality in a gateway, the system will automatically select the next terminal gateway in order of priority. The rights of whole-house intelligent control are all taken over by this terminal gateway, and the system will notify the service provider to replace the device.

[0094] Specifically, in the system of the present application, a zoning management method is adopted, that is, terminal gateways are set at floors, rooms or nodes. The terminal gateways are diversified, and different types of terminal gateway products are selected according to different applications; and each terminal gateway will automatically bind to the cloud through the network. The cloud management host and each terminal gateway use handshake commands to manage each gateway and monitor whether it is online. Cloud control can be achieved by any terminal gateway. The cloud selects the terminal gateway path, which is automatically calculated by the cloud and randomly selects an online terminal gateway to achieve network control; and each terminal gateway is locally interconnected to achieve data interaction and management within the system.

[0095] Specifically, the terminal gateways (including floor gateways, node gateways or room gateways) locally cross media to achieve mutual data monitoring and management of each terminal gateway; any abnormal terminal gateway will be managed by the adjacent gateway, and the abnormal gateway will be reported to the server to prompt the customer to replace it in time. The cross-media algorithm is used between terminal gateways to achieve optimal data processing.

[0096] Specifically, because the terminal adopts a partitioned management method, and each regional management gateway can directly exchange data and manage each other, the failure of a certain device will not affect other devices, and the faulty area will be taken over by the adjacent terminal gateway. The management, at the same time, reports the fault point to the cloud server and notifies the customer to replace it.

[0097] Specifically, due to the use of the multi-machine hot standby mechanism of the whole-house intelligent system, the cloud can establish a connection with the terminal gateway through multiple channels. Even if a terminal gateway is abnormal, it will not affect the cloud control and data management. The cloud uses an automatic random algorithm to achieve data communication with any terminal gateway.

[0098] Specifically, the multi-gateway linkage mechanism of the whole house intelligence can be used to determine the fault status of the terminal execution device. When the mobile terminal sends a control command, neither the terminal gateway nor the cloud server receives a feedback signal. The cloud server will re-forward the previous control command through another nearby terminal gateway. If no feedback signal is received, it means that the terminal execution device is in a faulty state at this time, and the system will automatically notify the service provider to replace the equipment.

[0099] It can be understood that the same or similar parts of the above embodiments can be referenced to each other, and the contents not described in detail in some embodiments can refer to the same or similar contents in other embodiments.

[0100] It should be noted that, in the description of this application, the terms "first", "second", etc. are only used for descriptive purposes and cannot be understood as indicating or implying relative importance. In addition, in the description of this application, unless otherwise specified, the meaning of "plurality" refers to at least two.

[0101] Any process or method description in a flowchart or otherwise described herein may be understood to represent a module, segment or portion of code that includes one or more executable instructions for implementing the steps of a specific logical function or process, and the scope of the preferred embodiments of the present application includes alternative implementations in which functions may not be performed in the order shown or discussed, including performing functions in a substantially simultaneous manner or in the reverse order depending on the functions involved, which should be understood by technicians in the technical field to which the embodiments of the present application belong.

[0102] It should be understood that the various parts of the present application can be implemented by hardware, software, firmware or a combination thereof. In the above-mentioned embodiments, multiple steps or methods can be implemented by software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented by hardware, as in another embodiment, it can be implemented by any one of the following technologies known in the art or their combination: a discrete logic circuit having a logic gate circuit for implementing a logic function for a data signal, a dedicated integrated circuit having a suitable combination of logic gate circuits, a programmable gate array (PGA), a field programmable gate array (FPGA), etc.

[0103] A person skilled in the art may understand that all or part of the steps in the method for implementing the above-mentioned embodiment may be completed by instructing related hardware through a program, and the program may be stored in a computer-readable storage medium, which, when executed, includes one or a combination of the steps of the method embodiment.

[0104] In addition, each functional unit in each embodiment of the present application may be integrated into a processing module, or each unit may exist physically separately, or two or more units may be integrated into one module. The above-mentioned integrated module may be implemented in the form of hardware or in the form of a software functional module. If the integrated module is implemented in the form of a software functional module and sold or used as an independent product, it may also be stored in a computer-readable storage medium.

[0105] The storage medium mentioned above can be a read-only memory, a magnetic disk or an optical disk, etc.

[0106] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "example", "specific example", or "some examples" means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present application. In this specification, the schematic representation of the above terms does not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner.

[0107] Although the embodiments of the present application have been shown and described above, it can be understood that the above embodiments are exemplary and cannot be understood as limitations on the present application. Ordinary technicians in this field can change, modify, replace and modify the above embodiments within the scope of the present application.

Claims

1. A method for realizing device intelligence by controlling a gateway through a cloud server, characterized in that: The method comprises: Obtain relevant data information of the terminal gateway; Utilize the relevant data information of the terminal gateway to establish multi-point interconnection with all the terminal gateways through the cloud server; Using the result of the multi-point interconnection, a fault detection mechanism is started to detect faults of related devices controlled by each terminal gateway; Using the relevant data information and fault detection results of the terminal gateways, the terminal gateways are interconnected and monitored with each other to achieve intelligent control of the relevant equipment under the terminal gateways; Before the use of the relevant data information of the terminal gateway to perform multi-point interconnection between the cloud server and all the terminal gateways, the method further includes: Monitor the heartbeat packet related information of the terminal gateway to determine whether all the terminal gateways are online. If any of the terminal gateways is offline, trigger the exception handling mechanism; Otherwise, adding the terminal gateway to the online terminal gateway data set; If any of the terminal gateways is offline, an exception handling mechanism is triggered, including: Using the device related information under the terminal gateway, the cloud server searches for all the terminal gateways in the online terminal gateway data set based on the preset gateway takeover restriction, and obtains the first terminal gateway that matches the preset gateway takeover restriction; Using the MAC address of the terminal gateway, the first terminal gateway takes over the offline terminal gateway, including: taking over the device control authority under the offline terminal gateway and the management authority of the device; The method of using the result of the multi-point interconnection to start a fault detection mechanism to detect faults of related devices controlled by each terminal gateway includes: When receiving a control command sent by a mobile terminal, determining whether the mobile terminal and the cloud server receive a feedback signal; If the mobile terminal and the cloud server do not receive the feedback signal, the cloud server notifies the nearest terminal gateway to re-forward the control command based on the multi-gateway linkage mechanism; Based on the result after re-forwarding the control command, continue to determine whether the mobile terminal and the cloud server receive the feedback signal. If the mobile terminal and the cloud server do not receive the feedback signal, send the fault information of the relevant equipment.

2. The method according to claim 1, characterized in that The obtaining of the relevant data information of the terminal gateway includes: The relevant data information of the terminal gateway includes: relevant information of the equipment under the terminal gateway, the MAC address of the terminal gateway, and relevant information of the heartbeat packet of the terminal gateway.

3. The method according to claim 1, characterized in that The method utilizes the relevant data information and fault detection results of the terminal gateway to perform interconnection and mutual monitoring management between the terminal gateways to realize intelligent control of relevant equipment under the terminal gateway, including: Using the relevant data information of the terminal gateway and the result of fault detection, the cloud server uses the relevant information of the devices under the terminal gateway in the relevant data information of the terminal gateway to select the terminal gateway with the largest number of controlled devices under the terminal gateway as the main gateway; The main gateway is used to connect the terminal gateways in a multi-media connection manner to achieve intelligent control of related equipment under the terminal gateways.

4. A device for realizing intelligent equipment by controlling a cloud server gateway, applied to the method for realizing intelligent equipment by controlling a cloud server gateway as described in any one of claims 1 to 3, characterized in that: The device comprises: An acquisition module is used to obtain relevant data information of the terminal gateway; A connection module, used to utilize the relevant data information of the terminal gateway to establish multi-point interconnection with all the terminal gateways through a cloud server; A fault detection module is used to use the result of the multi-point interconnection to start a fault detection mechanism to perform fault detection on related devices controlled by each terminal gateway; The execution module is used to utilize the relevant data information and fault detection results of the terminal gateway to perform interconnection and mutual monitoring management between the terminal gateways, so as to realize intelligent control of the relevant equipment under the terminal gateway.

Citation Information

Patent Citations

  • Gateway connection method, Internet of Things equipment, gateway and Internet of Things system

    CN114629747A

  • Online state determination method and device, storage medium and electronic device

    CN115474225A