CN113347623A - Sub-device online method and system - Google Patents

Sub-device online method and system Download PDF

Info

Publication number
CN113347623A
CN113347623A CN202010100364.2A CN202010100364A CN113347623A CN 113347623 A CN113347623 A CN 113347623A CN 202010100364 A CN202010100364 A CN 202010100364A CN 113347623 A CN113347623 A CN 113347623A
Authority
CN
China
Prior art keywords
equipment
gateway
sub
cloud platform
iot cloud
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
CN202010100364.2A
Other languages
Chinese (zh)
Other versions
CN113347623B (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.)
Foshan Viomi Electrical Technology Co Ltd
Original Assignee
Foshan Viomi Electrical Technology 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 Foshan Viomi Electrical Technology Co Ltd filed Critical Foshan Viomi Electrical Technology Co Ltd
Priority to CN202010100364.2A priority Critical patent/CN113347623B/en
Publication of CN113347623A publication Critical patent/CN113347623A/en
Application granted granted Critical
Publication of CN113347623B publication Critical patent/CN113347623B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/06Authentication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/12Discovery or management of network topologies
    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/18Selecting a network or a communication service
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W84/00Network topologies
    • H04W84/02Hierarchically pre-organised networks, e.g. paging networks, cellular networks, WLAN [Wireless Local Area Network] or WLL [Wireless Local Loop]
    • H04W84/10Small scale networks; Flat hierarchical networks
    • H04W84/12WLAN [Wireless Local Area Networks]

Abstract

The application relates to the field of smart home, and discloses an online method and an online system of sub-equipment, wherein the online method comprises the following steps: after the gateway equipment is online based on a wifi mesh network, the gateway equipment calculates the sub-equipment which is not added into the current gateway topology; the gateway equipment sends the topology message corresponding to the sub-equipment to an MQTT server based on a protocol defined by an IOT cloud platform; the MQTT server returns the topology message to the IOT cloud platform; the IOT cloud platform carries out validity verification on the topology message and sends a verification result to the gateway equipment through the MQTT server; and if the verification result is that the verification is passed, the gateway equipment adds the sub-equipment to the current gateway topology. All the sub-devices are enabled to be on line, and unified management and control can be achieved for the whole house interconnected devices.

Description

