Method for commissioning of smart IoT devices, device

By allowing users to select the URL and ID information of the target cloud device through the terminal device, the smart IoT device can be freely bound, solving the problem that users cannot choose cloud devices independently in the existing technology, reducing the development threshold for manufacturers, and supporting diversified sales.

CN115834614BActive Publication Date: 2026-06-05SHENZHEN OURUIBO ELECTRONICS

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
SHENZHEN OURUIBO ELECTRONICS
Filing Date
2022-09-30
Publication Date
2026-06-05

AI Technical Summary

Technical Problem

Currently, smart IoT devices can only connect to cloud devices of the corresponding brand when they are registered with the network. Users cannot choose cloud devices independently. Furthermore, the cessation of operation or instability of a single brand's cloud service can render the device unusable. Manufacturers need to have cloud development capabilities, which is a high barrier to entry and not conducive to diversified sales.

Method used

A method for connecting smart IoT devices to the network is provided, in which a terminal device selects a target cloud device, obtains its URL address and ID information, and the target smart IoT device registers and binds to it, thereby achieving a connection with the cloud device selected by the user.

Benefits of technology

Users can freely choose the cloud device binding relationship, avoiding the problem of single-brand cloud, reducing the development threshold for manufacturers, and supporting diversified sales.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115834614B_ABST
    Figure CN115834614B_ABST
Patent Text Reader

Abstract

The application relates to a network access method and device of an intelligent IoT device, the network access method of the intelligent IoT device comprising the following steps: receiving a target cloud device selected by a user, and obtaining device information of a target intelligent IoT device, and sending a network access registration request to the target cloud device according to the device information of the target cloud device and the target intelligent IoT device; receiving network access registration information returned by the target cloud device, wherein the network access registration information comprises a URL address of the target cloud device and ID information allocated to the target intelligent IoT device by the target cloud device; and sending the network access registration information to the target intelligent IoT device, so that the target intelligent IoT device is registered to the target cloud device according to the ID information after connecting the target cloud device according to the URL address. According to the technical scheme of the application, a user can flexibly select a cloud brand; the situation that a single brand cloud stops operation or is unstable and causes the purchased intelligent IoT device to be unavailable can be avoided, and the requirement of the intelligent IoT device for brand and technology binding is eliminated.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of the Internet of Things (IoT), and more particularly to a method and device for connecting smart IoT devices to the network. Background Technology

[0002] In the Internet of Things (IoT), each IoT device has the ability to directly connect to the cloud via WiFi. Data storage, processing, and relay are handled by cloud devices, and users can easily control these smart IoT devices using an app. However, currently, because smart IoT device manufacturers bind their devices to their respective brand's cloud devices during production, a smart IoT device can only connect to the corresponding brand's cloud devices when it enters the network. For example, in a smart home control system, a smart air conditioner can only connect to the cloud devices of its specific air conditioner brand; smart lighting fixtures can only connect to the cloud devices of their specific lighting fixture brand. Clearly, this approach has the following problems:

[0003] 1. Users cannot choose to connect to the cloud devices they want;

[0004] 2. If a smart IoT device manufacturer stops maintaining the device or the corresponding cloud device becomes unstable, the smart IoT device will become unavailable.

[0005] 3. Each smart IoT device manufacturer needs to have certain cloud device development capabilities, which is a high barrier to entry and also hinders the diversified sales of smart IoT devices. Summary of the Invention

[0006] To address the aforementioned problems in the existing technology, the present invention provides a method and device for network access of smart IoT devices.

[0007] The technical solution adopted by this invention to solve its technical problem is: to provide a method for intelligent IoT devices to access the network, applied to terminal devices, including:

[0008] Receive the target cloud device selected by the user and obtain the device information of the target smart IoT device, and send a network access registration request to the target cloud device based on the device information of the target cloud device and the target smart IoT device;

[0009] Receive network access registration information returned by the target cloud device, the network access registration information including the URL address of the target cloud device and the ID information assigned by the target cloud device to the target smart IoT device;

