CN114567524A - Communication system and method based on dynamic gateway - Google Patents

Communication system and method based on dynamic gateway Download PDF

Info

Publication number
CN114567524A
CN114567524A CN202210244747.6A CN202210244747A CN114567524A CN 114567524 A CN114567524 A CN 114567524A CN 202210244747 A CN202210244747 A CN 202210244747A CN 114567524 A CN114567524 A CN 114567524A
Authority
CN
China
Prior art keywords
gateway
control instruction
gateways
target
information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202210244747.6A
Other languages
Chinese (zh)
Other versions
CN114567524B (en
Inventor
李航快
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hangzhou Ezviz Network Co Ltd
Original Assignee
Hangzhou Ezviz Network Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hangzhou Ezviz Network Co Ltd filed Critical Hangzhou Ezviz Network Co Ltd
Priority to CN202210244747.6A priority Critical patent/CN114567524B/en
Publication of CN114567524A publication Critical patent/CN114567524A/en
Priority to PCT/CN2023/076469 priority patent/WO2023173993A1/en
Application granted granted Critical
Publication of CN114567524B publication Critical patent/CN114567524B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/66Arrangements for connecting between networks having differing types of switching systems, e.g. gateways
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
    • H04L67/125Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks involving control of end-device applications over a network
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Health & Medical Sciences (AREA)
  • Computing Systems (AREA)
  • General Health & Medical Sciences (AREA)
  • Medical Informatics (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The embodiment of the invention provides a communication system and a method based on dynamic gateways, relating to the technical field of information.A cloud platform is respectively connected with each gateway, and each gateway is connected with at least one other gateway; the cloud platform is used for receiving a control instruction aiming at the target equipment and sent by the client; determining a gateway directly connected with the target equipment according to the control instruction to obtain a target gateway; forwarding the control instruction to a destination gateway; when the control instruction is failed to be forwarded to the target gateway, selecting a gateway with the optimal preset capability index from all gateways except the target gateway to obtain a designated gateway; forwarding the control instruction to a designated gateway; the designated gateway is used for forwarding the control instruction to the destination gateway; and the destination gateway is used for forwarding the control instruction to the target equipment. Therefore, the problem that a user cannot control the target equipment when the cloud platform fails to forward the control instruction to the gateway directly connected with the target equipment is solved, and the stability and the usability of the system are improved.

Description

Communication system and method based on dynamic gateway
Technical Field
The present invention relates to the field of information technology, and in particular, to a communication system and method based on a dynamic gateway.
Background
The gateway is a device which is connected with a cloud platform, is added with a sub-device, supports protocol analysis and edge computing, and is often used when a client and a target device communicate with each other. For example, when a user controls a certain smart home device through a client, the client sends a control instruction of the user to the cloud platform, then forwards the control instruction to a gateway directly connected with the smart home device through the cloud platform, and finally forwards the control instruction to the smart home device through the gateway to control the smart home device.
Then, in an actual use process, due to reasons such as unstable network connection and high gateway load, when the control instruction is forwarded to the gateway directly connected to the target device by the cloud platform, a sending failure often occurs, so that the user cannot control the target device.
Disclosure of Invention
The embodiment of the invention aims to provide a communication system and a communication method based on a dynamic gateway, which are used for solving the problem that a user cannot control a target device when a cloud platform fails to forward a control instruction to a gateway directly connected with the target device. The specific technical scheme is as follows:
in a first aspect of the embodiments of the present application, a communication system based on dynamic gateways is provided, where the communication system includes a cloud platform and a plurality of gateways, the cloud platform is connected to each of the gateways, and each of the gateways is connected to at least one other gateway;
the cloud platform is used for receiving a control instruction aiming at the target equipment and sent by the client; determining a gateway directly connected with the target equipment according to the control instruction to obtain a target gateway; forwarding the control instruction to the destination gateway; when the control instruction is failed to be forwarded to the target gateway, selecting a gateway with the optimal preset capability index from all gateways except the target gateway to obtain a designated gateway; forwarding the control instruction to the designated gateway;
the designated gateway is used for forwarding the control instruction to the destination gateway;
the destination gateway is configured to forward the control instruction to the target device.
Optionally, the cloud platform is specifically configured to, when forwarding the control instruction to the destination gateway fails, obtain a gateway capability value, a current load, an operation duration, and a gateway type of each gateway except the destination gateway; calculating to obtain the preset capacity index through preset weight according to the gateway capacity value, load, running time and gateway type of each gateway; and selecting the gateway with the optimal preset capability index to obtain the specified gateway.
Optionally, each gateway is configured to calculate a first preset duration at each interval and send a gateway capability value of the gateway to each other gateway; comparing the gateway capacity value with the received gateway capacity value, if the gateway capacity value is greater than the received gateway capacity value, feeding back the gateway capacity value, and if the gateway capacity value is less than the received gateway capacity value, not feeding back the gateway capacity value;
the main gateway is used for determining the gateway as the main gateway when the own gateway capability value is larger than all the received gateway capability values;
the cloud platform is specifically configured to forward the control instruction to the primary gateway when forwarding the control instruction to the destination gateway fails, so that the primary gateway forwards the control instruction to the destination gateway.
Optionally, the master gateway is further configured to create a communication group, and notify other gateways of master gateway information and the communication group information, so that the other gateways join the communication group.
Optionally, the master gateway is further configured to send a gateway information obtaining instruction to each gateway in the communication group every second preset time interval; receiving gateway information fed back by each gateway and integrating the gateway information to obtain integrated routing information; feeding back integrated routing information to each gateway in the communication group so that each gateway receives and stores the integrated routing information;
the cloud platform is further configured to acquire the integrated routing information when forwarding the control instruction to the destination gateway fails; calculating and selecting a gateway with the optimal preset capacity index according to the integrated routing information to obtain the designated gateway; forwarding the control instruction to the designated gateway.
Optionally, the destination gateway is configured to receive feedback information of the target device; sending the feedback information to the cloud platform; when the feedback information is failed to be sent to the cloud platform, calculating and selecting a gateway with the optimal preset capacity index according to the integrated routing information to obtain the designated gateway; forwarding the control instruction to the designated gateway;
the designated gateway is used for sending the feedback information to the cloud platform;
and the cloud platform is used for sending the feedback information to the client.
In a second aspect of the embodiments of the present application, a communication method based on dynamic gateways is provided, where the communication method is applied to a cloud platform in a communication system based on dynamic gateways, the cloud platform is connected to each gateway, and each gateway is connected to at least one other gateway, and the method includes:
receiving a control instruction aiming at target equipment sent by a client;
determining a gateway directly connected with the target equipment according to the control instruction to obtain a target gateway;
forwarding the control instruction to the destination gateway;
when the control instruction is failed to be forwarded to the target gateway, selecting a gateway with the optimal preset capability index from all gateways except the target gateway to obtain a designated gateway;
and forwarding the control instruction to the specified gateway so that the specified gateway forwards the control instruction to the destination gateway.
Optionally, when forwarding the control instruction to the destination gateway fails, selecting a gateway with an optimal preset capability index from gateways except the destination gateway to obtain a designated gateway, where the selecting includes:
when the control instruction is failed to be forwarded to the target gateway, acquiring gateway capability values, current loads, running time and gateway types of all gateways except the target gateway;
calculating to obtain the preset capacity index through preset weight according to the gateway capacity value, load, running time and gateway type of each gateway;
and selecting the gateway with the optimal preset capacity index from all gateways except the target gateway according to the calculated preset capacity index to obtain the specified gateway.
Optionally, when forwarding the control instruction to the destination gateway fails, selecting a gateway with an optimal preset capability index from gateways except the destination gateway to obtain a designated gateway, where the selecting includes:
when the control instruction is failed to be forwarded to the destination gateway, forwarding the control instruction to a predetermined main gateway so that the main gateway forwards the control instruction to the destination gateway, wherein the main gateway is used for creating a communication group and notifying the main gateway information and the communication group information to other gateways, so that the rest gateways are added into the communication group, each gateway in the communication group calculates and sends the own gateway capacity value to the rest gateways every first preset time interval, by comparing the gateway capacity value with the received gateway capacity value, if the gateway capacity value is larger than the received gateway capacity value, the gateway capacity value is fed back, if the gateway capacity value is smaller than the received gateway capacity value, the gateway capacity value is not fed back, and when the gateway capability value of the main gateway is larger than all the received gateway capability values, the main gateway determines the main gateway.
Optionally, when forwarding the control instruction to the destination gateway fails, selecting a gateway with an optimal preset capability index from gateways except the destination gateway to obtain a designated gateway, where the selecting includes:
when the control instruction is failed to be forwarded to the target gateway, acquiring prestored integrated routing information, wherein the integrated routing information is obtained by sending a gateway information acquisition instruction to each gateway in the communication group at every second preset time interval through the main gateway, acquiring gateway information fed back by each gateway and integrating the gateway information;
calculating and selecting a gateway with the optimal preset capacity index according to the integrated routing information to obtain the designated gateway; forwarding the control instruction to the designated gateway.
In a third aspect of the embodiments of the present application, a communication method based on a dynamic gateway is provided, where the communication method is applied to a target gateway directly connected to a target device in a communication system based on a dynamic gateway, a cloud platform is respectively connected to each gateway, and each gateway is connected to at least one other gateway, where the method includes:
when the information fed back by the target equipment fails to be sent to the cloud platform, selecting a gateway with the optimal preset capacity index according to prestored integrated routing information to obtain a designated gateway;
and forwarding the information fed back by the target equipment to the specified gateway so that the specified gateway forwards the information fed back by the target equipment to the cloud platform.
In another aspect of the embodiments of the present application, an electronic device is provided, which includes a processor, a communication interface, a memory, and a communication bus, where the processor, the communication interface, and the memory complete communication with each other through the communication bus;
a memory for storing a computer program;
and the processor is used for realizing any communication method based on the dynamic gateway when executing the program stored in the memory.
In another aspect of the embodiments of the present application, a computer-readable storage medium is provided, where a computer program is stored in the computer-readable storage medium, and when the computer program is executed by a processor, the computer program implements any of the above communication methods based on a dynamic gateway.
The embodiment of the invention has the following beneficial effects:
the communication system and the method based on the dynamic gateway provided by the embodiment of the invention comprise a cloud platform and a plurality of gateways, wherein the cloud platform is respectively connected with each gateway, and each gateway is at least connected with one other gateway; the cloud platform is used for receiving a control instruction aiming at the target equipment and sent by the client; determining a gateway directly connected with the target equipment according to the control instruction to obtain a target gateway; forwarding the control instruction to a destination gateway; when the control instruction is unsuccessfully forwarded to the target gateway, selecting a gateway with the optimal preset capability index from all gateways except the target gateway to obtain a specified gateway; forwarding the control instruction to a designated gateway; the designated gateway is used for forwarding the control instruction to the destination gateway; and the destination gateway is used for forwarding the control instruction to the target equipment. By the method, when the cloud platform fails to forward the control instruction to the target gateway, the gateway with the optimal preset capability index is selected from the gateways except the target gateway to obtain the designated gateway, and the control instruction is forwarded through the designated gateway, so that the problem that a user cannot control the target equipment when the cloud platform fails to forward the control instruction to the gateway directly connected with the target equipment is solved, and the stability and the usability of the system are improved.
Of course, not all of the advantages described above need to be achieved at the same time in the practice of any one product or method of the invention.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art that other embodiments can be obtained by referring to these drawings.
Fig. 1 is a schematic structural diagram of a communication system based on a dynamic gateway according to an embodiment of the present application;
fig. 2 is a schematic structural diagram of an intelligent home system provided in an embodiment of the present application;
fig. 3 is a schematic diagram illustrating a control command sent by a communication system based on a dynamic gateway according to an embodiment of the present application;
fig. 4 is an interaction diagram of a communication system based on a dynamic gateway according to an embodiment of the present application;
fig. 5 is another interaction diagram of a communication system based on a dynamic gateway according to an embodiment of the present application;
fig. 6 is a schematic diagram of a reporting state of a sub-device of a communication system based on a dynamic gateway according to an embodiment of the present application;
fig. 7 is a schematic flowchart of a communication method based on a dynamic gateway according to an embodiment of the present application;
fig. 8 is a schematic flowchart of another communication method based on a dynamic gateway according to an embodiment of the present application;
fig. 9 is a schematic structural diagram of a communication device based on a dynamic gateway according to an embodiment of the present application;
fig. 10 is a schematic structural diagram of a communication device based on a dynamic gateway according to an embodiment of the present application;
fig. 11 is a schematic structural diagram of an electronic device according to an embodiment of the present application;
fig. 12 is another schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived from the embodiments given herein by one of ordinary skill in the art, are within the scope of the invention.
First, terms of art that may be used in the embodiments of the present application are explained:
a gateway: the intelligent household equipment is connected with a cloud platform, is added with sub-equipment, and supports protocol analysis and edge calculation;
the sub-equipment: an intelligent home device such as a switch, a socket and the like which must be connected with a cloud platform through a gateway;
communication group: the gateways in the group can communicate with each other;
a main gateway: selecting the gateway in the group according to the capability of the gateway equipment;
authenticating the gateway: gateways other than the main gateway in the group;
linkage: the user configures linkage rules on an APP (application, mobile phone software), and the sub-device 1 triggers the event linkage sub-device 2 to execute actions, such as unlocking a linkage lock and turning on a light.
In a first aspect of the embodiments of the present application, a communication system based on dynamic gateways is provided first, and referring to fig. 1, the communication system includes a cloud platform 101 and a plurality of gateways, where the cloud platform is connected to each gateway, and each gateway is connected to at least one other gateway;
the cloud platform 101 is used for receiving a control instruction aiming at the target equipment sent by the client; determining a gateway directly connected with the target equipment according to the control instruction to obtain a target gateway; forwarding the control instruction to a destination gateway; when the control instruction is failed to be forwarded to the target gateway, selecting a gateway with the optimal preset capability index from all gateways except the target gateway to obtain a designated gateway; forwarding the control instruction to a designated gateway;
the designated gateway 102 is used for forwarding the control instruction to the destination gateway;
and the destination gateway 103 is used for forwarding the control instruction to the target device.
The cloud platform in the embodiment of the application may be a back-end device that receives a control instruction for a target device sent by a user, and the cloud platform may forward the received control instruction to a destination gateway directly connected to the target device. For example, when the method of the embodiment of the application is applied to an intelligent home device, a user sends a control instruction for a certain intelligent home device through a control APP of an intelligent home system, sends the control instruction to a cloud platform at a rear end, forwards the control instruction to a destination gateway directly connected to the intelligent home device to be controlled through the cloud platform, and finally sends the control instruction to the intelligent home device to be controlled through the destination gateway to control the intelligent home device. For example, referring to fig. 2, the smart home system is composed of an APP, a cloud platform, a gateway and a sub-device, the sub-device is added to the gateway, the gateway is connected to the cloud platform through a home router, the APP controls the home gateway and the sub-device through the cloud platform, when a user needs to control the sub-device 3, the control instruction is sent to the cloud platform through the APP, the cloud platform sends the control instruction to a gateway B in a communication group through the router, and finally the gateway B sends the control instruction to the sub-device 3 to control the sub-device.
The control information sent by the client and received by the cloud platform can include identification information of the target device, meanwhile, direct-connected target gateways corresponding to different devices can be stored in the cloud platform in advance, when the corresponding target device is identified according to the identification information stored in the control information, the target gateway directly connected with the target device can be identified according to the direct-connected target gateway corresponding to the different devices stored in the cloud platform, and then the control instruction is sent to the target gateway.
In the actual use process, due to the fact that the load of the gateway exceeds the processing capacity of the gateway, communication faults and the like, the cloud platform fails to forward the control instruction to the target gateway. The preset capability index in the embodiment of the present application may be an index representing the capability of the gateway to process information currently. Specifically, the gateway capability value, load, operation duration, and gateway type may be included, but are not limited to.
In the embodiment of the application, a communication connection exists between the designated gateway and the destination gateway. In the actual use process, each gateway in the system can be marked as a communication group, and the gateways in the communication group can communicate with each other. The designated gateway can receive and forward the control instruction to the destination gateway, and forward the control instruction to the target device through the destination gateway, thereby realizing the control of the target device. For example, referring to fig. 3, when a user sends a control instruction for a child device to a cloud platform through an APP and the cloud platform is required to forward the control instruction to a gateway C directly connected to the child device, when a communication fault occurs between the cloud platform and the gateway C, the control instruction may be forwarded to the gateway a, the control instruction is forwarded to the gateway C by the main gateway, and finally the control instruction is forwarded to the child device by the gateway C, so as to implement control over the child device.
Therefore, by the system provided by the embodiment of the application, when the cloud platform fails to forward the control instruction to the target gateway, the gateway with the optimal preset capability index is selected from the gateways except the target gateway to obtain the designated gateway, and the control instruction is forwarded through the designated gateway, so that the problem that a user cannot control the target equipment when the cloud platform fails to forward the control instruction to the gateway directly connected with the target equipment is solved, and the stability and the availability of the system are improved.
Optionally, when the cloud platform selects a gateway with the optimal preset capability index from the gateways except the destination gateway, the preset capability index may be calculated according to a plurality of indexes. Specifically, the cloud platform is specifically configured to obtain gateway capability values, current loads, operation durations, and gateway types of the gateways except the destination gateway when forwarding the control instruction to the destination gateway fails; calculating to obtain a preset capacity index through a preset weight according to the gateway capacity value, the load, the running time and the gateway type of each gateway; and selecting the gateway with the optimal preset capacity index to obtain the designated gateway.
In the embodiment of the present application, the gateway capability value may be an index used for characterizing the processing capability of the gateway, for example, the gateway capability value may be a bandwidth, an upper limit of a load, and the like. The load is an index for characterizing the current information processing amount of the gateway. The running duration may represent a duration from the current startup to the current time, and/or a duration from the initial startup to the current time. The gateway type may be a version of the gateway, a type of information that can be processed, and the like. The preset capability index is obtained through preset weight calculation according to the gateway capability value, the load, the operation time and the gateway type of each gateway, different weights can be set in advance according to the gateway capability value, the load, the operation time and the gateway type, and during calculation, weighted summation can be carried out to obtain the corresponding preset capability index. For some indexes, for example, versions, because they cannot be represented by numerical values, different numerical values may be set for different types, for example, different versions, and in the calculation process, calculation may be performed by corresponding numerical values. When the gateway with the optimal preset capability index is selected to obtain the designated gateway, the calculated preset capability indexes of the gateways can be sequenced, and then the gateway with the optimal preset capability index is selected according to the sequencing result to obtain the designated gateway.
Therefore, the system of the embodiment of the application can obtain the gateway capacity value, the current load, the running time and the gateway type of each gateway except the target gateway; and selecting the gateway with the optimal preset capacity index according to the gateway capacity value, load, running time and gateway type of each gateway and the preset capacity index obtained by preset weight calculation to obtain the appointed gateway, so that control information is forwarded through the appointed gateway, the control information is forwarded to the target gateway, and the control of the target equipment is realized.
Optionally, each gateway is configured to calculate a first preset duration at each interval and send a gateway capability value of each gateway to the other gateways; comparing the gateway capacity value with the received gateway capacity value, if the gateway capacity value is larger than the received gateway capacity value, feeding back the gateway capacity value, and if the gateway capacity value is smaller than the received gateway capacity value, not feeding back the gateway capacity value;
the main gateway is used for determining the gateway as the main gateway when the own gateway capability value is larger than all the received gateway capability values;
the cloud platform is specifically configured to forward the control instruction to the primary gateway when forwarding the control instruction to the destination gateway fails, so that the primary gateway forwards the control instruction to the destination gateway.
The gateway sends the self capacity value to other gateways, compares the self capacity value with the received capacity value, sends feedback information to the other side when the self capacity value is larger than the received capacity value, and does not send the feedback information when the self capacity value is smaller than the received capacity value, so that the sending amount of the information can be reduced, and the selection speed of the gateway with the maximum gateway capacity value, namely the main gateway, is improved. Wherein the gateway capability value of the main gateway should be greater than all the remaining gateways. In the actual use process, the capability value can be sent in the form of a message, if the capability value of the gateway is larger than the received capability value of the gateway, the capability value of the gateway can be sent to the opposite side, and if the capability value of the gateway is smaller than the received capability value, the message can be discarded. The preset duration can be set according to actual conditions.
If the capability value of a certain gateway is larger than the received capability values of all gateways, the gateway can be determined as the main gateway. In the actual use process, a time threshold value can be set, and if the self capacity value is sent to the opposite side and exceeds the preset time threshold value and no information fed back by the opposite side is received, the self capacity value can be determined to be larger than the capacity value of the opposite side.
For example, referring to fig. 4, the gateway periodically sends a capability value notification message to the local area network, and after receiving the capability value notification message, other gateways compare the capability value with the capability value. And if the self-ability value is larger than the opposite-party ability value, sending a self-ability value notification message to the local area network. And if the value is less than the opposite party capacity value, discarding the message. The gateway sends the notification message, the notification message with the capacity value larger than that of the gateway is not received within 15 seconds, a communication group is created, the gateway is selected as a main gateway of the communication group, and the main gateway notification message is sent to the local area network. And other gateways in the local area network join the communication group after receiving the main gateway notification message to form a communication group authentication gateway. And reporting the information of the communication group members to the cloud platform.
And the main gateway is also used for creating a communication group and notifying the main gateway information and the communication group information to other gateways so as to enable the other gateways to join the communication group.
Specifically, after determining that a gateway is a master gateway, a gateway may send a master gateway advertisement message to each of the other gateways, and after receiving the message, each gateway may determine information of the master gateway according to the message, specifically, the information may include an address, a performance, and the like of the master gateway. The notification message may further include communication group information created by the main gateway, and after receiving the notification message, other gateways may join the communication group according to the communication group information in the message. After some gateways join the communication group, the main gateway may report all group member information to the cloud platform, which may be specifically referred to in the following embodiments. The communication group is established through the main gateway, and each gateway is added into the established communication group, so that the same management of the gateways in the communication group can be carried out through the communication group, and the information sending or management efficiency is improved.
The main gateway is a gateway which is calculated by every first preset time interval of each gateway and is compared and selected after the gateway capacity value of the main gateway is sent to other gateways, and therefore dynamic updating of the main gateway can be achieved. And the communication group is established after the main gateway is determined, so that the dynamic update of the communication group can be realized, and the update and the management of the communication group through the gateway with the strongest gateway capability are realized.
Optionally, the master gateway is configured to send a gateway information obtaining instruction to each gateway in the communication group every second preset time interval; receiving gateway information fed back by each gateway and integrating the gateway information to obtain integrated routing information; feeding back integrated routing information to each gateway in the communication group so that each gateway receives and stores the integrated routing information;
the cloud platform is also used for acquiring the integrated routing information when the control instruction is failed to be forwarded to the destination gateway; calculating and selecting a gateway with the optimal preset capacity index according to the integrated routing information to obtain a designated gateway; the control instructions are forwarded to the designated gateway.
The main gateway is used for sending a gateway information acquisition instruction to each gateway in the communication group, and can be an instruction for acquiring information such as gateway capability values, loads, operation durations, gateway types, gateway network information, gateway service capabilities, sub-device information and the like of each gateway. Then the main gateway integrates the received gateway capability value, load, running time, gateway type, gateway network information, gateway service capability and sub-equipment information to obtain integrated routing information, specifically, the received gateway capability value, load, running time, gateway type, gateway network information, gateway service capability and sub-equipment information of each gateway are integrated, the gateway capability values, load, operation duration, gateway types, gateway network information, gateway service capabilities, and sub-device information of each gateway may be classified and packaged, for example, in units of gateways to obtain integrated routing information, the integrated routing information may include a gateway capability value, a load, an operation duration, a gateway type, gateway network information, a gateway service capability, and sub-device information of the main gateway itself. After the integration, the master gateway may send the integrated routing information to each gateway. Each gateway may store the consolidated routing information after receiving it. In an actual use process, the second preset time length at each interval may be equal to or greater than the first preset time length, a gateway information acquisition instruction is sent to each gateway in the communication group through the second preset time length at each interval to generate integrated routing information, and the integrated routing information is fed back to each gateway in the communication group, so that each gateway can update the stored integrated routing information after receiving the integrated routing information, thereby implementing dynamic update of the integrated routing information.
For example, referring to fig. 5, the master gateway collects all gateway network information, gateway service capability, and sub-device information in the group, integrates them to form communication group routing information, and sends the communication group routing information to all authentication gateways. And the authentication gateway network information and the sub-equipment information are changed, and the main gateway is informed to update the communication group routing information.
Therefore, according to the method provided by the embodiment of the application, the gateway information acquisition instruction can be sent to each gateway in the communication group through the main gateway, the gateway information fed back by each gateway is received and integrated, and the integrated routing information is obtained, so that the cloud platform can calculate and select the gateway with the optimal preset capacity index according to the integrated routing information, the specified network is obtained, and the control instruction is forwarded to the specified gateway, so that the control of the target device is realized.
Optionally, the destination gateway is configured to receive feedback information of the target device; sending the feedback information to the cloud platform; when the feedback information is failed to be sent to the cloud platform, calculating and selecting a gateway with the optimal preset capacity index according to the integrated routing information to obtain a specified gateway; forwarding the control instruction to a designated gateway;
the specified gateway is used for sending the feedback information to the cloud platform;
and the cloud platform is used for sending the feedback information to the client.
In the actual use process, when the target device sends the feedback information, it often reports various types of messages actively, such as a change in its own state, a trigger event, and the like. In the embodiment of the application, all messages reported by the equipment are supported to be routed to other gateways in the communication group through the direct connection gateway, and the messages are sent to the cloud platform. When a communication fault occurs between the cloud platform and the destination gateway, when the destination gateway receives feedback information of the target device, for example, when the target device is a certain switch, after a user controls to open the switch through a client, the opened or closed information fed back by the switch may be received. When the target gateway fails to send the feedback information to the cloud platform, calculating and selecting a gateway with the optimal preset capacity index according to the integrated routing information to obtain a designated gateway, forwarding the control instruction to the designated gateway, and forwarding the control instruction to the cloud platform through the designated gateway. The specific computing process may be the same as that of the cloud platform. For example, referring to fig. 6, the slave device reports the status, and the direct connection gateway fails to report, and may forward the status to other gateways of the communication group and report to the cloud platform.
Therefore, through the system provided by the embodiment of the application, when the target gateway fails to send the feedback information of the target device to the cloud platform, the gateway with the optimal preset capacity index can be calculated and selected according to the integrated routing information to obtain the designated gateway, and the control instruction is forwarded to the designated gateway, so that the feedback of the feedback information of the target device is realized, and the problem of feedback failure is solved.
In a second aspect of the embodiment of the present application, referring to fig. 7, a communication method based on dynamic gateways is provided, where the communication method is applied to a cloud platform in a communication system based on dynamic gateways, the cloud platform is respectively connected to each gateway, and each gateway is connected to at least one other gateway, where the method includes:
step S71, receiving a control instruction aiming at the target equipment sent by the client;
step S72, determining a gateway directly connected with the target equipment according to the control instruction to obtain a target gateway;
step S73, forwarding a control instruction to a destination gateway;
step S74, when the control instruction is failed to be forwarded to the destination gateway, selecting the gateway with the optimal preset capability index from the gateways except the destination gateway to obtain a designated gateway;
and step S75, forwarding the control instruction to the specified gateway, so that the specified gateway forwards the control instruction to the destination gateway.
Optionally, when forwarding the control instruction to the destination gateway fails, selecting a gateway with an optimal preset capability index from the gateways except the destination gateway to obtain a designated gateway, where the selecting includes:
when the control instruction is failed to be forwarded to the target gateway, acquiring gateway capacity values, current loads, running time and gateway types of all gateways except the target gateway;
according to the gateway capacity value, load, running time and gateway type of each gateway, calculating by preset weight to obtain a preset capacity index;
and selecting the gateway with the optimal preset capability index from the gateways except the target gateway according to the calculated preset capability index to obtain the designated gateway.
Optionally, when forwarding the control instruction to the destination gateway fails, selecting a gateway with an optimal preset capability index from the gateways except the destination gateway to obtain a designated gateway, where the selecting includes:
when the control instruction is failed to be forwarded to the target gateway, the control instruction is forwarded to a predetermined main gateway, so that the main gateway forwards the control instruction to the target gateway, wherein the main gateway is used for creating a communication group and notifying main gateway information and communication group information to other gateways so as to enable the other gateways to join the communication group, each gateway in the communication group calculates each interval of a first preset time and sends a gateway capacity value of the gateway to the other gateways, the gateway capacity value of the main gateway is compared with the received gateway capacity value, if the gateway capacity value is greater than the received gateway capacity value, the gateway capacity value of the main gateway is fed back, if the gateway capacity value is less than the received gateway capacity value, the gateway capacity value of the main gateway is not fed back, and if the gateway capacity value of the main gateway is greater than all the received gateway capacity values, the main gateway is determined to be the main gateway.
Optionally, when forwarding the control instruction to the destination gateway fails, selecting a gateway with an optimal preset capability index from the gateways except the destination gateway to obtain a designated gateway, where the selecting includes:
when the control instruction is failed to be forwarded to the target gateway, acquiring prestored integrated routing information, wherein the integrated routing information is obtained by sending a gateway information acquisition instruction to each gateway in the communication group at every second preset time interval through the main gateway, acquiring gateway information fed back by each gateway and integrating the gateway information;
calculating and selecting a gateway with the optimal preset capacity index according to the integrated routing information to obtain a designated gateway; the control instructions are forwarded to the designated gateway.
Therefore, by the method of the embodiment of the application, when the cloud platform fails to forward the control instruction to the target gateway, the gateway with the optimal preset capability index is selected from the gateways except the target gateway to obtain the designated gateway, and the control instruction is forwarded through the designated gateway, so that the problem that a user cannot control the target equipment when the cloud platform fails to forward the control instruction to the gateway directly connected with the target equipment is solved, and the stability and the availability of the system are improved.
In a third aspect of the embodiment of the present application, a communication method based on a dynamic gateway is provided, referring to fig. 8, and is applied to a destination gateway directly connected to a target device in a communication system based on a dynamic gateway, where a cloud platform is connected to each gateway, and each gateway is connected to at least one other gateway, where the method includes:
step S81, when the information fed back by the target equipment fails to be sent to the cloud platform, selecting a gateway with the optimal preset capacity index according to the prestored integrated routing information to obtain a designated gateway;
step S82, forwarding the information fed back by the target device to the designated gateway, so that the designated gateway forwards the information fed back by the target device to the cloud platform.
Therefore, according to the method provided by the embodiment of the application, when the target gateway fails to send the feedback information of the target device to the cloud platform, the gateway with the optimal preset capability index can be calculated and selected according to the integrated routing information to obtain the designated gateway, and the control instruction is forwarded to the designated gateway, so that the feedback of the feedback information of the target device is realized, and the problem of feedback failure is solved.
In a fourth aspect of the embodiments of the present application, there is provided a communication device based on dynamic gateways, referring to fig. 9, where the communication device is applied to a cloud platform in a communication system based on dynamic gateways, the cloud platform is respectively connected to each gateway, and each gateway is connected to at least one other gateway, the device includes:
an instruction receiving module 901, configured to receive a control instruction for a target device sent by a client;
a gateway determining module 902, configured to determine, according to the control instruction, a gateway directly connected to the target device, so as to obtain a target gateway;
an instruction sending module 903, configured to forward the control instruction to the destination gateway;
a gateway selecting module 904, configured to select a gateway with an optimal preset capability index from gateways except the destination gateway when forwarding the control instruction to the destination gateway fails, so as to obtain a specified gateway;
and the instruction forwarding module 905 is configured to forward the control instruction to the specified gateway, so that the specified gateway forwards the control instruction to the destination gateway.
Optionally, the gateway selecting module includes:
the information acquisition submodule is used for acquiring the gateway capacity value, the current load, the running time and the gateway type of each gateway except the target gateway when the control instruction is failed to be forwarded to the target gateway;
the capability index calculation submodule is used for calculating and obtaining a preset capability index through preset weight according to the gateway capability value, the load, the operation duration and the gateway type of each gateway;
and the gateway selection submodule is used for selecting the gateway with the optimal preset capability index from the gateways except the target gateway according to the preset capability index obtained by calculation to obtain the specified gateway.
Optionally, the gateway selecting module is specifically configured to, when forwarding the control instruction to the destination gateway fails, forwarding the control instruction to a predetermined main gateway, so that the main gateway forwards the control instruction to the destination gateway, wherein, the main gateway is used for creating a communication group and notifying the main gateway information and the communication group information to other gateways, so that other gateways can be added into the communication group, each gateway in the communication group calculates and sends the own gateway capability value to other gateways every first preset time interval, through comparing gateway ability value with self with received gateway ability value, if be greater than received gateway ability value then feed back self gateway ability value, if be less than received gateway ability value then not feed back, when gateway ability value of main gateway self is greater than all received gateway ability values, then confirm self as main gateway.
Optionally, the gateway selecting module includes:
the routing information acquisition submodule is used for acquiring prestored integrated routing information when the control instruction is failed to be forwarded to the target gateway, wherein the routing information is integrated by sending a gateway information acquisition instruction to each gateway in the communication group at every second preset time interval through the main gateway, acquiring gateway information fed back by each gateway and integrating the acquired information;
the designated gateway selection submodule is used for calculating and selecting a gateway with the optimal preset capability index according to the integrated routing information to obtain a designated gateway;
and the control instruction forwarding submodule is used for forwarding the control instruction to the specified gateway.
Therefore, by the device in the embodiment of the application, when the cloud platform fails to forward the control instruction to the target gateway, the gateway with the optimal preset capability index is selected from the gateways except the target gateway to obtain the designated gateway, and the control instruction is forwarded through the designated gateway, so that the problem that a user cannot control the target equipment when the cloud platform fails to forward the control instruction to the gateway directly connected with the target equipment is solved, and the stability and the availability of the system are improved.
In a fifth aspect of the embodiments of the present application, a communication device based on a dynamic gateway is provided, referring to fig. 10, and is applied to a destination gateway directly connected to a target device in a communication system based on a dynamic gateway, where a cloud platform is connected to each gateway, and each gateway is connected to at least one other gateway, where the method includes:
the optimal capability gateway selection module 1001 is configured to select a gateway with an optimal preset capability index according to pre-stored integrated routing information when sending information fed back by a target device to a cloud platform fails, so as to obtain a designated gateway;
the feedback information forwarding module 1002 is configured to forward the information fed back by the target device to the specified gateway, so that the specified gateway forwards the information fed back by the target device to the cloud platform.
Therefore, by the device in the embodiment of the application, when the target gateway fails to send the feedback information of the target device to the cloud platform, the gateway with the optimal preset capability index can be calculated and selected according to the integrated routing information to obtain the designated gateway, and the control instruction is forwarded to the designated gateway, so that the feedback of the feedback information of the target device is realized, and the problem of feedback failure is solved.
An embodiment of the present invention further provides an electronic device, as shown in fig. 11, including a processor 1101, a communication interface 1102, a memory 1103 and a communication bus 1104, where the processor 1101, the communication interface 1102 and the memory 1103 complete mutual communication through the communication bus 1104,
a memory 1103 for storing a computer program;
the processor 1101 is configured to implement the following steps when executing the program stored in the memory 1103:
receiving a control instruction aiming at target equipment sent by a client;
determining a gateway directly connected with the target equipment according to the control instruction to obtain a target gateway;
forwarding the control instruction to a destination gateway;
when the control instruction is failed to be forwarded to the target gateway, selecting a gateway with the optimal preset capability index from all gateways except the target gateway to obtain a designated gateway;
and forwarding the control instruction to the specified gateway so that the specified gateway forwards the control instruction to the destination gateway.
An embodiment of the present invention further provides an electronic device, as shown in fig. 12, including a processor 1201, a communication interface 1202, a memory 1203, and a communication bus 1204, where the processor 1201, the communication interface 1202, and the memory 1203 complete mutual communication through the communication bus 1204,
a memory 1203 for storing a computer program;
the processor 1201 is configured to implement the following steps when executing the program stored in the memory 1203:
when the information fed back by the target equipment fails to be sent to the cloud platform, selecting a gateway with the optimal preset capacity index according to the prestored integrated routing information to obtain a designated gateway;
and forwarding the information fed back by the target equipment to the specified gateway so that the specified gateway forwards the information fed back by the target equipment to the cloud platform.
The communication bus mentioned in the electronic device may be a Peripheral Component Interconnect (PCI) bus, an Extended Industry Standard Architecture (EISA) bus, or the like. The communication bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one thick line is shown, but this does not mean that there is only one bus or one type of bus.
The communication interface is used for communication between the electronic equipment and other equipment.
The Memory may include a Random Access Memory (RAM) or a Non-Volatile Memory (NVM), such as at least one disk Memory. Alternatively, the memory may be at least one memory device located remotely from the processor.
The Processor may be a general-purpose Processor, including a Central Processing Unit (CPU), a Network Processor (NP), and the like; but also Digital Signal Processors (DSPs), Application Specific Integrated Circuits (ASICs), Field Programmable Gate Arrays (FPGAs) or other Programmable logic devices, discrete Gate or transistor logic devices, discrete hardware components.
In another embodiment of the present invention, a computer-readable storage medium is further provided, in which a computer program is stored, and the computer program, when executed by a processor, implements any of the above steps of the dynamic gateway-based communication method applied to a cloud platform in a dynamic gateway-based communication system.
In another embodiment of the present invention, a computer-readable storage medium is further provided, in which a computer program is stored, and the computer program, when executed by a processor, implements any of the above steps of the dynamic gateway-based communication method applied to a destination gateway directly connected to a target device in a dynamic gateway-based communication system.
In another embodiment of the present invention, there is also provided a computer program product containing instructions, which when run on a computer, causes the computer to execute any one of the above-mentioned embodiments of the dynamic gateway-based communication method applied to a cloud platform in a dynamic gateway-based communication system.
In another embodiment of the present invention, a computer program product containing instructions is further provided, which when executed on a computer, causes the computer to perform any one of the above-mentioned embodiments of the dynamic gateway-based communication method applied to a destination gateway directly connected to a target device in a dynamic gateway-based communication system.
In the above embodiments, the implementation may be wholly or partially realized by software, hardware, firmware, or any combination thereof. When implemented in software, may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When loaded and executed on a computer, cause the processes or functions described in accordance with the embodiments of the invention to occur, in whole or in part. The computer may be a general purpose computer, a special purpose computer, a network of computers, or other programmable device. The computer instructions may be stored in a computer readable storage medium or transmitted from one computer readable storage medium to another, for example, from one website site, computer, server, or data center to another website site, computer, server, or data center via wired (e.g., coaxial cable, fiber optic, Digital Subscriber Line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device, such as a server, a data center, etc., that incorporates one or more of the available media. The usable medium may be a magnetic medium (e.g., floppy Disk, hard Disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., Solid State Disk (SSD)), among others.
It is noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, 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 an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
All the embodiments in the present specification are described in a related manner, and the same and similar parts among the embodiments may be referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, for the apparatus, the electronic device, the storage medium and the computer program product embodiment, since they are substantially similar to the method embodiment, the description is relatively simple, and for the relevant points, reference may be made to the partial description of the method embodiment.
The above description is only for the preferred embodiment of the present invention, and is not intended to limit the scope of the present invention. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention shall fall within the protection scope of the present invention.

Claims (13)

1. A communication system based on dynamic gateways is characterized by comprising a cloud platform and a plurality of gateways, wherein the cloud platform is respectively connected with the gateways, and each gateway is at least connected with one other gateway;
the cloud platform is used for receiving a control instruction aiming at the target equipment and sent by the client; determining a gateway directly connected with the target equipment according to the control instruction to obtain a target gateway; forwarding the control instruction to the destination gateway; when the control instruction is failed to be forwarded to the target gateway, selecting a gateway with the optimal preset capability index from all gateways except the target gateway to obtain a designated gateway; forwarding the control instruction to the designated gateway;
the designated gateway is used for forwarding the control instruction to the destination gateway;
the destination gateway is configured to forward the control instruction to the target device.
2. The system of claim 1,
the cloud platform is specifically configured to obtain gateway capability values, current loads, running durations and gateway types of gateways except the destination gateway when forwarding the control instruction to the destination gateway fails; calculating to obtain the preset capacity index through preset weight according to the gateway capacity value, load, running time and gateway type of each gateway; and selecting the gateway with the optimal preset capability index to obtain the specified gateway.
3. The system of claim 1,
each gateway is used for calculating the first preset time length at each interval and sending the own gateway capacity value to the rest gateways; comparing the gateway capacity value with the received gateway capacity value, if the gateway capacity value is larger than the received gateway capacity value, feeding back the gateway capacity value, and if the gateway capacity value is smaller than the received gateway capacity value, not feeding back the gateway capacity value;
the main gateway is used for determining the gateway as the main gateway when the own gateway capability value is larger than all the received gateway capability values;
the cloud platform is specifically configured to forward the control instruction to the primary gateway when forwarding the control instruction to the destination gateway fails, so that the primary gateway forwards the control instruction to the destination gateway.
4. The system of claim 3,
the main gateway is also used for creating a communication group and notifying the main gateway information and the communication group information to other gateways so as to enable the other gateways to join the communication group.
5. The system of claim 4,
the main gateway is also used for sending gateway information acquisition instructions to each gateway in the communication group every second preset time interval; receiving gateway information fed back by each gateway and integrating the gateway information to obtain integrated routing information; feeding back integrated routing information to each gateway in the communication group so that each gateway receives and stores the integrated routing information;
the cloud platform is further configured to acquire the integrated routing information when forwarding the control instruction to the destination gateway fails; calculating and selecting a gateway with the optimal preset capacity index according to the integrated routing information to obtain the designated gateway; forwarding the control instruction to the designated gateway.
6. The system of claim 3,
the destination gateway is used for receiving feedback information of the target equipment; sending the feedback information to the cloud platform; when the feedback information is failed to be sent to the cloud platform, calculating and selecting a gateway with the optimal preset capacity index according to the integrated routing information to obtain the designated gateway; forwarding the control instruction to the designated gateway;
the designated gateway is used for sending the feedback information to the cloud platform;
and the cloud platform is used for sending the feedback information to the client.
7. A communication method based on dynamic gateways is characterized in that the communication method is applied to a cloud platform in a communication system based on dynamic gateways, the cloud platform is respectively connected with the gateways, and each gateway is connected with at least one other gateway, and the method comprises the following steps:
receiving a control instruction aiming at target equipment sent by a client;
determining a gateway directly connected with the target equipment according to the control instruction to obtain a target gateway;
forwarding the control instruction to the destination gateway;
when the control instruction is failed to be forwarded to the target gateway, selecting a gateway with the optimal preset capability index from all gateways except the target gateway to obtain a designated gateway;
and forwarding the control instruction to the specified gateway so that the specified gateway forwards the control instruction to the destination gateway.
8. The method according to claim 7, wherein when forwarding the control command to the destination gateway fails, selecting a gateway with an optimal preset capability index from gateways other than the destination gateway to obtain a designated gateway, includes:
when the control instruction is failed to be forwarded to the target gateway, acquiring gateway capacity values, current loads, running time and gateway types of all gateways except the target gateway;
calculating to obtain the preset capacity index through preset weight according to the gateway capacity value, load, running time and gateway type of each gateway;
and selecting the gateway with the optimal preset capability index from the gateways except the target gateway according to the calculated preset capability index to obtain the designated gateway.
9. The method according to claim 7, wherein when forwarding the control command to the destination gateway fails, selecting a gateway with an optimal preset capability index from gateways other than the destination gateway to obtain a specified gateway, includes:
when the control instruction is failed to be forwarded to the destination gateway, forwarding the control instruction to a predetermined main gateway so that the main gateway forwards the control instruction to the destination gateway, wherein the main gateway is used for creating a communication group and notifying the main gateway information and the communication group information to other gateways, so that the rest gateways are added into the communication group, each gateway in the communication group calculates and sends the own gateway capacity value to the rest gateways every first preset time interval, by comparing the gateway capacity value with the received gateway capacity value, if the gateway capacity value is larger than the received gateway capacity value, the gateway capacity value is fed back, if the gateway capacity value is smaller than the received gateway capacity value, the gateway capacity value is not fed back, and when the gateway capability value of the main gateway is greater than all the received gateway capability values, the main gateway determines the main gateway as the main gateway.
10. The method according to claim 9, wherein when forwarding the control command to the destination gateway fails, selecting a gateway with an optimal preset capability index from gateways other than the destination gateway to obtain a designated gateway, includes:
when the control instruction is failed to be forwarded to the target gateway, acquiring prestored integrated routing information, wherein the integrated routing information is obtained by sending a gateway information acquisition instruction to each gateway in the communication group at every second preset time interval through the main gateway, acquiring gateway information fed back by each gateway and integrating the gateway information;
calculating and selecting a gateway with the optimal preset capacity index according to the integrated routing information to obtain the designated gateway; forwarding the control instruction to the designated gateway.
11. A communication method based on dynamic gateways is characterized in that the method is applied to a target gateway directly connected with target equipment in a communication system based on dynamic gateways, a cloud platform is respectively connected with each gateway, and each gateway is connected with at least one other gateway, and the method comprises the following steps:
when the information fed back by the target equipment fails to be sent to the cloud platform, selecting a gateway with the optimal preset capacity index according to prestored integrated routing information to obtain a designated gateway;
and forwarding the information fed back by the target equipment to the specified gateway so that the specified gateway forwards the information fed back by the target equipment to the cloud platform.
12. An electronic device is characterized by comprising a processor, a communication interface, a memory and a communication bus, wherein the processor and the communication interface are used for realizing mutual communication by the memory through the communication bus;
a memory for storing a computer program;
a processor for implementing the method steps of any of claims 7-10 or 11 when executing a program stored in the memory.
13. A computer-readable storage medium, characterized in that a computer program is stored in the computer-readable storage medium, which computer program, when being executed by a processor, carries out the method steps of any one of the claims 7-10 or 11.
CN202210244747.6A 2022-03-14 2022-03-14 Dynamic gateway communication system and method of (a) Active CN114567524B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202210244747.6A CN114567524B (en) 2022-03-14 2022-03-14 Dynamic gateway communication system and method of (a)
PCT/CN2023/076469 WO2023173993A1 (en) 2022-03-14 2023-02-16 Communication system and method based on dynamic gateway

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210244747.6A CN114567524B (en) 2022-03-14 2022-03-14 Dynamic gateway communication system and method of (a)

Publications (2)

Publication Number Publication Date
CN114567524A true CN114567524A (en) 2022-05-31
CN114567524B CN114567524B (en) 2024-02-02

Family

ID=81718999

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210244747.6A Active CN114567524B (en) 2022-03-14 2022-03-14 Dynamic gateway communication system and method of (a)

Country Status (2)

Country Link
CN (1) CN114567524B (en)
WO (1) WO2023173993A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023173993A1 (en) * 2022-03-14 2023-09-21 杭州萤石软件有限公司 Communication system and method based on dynamic gateway

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104811375A (en) * 2015-05-08 2015-07-29 三星电子(中国)研发中心 Smart home gateway and networking method thereof
CN105577534A (en) * 2014-10-15 2016-05-11 珠海格力电器股份有限公司 Household intelligent gateway and intelligent home system
CN108366121A (en) * 2018-02-13 2018-08-03 广州云湾信息技术有限公司 The group network system and apparatus control method of the more intelligent gateways of Internet of Things
US20180255142A1 (en) * 2017-03-02 2018-09-06 International Business Machines Corporation Establishing cross-vendor secure connectivity in a shared computing environment
CN110535736A (en) * 2019-08-22 2019-12-03 厦门盈趣科技股份有限公司 A kind of method, network node and the home network of dynamic adjustment gateway
CN110838991A (en) * 2019-11-05 2020-02-25 深圳前海达闼云端智能科技有限公司 Gateway connection method, device, storage medium, electronic device and gateway device
CN111818158A (en) * 2020-07-08 2020-10-23 京东方科技集团股份有限公司 Gateway control method, device, electronic equipment and storage medium
CN112565353A (en) * 2020-11-20 2021-03-26 珠海格力电器股份有限公司 Communication method of terminal network, terminal network and controller

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN204719527U (en) * 2015-06-26 2015-10-21 慧锐通智能科技股份有限公司 A kind of wireless intelligent house system
CN107332793B (en) * 2016-04-28 2020-10-16 华为技术有限公司 Message forwarding method, related equipment and system
TWI660606B (en) * 2018-04-17 2019-05-21 鉅康科技股份有限公司 Intelligent monitoring system
CN111913450A (en) * 2020-08-04 2020-11-10 青岛海信日立空调系统有限公司 Control method of intelligent household equipment, intelligent household system and gateway thereof
CN112350925A (en) * 2020-11-06 2021-02-09 北京小米移动软件有限公司 Gateway control method, device, system, electronic equipment and storage medium
CN114567524B (en) * 2022-03-14 2024-02-02 杭州萤石软件有限公司 Dynamic gateway communication system and method of (a)

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105577534A (en) * 2014-10-15 2016-05-11 珠海格力电器股份有限公司 Household intelligent gateway and intelligent home system
CN104811375A (en) * 2015-05-08 2015-07-29 三星电子(中国)研发中心 Smart home gateway and networking method thereof
US20180255142A1 (en) * 2017-03-02 2018-09-06 International Business Machines Corporation Establishing cross-vendor secure connectivity in a shared computing environment
CN108366121A (en) * 2018-02-13 2018-08-03 广州云湾信息技术有限公司 The group network system and apparatus control method of the more intelligent gateways of Internet of Things
CN110535736A (en) * 2019-08-22 2019-12-03 厦门盈趣科技股份有限公司 A kind of method, network node and the home network of dynamic adjustment gateway
CN110838991A (en) * 2019-11-05 2020-02-25 深圳前海达闼云端智能科技有限公司 Gateway connection method, device, storage medium, electronic device and gateway device
CN111818158A (en) * 2020-07-08 2020-10-23 京东方科技集团股份有限公司 Gateway control method, device, electronic equipment and storage medium
CN112565353A (en) * 2020-11-20 2021-03-26 珠海格力电器股份有限公司 Communication method of terminal network, terminal network and controller

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023173993A1 (en) * 2022-03-14 2023-09-21 杭州萤石软件有限公司 Communication system and method based on dynamic gateway

Also Published As

Publication number Publication date
CN114567524B (en) 2024-02-02
WO2023173993A1 (en) 2023-09-21

Similar Documents

Publication Publication Date Title
US11240159B2 (en) Service link selection control method and device
US20050289229A1 (en) Device management method for device management system
EP3057281B1 (en) M2m application remote registration method, device, system and storage medium
CN108183950B (en) Method and device for establishing connection of network equipment
CN102045192A (en) Apparatus and system for estimating network configuration
CN103795569A (en) Server connection method and device based on connection pool
CN114567524A (en) Communication system and method based on dynamic gateway
CN110119314B (en) Server calling method and device, server and storage medium
CN115168031A (en) Fog calculation system, method, electronic equipment and storage medium
CN105100002A (en) Attribute operation method and device
CN103927680A (en) Delivery release sending method and device for products related to network application
CN111555918A (en) Return source optimization method and device and electronic equipment
CN111294553A (en) Method, device, equipment and storage medium for processing video monitoring service signaling
CN113590180B (en) Detection strategy generation method and device
CN104869118A (en) Method and system for achieving DDoS defense based on technology of dynamic tunnels
CN114285889A (en) Method, device and equipment for processing configuration information of application service
CN107682271A (en) The generation method and device of a kind of route lines
CN105323088A (en) Springboard processing method and springboard processing device
WO2013111330A1 (en) Information processing method, device and program
CN112422305B (en) Upgrading method and device of communication equipment
CN108769151B (en) A kind of method and device for business processing
CN115102854B (en) Remote procedure call route management control method, system and equipment for micro-service
CN117768467B (en) Data transmission method, device, computer equipment and computer readable storage medium
CN110825606B (en) Data operation method, device and central station system
CN114697399A (en) Equipment control system, method and device, electronic equipment and storage medium

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