Sub-device online method and system
Technical Field
The application relates to the field of smart home, in particular to an online method and system of sub-equipment.
Background
The Internet of things (IOT), i.e., "Internet with everything connected to one another", is an extended and expanded network based on the Internet, and combines various information sensing devices with the Internet to form a huge network, thereby realizing the interconnection and intercommunication of people, machines and things at any time and any place.
Along with the thing networking is deeply applied to intelligent house, current intelligent house is in the middle of, and gateway equipment is a router usually, adopts traditional wifi connected mode, couples together household electrical appliances. The traditional wifi connection mode is that after the router is on line, the number of connected household appliances is limited, and the transmission distance of the wifi network is small.
Compared with the traditional wireless network, the transmission distance and the mobility of the wifi mesh network are greatly improved, particularly the wifi mesh network is compatible with the wifi function, and the wifi mesh network provides great help for increasing the transmission distance and the mobility of the wireless network and expanding the application of the wireless network. After the gateway equipment under the wifi mesh network is on line, a sub-equipment on-line method under the wifi mesh network is necessarily provided, so that all sub-equipment are on line, and the whole house interconnected equipment can be uniformly controlled.
Disclosure of Invention
The application provides an online method and system of sub-equipment, so that all the sub-equipment can be online, and the equipment of the whole house can be uniformly controlled.
In a first aspect, the present application provides an online method for a piece of sub-equipment, where the online method includes:
after the gateway equipment is online based on a wifi mesh network, the gateway equipment calculates the sub-equipment which is not added into the current gateway topology;
the gateway equipment sends the topology message corresponding to the sub-equipment to an MQTT server based on a protocol defined by an IOT cloud platform;
the MQTT server returns the topology message to the IOT cloud platform;
the IOT cloud platform carries out validity verification on the topology message and sends a verification result to the gateway equipment through the MQTT server;
and if the verification result is that the verification is passed, the gateway equipment adds the sub-equipment to the current gateway topology.
In a second aspect, the application further provides an online system of the sub-device, where the online system includes a gateway device, an IOT cloud platform, and an MQTT server;
the gateway device is used for calculating the sub-devices which are not added into the current gateway topology after the network is online based on the wifi mesh; based on a protocol defined by the IOT cloud platform, sending a topology message corresponding to the sub-equipment to an MQTT server;
the MQTT server is used for returning the topology message to the IOT cloud platform;
the IOT cloud platform is used for carrying out validity verification on the topological message and sending a verification result to the gateway equipment through the MQTT server;
the gateway device is further configured to add the child device to the current gateway topology if the verification result is that the verification is passed.
The application discloses a method and a system for online of a sub-device, after the gateway device is online based on a wifi mesh network, the gateway device starts to calculate the sub-device which is not added to the current gateway topology, and based on a protocol between the gateway device and an IOT cloud platform, the gateway device sends a topology message corresponding to the sub-device to be added to an MQTT server, the topology message is sent to the IOT cloud platform through the MQTT, the IOT cloud platform carries out validity verification on the topology message, when the verification is passed, the sub-device is added to the current gateway topology of the gateway device, and therefore online operation of the sub-device under the wifi mesh network is achieved.
According to the method and the system, after the sub-equipment is successfully online under the wifi mesh network, all the sub-equipment which is online can be uniformly controlled.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
FIG. 1 is a schematic diagram of an online system of sub-devices according to an embodiment;
FIG. 2 is a schematic structural diagram of an IOT cloud platform architecture of an embodiment;
FIG. 3 is a flow diagram that illustrates a method for bringing a child device online in one embodiment;
fig. 4 is a flowchart illustrating an online method of a child device in another embodiment.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some, but not all, embodiments of the present application. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The flow diagrams depicted in the figures are merely illustrative and do not necessarily include all of the elements and operations/steps, nor do they necessarily have to be performed in the order depicted. For example, some operations/steps may be decomposed, combined or partially combined, so that the actual execution sequence may be changed according to the actual situation.
It is to be understood that the terminology used in the description of the present application herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the application. As used in the specification of the present application and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise.
It should also be understood that the term "and/or" as used in this specification and the appended claims refers to and includes any and all possible combinations of one or more of the associated listed items.
The embodiment of the application provides an online method and system of gateway equipment.
Some embodiments of the present application will be described in detail below with reference to the accompanying drawings. The embodiments described below and the features of the embodiments can be combined with each other without conflict.
As shown in fig. 1, fig. 1 is a schematic structural diagram of an online system of a sub-device in an embodiment.
The online system 1000 includes: the system comprises a gateway device 100, a control terminal 101, an IOT cloud platform 102 and an MQTT server 103.
The gateway device 100 is used for calculating the sub-devices which are not added into the current gateway topology after the network is online based on the wifi mesh; the gateway device 100 sends a topology message corresponding to the sub-device to be added to the MQTT server 103 based on a protocol defined by the IOT cloud platform 102; the gateway device 100 is an ESP32 gateway, which is a bluetooth gateway and is mounted on each home appliance.
The MQTT server 103 is used for returning the topology message to the IOT cloud platform 102;
the IOT cloud platform 102 is configured to perform validity verification on the topology message, generate response information, and send the response information to the gateway device 100 through the MQTT server 103;
the gateway device 100 is further configured to add the child device to the current gateway topology after receiving the response information that the validity verification passes the corresponding response information.
The system further comprises a control terminal 101, which is used for inquiring the corresponding distribution network model information of the control terminal 101 from the IOT cloud platform 102 when the gateway device 100 and the MQTT server 103 are successfully networked.
The IOT cloud platform 102 returns the model information of the distribution network to the control terminal 101; if the model information corresponding to the sub-device which is not added to the current gateway topology exists in the distributable network model information, the control terminal 101 confirms that the model information corresponding to the sub-device is added to the device list controlled by the IOT cloud platform 102 to obtain the confirmation information; the control terminal 101 transmits the confirmation information to the gateway apparatus 100, and the gateway apparatus 100 calculates the child apparatuses that do not join the current gateway topology based on the confirmation information.
Specifically, the IOT cloud platform of this application carries out reasonable division to system's function, guarantees the unicity of each subsystem function, easily extension, simultaneously, through infrastructure's construction, carries out real time monitoring to application health status, guarantees IOT cloud platform's stability. The architecture of the IOT cloud platform is shown in fig. 2, and fig. 2 is a schematic structural diagram of the IOT cloud platform architecture of the present application. The product function architecture comprises the following parts:
device side in user's family: the devices are self-networked through wifi mesh, and are connected to the IOT cloud platform through gateway devices selected from the mesh.
MQTT device access layer: and all the sub-devices are connected to the MQTT server through the gateway device or directly.
Security authentication & rights policy: all uplink and downlink data between the IOT cloud platform and the equipment need to pass security authentication and data encryption.
Basic capability provided by the IOT cloud platform: including data analysis, product management, device shadowing, device linkage, APP messaging, firmware upgrades, etc., these basic capabilities are used to support uploaded application products.
Application/product access layer: the IOT cloud platform with the open basic capability can construct rich applications.
As shown in fig. 3, a method for getting on the line of the sub-device in one embodiment of the present invention is provided. The online method includes steps S10 to S50.
And step S10, after the gateway device is online based on the wifi mesh network, the gateway device calculates the sub-devices which are not added into the current gateway topology.
Specifically, the wifi mesh network (wireless mesh network), also called "multi-hop" network, of the present embodiment is a new wireless network technology, and is completely different from the conventional wifi network. The wifi mesh network is a network technology based on multi-hop routing and peer-to-peer network, and is a new network structure. And when the gateway equipment is successfully online, the gateway equipment and the MQTT server are successfully networked, and the gateway equipment calculates the sub-equipment which is not added into the current gateway topology. The sub-devices may be household electrical appliances in the whole house interconnection, for example, devices such as an intelligent clothes hanger, an intelligent television, an intelligent gas stove, and the like.
MQTT (Message Queuing Telemetry Transport) is a "lightweight" communication protocol based on publish/subscribe (publish/subscribe) mode. It will be appreciated that the MQTT server is a message queue server.
After the gateway device successfully gets on line under the wifi mesh network, the sub-device can get on line, and because the gateway device can be any one household appliance in the whole house interconnection, more sub-devices can be connected, the limitation problem of the number of the household appliances connected when the router directly serves as the gateway device is effectively avoided.
Step S20, the gateway device sends the topology message corresponding to the child device to the MQTT server based on the protocol defined by the IOT cloud platform.
Specifically, after the gateway device calculates the sub-devices that do not join the current gateway topology, the gateway device sends the topology messages corresponding to the sub-devices to the MQTT server according to the protocol defined between the gateway device and the IOT cloud platform. The topology message of the child device refers to a message such as a physical connection relationship between the child device and each device.
Step S30, the MQTT server returns the topology message to the IOT cloud platform.
Specifically, the topology message of the child device is finally subjected to validity verification by the IOT cloud platform, but the child device is not on-line yet and cannot interact with the IOT cloud platform. Therefore, the MQTT server is required to forward the topology message to the IOT cloud platform, so that the IOT cloud platform can perform validity verification on the topology message.
Step S40, the IOT cloud platform carries out validity verification on the topology message and sends a verification result to the gateway equipment through the MQTT server.
Step S50, if the verification result is that the verification passes, the gateway device adds the child device to the current gateway topology.
Specifically, after the IOT cloud platform receives the topology message, validity verification is carried out on the topology message, the verification result is sent to the gateway equipment through the MQTT server, and when the validity verification of the topology message passes, the gateway equipment can add the sub-equipment to the current gateway topology to realize the online operation of the sub-equipment; when the validity verification of the topology message fails, the gateway device cannot add the child device to the current gateway topology.
And the verification result obtained by the IOT cloud platform is sent to the gateway equipment through the MQTT server.
The application discloses a method and a system for online of a sub-device, after the gateway device is online based on a wifi mesh network, the gateway device starts to calculate the sub-device which is not added to the current gateway topology, and based on a protocol between the gateway device and an IOT cloud platform, the gateway device sends a topology message corresponding to the sub-device to be added to an MQTT server, the topology message is sent to the IOT cloud platform through the MQTT, the IOT cloud platform carries out validity verification on the topology message, when the verification is passed, the sub-device is added to the current gateway topology of the gateway device, and therefore online operation of the sub-device under the wifi mesh network is achieved.
According to the method and the system, after the sub-equipment is successfully online under the wifi mesh network, all the sub-equipment which is online can be uniformly controlled.
Further, as shown in fig. 4, fig. 4 is a schematic flowchart of another embodiment of an online method of a sub-device of the present application. Before the step of calculating, by the gateway device, the child device that does not join the current gateway topology, the online method may include:
step S11, the control terminal inquires and acquires the model information of the distribution network corresponding to the control terminal from the IOT cloud platform;
step S12, if model information corresponding to the sub-equipment which is not added into the current gateway topology exists in the distribution network model information, the control terminal confirms that the model information corresponding to the sub-equipment is added into the equipment list controlled by the IOT cloud platform to obtain confirmed information;
step S13, the control terminal sends the confirmation information to the gateway device;
the gateway device calculating the child devices which do not join the current gateway topology comprises:
and the gateway equipment calculates the sub-equipment which is not added into the current gateway topology based on the confirmation information.
In some embodiments, before the step of calculating the sub-device not added to the current gateway topology by the gateway device, the control terminal queries from the IOT cloud platform to obtain controllable network model information that can be controlled by the controlling china, and if model information corresponding to the sub-device not added to the current gateway topology exists in the controllable network model information, it is indicated that the control terminal can help the sub-device added to the current gateway topology to go online.
At this moment, the control terminal outputs the model information of the sub-equipment which is not on-line for the user to check, the user can confirm the model information of the sub-equipment which is not on-line according to needs, after the control terminal obtains the confirmed model information, the model information is added into an equipment list controlled by the IOT cloud platform, and the control terminal sends the confirmed information corresponding to the equipment list to the gateway equipment, so that the gateway equipment obtains the information that the model information of the sub-equipment which can be distributed is added into the equipment list. And after the gateway equipment obtains the confirmation information, the gateway equipment calculates the sub-equipment which is not added into the current gateway topology based on the confirmation information.
If the model information corresponding to the sub-equipment which is not added into the current gateway topology does not exist in the distribution network model information, the fact that the control terminal does not exist and can help the sub-equipment which is added into the current gateway topology to be on line is shown.
Further, before the step of validating the validity of the topology message by the IOT cloud platform, the online method may include:
the gateway equipment splices a marker sequence with a preset format to gateway equipment information, and carries out asymmetric encryption on the marker sequence to obtain an encryption result; the gateway equipment encodes the encryption result to obtain an encoding result; and the gateway equipment takes the coding result as a request body to initiate an HTTPS request to the IOT cloud platform, wherein the HTTPS request is the topology message.
Specifically, the gateway device splices a marker sequence in a preset format to the gateway device information, where the preset format may be a json format, and json (javascript Object notification) is a lightweight data exchange format. And after splicing the marker sequences in the preset format, carrying out asymmetric encryption on the marker sequences to obtain an encryption result.
The gateway device then encodes the encryption result, which may be Base64 bit encoding, resulting in an encoded result. And the gateway equipment takes the coding result as a request body to initiate an HTTPS request to the IOT cloud platform as the topology message.
Further, the step of performing validity verification by the IOT cloud platform based on the topology message includes:
after receiving the topology message, the IOT cloud platform decodes and decrypts the topology message to obtain a plaintext request body; the IOT cloud platform uses random encryption parameters to encrypt the plaintext request body on line to obtain an encrypted character string; the IOT cloud platform compares the encrypted character string with the encryption result, if the encrypted character string is equal to the encryption result, the situation that the ciphertext obtained by encrypting the same field by the gateway equipment and the IOT cloud platform is consistent is shown, namely a secret key adopted by the gateway equipment is consistent with a secret key adopted by the IOT cloud platform, and the validity verification is judged to be passed; if the encrypted character string is not equal to the encryption result, it indicates that the ciphertext obtained by encrypting the same field by the gateway device and the IOT cloud platform is inconsistent, that is, the secret key adopted by the gateway device is inconsistent with the secret key adopted by the IOT cloud platform, and it is determined that the validity verification fails.
It should be noted that, after obtaining the request body, the IOT cloud platform performs online decryption through the device identifier in the topology message, performs Base64 decoding, and performs asymmetric decryption to obtain the request body in the plaintext json format.
Further, after step S40, the online method includes:
if the verification result is that the verification is passed, the IOT cloud platform acquires the equipment information corresponding to the sub-equipment based on the topology information; and the IOT cloud platform binds the equipment information and the user information to generate a user relationship and records the user relationship.
Specifically, when the IOT cloud platform passes validity verification of the topology message, the IOT cloud platform obtains device information corresponding to the sub-devices based on the topology message, and can also obtain user information stored by the IOT cloud platform itself, where the user information may include identity information corresponding to each user, generates a user relationship by binding the device information and the user information, and records the user relationship.
For example, the sub-device is an intelligent clothes hanger, the user information is a user a, the relationship between the user a and the intelligent clothes hanger is obtained after the device information and the user information are bound, and after the sub-device of the intelligent clothes hanger is successfully on line, the user a can control the intelligent clothes hanger. And the IOT cloud platform records the user relationship.
Further, after the IOT cloud platform records the user relationship, the IOT cloud platform acquires the device ID, the product ID and the user ID corresponding to the sub-devices based on the user relationship, and acquires the network address allocated by the MQTT server; and the IOT cloud platform records the equipment ID, the product ID, the user ID and the network address.
Specifically, the user relationship includes device information and user information, and the device information includes a device ID and a product ID corresponding to the child device; the user information comprises a user ID, the IOT cloud platform acquires a network address distributed by the MQTT server so as to bring convenience to online of the sub-equipment, and the IOT cloud platform records the equipment ID, the product ID, the user ID and the network address for online use of the sub-equipment.
Further, after the gateway device adds the sub-device to the current gateway topology, the gateway device sends an online message of the sub-device to the MQTT server, so that the MQTT server can know that the sub-device is online; after receiving the online message, the MQTT server generates release information based on the online message; the MQTT server sends the release information to the gateway equipment so that the gateway equipment can obtain the release information conveniently; and the gateway equipment subscribes topic information topic corresponding to the online sub-equipment to the MQTT server based on the publishing information, so that the connection between the gateway equipment and the sub-equipment is realized. And the gateway equipment circulates the flow, confirms that all the sub-equipment is added to the current gateway topology, and realizes the online of all the sub-equipment to be online, thereby realizing the unified management and control of the sub-equipment.
Further, after receiving the online message, the MQTT server sends the online message to the IOT cloud platform for processing to obtain a processing result; the IOT cloud platform is used for processing an online message sent to the MQTT server by the gateway equipment.
The IOT cloud platform sends the processing result to the MQTT server; and the MQTT server generates release information based on the processing result. And, the release information is transmitted to the gateway device.
While the invention has been described with reference to specific embodiments, the scope of the invention is not limited thereto, and those skilled in the art can easily conceive various equivalent modifications or substitutions within the technical scope of the invention. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (10)