[0010] The network registration information is sent to the target smart IoT device so that after the target smart IoT device connects to the target cloud device according to the URL address, it registers with the target cloud device according to the ID information.

[0011] Preferably, it further includes:

[0012] After successfully registering with the target cloud device, the target smart IoT device sends the first basic device information to the target cloud device.

[0013] Receive the second device basic information sent by the target smart IoT device; and,

[0014] A device binding request is sent to the target cloud device. The device binding request includes the second device basic information, so that the target cloud device can verify the first device basic information and the second device basic information, and establish a binding relationship between the user account of the terminal device and the target smart IoT device when the verification is successful.

[0015] Preferably, the network registration information further includes the network configuration key of the target cloud device;

[0016] The step of enabling the target smart IoT device to register with the target cloud device based on the ID information after connecting to the target cloud device according to the URL address includes:

[0017] This enables the target smart IoT device to send the network configuration key and the ID information to the target cloud device after connecting to the target cloud device according to the URL address, and to register the target smart IoT device according to the ID information when the target cloud device verifies the identity of the target smart IoT device according to the network configuration key.

[0018] This invention also constructs a method for intelligent IoT devices to access the network, applied to cloud devices, comprising:

[0019] Receive a network access registration request sent by a terminal device, wherein the network access registration request includes device information of the target smart IoT device;

[0020] The system assigns ID information to the target smart IoT device, generates network access registration information based on its own URL address and the ID information of the target smart IoT device, and sends the network access registration information to the terminal device so that the terminal device sends the network access registration information to the target smart IoT device.

[0021] After the target smart IoT device connects to the cloud device according to the URL address, the system receives the ID information sent by the target smart IoT device and registers the target smart IoT device according to the ID information.

[0022] Preferably, it further includes:

[0023] Receive the device binding request sent by the terminal device, and establish a binding relationship between the user account of the terminal device and the target smart IoT device.

[0024] Preferably, after registering the target smart IoT device, the method further includes:

[0025] Receive the first basic device information sent by the target smart IoT device;

[0026] The terminal device receives second basic device information sent by the terminal device, wherein after sending the network registration information to the target smart IoT device, the terminal device also receives the second basic device information sent by the target smart IoT device.

[0027] The process of establishing the binding relationship between the terminal device and the target smart IoT device includes:

[0028] The basic information of the first device and the basic information of the second device are verified, and when the verification is successful, the user account of the terminal device and the target smart IoT device are bound together.

[0029] Preferably, the network registration information further includes a network configuration key;

[0030] The step of receiving the ID information sent by the target smart IoT device and registering the target smart IoT device according to the ID information includes:

[0031] Receive the ID information and the network configuration key sent by the target smart IoT device, and verify the legitimacy of the target smart IoT device's identity based on the network configuration key;

[0032] When the target smart IoT device is legitimate, it is registered based on the ID information.

[0033] This invention also constructs a method for network access of a smart IoT device, applied to a smart IoT device, comprising:

[0034] The terminal device receives network access registration information sent by the terminal device. After receiving the target cloud device selected by the user and obtaining the device information of the smart IoT device, the terminal device sends a network access registration request to the target cloud device according to the device information of the target cloud device and the smart IoT device, and receives network access registration information returned by the target cloud device. The network access registration information includes the URL address of the target cloud device and the ID information assigned by the target cloud device to the smart IoT device.

[0035] Connect to the target cloud device according to the URL address, and register with the target cloud device according to the ID information.

[0036] Preferably, it further includes:

[0037] After successfully registering with the target cloud device, send the first basic device information to the target cloud device;

[0038] After receiving the network registration information sent by the terminal device, the system sends the second device basic information to the terminal device so that after the terminal device sends a device binding request to the target cloud device, the device binding request includes the second device basic information. The target cloud device verifies the first device basic information and the second device basic information, and establishes a binding relationship between the terminal device and the smart IoT device when the verification is successful.

[0039] The present invention also provides a device comprising a processor and a memory storing a computer program, wherein the processor, when executing the computer program, implements the steps of the above-described method for connecting a smart IoT device to the network.

[0040] By implementing the technical solution of this invention, smart IoT devices do not need to be bound to the URL address of any brand's cloud device at the factory. Instead, after the user purchases and installs the device, they select a cloud device as the target cloud device through their terminal device. The terminal device then obtains the URL address of the target cloud device and sends it to the target smart IoT device, enabling the target smart IoT device to join the network. Therefore, this network access method has the following advantages compared to existing network access methods:

[0041] 1. The binding relationship between smart IoT devices and cloud devices can be freely chosen by users. That is, users can flexibly choose their favorite cloud brand to meet different personalized requirements.

[0042] 2. The binding of smart IoT devices with cloud brands is free and completely decentralized, which can avoid the situation where the purchased smart IoT devices become unusable due to the shutdown or instability of a single brand's cloud service.

[0043] 3. Smart IoT device manufacturers do not bind their devices to any brand's cloud platform when producing them, and do not need to have cloud device development capabilities, resulting in a lower barrier to entry. At the same time, smart IoT devices can be sold in a diversified manner, thus fulfilling the requirements of smart IoT devices being brand-free and technology-unbound. Attached Figure Description

[0044] To more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0045] Figure 1 This is a flowchart illustrating the first embodiment of a method for connecting a smart IoT device to the network provided by the present invention;

[0046] Figure 2 This is a flowchart illustrating a second embodiment of a method for connecting a smart IoT device to the network provided by the present invention;

[0047] Figure 3 This is a flowchart illustrating the third embodiment of a method for connecting a smart IoT device to the network provided by the present invention;

[0048] Figure 4 This is a flowchart illustrating the fourth embodiment of a method for connecting a smart IoT device to the network provided by the present invention. Detailed Implementation

[0049] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.

[0050] Please see Figure 1 , Figure 1This is a flowchart illustrating a first embodiment of a method for network access of a smart IoT device provided by the present invention. This method is applied to a terminal device, including but not limited to smartphones, tablets, laptops, and PDAs. The operating system of the terminal device may include, but is not limited to, Android, iOS, Symbian, BlackBerry, and Windows Phone. The method for network access of the smart IoT device in this embodiment includes the following steps:

[0051] Step S11: Receive the target cloud device selected by the user and obtain the device information of the target smart IoT device, and send a network access registration request to the target cloud device according to the device information of the target cloud device and the target smart IoT device;

[0052] First, it should be noted that for smart IoT devices, since they are not bound to the URL address of any brand's cloud device at the factory, users cannot directly access the cloud device after purchasing and installing it. They need to first register it with the network through a terminal device. This terminal device can freely choose to register and connect to any brand's cloud device and has a unified device network access authorization mechanism.

[0053] In addition, users can select one of multiple cloud devices as the target cloud device from specific web pages, apps, mini-programs, etc. on their terminal devices, according to their needs. Device information about the target smart IoT device to be connected to the network can be entered directly by the user on the specific web page, app, mini-program, etc., or obtained by the terminal device from the target smart IoT device via various methods such as Wi-Fi, Bluetooth, Zigbee, and QR code scanning. This device information includes details such as device type and parameters.

[0054] Step S12: Receive network access registration information returned by the target cloud device. The network access registration information includes the URL address of the target cloud device and the ID information assigned by the target cloud device to the target smart IoT device.

[0055] In this step, when the target cloud device receives the network registration request sent by the terminal device, it will assign ID information to the target smart IoT device based on the device information of the target smart IoT device as its unique identifier. Then, it will generate network registration information by combining its own URL address and send the network registration information to the terminal device. In this way, the terminal device can receive the network registration information returned by the target cloud device.

[0056] In addition, if the target smart IoT device has not joined the local area network before, the terminal device can also send the router's WIFI account, password and other information along with the network registration information to the target smart IoT device so that the target smart IoT device can join the local area network first.

[0057] Step S13: Send the network access registration information to the target smart IoT device so that after the target smart IoT device connects to the target cloud device according to the URL address, it registers with the target cloud device according to the ID information.