1. An online method of a sub-device, the online method comprising:
after the gateway equipment is online based on a wifi mesh network, the gateway equipment calculates the sub-equipment which is not added into the current gateway topology;
the gateway equipment sends the topology message corresponding to the sub-equipment to an MQTT server based on a protocol defined by an IOT cloud platform;
the MQTT server returns the topology message to the IOT cloud platform;
the IOT cloud platform carries out validity verification on the topology message and sends a verification result to the gateway equipment through the MQTT server;
and if the verification result is that the verification is passed, the gateway equipment adds the sub-equipment to the current gateway topology.
2. The on-line method for sub-devices according to claim 1, wherein before the step of the gateway device calculating the sub-devices that are not joined in the current gateway topology, the on-line method further comprises:
the control terminal inquires and acquires the model information of the distribution network corresponding to the control terminal from the IOT cloud platform;
if the model information corresponding to the sub-equipment which is not added into the current gateway topology exists in the distribution network model information, the control terminal confirms that the model information corresponding to the sub-equipment is added into an equipment list controlled by the IOT cloud platform to obtain confirmed information;
the control terminal sends the confirmation information to the gateway equipment;
the gateway device calculating the child devices which do not join the current gateway topology comprises:
and the gateway equipment calculates the sub-equipment which is not added into the current gateway topology based on the confirmation information.
3. The online method of the sub-device according to claim 1, wherein before the step of validating the validity of the topology message by the IOT cloud platform, the online method includes:
the gateway equipment splices a marker sequence with a preset format to gateway equipment information, and carries out asymmetric encryption on the marker sequence to obtain an encryption result;
the gateway equipment encodes the encryption result to obtain an encoding result;
and the gateway equipment takes the coding result as a request body to initiate an HTTPS request to the IOT cloud platform, wherein the HTTPS request is the topology message.
4. The method of claim 3, wherein the step of validating the validity of the topology message by the IOT cloud platform comprises:
after receiving the topology message, the IOT cloud platform performs decoding and decryption processing to obtain a plaintext request body;
the IOT cloud platform encrypts the plaintext request body on line to obtain an encrypted character string;
the IOT cloud platform compares the encrypted character string with the encryption result, and if the encrypted character string is equal to the encryption result, the validity verification is judged to be passed; and if the encrypted character string is not equal to the encrypted result, judging that the validity verification fails.
5. The method of claim 1, wherein the IOT cloud platform verifies the validity of the topology message, and the step of sending the verification result to the gateway device through the MQTT server comprises:
the IOT cloud platform verifies the validity of the topology message and sends a verification result to the MQTT server;
and the MQTT server sends the verification result to the gateway equipment.
6. The online method of the sub-device according to claim 1, wherein after the step of the IOT cloud platform performing validity verification on the topology message and sending a verification result to the gateway device through the MQTT server, the online method comprises:
if the verification result is that the verification is passed, the IOT cloud platform acquires the equipment information corresponding to the sub-equipment based on the topology information;
and the IOT cloud platform binds the equipment information and the user information to generate a user relationship and records the user relationship.
7. The online method of the sub-device according to claim 6, wherein after the step of recording the user relationship by the IOT cloud platform, the online method further comprises:
the IOT cloud platform acquires a device ID, a product ID and a user ID corresponding to the sub-device based on the user relationship, and acquires a network address distributed by the MQTT server;
and the IOT cloud platform records the equipment ID, the product ID, the user ID and the network address.
8. The method of claim 1, wherein after the step of the gateway device adding the child device to the current gateway topology, the method comprises:
the gateway equipment sends an online message of the sub-equipment to the MQTT server;
after receiving the online message, the MQTT server generates release information based on the online message;
the MQTT server sends the release information to the gateway equipment;
and the gateway equipment subscribes topic information corresponding to the online sub-equipment to the MQTT server based on the publishing information.
9. The method for getting online of sub-equipment according to claim 8, wherein the step of generating the release information based on the online message after the MQTT server receives the online message comprises:
after receiving the online message, the MQTT server sends the online message to the IOT cloud platform for processing to obtain a processing result;
the IOT cloud platform sends the processing result to the MQTT server;
and the MQTT server generates release information based on the processing result.
10. The online system of the sub-equipment is characterized by comprising gateway equipment, an IOT cloud platform and an MQTT server;
the gateway device is used for calculating the sub-devices which are not added into the current gateway topology after the network is online based on the wifi mesh; based on a protocol defined by the IOT cloud platform, sending a topology message corresponding to the sub-equipment to an MQTT server;
the MQTT server is used for returning the topology message to the IOT cloud platform;
the IOT cloud platform is used for carrying out validity verification on the topological message and sending a verification result to the gateway equipment through the MQTT server;
the gateway device is further configured to add the child device to the current gateway topology if the verification result is that the verification is passed.
CN202010100364.2A 2020-02-18 2020-02-18 Method and system for uploading sub-equipment Active CN113347623B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010100364.2A CN113347623B (en) 2020-02-18 2020-02-18 Method and system for uploading sub-equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010100364.2A CN113347623B (en) 2020-02-18 2020-02-18 Method and system for uploading sub-equipment