[0058] In this step, once the terminal device receives the network access registration information, it can send it to the target smart IoT device. The sending method includes, but is not limited to, WIFI, Bluetooth, Zigbee, etc. In this way, the target smart IoT device can receive the network access registration information, and then establish a connection with the target cloud device according to the URL address in it, and register with the target cloud device using the assigned ID information, thereby completing the network access of the target smart IoT device.

[0059] Compared with existing network access methods, the technical solution of this embodiment has the following advantages:

[0060] 1. The binding relationship between smart IoT devices and cloud devices can be freely chosen by users. That is, users can flexibly choose their favorite cloud brand to meet different personalized requirements.

[0061] 2. The binding of smart IoT devices with cloud brands is free and completely decentralized, which can avoid the situation where the purchased smart IoT devices become unusable due to the shutdown or instability of a single brand's cloud service.

[0062] 3. Smart IoT device manufacturers do not bind their devices to any brand's cloud platform when producing them, and do not need to have cloud device development capabilities, resulting in a low barrier to entry. At the same time, smart IoT devices can be sold in a diversified manner without the requirements of brand or technology binding.

[0063] Furthermore, in an optional embodiment, after step S13, the method further includes:

[0064] Send a device binding request to the target cloud device so that the target cloud device can establish a binding relationship between the user account of the terminal device and the target smart IoT device.

[0065] In this embodiment, it is first explained that when a user uses the device for the first time, they will register through the terminal device, confirming their user account, password, and other information. Furthermore, during network configuration and subsequent control of the smart IoT device, the user account and password are required for login. After the target smart IoT device completes registration on the target cloud device, the terminal device can send a device binding request to the target cloud device. The device binding request includes the user account and the identification information of the target smart IoT device (e.g., ID, MAC address, etc.). Upon receiving the device binding request, the target cloud device can establish a binding relationship between the user account and the target smart IoT device. Thus, even if the user changes their terminal device, they can still control the bound smart IoT device.

[0066] Furthermore, after step S13, the following steps are also included:

[0067] After successfully registering with the target cloud device, the target smart IoT device sends its first basic device information to the target cloud device.

[0068] Receive the second device basic information sent by the target smart IoT device;

[0069] A device binding request is sent to the target cloud device. The device binding request includes the second device basic information, so that the target cloud device can verify the first device basic information and the second device basic information, and establish a binding relationship between the user account of the terminal device and the target smart IoT device when the verification is successful.

[0070] In this embodiment, before establishing the binding relationship between the user account of the terminal device and the target smart IoT device, the target cloud device will also verify the basic device information of the target smart IoT device obtained through two methods. That is, it verifies whether the first basic device information received directly from the target smart IoT device is consistent with the second basic device information of the target smart IoT device obtained through the terminal device. If they are consistent, it means that the target smart IoT device is a legally registered device, and the binding relationship between the user account and the target smart IoT device can be established. If they are inconsistent, it means that the smart IoT device has not been legally registered, and the binding relationship between the user account and the target smart IoT device can not be established.

[0071] Furthermore, in an optional embodiment, the network registration information also includes the network configuration key of the target cloud device, and step 13, which enables the target smart IoT device to register with the target cloud device according to the ID information after connecting to the target cloud device according to the URL address, specifically includes:

[0072] This enables the target smart IoT device to send the network configuration key and the ID information to the target cloud device after connecting to the target cloud device according to the URL address, and to register the target smart IoT device according to the ID information when the target cloud device verifies the identity of the target smart IoT device according to the network configuration key.

[0073] In this embodiment, before registering the target smart IoT device, the target cloud device can first verify whether the target smart IoT device is a legitimate device through the configuration key. For example, the target smart IoT device is considered legitimate only if the configuration key received from the target smart IoT device matches the configuration key stored in the target smart IoT device. Moreover, the target smart IoT device will only be registered based on its ID information if it is a legitimate device.

[0074] Please see Figure 2 , Figure 2 This is a flowchart illustrating a second embodiment of a method for network access of a smart IoT device provided by the present invention. This embodiment's method is applied to a cloud device, which can be a cloud server from various smart IoT device manufacturers or a cloud server from an independent operator. The method for network access of the smart IoT device in this embodiment includes the following steps:

[0075] Step S21: Receive a network access registration request sent by the terminal device, wherein the network access registration request includes device information of the target smart IoT device;

[0076] In this step, after obtaining the device information of the target smart IoT device to be registered with the network, the user can select one of multiple cloud devices as the target cloud device through a specific webpage, APP, mini-program, etc. on their terminal device, and send a network registration request to that cloud device.

[0077] Step S22: Assign ID information to the target smart IoT device, generate network access registration information based on its own URL address and the ID information of the target smart IoT device, and send the network access registration information to the terminal device so that the terminal device sends the network access registration information to the target smart IoT device;

[0078] In this step, after receiving the network registration request, the cloud device returns network registration information to the terminal device. This information includes the ID assigned to the target smart IoT device and its own URL. Upon receiving this registration information, the terminal device forwards it to the target smart IoT device, allowing the device to connect to the cloud device using the URL address provided in the registration information.

[0079] Step S23: After the target smart IoT device connects to the cloud device according to the URL address, the system receives the ID information sent by the target smart IoT device and registers the target smart IoT device according to the ID information.

[0080] In this step, after the target smart IoT device connects to the cloud device, it sends its own ID information to the cloud device, which can then register the target smart IoT device based on its ID information.

[0081] Compared with existing network access methods, the technical solution of this embodiment has the following advantages:

[0082] 1. The binding relationship between smart IoT devices and cloud devices can be freely chosen by users. That is, users can flexibly choose their favorite cloud brand to meet different personalized requirements.

[0083] 2. The binding of smart IoT devices with cloud brands is free and completely decentralized, which can avoid the situation where the purchased smart IoT devices become unusable due to the shutdown or instability of a single brand's cloud service.

[0084] 3. Smart IoT device manufacturers do not bind their devices to any brand's cloud platform when producing them, and do not need to have cloud device development capabilities, resulting in a low barrier to entry. At the same time, smart IoT devices can be sold in a diversified manner without the requirements of brand or technology binding.

[0085] Furthermore, in an optional embodiment, the network access method for the smart IoT device of the present invention further includes:

[0086] Receive the device binding request sent by the terminal device, and establish a binding relationship between the user account of the terminal device and the target smart IoT device.

[0087] In this embodiment, it is first explained that when a user uses the device for the first time, they will register with the cloud device through their terminal device, confirming their user account, password, and other information. Furthermore, during network configuration and subsequent control of the smart IoT device, the user account and password are required for login. After the target smart IoT device completes registration on the cloud device, the terminal device can send a device binding request to the cloud device. The device binding request includes the user account and the identification information of the target smart IoT device (e.g., ID, MAC address, etc.). Upon receiving the device binding request, the cloud device can establish a binding relationship between the user account and the target smart IoT device. Thus, even if the user changes their terminal device, they can still control the bound smart IoT device.

[0088] Furthermore, in an optional embodiment, after registering the target smart IoT device, the method further includes:

[0089] Receive the first basic device information sent by the target smart IoT device;

[0090] The terminal device receives second basic device information sent by the terminal device, wherein after sending the network registration information to the target smart IoT device, the terminal device also receives the second basic device information sent by the target smart IoT device.

[0091] The process of establishing the binding relationship between the terminal device and the target smart IoT device includes:

[0092] The basic information of the first device and the basic information of the second device are verified, and when the verification is successful, the user account of the terminal device and the target smart IoT device are bound together.

[0093] In this embodiment, before establishing the binding relationship between the user account of the terminal device and the target smart IoT device, the cloud device will also verify the basic device information of the target smart IoT device obtained through two methods. That is, it verifies whether the first basic device information received directly from the target smart IoT device is consistent with the second basic device information of the target smart IoT device obtained through the terminal device. If they are consistent, it means that the target smart IoT device is a legally registered device, and the binding relationship between the user account and the target smart IoT device can be established. If they are inconsistent, it means that the smart IoT device has not been legally registered, and the binding relationship between the user account and the target smart IoT device can not be established.

[0094] Furthermore, the network registration information also includes a network configuration key determined by the cloud device, which can be used by the cloud device and the target smart IoT device to encrypt and decrypt interaction information during subsequent interactions.

[0095] The step of receiving the ID information sent by the target smart IoT device and registering the target smart IoT device according to the ID information includes:

[0096] Receive the ID information and the network configuration key sent by the target smart IoT device, and verify the legitimacy of the target smart IoT device's identity based on the network configuration key;

[0097] When the target smart IoT device is legitimate, it is registered based on the ID information.

[0098] Please see Figure 3 , Figure 3 This is a flowchart illustrating a second embodiment of a method for network access of a smart IoT device provided by the present invention. This method is applied to a smart IoT device, such as a smart light, smart air conditioner, or smart door lock in a smart home system. The method includes the following steps:

[0099] Step S31: Receive network access registration information sent by the terminal device. After receiving the target cloud device selected by the user and obtaining the device information of the smart IoT device, the terminal device sends a network access registration request to the target cloud device based on the device information of the target cloud device and the smart IoT device, and receives the network access registration information returned by the target cloud device. The network access registration information includes the URL address of the target cloud device and the ID information assigned by the target cloud device to the smart IoT device.

[0100] In this step, it should be noted that when a smart IoT device needs to join the network, the user can obtain the device information of the smart IoT device through their terminal device. This information can be obtained through various methods such as Wi-Fi, Bluetooth, Zigbee, and QR code scanning. This device information includes details such as device type and parameters. Then, the terminal device can send a network registration request to the selected target cloud device based on the smart IoT device's device information. Upon receiving the network registration request, the target cloud device can return network registration information to the terminal device. This information includes the ID assigned to the smart IoT device by the target cloud device and the target cloud device's own URL address. The terminal device then transmits this network registration information to the smart IoT device, for example, via Wi-Fi, Bluetooth, or Zigbee.

[0101] Step S32: Connect to the target cloud device according to the URL address, and register with the target cloud device according to the ID information.

[0102] In this step, after receiving the network access registration information, the smart IoT device can establish a connection with the target cloud device based on the URL address and register with the target cloud device using the assigned ID information, thereby completing the network access of the target smart IoT device.

[0103] Compared with existing network access methods, the technical solution of this embodiment has the following advantages:

[0104] 1. The binding relationship between smart IoT devices and cloud devices can be freely chosen by users. That is, users can flexibly choose their favorite cloud brand to meet different personalized requirements.

[0105] 2. The binding of smart IoT devices with cloud brands is free and completely decentralized, which can avoid the situation where the purchased smart IoT devices become unusable due to the shutdown or instability of a single brand's cloud service.

[0106] 3. Smart IoT device manufacturers do not bind their devices to any brand's cloud platform when producing them, and do not need to have cloud device development capabilities, resulting in a low barrier to entry. At the same time, smart IoT devices can be sold in a diversified manner without the requirements of brand or technology binding.

[0107] Furthermore, in an optional embodiment, the network access method for the smart IoT device of the present invention further includes:

[0108] After successfully registering with the target cloud device, send the first basic device information to the target cloud device;

[0109] After receiving the network registration information sent by the terminal device, the system sends the second device basic information to the terminal device so that after the terminal device sends a device binding request to the target cloud device, the device binding request includes the second device basic information. The target cloud device verifies the first device basic information and the second device basic information, and establishes a binding relationship between the terminal device and the smart IoT device when the verification is successful.

[0110] Please see Figure 4 , Figure 4This is a flowchart illustrating a fourth embodiment of a method for connecting a smart IoT device to the network provided by the present invention. For example, in a smart home system, there are terminal devices and multiple smart IoT devices. The terminal devices can be computers, smartphones, tablets, etc., and the smart IoT devices can be smart lights, smart curtains, smart refrigerators, etc., in the home. None of the smart IoT devices are bound to any cloud device URL address at the time of manufacture. Furthermore, there are three cloud devices: a cloud device from brand A, a cloud device from brand B, and a cloud device from brand C. That is, the user can choose any one of the three cloud devices as the target cloud device. If brand A is chosen as the target cloud device, the following will explain how to connect the target smart IoT device to the network:

[0111] Users can first send a network registration request to the selected target cloud device through their terminal device. This request includes the target smart IoT device's device information. Upon receiving the request, the target cloud device returns network registration information to the terminal device. This information includes the target cloud device's own URL address, the ID assigned to the target smart IoT device by the target cloud device, and the network configuration key determined by the target cloud device. The terminal device then forwards this registration information to the target smart IoT device. Upon receiving this registration information, the target smart IoT device returns its basic device information (second basic device information) to the terminal device. Simultaneously, it connects to the target cloud device based on the URL address in the registration information, registers with the target cloud device, and reports its own basic device information (first basic device information). It should be noted that there is no specific order in which the target smart IoT device returns the second basic device information to the terminal device and reports its own basic device information to the target cloud device.

[0112] In addition, since the target cloud device may have multiple smart IoT devices registered in the home, and the number of such devices is large, while a particular user may only have a need to control the smart IoT devices in their own home, after the target smart IoT device completes registration, the user can send a device binding request to the target cloud device through their terminal device to establish a binding relationship between the user account of the terminal device and the target smart IoT device in the target cloud device. This allows the user to conveniently control the bound smart IoT device through their terminal device in the future.

[0113] The present invention also provides a device including a processor and a memory storing a computer program. When executing the computer program, the processor implements the steps of the network access method for a smart IoT device according to any of the above embodiments. Furthermore, the device can be a terminal device, a cloud device, or a smart IoT device; for example, in implementing… Figure 1 In the steps of the network access method for a smart IoT device shown in the embodiment, the device is a terminal device; in implementing Figure 2 In the steps of the network access method for a smart IoT device shown in the embodiment, the device is a cloud device; in implementing Figure 3 In the steps of the network access method for a smart IoT device shown in the embodiment, the device is a smart IoT device.

[0114] Finally, it should be noted that the steps in the methods of the embodiments of the present invention can be adjusted, merged, and deleted according to actual needs. The units or sub-units in the devices of the embodiments of the present invention can be merged, divided, and deleted according to actual needs. Furthermore, those skilled in the art will understand that all or part of the steps in the various methods of the above embodiments can be implemented by a program instructing the hardware related to the terminal device. This program can be stored in a computer-readable storage medium, which may include: a flash drive, read-only memory (ROM), random access memory (RAM), a magnetic disk, or an optical disk, etc.

[0115] The above-disclosed embodiments are merely preferred embodiments of the present invention and should not be construed as limiting the scope of the invention. Those skilled in the art will understand that all or part of the processes for implementing the above embodiments, and equivalent variations made in accordance with the claims of the present invention, still fall within the scope of the invention.

Claims

1. A method for network access of a smart IoT device, applied to a terminal device, characterized in that, include: When registering a target smart IoT device for network access to a cloud device URL address that is not bound to any brand, the system receives the target cloud device selected by the user from cloud devices corresponding to multiple brands, and obtains the device information of the target smart IoT device through Bluetooth, Zigbee, QR code scanning or user input. Based on the target cloud device and the device information of the target smart IoT device, the system sends a network access registration request to the target cloud device. Receive network access registration information returned by the target cloud device, the network access registration information including the URL address of the target cloud device and the ID information assigned by the target cloud device to the target smart IoT device; The network registration information is sent to the target smart IoT device via Bluetooth or Zigbee, so that after the target smart IoT device connects to the target cloud device according to the URL address, it registers with the target cloud device according to the ID information.

2. The method for network access of a smart IoT device according to claim 1, characterized in that, Also includes: After successfully registering with the target cloud device, the target smart IoT device sends the first basic device information to the target cloud device. Receive the second device basic information sent by the target smart IoT device; and, A device binding request is sent to the target cloud device. The device binding request includes the second device basic information, so that the target cloud device can verify the first device basic information and the second device basic information, and establish a binding relationship between the user account of the terminal device and the target smart IoT device when the verification is successful.