Publications (2)

Publication Number Publication Date
CN113347623A true CN113347623A (en) 2021-09-03
CN113347623B CN113347623B (en) 2023-11-07

Family

ID=77467088

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010100364.2A Active CN113347623B (en) 2020-02-18 2020-02-18 Method and system for uploading sub-equipment

Country Status (1)

Country Link
CN (1) CN113347623B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110119290A1 (en) * 2009-10-02 2011-05-19 Rabin Chandra Kemp Dhoble Apparatuses, methods and systems for a mobile healthcare manager-based video prescription provider
CN106685917A (en) * 2016-11-09 2017-05-17 苏州数言信息技术有限公司 Method and system for realizing intelligent binding between Internet of Things device and controller
CN110456755A (en) * 2019-09-17 2019-11-15 苏州百宝箱科技有限公司 A kind of smart home long-range control method based on cloud platform

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110119290A1 (en) * 2009-10-02 2011-05-19 Rabin Chandra Kemp Dhoble Apparatuses, methods and systems for a mobile healthcare manager-based video prescription provider
CN106685917A (en) * 2016-11-09 2017-05-17 苏州数言信息技术有限公司 Method and system for realizing intelligent binding between Internet of Things device and controller
CN110456755A (en) * 2019-09-17 2019-11-15 苏州百宝箱科技有限公司 A kind of smart home long-range control method based on cloud platform

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
G.ALICDN: "网关产品及子设备开发指南", 《HTTPS://G.ALICDN.COM/AIC/ILOP-DOCS/2018.10.35/GATEWAY.HTML》 *
星速云小编 HTTPS://WWW.XINGSUYUN58.COM/30990.HTML: "阿里云物联网平台管理拓扑关系", 《星速云》 *