3. The method for network access of a smart IoT device according to claim 1, characterized in that, The network registration information also includes the network configuration key of the target cloud device; The step of enabling the target smart IoT device to register with the target cloud device based on the ID information after connecting to the target cloud device according to the URL address includes: This enables the target smart IoT device to send the network configuration key and the ID information to the target cloud device after connecting to the target cloud device according to the URL address, and to register the target smart IoT device according to the ID information when the target cloud device verifies the identity of the target smart IoT device according to the network configuration key.

4. A method for connecting a smart IoT device to the network, applied to a cloud device, characterized in that, include: The terminal device receives a network access registration request sent by a terminal device. The network access registration request includes device information of the target smart IoT device. When the terminal device registers a target smart IoT device that is not bound to the URL address of a cloud device of any brand, it receives the target cloud device selected by the user from the cloud devices corresponding to multiple brands, and the device information of the target smart IoT device obtained through Bluetooth, Zigbee, QR code scanning or user input. The terminal device then sends a network access registration request to the target cloud device based on the target cloud device and the device information of the target smart IoT device. The system assigns ID information to the target smart IoT device, generates network registration information based on its own URL address and the ID information of the target smart IoT device, and sends the network registration information to the terminal device, so that the terminal device can send the network registration information to the target smart IoT device via Bluetooth or Zigbee. After the target smart IoT device connects to the cloud device according to the URL address, the system receives the ID information sent by the target smart IoT device and registers the target smart IoT device according to the ID information.

5. The method for network access of a smart IoT device according to claim 4, characterized in that, Also includes: Receive the device binding request sent by the terminal device, and establish a binding relationship between the user account of the terminal device and the target smart IoT device.

6. The method for network access of a smart IoT device according to claim 5, characterized in that, After registering the target smart IoT device, the process also includes: Receive the first basic device information sent by the target smart IoT device; The terminal device receives second basic device information sent by the terminal device, wherein after sending the network registration information to the target smart IoT device, the terminal device also receives the second basic device information sent by the target smart IoT device. The process of establishing the binding relationship between the terminal device and the target smart IoT device includes: The basic information of the first device and the basic information of the second device are verified, and when the verification is successful, the user account of the terminal device and the target smart IoT device are bound together.

7. The method for network access of a smart IoT device according to claim 4, characterized in that, The network registration information also includes the network allocation key; The step of receiving the ID information sent by the target smart IoT device and registering the target smart IoT device according to the ID information includes: Receive the ID information and the network configuration key sent by the target smart IoT device, and verify the legitimacy of the target smart IoT device's identity based on the network configuration key; When the target smart IoT device is legitimate, it is registered based on the ID information.

8. A method for network access of a smart IoT device, applied to a smart IoT device, characterized in that, include: The terminal device receives network registration information sent via Bluetooth or Zigbee. When registering a target smart IoT device that is not bound to the URL address of a cloud device from any brand, the terminal device receives the target cloud device selected by the user from multiple brands' corresponding cloud devices, and obtains the device information of the smart IoT device via Bluetooth, Zigbee, QR code scanning, or user input. Based on the target cloud device and the device information of the smart IoT device, the terminal device sends a network registration request to the target cloud device and receives network registration information returned by the target cloud device. The network registration information includes the URL address of the target cloud device and the ID information assigned to the smart IoT device by the target cloud device. Connect to the target cloud device according to the URL address, and register with the target cloud device according to the ID information.

9. The method for network access of a smart IoT device according to claim 8, characterized in that, Also includes: After successfully registering with the target cloud device, send the first basic device information to the target cloud device; After receiving the network registration information sent by the terminal device, the system sends the second device basic information to the terminal device so that after the terminal device sends a device binding request to the target cloud device, the device binding request includes the second device basic information. The target cloud device verifies the first device basic information and the second device basic information, and establishes a binding relationship between the terminal device and the smart IoT device when the verification is successful.

10. An electronic device, comprising a processor and a memory storing a computer program, characterized in that, When executing the computer program, the processor implements the steps of the network access method for the smart IoT device according to any one of claims 1-3, or the steps of the network access method for the smart IoT device according to any one of claims 4-7, or the steps of the network access method for the smart IoT device according to any one of claims 8-9.