Also Published As

Publication number Publication date
CN113347623B (en) 2023-11-07

Similar Documents

Publication Publication Date Title
US10885198B2 (en) Bootstrapping without transferring private key
US10791506B2 (en) Adaptive ownership and cloud-based configuration and control of network devices
CN113347741B (en) Online method and system of gateway equipment
EP2854374B1 (en) Method and device for managing terminal in home network and home network
AU2006240015B2 (en) Wireless device discovery and configuration
US8126001B2 (en) Method and apparatus for multicasting contents between devices in networks
US20200015087A1 (en) Reduced bandwidth handshake communication
US20060143295A1 (en) System, method, mobile station and gateway for communicating with a universal plug and play network
CN109478179A (en) The connection of IoT equipment, discovery and networking
CN107181770B (en) Method of data synchronization and system
CN112187831A (en) Equipment network access method and device, storage medium and electronic equipment
KR102258608B1 (en) Apparatus for providing home network service and method thereof
CN109088735B (en) Security authentication method based on smart home
CN101388777B (en) Third party authentication method and system for cross-system access in communication system
JP7389754B2 (en) Apparatus, methods and articles of manufacture for messaging using message level security
Perešíni et al. More efficient IoT communication through LoRa network with LoRa@ FIIT and STIOT protocols
CN105612723A (en) Method and device for distributing traffic by using plurality of network interfaces in wireless communication system
CN112822216A (en) Authentication method for binding of Internet of things sub-equipment
CN102469063B (en) Routing protocol security alliance management method, Apparatus and system
JP2021040308A (en) Methods and apparatus for end-to-end secure communications
CN113347623B (en) Method and system for uploading sub-equipment
KR101206332B1 (en) Method and apparatus for securely multicasting contents between devices in networks
CN107211267A (en) Implemented to obtain the access rights to network by communication object
Pitsiladi Lightweight access control framework for IoT devices.
Andersen Security of Internet of Things Protocol Stacks

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